Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-15977

'/opt/puppetlabs/bin/puppetserver ca setup' returned 1 instead of one of [0]

XMLWordPrintable

      Description of problem:
      Unable to install Capsule with the provided instructions from `# capsule-certs-generate --foreman-proxy-fqdn ktordeur-sat610-capsule.kenny.lan --certs-tar /root/capsule_cert/ktordeur-sat610-capsule.kenny.lan.tar`

      Version-Release number of selected component (if applicable):
      satellite-capsule-6.10.0-0.6.beta.el7sat.noarch

      How reproducible:
      100%

      Steps to Reproduce:
      1. generate capsule certs and use the commands
      2. use the commands
      3.

      Actual results:
      2021-08-18 12:58:31 [ERROR ] [configure] '/opt/puppetlabs/bin/puppetserver ca setup' returned 1 instead of one of [0]
      2021-08-18 12:58:31 [ERROR ] [configure] /Stage[main]/Puppet::Server::Config/Exec[puppet_server_config-generate_ca_cert]/returns: change from 'notrun' to ['0'] failed: '/opt/puppetlabs/bin/puppetserver ca setup' returned 1 instead of one of [0]
      2021-08-18 12:58:35 [ERROR ] [configure] /Stage[main]/Puppet::Server::Config/Exec[puppet_server_config-generate_ca_cert]: Failed to call refresh: '/opt/puppetlabs/bin/puppetserver ca setup' returned 1 instead of one of [0]
      2021-08-18 12:58:35 [ERROR ] [configure] /Stage[main]/Puppet::Server::Config/Exec[puppet_server_config-generate_ca_cert]: '/opt/puppetlabs/bin/puppetserver ca setup' returned 1 instead of one of [0]

      Expected results:
      No errors

      Additional info:

      1. /opt/puppetlabs/bin/puppetserver ca setup
        Error:
        Missing public key to match private key at /etc/puppetlabs/puppet/ssl/private_keys/ktordeur-sat610-capsule.kenny.lan.pem
        Missing public key to match private key at /etc/puppetlabs/puppet/ssl/private_keys/ktordeur-sat610-capsule.kenny.lan.pem
      1. satellite-installer --scenario capsule --certs-tar-file "/root/ktordeur-sat610-capsule.kenny.lan.tar" --foreman-proxy-register-in-foreman "true" --foreman-proxy-foreman-base-url "https://ktordeur-testathon.kenny.lan" --foreman-proxy-trusted-hosts "ktordeur-testathon.kenny.lan" --foreman-proxy-trusted-hosts "ktordeur-sat610-capsule.kenny.lan" --foreman-proxy-oauth-consumer-key "5WM5Nn6Naqvub5B2rEWYBK5dVvoVCjeR" --foreman-proxy-oauth-consumer-secret "pfEs6KMGkf9ynKtp5SnLk2CDmT3GGwcs" --puppet-server-foreman-url "https://ktordeur-testathon.kenny.lan"

      2021-08-18 12:51:47 [NOTICE] [root] Loading installer configuration. This will take some time.
      2021-08-18 12:51:53 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
      2021-08-18 12:51:53 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
      2021-08-18 12:54:48 [NOTICE] [configure] Starting system configuration.
      2021-08-18 12:56:00 [NOTICE] [configure] 250 configuration steps out of 1622 steps complete.
      2021-08-18 12:56:59 [NOTICE] [configure] 500 configuration steps out of 1623 steps complete.
      2021-08-18 12:58:31 [ERROR ] [configure] '/opt/puppetlabs/bin/puppetserver ca setup' returned 1 instead of one of [0]
      2021-08-18 12:58:31 [ERROR ] [configure] /Stage[main]/Puppet::Server::Config/Exec[puppet_server_config-generate_ca_cert]/returns: change from 'notrun' to ['0'] failed: '/opt/puppetlabs/bin/puppetserver ca setup' returned 1 instead of one of [0]
      2021-08-18 12:58:35 [ERROR ] [configure] /Stage[main]/Puppet::Server::Config/Exec[puppet_server_config-generate_ca_cert]: Failed to call refresh: '/opt/puppetlabs/bin/puppetserver ca setup' returned 1 instead of one of [0]
      2021-08-18 12:58:35 [ERROR ] [configure] /Stage[main]/Puppet::Server::Config/Exec[puppet_server_config-generate_ca_cert]: '/opt/puppetlabs/bin/puppetserver ca setup' returned 1 instead of one of [0]
      2021-08-18 12:58:35 [NOTICE] [configure] 750 configuration steps out of 1628 steps complete.
      2021-08-18 12:58:47 [NOTICE] [configure] 1000 configuration steps out of 1645 steps complete.
      2021-08-18 12:58:47 [NOTICE] [configure] 1250 configuration steps out of 1645 steps complete.
      2021-08-18 12:59:48 [NOTICE] [configure] 1500 configuration steps out of 1645 steps complete.
      2021-08-18 12:59:51 [NOTICE] [configure] System configuration has finished.

      There were errors detected during install.
      Please address the errors and re-run the installer to ensure the system is properly configured.
      Failing to do so is likely to result in broken functionality.

      The full log is at /var/log/foreman-installer/capsule.log

              jira-bugzilla-migration RH Bugzilla Integration
              jira-bugzilla-migration RH Bugzilla Integration
              RH Bugzilla Integration RH Bugzilla Integration
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: