Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 896600 - CLI - package install on client shows error
Summary: CLI - package install on client shows error
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: API
Version: Nightly
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Unspecified
Assignee: Bryan Kearney
QA Contact: Og Maciel
URL:
Whiteboard:
Depends On: 974264
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-17 15:29 UTC by Hayk Hovsepyan
Modified: 2019-09-26 15:50 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-18 21:23:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Hayk Hovsepyan 2013-01-17 15:29:33 UTC
Description of problem:
When trying to install some package on client machine, for example "lion" it shows error: http://pastebin.test.redhat.com/123383

Version-Release number of selected component (if applicable):
katello-glue-candlepin-1.3.3-1.git.9.9377ddb.el6.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-cli-common-1.3.3-1.el6.noarch
katello-cli-1.3.3-1.el6.noarch
katello-configure-1.3.3-1.git.5.0f1d8f6.el6.noarch
katello-glue-foreman-1.3.3-1.git.9.9377ddb.el6.noarch
katello-repos-1.3.2-1.el6.noarch
katello-agent-1.1.3-1.el6.noarch
katello-selinux-1.3.1-1.el6.noarch
katello-1.3.3-1.git.9.9377ddb.el6.noarch
katello-qpid-client-key-pair-1.0-1.noarch
katello-certs-tools-1.1.9-1.el6.noarch
katello-common-1.3.3-1.git.9.9377ddb.el6.noarch
katello-glue-pulp-1.3.3-1.git.9.9377ddb.el6.noarch
katello-qpid-broker-key-pair-1.0-1.noarch

How reproducible:
always

Steps to Reproduce:
1. Create Zoo repo and sync it. Promote it to environment
2. Subscribe client to that environment.
3. Try to install "lion" package on client by CLI command "system packages --install lion" or "yum -y install lion". You will get error "Cannot retrieve repository metadata (repomd.xml) for repository: ACME_Corporation_zoo_zoo. Please verify its path and try again" there.
  
Actual results:
error is thrown.

Expected results:
install action should complete successfully.

Comment 1 Lukas Zapletal 2013-01-18 10:36:31 UTC
Not able to repro on my nightly. In your setup, pulp is not generating repo_auth certs, you should see something like:

/etc/pki/pulp/content/SOMETHING.r0

pointing to the candlepin-ca.crt.

Reopen if you able to reproduce.

Comment 2 Hayk Hovsepyan 2013-01-22 14:20:35 UTC
It works OK for latest subscription manager on RHEL 6.3 "subscription-manager-0.99.19.4-1.el6_3.x86_6 and python-rhsm-0.99.12-1.el6.noarch".

But the bug is when we use the nightly build of subscription manager "subscription-manager-1.8.0-1.el6.x86_64".

Please try to reproduce the bug with latest subscription manager and you will see the issue.

Comment 3 Hayk Hovsepyan 2013-03-13 10:05:18 UTC
Reproduced the issue on Katello Nightly

katello-selinux-1.3.1-1.el6.noarch
katello-qpid-client-key-pair-1.0-1.noarch
katello-repos-1.3.2-1.el6.noarch
katello-cli-common-1.3.4-1.git.908.7e3bcff.el6.noarch
katello-configure-1.3.6-1.git.838.2dc1245.el6.noarch
katello-glue-pulp-1.3.14-1.git.907.71ccfd2.el6.noarch
katello-glue-elasticsearch-1.3.14-1.git.907.71ccfd2.el6.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-agent-1.3.1-1.git.476.f8f2f08.el6.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
katello-certs-tools-1.1.9-1.el6.noarch
katello-cli-1.3.4-1.git.908.7e3bcff.el6.noarch
katello-common-1.3.14-1.git.907.71ccfd2.el6.noarch
katello-glue-foreman-1.3.14-1.git.907.71ccfd2.el6.noarch
katello-1.3.14-1.git.907.71ccfd2.el6.noarch
katello-all-1.3.14-1.git.907.71ccfd2.el6.noarch
katello-glue-candlepin-1.3.14-1.git.907.71ccfd2.el6.noarch

The same error "Cannot retrieve repository metadata (repomd.xml) for repository: ACME_Corporation_zoo_zoo. Please verify its path and try again" is displayed when trying to "yum install -y lion" on client machine.

Comment 4 Hayk Hovsepyan 2013-04-10 09:57:16 UTC
Still is able to reproduce on Katello Nightly revision:

