Project

General

Profile

Bug #5980

katello install not allowing admin/changeme login in foreman

Added by Ignacio Bravo almost 5 years ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Installer
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

From a fresh CentOS installation:

1. yum install -y git ruby rubygems
2. git clone https://github.com/Katello/katello-deploy.git
3. cd katello-deploy

[workaround Bug #5961]
4. cp scl.repo /etc/yum.repos.d/scl.repo
5. yum -y localinstall http://yum.theforeman.org/nightly/el6/x86_64/foreman-release.rpm
6. yum -y install foreman-selinux

7. vim /etc/hosts and add FQDN to list
8. ./setup.rb centos6 --skip-installer
9. katello-installer --foreman-authentication=true --capsule-tftp=true -v

Results:
some errors are noted during installation time.
when login into foreman through http://localhost/katello user admin/changeme errors with incorrect username or password.

Errors:

[ INFO 2014-05-29 00:52:37 verbose] All hooks in group post finished
[ERROR 2014-05-29 00:52:37 verbose] Repeating errors encountered during run:
[ERROR 2014-05-29 00:52:37 verbose] /Stage[main]/Candlepin::Database/Postgresql::Server::Db[candlepin]/Postgresql::Server::Role[candlepin]/Postgresql_psql[CREATE ROLE "candlepin" ENCRYPTED PASSWORD 'md5b5735f4436fc0af17cad34521d2676bf' LOGIN NOCREATEROLE NOCREATEDB NOSUPERUSER CONNECTION LIMIT -1]: Failed to call refresh: Error executing SQL; psql returned 256: 'ERROR: role "candlepin" already exists
[ERROR 2014-05-29 00:52:37 verbose] /Stage[main]/Candlepin::Database/Postgresql::Server::Db[candlepin]/Postgresql::Server::Role[candlepin]/Postgresql_psql[CREATE ROLE "candlepin" ENCRYPTED PASSWORD 'md5b5735f4436fc0af17cad34521d2676bf' LOGIN NOCREATEROLE NOCREATEDB NOSUPERUSER CONNECTION LIMIT -1]: Error executing SQL; psql returned 256: 'ERROR: role "candlepin" already exists
[ERROR 2014-05-29 00:52:37 verbose] /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]: Failed to call refresh: /usr/sbin/foreman-rake db:migrate returned 1 instead of one of [0]
[ERROR 2014-05-29 00:52:37 verbose] /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]: /usr/sbin/foreman-rake db:migrate returned 1 instead of one of [0]
[ERROR 2014-05-29 00:52:37 verbose] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: Failed to call refresh: /usr/sbin/foreman-rake db:seed returned 1 instead of one of [0]
[ERROR 2014-05-29 00:52:37 verbose] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: /usr/sbin/foreman-rake db:seed returned 1 instead of one of [0]
[ERROR 2014-05-29 00:52:37 verbose] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[satellite.hq.ltg]: Could not evaluate: 500 Internal Server Error

History

#1 Updated by Ignacio Bravo almost 5 years ago

Did a new install a couple of hours ago and the problem dissapeared.

Please close the case.
IB

#2 Updated by Eric Helms almost 5 years ago

  • Status changed from New to Closed
  • Triaged changed from No to Yes

#3 Updated by Eric Helms over 4 years ago

  • Legacy Backlogs Release (now unused) set to 13

Also available in: Atom PDF