Bug 1223781

Summary: Cannot install capsule installer becoz of missing capsule even after registering the capsule
Product: Red Hat Satellite Reporter: Tazim Kolhar <tkolhar>
Component: RegistrationAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED WORKSFORME QA Contact: Tazim Kolhar <tkolhar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: cwelton
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-09 08:25:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
foreman-debug attached none

Description Tazim Kolhar 2015-05-21 12:46:40 UTC
Created attachment 1028151 [details]
foreman-debug attached

Description of problem:
Cannot install capsule installer becoz of missing capsule even after registering the capsule

Version-Release number of selected component (if applicable):
# rpm -qa | grep foreman
foreman-1.7.2.24-1.el7sat.noarch
foreman-libvirt-1.7.2.24-1.el7sat.noarch
ruby193-rubygem-foreman_gutterball-0.0.1.9-1.el7sat.noarch
dell-pe1950-06.rhts.englab.brq.redhat.com-foreman-proxy-1.0-1.noarch
foreman-gce-1.7.2.24-1.el7sat.noarch
rubygem-hammer_cli_foreman-0.1.4.11-1.el7sat.noarch
foreman-selinux-1.7.2.13-1.el7sat.noarch
ruby193-rubygem-foreman_docker-1.2.0.13-1.el7sat.noarch
ruby193-rubygem-foreman-redhat_access-0.1.0-1.el7sat.noarch
ruby193-rubygem-foreman_discovery-2.0.0.14-1.el7sat.noarch
rubygem-hammer_cli_foreman_tasks-0.0.3.4-1.el7sat.noarch
foreman-postgresql-1.7.2.24-1.el7sat.noarch
foreman-debug-1.7.2.24-1.el7sat.noarch
foreman-ovirt-1.7.2.24-1.el7sat.noarch
ruby193-rubygem-foreman_hooks-0.3.7-2.el7sat.noarch
rubygem-hammer_cli_foreman_bootdisk-0.1.2.7-1.el7sat.noarch
rubygem-hammer_cli_foreman_docker-0.0.3.6-1.el7sat.noarch
foreman-proxy-1.7.2.4-1.el7sat.noarch
dell-pe1950-06.rhts.englab.brq.redhat.com-foreman-client-1.0-1.noarch
ruby193-rubygem-foreman_bootdisk-4.0.2.13-1.el7sat.noarch
dell-pe1950-06.rhts.englab.brq.redhat.com-foreman-proxy-client-1.0-1.noarch
foreman-vmware-1.7.2.24-1.el7sat.noarch
rubygem-hammer_cli_foreman_discovery-0.0.1.10-1.el7sat.noarch
foreman-compute-1.7.2.24-1.el7sat.noarch
ruby193-rubygem-foreman-tasks-0.6.12.5-1.el7sat.noarch


How reproducible:
everytime

Steps to Reproduce:
1.register a capsule to activation key
2.make sure activation key has capsule subscriptions(product content)
3.# yum install -y capsule-installer
Loaded plugins: product-id, subscription-manager
sat6                                                     | 2.1 kB     00:00     
No package capsule-installer available.
Error: Nothing to do


Actual results:
capsule installer cannot be installed

Expected results:
capsule installer can be installed

Additional info:
foreman-debug attached

Comment 2 Tazim Kolhar 2015-07-09 08:25:17 UTC
this issue no longer occurs with latest snap

# capsule-installer --parent-fqdn "ibm-x3755-02.ovirt.rhts.eng.bos.redhat.com" --register-in-foreman  "true" --foreman-oauth-key "DqnP7Xuyoi8qxR2w7zi67HCJ6qDqFA9V" --foreman-oauth-secret "UPb46dLUXHHcprkgkwr94H94JuYucdi6" --pulp-oauth-secret "Q3dWQb52vCaqTp2RbKjfvV5UK7q4MKyV" --certs-tar "/root/hp-z600-02.ml3.eng.bos.redhat.com-certs.tar" --puppet "true" --puppetca "true" --pulp "true"Installing             Info: START 378                                    [0%] [
Installing             Done                                               [100%] []
  Success!
  * Capsule is running at https://hp-z600-02.ml3.eng.bos.redhat.com:9090
  The full log is at /var/log/capsule-installer/capsule-installer.log