ruby193-rubygem-foreman-katello-engine-0.0.4-3.el6.noarch
katello-configure-1.3.6-1.git.1223.a283dbf.el6.noarch
katello-common-1.3.14-1.git.1213.1570290.el6.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-agent-1.3.1-1.git.1724.e6e8050.el6.noarch
ruby193-rubygem-katello_api-0.0.2-2.el6.noarch
katello-all-1.3.14-1.git.1213.1570290.el6.noarch
katello-cli-common-1.3.5-1.git.250.1570290.el6.noarch
katello-qpid-client-key-pair-1.0-1.noarch
katello-glue-elasticsearch-1.3.14-1.git.1213.1570290.el6.noarch
katello-repos-1.3.2-1.git.2025.9dfcc69.el6.noarch
katello-certs-tools-1.3.0-1.git.2926.e6e8050.el6.noarch
katello-glue-foreman-1.3.14-1.git.1213.1570290.el6.noarch
katello-glue-pulp-1.3.14-1.git.1213.1570290.el6.noarch
katello-selinux-1.3.1-1.git.1882.e6e8050.el6.noarch
katello-1.3.14-1.git.1213.1570290.el6.noarch
katello-cli-1.3.5-1.git.250.1570290.el6.noarch
katello-glue-candlepin-1.3.14-1.git.1213.1570290.el6.noarch
katello-qpid-broker-key-pair-1.0-1.noarch

Comment 5 Hayk Hovsepyan 2013-04-10 10:00:11 UTC
And subscription manager is:
subscription-manager-1.1.23-1.el6.x86_64

Comment 6 Garik Khachikyan 2013-04-10 13:15:08 UTC
cat /etc/pulp/vhosts80/rpm.conf
---
Alias /pulp/repos /var/www/pub/http/repos
Alias /pulp/isos /var/www/pub/http/isos
Alias /pulp/exports /var/www/pub/http/exports

which is _wrong_: it should be for katello:  /var/www/pub/https/repos

this is the directory when i see the content when do the sync/promote of content views

Comment 8 Mike McCune 2013-06-18 21:24:29 UTC
This is functional in the latest builds, can we get a re-test?

# kk system packages --uuid 7b019dc3-a9a0-4639-9e2c-90b71626a4d4 --install zydeco
Performing remote action [ 289cabd4-928a-49af-b96b-ca1ca93d388f ]... 
Remote action finished:zydeco-10.10.0-1.elfake.noarch


on the client:

# rpm -q zydeco
zydeco-10.10.0-1.elfake.noarch

Comment 9 Og Maciel 2013-06-18 22:32:08 UTC
katello> system packages --org SimpleOrg --uuid 6dc60321-4427-40d4-8857-0337c6b00a59 --install emacs
Found ambiguous Systems [ 6dc60321-4427-40d4-8857-0337c6b00a59 ] in Org [ SimpleOrg ]

This is due to https://bugzilla.redhat.com/show_bug.cgi?id=974264

However, using yum for that same client works:

# yum install emacs
Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.

Please use yum-config-manager to configure which software
repositories are used with Red Hat Subscription Management.

