Project

General

Profile

Actions

Feature #6338

closed

katello-installer: support installing foreman/katello RPMs through installer

Added by Jorick Astrego over 10 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Installer
Target version:
-
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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


Related issues 3 (0 open3 closed)

Related to Katello - Bug #9959: permissions failures during installerRejectedActions
Related to Katello - Bug #9960: db migrate failRejectedActions
Related to Katello - Bug #9962: db seed failsRejectedActions
Actions #1

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

Actions #2

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.

Actions #3

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?

Actions #4

Updated by Jorick Astrego over 10 years ago

Pretty simple really:

CentOS release 6.5 (Final)

All I did was:

yum -y install ntp
chkconfig --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
  1. 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

Actions #5

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).

Actions #6

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
Actions #7

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.

Actions #8

Updated by Eric Helms over 10 years ago

  • Target version deleted (49)
Actions #9

Updated by Eric Helms over 9 years ago

  • Tracker changed from Bug to Feature
  • Translation missing: en.field_release set to 31
Actions #10

Updated by Eric Helms over 9 years ago

  • Related to Bug #9959: permissions failures during installer added
Actions #11

Updated by Eric Helms over 9 years ago

  • Related to Bug #9960: db migrate fail added
Actions #12

Updated by Eric Helms over 9 years ago

Actions #13

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
Actions #14

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)
Actions #15

Updated by Eric Helms over 9 years ago

  • Translation missing: en.field_release changed from 31 to 70
Actions #16

Updated by Eric Helms about 9 years ago

  • Translation missing: en.field_release changed from 70 to 86
Actions #17

Updated by Eric Helms almost 9 years ago

  • Translation missing: en.field_release changed from 86 to 114
Actions #18

Updated by John Mitsch over 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.

Actions

Also available in: Atom PDF