Feature #6338
closed
katello-installer: support installing foreman/katello RPMs through installer
Added by Jorick Astrego almost 11 years ago.
Updated over 5 years ago.
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
[ 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
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.
- 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?
- 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).
- 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
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.
- Target version deleted (
49)
- Tracker changed from Bug to Feature
- Translation missing: en.field_release set to 31
- Related to Bug #9959: permissions failures during installer added
- Related to Tracker #7605: As a Foreman user, I would like to be able to add Katello later to an existing Foreman installation added
- Related to deleted (Tracker #7605: As a Foreman user, I would like to be able to add Katello later to an existing Foreman installation)
- Translation missing: en.field_release changed from 31 to 70
- Translation missing: en.field_release changed from 70 to 86
- Translation missing: en.field_release changed from 86 to 114
- 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.
Also available in: Atom
PDF