SimpleOrg_Agent_katello-agent-64                                                              | 3.3 kB     00:00     
SimpleOrg_Chrome_google-chrome-64bit                                                          | 2.9 kB     00:00     
rhel-6-server-rpms                                                                            | 4.2 kB     00:00     
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package emacs.x86_64 1:23.1-21.el6_2.3 will be installed
--> Processing Dependency: emacs-common = 1:23.1-21.el6_2.3 for package: 1:emacs-23.1-21.el6_2.3.x86_64
--> Processing Dependency: m17n-db-datafiles for package: 1:emacs-23.1-21.el6_2.3.x86_64
--> Processing Dependency: librsvg2 for package: 1:emacs-23.1-21.el6_2.3.x86_64
--> Processing Dependency: librsvg-2.so.2()(64bit) for package: 1:emacs-23.1-21.el6_2.3.x86_64
--> Processing Dependency: libotf.so.0()(64bit) for package: 1:emacs-23.1-21.el6_2.3.x86_64
--> Processing Dependency: libm17n-flt.so.0()(64bit) for package: 1:emacs-23.1-21.el6_2.3.x86_64
--> Processing Dependency: libm17n-core.so.0()(64bit) for package: 1:emacs-23.1-21.el6_2.3.x86_64
--> Processing Dependency: libXpm.so.4()(64bit) for package: 1:emacs-23.1-21.el6_2.3.x86_64
--> Running transaction check
---> Package emacs-common.x86_64 1:23.1-21.el6_2.3 will be installed
---> Package libXpm.x86_64 0:3.5.10-2.el6 will be installed
---> Package libotf.x86_64 0:0.9.9-3.1.el6 will be installed
--> Processing Dependency: libXmu.so.6()(64bit) for package: libotf-0.9.9-3.1.el6.x86_64
--> Processing Dependency: libXaw.so.7()(64bit) for package: libotf-0.9.9-3.1.el6.x86_64
---> Package librsvg2.x86_64 0:2.26.0-5.el6_1.1 will be installed
--> Processing Dependency: libgsf >= 1.6.0 for package: librsvg2-2.26.0-5.el6_1.1.x86_64
--> Processing Dependency: libgsf-1.so.114()(64bit) for package: librsvg2-2.26.0-5.el6_1.1.x86_64
--> Processing Dependency: libcroco-0.6.so.3()(64bit) for package: librsvg2-2.26.0-5.el6_1.1.x86_64
---> Package m17n-db-datafiles.noarch 0:1.5.5-1.1.el6 will be installed
--> Processing Dependency: m17n-db = 1.5.5-1.1.el6 for package: m17n-db-datafiles-1.5.5-1.1.el6.noarch
---> Package m17n-lib.x86_64 0:1.5.5-2.el6_1.1 will be installed
--> Running transaction check
---> Package libXaw.x86_64 0:1.0.11-2.el6 will be installed
---> Package libXmu.x86_64 0:1.1.1-2.el6 will be installed
---> Package libcroco.x86_64 0:0.6.2-5.el6 will be installed
---> Package libgsf.x86_64 0:1.14.15-5.el6 will be installed
---> Package m17n-db.noarch 0:1.5.5-1.1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================
 Package                       Arch               Version                       Repository                      Size
=====================================================================================================================
Installing:
 emacs                         x86_64             1:23.1-21.el6_2.3             rhel-6-server-rpms             2.2 M
Installing for dependencies:
 emacs-common                  x86_64             1:23.1-21.el6_2.3             rhel-6-server-rpms              18 M
 libXaw                        x86_64             1.0.11-2.el6                  rhel-6-server-rpms             178 k
 libXmu                        x86_64             1.1.1-2.el6                   rhel-6-server-rpms              66 k
 libXpm                        x86_64             3.5.10-2.el6                  rhel-6-server-rpms              51 k
 libcroco                      x86_64             0.6.2-5.el6                   rhel-6-server-rpms             100 k
 libgsf                        x86_64             1.14.15-5.el6                 rhel-6-server-rpms             116 k
 libotf                        x86_64             0.9.9-3.1.el6                 rhel-6-server-rpms              80 k
 librsvg2                      x86_64             2.26.0-5.el6_1.1              rhel-6-server-rpms             138 k
 m17n-db                       noarch             1.5.5-1.1.el6                 rhel-6-server-rpms              41 k
 m17n-db-datafiles             noarch             1.5.5-1.1.el6                 rhel-6-server-rpms             717 k
 m17n-lib                      x86_64             1.5.5-2.el6_1.1               rhel-6-server-rpms             157 k

Transaction Summary
=====================================================================================================================
Install      12 Package(s)

