-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Client: Firefox browser on OS X
Jenkins appliance: Current CentOS7, current jenkins rpm, java-1.8
[root@rjtest jenkins]# rpm -qa jenkins centos-release java-1.8.0-openjdk
java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
jenkins-2.68-1.1.noarch
centos-release-7-3.1611.el7.centos.x86_64
Default admin user cannot connect to jenkins after running SetupWizard
Cannot use a fresh install of jenkins RPM on a minimal installation of CentOS7. Firewalld and SELinux are disabled.
All attempts to use jenkins are greeted with an error page reporting:
- An error occurred / Unable to connect to Jenkins
Symptom has been 100% reproducible.
To reproduce:
Prepare a fresh install of Jenkins on a fresh install of CentOS7:
- Install CentOS 7 - minimal install, hostname and IP supplied via DHCP
- Disable SELinux via /etc/sysconfig/selinux
- #> systemctl disable firewalld
- Reboot
- #> yum upgrade -y
- #> yum install -y wget java-1.8.0-openjdk
- #> java -version
- #> echo 'export JAVA_HOME=/usr/lib/jvm/jre-1.8.0-openjdk' | sudo tee -a /etc/profile
- #> echo 'export JRE_HOME=/usr/lib/jvm/jre' | sudo tee -a /etc/profile
- #> source /etc/profile
- #> wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
- #> rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key
- #> yum install -y jenkins
- #> systemctl enable jenkins
- Reboot - for updated kernel and restart all services
Attempt to use jenkins:
- Direct browser to <appliance>:8080
- click [install suggested plugins]
- click [continue as admin]
- click [start using Jenkins]