Katello-configure errors
by Mariano Ochoteco
Hello, im being unable to install Katello on Oracle enterprise Linux 6.5.
After katello-configure finishes, i get 503 error. (the katello-foreman-all
version)
This is the debug output with some errors:
Debug: Executing '/usr/bin/rake db:migrate --trace --verbose && /bin/touch
/var/lib/foreman/foreman_db_migrate_done'
Notice: /Stage[main]/Foreman::Config/Exec[foreman_migrate_db]/returns: rake
aborted!
Notice: /Stage[main]/Foreman::Config/Exec[foreman_migrate_db]/returns: no
such file to load -- rails/all
Notice: /Stage[main]/Foreman::Config/Exec[foreman_migrate_db]/returns:
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
Notice: /Stage[main]/Foreman::Config/Exec[foreman_migrate_db]/returns:
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
Notice: /Stage[main]/Foreman::Config/Exec[foreman_migrate_db]/returns:
/usr/share/foreman/config/application.rb:3
Notice: /Stage[main]/Foreman::Config/Exec[foreman_migrate_db]/returns:
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
Notice: /Stage[main]/Foreman::Config/Exec[foreman_migrate_db]/returns:
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
Notice: /Stage[main]/Foreman::Config/Exec[foreman_migrate_db]/returns:
/usr/share/foreman/Rakefile:1
Notice: /Stage[main]/Foreman::Config/Exec[foreman_migrate_db]/returns:
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2382:in `load'
Notice: /Stage[main]/Foreman::Config/Exec[foreman_migrate_db]/returns:
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2382:in
`raw_load_rakefile'
Notice: /Stage[main]/Foreman::Config/Exec[foreman_migrate_db]/returns:
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2016:in `load_rakefile'
Notice: /Stage[main]/Foreman::Config/Exec[foreman_migrate_db]/returns:
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2067:in
`standard_exception_handling'
Notice: /Stage[main]/Foreman::Config/Exec[foreman_migrate_db]/returns:
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2015:in `load_rakefile'
Notice: /Stage[main]/Foreman::Config/Exec[foreman_migrate_db]/returns:
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1999:in `run'
Notice: /Stage[main]/Foreman::Config/Exec[foreman_migrate_db]/returns:
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2067:in
`standard_exception_handling'
Notice: /Stage[main]/Foreman::Config/Exec[foreman_migrate_db]/returns:
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1997:in `run'
Notice: /Stage[main]/Foreman::Config/Exec[foreman_migrate_db]/returns:
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
Notice: /Stage[main]/Foreman::Config/Exec[foreman_migrate_db]/returns:
/usr/bin/rake:19:in `load'
Notice: /Stage[main]/Foreman::Config/Exec[foreman_migrate_db]/returns:
/usr/bin/rake:19
Notice: /Stage[main]/Foreman::Config/Exec[foreman_migrate_db]/returns: (in
/usr/share/foreman)
Error: /usr/bin/rake db:migrate --trace --verbose && /bin/touch
/var/lib/foreman/foreman_db_migrate_done returned 1 instead of one of [0]
Error: /Stage[main]/Foreman::Config/Exec[foreman_migrate_db]/returns:
change from notrun to 0 failed: /usr/bin/rake db:migrate --trace --verbose
&& /bin/touch /var/lib/foreman/foreman_db_migrate_done returned 1 instead
of one of [0]
Notice: /Stage[main]/Foreman::Config/Exec[foreman_config]: Dependency
Exec[foreman_migrate_db] has failures: true
Warning: /Stage[main]/Foreman::Config/Exec[foreman_config]: Skipping
because of failed dependencies
Notice:
/Stage[main]/Foreman::Config/File[/usr/share/foreman/config/initializers/local_secret_token.rb]/owner:
owner changed 'root' to 'foreman'
Debug:
/Stage[main]/Foreman::Config/File[/usr/share/foreman/config/initializers/local_secret_token.rb]:
The container Class[Foreman::Config] will propagate my refresh event
Debug: Class[Foreman::Config]: The container Stage[main] will propagate my
refresh event
Info: Class[Foreman::Config]: Scheduling refresh of Class[Foreman::Service]
Info: Class[Foreman::Service]: Scheduling refresh of Service[foreman]
Notice: /Stage[main]/Foreman::Service/Service[foreman]: Dependency
Exec[foreman_migrate_db] has failures: true
Warning: /Stage[main]/Foreman::Service/Service[foreman]: Skipping because
of failed dependencies
Debug: Executing '/usr/sbin/service-wait foreman status'
Debug: /Stage[main]/Foreman::Service/Service[foreman]: Skipping restart;
service is not running
Notice: /Stage[main]/Foreman::Service/Service[foreman]: Triggered 'refresh'
from 1 events
Debug: /Stage[main]/Foreman::Service/Service[foreman]: The container
Class[Foreman::Service] will propagate my refresh event
Debug: Class[Foreman::Service]: The container Stage[main] will propagate my
refresh event
Debug: Class[Mongodb::Config]: The container Stage[main] will propagate my
refresh event
Debug: Executing '/usr/bin/wget --tries=30 --wait=2 --retry-connrefused
-qO- http://localhost:27017/ --waitretry=0'
Debug: Executing '/sbin/chkconfig mongod'
Debug: Executing '/usr/sbin/service-wait mongod start'
Debug: Executing '/sbin/chkconfig mongod'
Debug: Executing '/sbin/chkconfig mongod on'
Notice: /Stage[main]/Mongodb::Service/Service[mongod]/ensure: ensure
changed 'stopped' to 'running'
Debug: /Stage[main]/Mongodb::Service/Service[mongod]: The container
Class[Mongodb::Service] will propagate my refresh event
Debug: Executing '/usr/bin/wget --tries=30 --wait=2 --retry-connrefused
-qO- http://localhost:27017/ --waitretry=0'
Debug: Executing '/usr/sbin/service-wait mongod restart'
Notice: /Stage[main]/Mongodb::Service/Service[mongod]: Triggered 'refresh'
from 1 events
Debug: /Stage[main]/Mongodb::Service/Service[mongod]: The container
Class[Mongodb::Service] will propagate my refresh event
Debug: Class[Mongodb::Service]: The container Stage[main] will propagate my
refresh event
Debug: Exec[migrate_pulp_db](provider=posix): Executing 'pulp-manage-db
>/var/log/katello/katello-configure/pulp_migrate.log 2>&1 && touch
/var/lib/pulp/init.flag'
Debug: Executing 'pulp-manage-db
>/var/log/katello/katello-configure/pulp_migrate.log 2>&1 && touch
/var/lib/pulp/init.flag'
Notice: /Stage[main]/Pulp::Config/Exec[migrate_pulp_db]/returns: executed
successfully
Info: /Stage[main]/Pulp::Config/Exec[migrate_pulp_db]: Scheduling refresh
of Exec[reload-apache2]
Debug: /Stage[main]/Pulp::Config/Exec[migrate_pulp_db]: The container
Class[Pulp::Config] will propagate my refresh event
Debug: Executing '/sbin/service httpd status'
Debug: Executing '/sbin/chkconfig httpd'
Debug: Executing '/sbin/service httpd start'
Debug: Executing '/sbin/chkconfig httpd'
Debug: Executing '/sbin/chkconfig httpd on'
Notice: /Stage[main]/Apache2::Service/Service[httpd]/ensure: ensure changed
'stopped' to 'running'
Debug: /Stage[main]/Apache2::Service/Service[httpd]: The container
Class[Apache2::Service] will propagate my refresh event
Debug: Executing '/sbin/service httpd status'
Debug: Executing '/sbin/service httpd restart'
Notice: /Stage[main]/Apache2::Service/Service[httpd]: Triggered 'refresh'
from 2 events
Debug: /Stage[main]/Apache2::Service/Service[httpd]: The container
Class[Apache2::Service] will propagate my refresh event
Debug: Class[Apache2::Service]: The container Stage[main] will propagate my
refresh event
Debug: Class[Pulp::Config]: The container Stage[main] will propagate my
refresh event
Debug: Executing '/sbin/service qpidd status'
Debug: Executing '/sbin/chkconfig qpidd'
Debug: Executing '/sbin/service qpidd start'
Debug: Executing '/sbin/chkconfig qpidd'
Debug: Executing '/sbin/chkconfig qpidd on'
Notice: /Stage[main]/Qpid::Service/Service[qpidd]/ensure: ensure changed
'stopped' to 'running'
Debug: /Stage[main]/Qpid::Service/Service[qpidd]: The container
Class[Qpid::Service] will propagate my refresh event
Debug: Executing '/sbin/service qpidd status'
Debug: Executing '/sbin/service qpidd restart'
Notice: /Stage[main]/Qpid::Service/Service[qpidd]: Triggered 'refresh' from
2 events
Debug: /Stage[main]/Qpid::Service/Service[qpidd]: The container
Class[Qpid::Service] will propagate my refresh event
Debug: Class[Qpid::Service]: The container Stage[main] will propagate my
refresh event
Debug: Service[pulp-server](provider=redhat): Executing 'ps -ef'
Debug: Executing '/sbin/chkconfig pulp-server'
Notice: /Stage[main]/Katello::Config/Exec[katello_db_printenv]: Dependency
Exec[foreman_migrate_db] has failures: true
Warning: /Stage[main]/Katello::Config/Exec[katello_db_printenv]: Skipping
because of failed dependencies
Notice: /Stage[main]/Katello::Config/Exec[katello_migrate_db]: Dependency
Exec[foreman_migrate_db] has failures: true
Warning: /Stage[main]/Katello::Config/Exec[katello_migrate_db]: Skipping
because of failed dependencies
Notice: /Stage[main]/Katello::Config/Exec[katello_seed_db]: Dependency
Exec[foreman_migrate_db] has failures: true
Warning: /Stage[main]/Katello::Config/Exec[katello_seed_db]: Skipping
because of failed dependencies
Debug: Class[Katello::Config]: The container Stage[main] will propagate my
refresh event
Notice: /Stage[main]/Katello::Service/Service[katello]: Dependency
Exec[foreman_migrate_db] has failures: true
Warning: /Stage[main]/Katello::Service/Service[katello]: Skipping because
of failed dependencies
Notice: /Stage[main]/Apache2/Exec[reload-apache2]: Dependency
Exec[foreman_migrate_db] has failures: true
Warning: /Stage[main]/Apache2/Exec[reload-apache2]: Skipping because of
failed dependencies
Debug: Exec[reload-apache2](provider=posix): Executing '/sbin/service httpd
restart'
Debug: Executing '/sbin/service httpd restart'
Notice: /Stage[main]/Apache2/Exec[reload-apache2]/returns: Stopping httpd:
[ OK ]
Notice: /Stage[main]/Apache2/Exec[reload-apache2]/returns: Starting httpd:
httpd: Could not reliably determine the server's fully qualified domain
name, using 10.48.41.139 for ServerName
Notice: /Stage[main]/Apache2/Exec[reload-apache2]/returns: [ OK ]
Notice: /Stage[main]/Apache2/Exec[reload-apache2]: Triggered 'refresh' from
15 events
Debug: /Stage[main]/Apache2/Exec[reload-apache2]: The container
Class[Apache2] will propagate my refresh event
Debug: Class[Apache2]: The container Stage[main] will propagate my refresh
event
Notice: /Stage[main]/Katello::Service/Service[katello-jobs]: Dependency
Exec[foreman_migrate_db] has failures: true
Warning: /Stage[main]/Katello::Service/Service[katello-jobs]: Skipping
because of failed dependencies
Debug: Finishing transaction 23707660
Debug: Storing state
Info: Creating state file /var/lib/puppet/state/state.yaml
Debug: Stored state in 0.10 seconds
Notice: Finished catalog run in 253.88 seconds
Debug: Using settings: adding file resource 'rrddir':
'File[/var/lib/puppet/rrd]{:path=>"/var/lib/puppet/rrd", :mode=>"750",
:owner=>"puppet", :group=>"puppet", :ensure=>:directory, :loglevel=>:debug,
:links=>:follow, :backup=>false}'
Debug: /File[/var/lib/puppet/rrd]/ensure: created
Debug: Finishing transaction 23440960
Debug: Received report to process from arbue-katello
Debug: Processing report from arbue-katello with processor
Puppet::Reports::Store
Any idea?
ps: i have tried installing on RHEL 6.4, also without luck.
Thanks in advance!
9 years, 10 months
Katello node questions
by marek ciganek
Hi guys,
I have a katello node with a copy of my repositories. Node RPM
synchronization works without any issues. However I came across a following
two problems:
1) Katello node ( pulp node ) - kickstart repository
By default katello node ( pulp node ) did not allow me use http enabled
repository . I compared all configuration files on node and central Katello
server but no luck. Any idea where I can enable it ? Other than a following
change which I made?
/etc/httpd/conf.d/pulp_rpm.conf
In the original configuration is:
Alias /pulp/repos /var/www/pub/https/repos
I replaced it with:
Alias /pulp/repos /var/www/pub/http/repos
Changing Alias path allowed me to use http based repositories.
Nevertheless I run into a next problem:
2) repodata files not synchronized
I found out that files under repodirectory had been sychronized.
/var/lib/pulp/published/http/repos/<ORG>/Library/content/dist/rhel/server/6/6.5/x86_64/kickstart/repodata
Again to fix it I rsynced all files under repodata directory from central
Katello server.
Thanks,
Marek
10 years, 1 month
Katello with freeipa?
by Andrew Lau
Hi guys,
Two quick questions:
1. Are there any full diagram overviews of the katello process? I'm
interested in getting a better understanding of the whole life cycle of a
server process with katello.
2. Is it possible to use the freeipas ca for the whole ca process? Ie. With
foreman/puppet, we grab a unique ca during the kick start process so when
puppetrun comes around we already have a cert.
Thanks.
10 years, 1 month
NOTICE: Changing Mailing Lists
by Eric Helms
Howdy,
Recent efforts to turn Katello into a plugin that makes use of the wider Foreman ecosystem resulted in ending use of our own developer mailing list in favor of the Foreman developer list. In the same vain, we are switching to make use of the Foreman users mailing list to gain broader exposure across the two projects for our users. We ask that all questions be directed here - https://groups.google.com/forum/#!forum/foreman-users and if asking a Katello specific question include [Katello] in the subject. We apologize for the delay in making this switch and any user questions that have gone unanswered as of late.
Thank you for your patience,
The Katello Team
10 years, 1 month