Total download size: 22 M
Installed size: 74 M
Is this ok [y/N]: y
Downloading Packages:
(1/12): emacs-23.1-21.el6_2.3.x86_64.rpm                                                      | 2.2 MB     00:00     
(2/12): emacs-common-23.1-21.el6_2.3.x86_64.rpm                                               |  18 MB     00:00     
(3/12): libXaw-1.0.11-2.el6.x86_64.rpm                                                        | 178 kB     00:00     
(4/12): libXmu-1.1.1-2.el6.x86_64.rpm                                                         |  66 kB     00:00     
(5/12): libXpm-3.5.10-2.el6.x86_64.rpm                                                        |  51 kB     00:00     
(6/12): libcroco-0.6.2-5.el6.x86_64.rpm                                                       | 100 kB     00:00     
(7/12): libgsf-1.14.15-5.el6.x86_64.rpm                                                       | 116 kB     00:00     
(8/12): libotf-0.9.9-3.1.el6.x86_64.rpm                                                       |  80 kB     00:00     
(9/12): librsvg2-2.26.0-5.el6_1.1.x86_64.rpm                                                  | 138 kB     00:00     
(10/12): m17n-db-1.5.5-1.1.el6.noarch.rpm                                                     |  41 kB     00:00     
(11/12): m17n-db-datafiles-1.5.5-1.1.el6.noarch.rpm                                           | 717 kB     00:00     
(12/12): m17n-lib-1.5.5-2.el6_1.1.x86_64.rpm                                                  | 157 kB     00:00     
---------------------------------------------------------------------------------------------------------------------
Total                                                                                 11 MB/s |  22 MB     00:02     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : libXmu-1.1.1-2.el6.x86_64                                                                        1/12 
  Installing : libXpm-3.5.10-2.el6.x86_64                                                                       2/12 
  Installing : m17n-db-1.5.5-1.1.el6.noarch                                                                     3/12 
  Installing : m17n-db-datafiles-1.5.5-1.1.el6.noarch                                                           4/12 
  Installing : m17n-lib-1.5.5-2.el6_1.1.x86_64                                                                  5/12 
  Installing : libXaw-1.0.11-2.el6.x86_64                                                                       6/12 
  Installing : libotf-0.9.9-3.1.el6.x86_64                                                                      7/12 
  Installing : libgsf-1.14.15-5.el6.x86_64                                                                      8/12 
  Installing : libcroco-0.6.2-5.el6.x86_64                                                                      9/12 
  Installing : librsvg2-2.26.0-5.el6_1.1.x86_64                                                                10/12 
  Installing : 1:emacs-common-23.1-21.el6_2.3.x86_64                                                           11/12 
  Installing : 1:emacs-23.1-21.el6_2.3.x86_64                                                                  12/12 
Installed products updated.

Installed:
  emacs.x86_64 1:23.1-21.el6_2.3                                                                                     

Dependency Installed:
  emacs-common.x86_64 1:23.1-21.el6_2.3       libXaw.x86_64 0:1.0.11-2.el6          libXmu.x86_64 0:1.1.1-2.el6      
  libXpm.x86_64 0:3.5.10-2.el6                libcroco.x86_64 0:0.6.2-5.el6         libgsf.x86_64 0:1.14.15-5.el6    
  libotf.x86_64 0:0.9.9-3.1.el6               librsvg2.x86_64 0:2.26.0-5.el6_1.1    m17n-db.noarch 0:1.5.5-1.1.el6   
  m17n-db-datafiles.noarch 0:1.5.5-1.1.el6    m17n-lib.x86_64 0:1.5.5-2.el6_1.1    

Complete!

Comment 10 Og Maciel 2013-06-18 22:34:08 UTC
This issue is partially verified as it still depends on https://bugzilla.redhat.com/show_bug.cgi?id=974264

Comment 11 Og Maciel 2013-06-22 20:41:08 UTC
katello> system packages --org SimpleOrg --uuid c5ec654a-1caa-443e-aa76-fd1fdc01d3f0 --install firefox
Performing remote action [ cda233a5-b1f6-4c53-8fc2-5c152a22e1c7 ]...
Remote action finished:firefox-17.0.6-1.el6_4.x86_64
nss-tools-3.14.0.0-12.el6.x86_64
xulrunner-17.0.6-2.el6_4.x86_64
liberation-sans-fonts-1.05.1.20090721-5.el6.noarch
GConf2-2.28.0-6.el6.x86_64
libIDL-0.8.13-2.1.el6.x86_64
nss-3.14.0.0-12.el6.x86_64
sgml-common-0.6.3-32.el6.noarch
xcb-util-0.3.6-1.el6.x86_64
nss-sysinit-3.14.0.0-12.el6.x86_64
gnome-vfs2-2.24.2-6.el6.x86_64
redhat-bookmarks-6-1.el6.noarch
shared-mime-info-0.70-4.el6.x86_64
ORBit2-2.14.17-3.2.el6_3.x86_64
liberation-fonts-common-1.05.1.20090721-5.el6.noarch
nspr-4.9.2-1.el6.x86_64
avahi-glib-0.6.25-12.el6.x86_64
mozilla-filesystem-1.9-5.1.el6.x86_64
nss-util-3.14.0.0-2.el6.x86_64
startup-notification-0.10-2.1.el6.x86_64
katello> system packages --org SimpleOrg --name qeclient18.usersys.redhat.com --install emacs
Performing remote action [ 7db71894-026f-4a58-999e-c67ec60e526b ]...
Remote action finished:1:emacs-23.1-21.el6_2.3.x86_64
m17n-db-datafiles-1.5.5-1.1.el6.noarch
1:emacs-common-23.1-21.el6_2.3.x86_64
libotf-0.9.9-3.1.el6.x86_64
m17n-db-1.5.5-1.1.el6.noarch
libcroco-0.6.2-5.el6.x86_64
libXpm-3.5.10-2.el6.x86_64
m17n-lib-1.5.5-2.el6_1.1.x86_64
libgsf-1.14.15-5.el6.x86_64
librsvg2-2.26.0-5.el6_1.1.x86_64
libXmu-1.1.1-2.el6.x86_64
libXaw-1.0.11-2.el6.x86_64

