Feature #6338
closedkatello-installer: support installing foreman/katello RPMs through installer
Description
While running katello-installer -i, I get the following error:
[ERROR 2014-06-23 14:32:22 main] /File[/etc/pki/katello]/ensure: change from absent to directory failed: Could not set 'directory on ensure: Could not find group foreman at /usr/share/katello-installer/modules/certs/manifests/config.pp:9
rpm -qa|grep katello
katello-repos-1.5.1-1.git.14.0868bd1.el6.noarch
katello-installer-0.0.19-1.201406191542gita546284.el6.noarch
Updated by Jorick Astrego over 10 years ago
[ INFO 2014-06-23 14:32:22 main] RESOURCE File[/etc/pki/katello]
[ WARN 2014-06-23 14:32:22 main] /File[/etc/pki/katello/private]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:32:22 main] /File[/etc/pki/katello/private]: Skipping because of failed dependencies
[ WARN 2014-06-23 14:32:22 main] /File[/etc/pki/katello/certs]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:32:22 main] /File[/etc/pki/katello/certs]: Skipping because of failed dependencies
Updated by Jorick Astrego over 10 years ago
And this messes up the complete installation:
[ WARN 2014-06-23 14:58:23 main] /Stage[main]/Certs::Pulp_parent/Cert[katello01.netbulae.mgmt-qpid-client-cert]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:58:23 main] /Stage[main]/Certs::Pulp_parent/Cert[katello01.netbulae.mgmt-qpid-client-cert]: Skipping because of failed dependencies
[ WARN 2014-06-23 14:58:23 main] /Stage[main]/Certs::Pulp_parent/Key_bundle[/etc/pki/katello/qpid_client_striped.crt]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:58:23 main] /Stage[main]/Certs::Pulp_parent/Key_bundle[/etc/pki/katello/qpid_client_striped.crt]: Skipping because of failed dependencies
[DEBUG 2014-06-23 14:58:23 main] Class[Qpid::Service]: The container Stage[main] will propagate my refresh event
[ WARN 2014-06-23 14:58:23 main] /Stage[main]/Certs::Pulp_parent/Cert[katello01.netbulae.mgmt-parent-cert]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:58:23 main] /Stage[main]/Certs::Pulp_parent/Cert[katello01.netbulae.mgmt-parent-cert]: Skipping because of failed dependencies
[ WARN 2014-06-23 14:58:23 main] /File[/etc/pki/pulp/nodes]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:58:23 main] /File[/etc/pki/pulp/nodes]: Skipping because of failed dependencies
[ WARN 2014-06-23 14:58:23 main] /Stage[main]/Certs::Pulp_parent/Key_bundle[/etc/pki/pulp/nodes/node.crt]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:58:23 main] /Stage[main]/Certs::Pulp_parent/Key_bundle[/etc/pki/pulp/nodes/node.crt]: Skipping because of failed dependencies
[ WARN 2014-06-23 14:58:23 main] /File[/etc/pki/katello/qpid_client_striped.crt]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:58:23 main] /File[/etc/pki/katello/qpid_client_striped.crt]: Skipping because of failed dependencies
[ WARN 2014-06-23 14:58:23 main] /Stage[main]/Pulp::Install/Package[pulp-rpm-plugins]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:58:23 main] /Stage[main]/Pulp::Install/Package[pulp-rpm-plugins]: Skipping because of failed dependencies
[ WARN 2014-06-23 14:58:23 main] /Stage[main]/Pulp::Install/Package[pulp-server]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:58:23 main] /Stage[main]/Pulp::Install/Package[pulp-server]: Skipping because of failed dependencies
[ WARN 2014-06-23 14:58:23 main] /Stage[main]/Pulp::Install/Package[pulp-nodes-parent]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:58:23 main] /Stage[main]/Pulp::Install/Package[pulp-nodes-parent]: Skipping because of failed dependencies
[ WARN 2014-06-23 14:58:23 main] /Stage[main]/Pulp::Install/Package[pulp-selinux]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:58:23 main] /Stage[main]/Pulp::Install/Package[pulp-selinux]: Skipping because of failed dependencies
[ WARN 2014-06-23 14:58:23 main] /Stage[main]/Pulp::Install/Package[pulp-puppet-plugins]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:58:23 main] /Stage[main]/Pulp::Install/Package[pulp-puppet-plugins]: Skipping because of failed dependencies
[ WARN 2014-06-23 14:58:23 main] /File[/etc/httpd/conf.d/pulp.conf]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:58:23 main] /File[/etc/httpd/conf.d/pulp.conf]: Skipping because of failed dependencies
[ WARN 2014-06-23 14:58:23 main] /File[/etc/pulp/server.conf]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:58:23 main] /File[/etc/pulp/server.conf]: Skipping because of failed dependencies
[ WARN 2014-06-23 14:58:23 main] /File[/etc/pulp/server/plugins.conf.d/puppet_importer.json]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:58:23 main] /File[/etc/pulp/server/plugins.conf.d/puppet_importer.json]: Skipping because of failed dependencies
[ WARN 2014-06-23 14:58:23 main] /File[/etc/httpd/conf.d/pulp_puppet.conf]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:58:23 main] /File[/etc/httpd/conf.d/pulp_puppet.conf]: Skipping because of failed dependencies
[ WARN 2014-06-23 14:58:23 main] /File[/var/lib/pulp/packages]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:58:23 main] /File[/var/lib/pulp/packages]: Skipping because of failed dependencies
[ WARN 2014-06-23 14:58:23 main] /Stage[main]/Pulp::Config/Exec[migrate_pulp_db]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:58:23 main] /Stage[main]/Pulp::Config/Exec[migrate_pulp_db]: Skipping because of failed dependencies
[ WARN 2014-06-23 14:58:23 main] /Stage[main]/Pulp::Config/Exec[setup-crl-symlink]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:58:23 main] /Stage[main]/Pulp::Config/Exec[setup-crl-symlink]: Skipping because of failed dependencies
[ WARN 2014-06-23 14:58:23 main] /File[/etc/httpd/conf.d/pulp_rpm.conf]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:58:23 main] /File[/etc/httpd/conf.d/pulp_rpm.conf]: Skipping because of failed dependencies
[ WARN 2014-06-23 14:58:23 main] /File[/etc/pulp/server/plugins.conf.d/yum_importer.json]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:58:23 main] /File[/etc/pulp/server/plugins.conf.d/yum_importer.json]: Skipping because of failed dependencies
[ WARN 2014-06-23 14:58:23 main] /File[/etc/httpd/conf.d/pulp_nodes.conf]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:58:23 main] /File[/etc/httpd/conf.d/pulp_nodes.conf]: Skipping because of failed dependencies
[ WARN 2014-06-23 14:58:23 main] /File[/etc/pulp/repo_auth.conf]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:58:23 main] /File[/etc/pulp/repo_auth.conf]: Skipping because of failed dependencies
[ WARN 2014-06-23 14:58:23 main] /File[/etc/pki/pulp/content/pulp-global-repo.ca]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:58:23 main] /File[/etc/pki/pulp/content/pulp-global-repo.ca]: Skipping because of failed dependencies
[ WARN 2014-06-23 14:58:23 main] /File[/etc/pulp/server/plugins.conf.d/iso_importer.json]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:58:23 main] /File[/etc/pulp/server/plugins.conf.d/iso_importer.json]: Skipping because of failed dependencies
[ WARN 2014-06-23 14:58:24 main] /Stage[main]/Pulp::Service/Service[pulp_celerybeat]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:58:24 main] /Stage[main]/Pulp::Service/Service[pulp_celerybeat]: Skipping because of failed dependencies
[ WARN 2014-06-23 14:58:24 main] /Stage[main]/Pulp::Service/Service[pulp_resource_manager]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:58:24 main] /Stage[main]/Pulp::Service/Service[pulp_resource_manager]: Skipping because of failed dependencies
[ WARN 2014-06-23 14:58:24 main] /Stage[main]/Pulp::Service/Service[pulp_workers]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:58:24 main] /Stage[main]/Pulp::Service/Service[pulp_workers]: Skipping because of failed dependencies
[ WARN 2014-06-23 14:58:24 main] /Stage[main]/Apache::Service/Service[httpd]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:58:24 main] /Stage[main]/Apache::Service/Service[httpd]: Skipping because of failed dependencies
[DEBUG 2014-06-23 14:58:24 main] Service[httpd](provider=service_wait): Executing '/usr/share/katello-installer/modules/service_wait/bin/service-wait httpd status'
[DEBUG 2014-06-23 14:58:24 main] /Stage[main]/Apache::Service/Service[httpd]: Skipping restart; service is not running
[ WARN 2014-06-23 14:58:24 main] /Stage[main]/Apache::Service/Service[httpd]: Triggered 'refresh' from 63 events
[DEBUG 2014-06-23 14:58:24 main] /Stage[main]/Apache::Service/Service[httpd]: The container Class[Apache::Service] will propagate my refresh event
[DEBUG 2014-06-23 14:58:24 main] Class[Apache::Service]: The container Stage[main] will propagate my refresh event
[ WARN 2014-06-23 14:58:24 main] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: Dependency File[/etc/pki/katello] has failures: true
[ WARN 2014-06-23 14:58:24 main] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: Skipping because of failed dependencies
After cleaning up the install and running it again, it works because the group foreman has already been created by the previous failed install.
Updated by Eric Helms over 10 years ago
- Category set to Installer
- Status changed from New to Need more information
- Translation missing: en.field_release deleted (
13) - Difficulty set to easy
Can you provide the steps used to perform the installation as well as the operating system used?
Updated by Jorick Astrego over 10 years ago
Pretty simple really:
CentOS release 6.5 (Final)
All I did was:
yum -y install ntpchkconfig --level 235 ntpd on
service ntpd start
yum localinstall http://fedorapeople.org/groups/katello/releases/yum/nightly/RHEL/6/x86_64/katello-repos-latest.rpm
yum localinstall http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
- needed foreman repo for prerequisite: ruby193-rubygem-apipie-bindings
yum localinstall http://yum.theforeman.org/releases/1.5/el6/x86_64/foreman-release.rpm
yum install -y katello-installer
ketello-installer -i
Updated by Eric Helms over 10 years ago
- Status changed from Need more information to Assigned
- Assignee set to Eric Helms
- Target version set to 49
- Triaged changed from No to Yes
I would recommend what the rest of us use - https://github.com/Katello/katello-deploy for installations due to the repositories that need to be setup depending on the OS. I will keep this bug open to note that we need to update the installer to be a standalone deployment method (aka not require that other RPMs be installed prior to).
Updated by Eric Helms over 10 years ago
- Subject changed from katello-installer: change from absent to directory failed: Could not set 'directory on ensure to katello-installer: support installing foreman/katello RPMs through installer
Updated by Jorick Astrego over 10 years ago
Eric Helms wrote:
I would recommend what the rest of us use - https://github.com/Katello/katello-deploy for installations due to the repositories that need to be setup depending on the OS. I will keep this bug open to note that we need to update the installer to be a standalone deployment method (aka not require that other RPMs be installed prior to).
I tried it but it starts installing right away:
"Launching installer with command: katello-installer -v -d"
But I need to set serveral options differently (non default) plus put correct information in the certificates etc.
So that's why I use the installer. Interactive the first time and later with the answer file I generated.
Updated by Eric Helms over 9 years ago
- Tracker changed from Bug to Feature
- Translation missing: en.field_release set to 31
Updated by Eric Helms over 9 years ago
- Related to Bug #9959: permissions failures during installer added
Updated by Eric Helms over 9 years ago
- Related to Bug #9960: db migrate fail added
Updated by Eric Helms over 9 years ago
- Related to Bug #9962: db seed fails added
Updated by Eric Helms over 9 years ago
- Related to Tracker #7605: As a Foreman user, I would like to be able to add Katello later to an existing Foreman installation added
Updated by Stephen Benjamin over 9 years ago
- Related to deleted (Tracker #7605: As a Foreman user, I would like to be able to add Katello later to an existing Foreman installation)
Updated by Eric Helms over 9 years ago
- Translation missing: en.field_release changed from 31 to 70
Updated by Eric Helms about 9 years ago
- Translation missing: en.field_release changed from 70 to 86
Updated by Eric Helms almost 9 years ago
- Translation missing: en.field_release changed from 86 to 114
Updated by John Mitsch about 5 years ago
- Status changed from Assigned to Rejected
- Target version deleted (
Katello Backlog)
Thanks for reporting this issue. This issue was created over 4 years ago and hasn't seen an update in 1 year. We are closing this in an effort to keep a realistic backlog. Please open up a new issue that includes a link to this issue if you feel this still needs to be addressed. We can then triage the new issue and reassess.