Description of problem: capsule-installer complains about missing packages: pulp-katello & python-qpid-qmf & qpid-tools - these packages are missing in Capsule compose (but are present in Satellite compose) Version-Release number of selected component (if applicable): Satellite-6.1.0-RHEL-6-20150217.0-Capsule-x86_64 How reproducible: always Steps to Reproduce: 1. Ensure you have Capsule repo available, but you do not have Satellite repo 2. # capsule-installer --parent-fqdn "<sat_fqdn>"\ --register-in-foreman "true"\ --foreman-oauth-key "i6n...wgP"\ --foreman-oauth-secret "C56...p2n"\ --pulp-oauth-secret "6s4...SX2"\ --certs-tar "/root/<capsule_fqdn>-certs.tar"\ --puppet "true"\ --puppetca "true"\ --pulp "true" Actual results: Execution of '/usr/bin/yum -d 0 -e 0 -y list pulp-katello' returned 1: Error: No matching Packages to list /Stage[main]/Pulp::Child::Install/Package[pulp-katello]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list pulp-katello' returned 1: Error: No matching Packages to list tar -xzf /mnt/tests/Katello/Installation/Satellite6Latest/<fqdn>-certs.tar returned 2 instead of one of [0] /Stage[main]/Capsule/Certs::Tar_extract[/mnt/tests/Katello/Installation/Satellite6Latest/<fqdn>-certs.tar]/Exec[extract /mnt/tests/Katello/Installation/Satellite6Latest/<fqdn>-certs.tar]/returns: change from notrun to 0 failed: tar -xzf /mnt/tests/Katello/Installation/Satellite6Latest/<fqdn>-certs.tar returned 2 instead of one of [0] Execution of '/usr/bin/yum -d 0 -e 0 -y install qpid-tools' returned 1: Error: Package: python-qpid-qmf-0.14-14.el6_3.x86_64 (beaker-Server) /Stage[main]/Qpid::Install/Package[qpid-tools]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install qpid-tools' returned 1: Error: Package: python-qpid-qmf-0.14-14.el6_3.x86_64 (beaker-Server) Execution of '/usr/bin/yum -d 0 -e 0 -y install python-qpid-qmf' returned 1: Error: Package: python-qpid-qmf-0.14-14.el6_3.x86_64 (beaker-Server) /Stage[main]/Qpid::Install/Package[python-qpid-qmf]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install python-qpid-qmf' returned 1: Error: Package: python-qpid-qmf-0.14-14.el6_3.x86_64 (beaker-Server) /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[<fqdn>]: Failed to call refresh: missing param 'id' in parameters /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[<fqdn>]: missing param 'id' in parameters Installing Done [100%] [.........................................................................................................................................................] Something went wrong! Check the log for ERROR-level output The full log is at /var/log/capsule-installer/capsule-installer.log Expected results: Should be able to install all required packages. When I have added the Satellite compose repo to the system and re-run the command, it worked.
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release.
@jason: is this something you can help with?
Comps have been updated to include these awhile ago and it should work now. Moving to MODIFIED so it can receive proper testing.
Tested against a server running Satellite-6.1.0-RHEL-7-20150320.1. RHEL 6.6 client: [root@capsule ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.6 (Santiago) [root@capsule ~]# capsule-installer --parent-fqdn "satellite.example.com"\ > --register-in-foreman "true"\ > --foreman-oauth-key "GnEvHS7if3HDpQeLZeRzzKATDfx93fCo"\ > --foreman-oauth-secret "jCtoP5ja4L9F9SDA5v6TFipdcajGrrWv"\ > --pulp-oauth-secret "SB82AULr6GZaJtoq3Znb9zmNEbupqopZ"\ > --certs-tar "capsule.example.com.tar"\ > --puppet "false"\ > --puppetca "false"\ > --pulp "true" Installing Done [100%] [......................] Success! The full log is at /var/log/capsule-installer/capsule-installer.log RHEL 7.1 client: [root@capsule ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.1 (Maipo) [root@capsule ~]# capsule-installer --parent-fqdn "satellite.example.com"\ > --register-in-foreman "true"\ > --foreman-oauth-key "GnEvHS7if3HDpQeLZeRzzKATDfx93fCo"\ > --foreman-oauth-secret "jCtoP5ja4L9F9SDA5v6TFipdcajGrrWv"\ > --pulp-oauth-secret "SB82AULr6GZaJtoq3Znb9zmNEbupqopZ"\ > --certs-tar "capsule.example.com.tar"\ > --puppet "false"\ > --puppetca "false"\ > --pulp "true" Execution of '/usr/bin/yum install -y capsule.example.com-apache' returned 1: Loaded plugins: package_upload, product-id, subscription-manager Nothing to do /Stage[main]/Certs::Apache/Cert[capsule.example.com-apache]/ensure: change from absent to present failed: Execution of '/usr/bin/yum install -y capsule.example.com-apache' returned 1: Loaded plugins: package_upload, product-id, subscription-manager Nothing to do Execution of '/usr/bin/yum install -y capsule.example.com-qpid-client-cert' returned 1: Loaded plugins: package_upload, product-id, subscription-manager Nothing to do /Stage[main]/Certs::Pulp_child/Cert[capsule.example.com-qpid-client-cert]/ensure: change from absent to present failed: Execution of '/usr/bin/yum install -y capsule.example.com-qpid-client-cert' returned 1: Loaded plugins: package_upload, product-id, subscription-manager Nothing to do Execution of '/usr/bin/yum install -y capsule.example.com-qpid-router-server' returned 1: Loaded plugins: package_upload, product-id, subscription-manager Nothing to do /Stage[main]/Certs::Qpid_router/Cert[capsule.example.com-qpid-router-server]/ensure: change from absent to present failed: Execution of '/usr/bin/yum install -y capsule.example.com-qpid-router-server' returned 1: Loaded plugins: package_upload, product-id, subscription-manager Nothing to do Execution of '/usr/bin/yum install -y capsule.example.com-qpid-router-client' returned 1: Loaded plugins: package_upload, product-id, subscription-manager Nothing to do /Stage[main]/Certs::Qpid_router/Cert[capsule.example.com-qpid-router-client]/ensure: change from absent to present failed: Execution of '/usr/bin/yum install -y capsule.example.com-qpid-router-client' returned 1: Loaded plugins: package_upload, product-id, subscription-manager Nothing to do Execution of '/usr/bin/yum install -y capsule.example.com-qpid-broker' returned 1: Loaded plugins: package_upload, product-id, subscription-manager Nothing to do /Stage[main]/Certs::Qpid/Cert[capsule.example.com-qpid-broker]/ensure: change from absent to present failed: Execution of '/usr/bin/yum install -y capsule.example.com-qpid-broker' returned 1: Loaded plugins: package_upload, product-id, subscription-manager Nothing to do /Stage[main]/Certs::Katello/Certs_bootstrap_rpm[katello-ca-consumer-capsule.example.com]: Failed to call refresh: No such file or directory - /var/www/html/pub/rhsm-katello-reconfigure /Stage[main]/Certs::Katello/Certs_bootstrap_rpm[katello-ca-consumer-capsule.example.com]: No such file or directory - /var/www/html/pub/rhsm-katello-reconfigure /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[capsule.example.com]: Failed to call refresh: missing param 'id' in parameters /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[capsule.example.com]: missing param 'id' in parameters Installing Done [100%] [......................] Something went wrong! Check the log for ERROR-level output The full log is at /var/log/capsule-installer/capsule-installer.log
The new error is a different bug. These look like a failure to install certs from the specified tar file, rather than missing packages from the capsule repo.
This seems like different error, not related to the original report (the original issue seems to be fixed). Please file a new BZ on this issue, with detailed reproducer (including the part on sat6 server side), with foreman-debug, capsule.example.com.tar, or/and ideally with a life system with this issue.
I am unable to reproduce the issue reported in #c6. That bug may be due to a corrupted archive or some other transient issue. In an attempt to reproduce, I created four new capsules. One pair of RHEL 6.6 and 7.1 systems ran a command like this: capsule-installer \ --parent-fqdn "satellite.example.com" \ --register-in-foreman "true" \ --foreman-oauth-key "GnEvHS7if3HDpQeLZeRzzKATDfx93fCo" \ --foreman-oauth-secret "jCtoP5ja4L9F9SDA5v6TFipdcajGrrWv" \ --pulp-oauth-secret "SB82AULr6GZaJtoq3Znb9zmNEbupqopZ" \ --certs-tar "capsule.example.com.tar" \ --puppet "false" \ --puppetca "false" \ --pulp "true" The second pair of RHEL 6.6 and 7.1 systems ran a command like this: capsule-installer \ --parent-fqdn "satellite.example.com" \ --register-in-foreman "true" \ --foreman-oauth-key "GnEvHS7if3HDpQeLZeRzzKATDfx93fCo" \ --foreman-oauth-secret "jCtoP5ja4L9F9SDA5v6TFipdcajGrrWv" \ --pulp-oauth-secret "SB82AULr6GZaJtoq3Znb9zmNEbupqopZ" \ --certs-tar "capsule.example.com.tar" \ --puppet "true" \ --puppetca "true" \ --pulp "true" Notice that the first command sets puppet-related options to "false" as shown in #c6, and the second command does not. The satellite in question is running Satellite-6.1.0-RHEL-7-20150320.1.
This bug is slated to be released with Satellite 6.1.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2015:1592