Comment 12 Og Maciel 2013-06-22 20:41:48 UTC
Verified:
* apr-util-ldap-1.3.9-3.el6_0.1.x86_64
* candlepin-0.8.9-1.el6_4.noarch
* candlepin-scl-1-5.el6_4.noarch
* candlepin-scl-quartz-2.1.5-5.el6_4.noarch
* candlepin-scl-rhino-1.7R3-1.el6_4.noarch
* candlepin-scl-runtime-1-5.el6_4.noarch
* candlepin-selinux-0.8.9-1.el6_4.noarch
* candlepin-tomcat6-0.8.9-1.el6_4.noarch
* elasticsearch-0.19.9-8.el6sat.noarch
* foreman-1.1.10014-1.noarch
* foreman-compute-1.1.10014-1.noarch
* foreman-installer-puppet-concat-0-2.d776701.git.0.21ef926.el6sat.noarch
* foreman-installer-puppet-dhcp-0-5.3a4a13c.el6sat.noarch
* foreman-installer-puppet-dns-0-7.fcae203.el6sat.noarch
* foreman-installer-puppet-foreman-0-6.568c5c4.el6sat.noarch
* foreman-installer-puppet-foreman_proxy-0-8.bd1e35d.el6sat.noarch
* foreman-installer-puppet-puppet-0-3.ab46748.el6sat.noarch
* foreman-installer-puppet-tftp-0-5.ea6c5e5.el6sat.noarch
* foreman-installer-puppet-xinetd-0-50a267b8.git.0.44aca6a.el6sat.noarch
* foreman-libvirt-1.1.10014-1.noarch
* foreman-postgresql-1.1.10014-1.noarch
* foreman-proxy-1.1.10003-1.el6sat.noarch
* foreman-proxy-installer-1.0.1-10.f5ae2cd.el6sat.noarch
* katello-1.4.2-17.el6sat.noarch
* katello-all-1.4.2-17.el6sat.noarch
* katello-candlepin-cert-key-pair-1.0-1.noarch
* katello-certs-tools-1.4.2-2.el6sat.noarch
* katello-cli-1.4.2-8.el6sat.noarch
* katello-cli-common-1.4.2-8.el6sat.noarch
* katello-common-1.4.2-17.el6sat.noarch
* katello-configure-1.4.3-16.el6sat.noarch
* katello-configure-foreman-1.4.3-16.el6sat.noarch
* katello-foreman-all-1.4.2-17.el6sat.noarch
* katello-glue-candlepin-1.4.2-17.el6sat.noarch
* katello-glue-elasticsearch-1.4.2-17.el6sat.noarch
* katello-glue-pulp-1.4.2-17.el6sat.noarch
* katello-qpid-broker-key-pair-1.0-1.noarch
* katello-qpid-client-key-pair-1.0-1.noarch
* katello-selinux-1.4.3-3.el6sat.noarch
* openldap-2.4.23-31.el6.x86_64
* pulp-rpm-plugins-2.1.2-1.el6sat.noarch
* pulp-selinux-2.1.2-1.el6sat.noarch
* pulp-server-2.1.2-1.el6sat.noarch
* python-ldap-2.3.10-1.el6.x86_64
* ruby193-rubygem-ldap_fluff-0.2.2-1.el6sat.noarch
* ruby193-rubygem-net-ldap-0.3.1-2.el6sat.noarch
* ruby193-rubygem-runcible-0.4.10-1.el6sat.noarch
* signo-0.0.19-1.el6sat.noarch
* signo-katello-0.0.19-1.el6sat.noarch

Comment 13 Mike McCune 2013-07-18 21:23:42 UTC
mass move to CLOSED:CURRENTRELEASE since MDP1 has been released.


Note You need to log in before you can comment on or make changes to this bug.