Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1201934

Summary: undefined method `docker_images' for <Katello::ContentViewVersion:0x00000013>
Product: Red Hat Satellite Reporter: David Davis <daviddavis>
Component: APIAssignee: David Davis <daviddavis>
Status: CLOSED ERRATA QA Contact: Og Maciel <omaciel>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: bbuckingham, cwelton, jmontleo, mmccune, omaciel
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/9755
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 05:30:12 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:

Description David Davis 2015-03-13 21:23:55 UTC
When trying to list the docker images for a content view in the CLI/API, I get:

undefined method `docker_images' for <Katello::ContentViewVersion:0x00000013>

Comment 1 David Davis 2015-03-13 21:24:51 UTC
FYI, here's the command:

hammer -u admin -p changeme docker image list --organization="Default Organization" --content-view "Docker CV"

Comment 2 Partha Aji 2015-03-13 21:25:21 UTC
Created redmine issue http://projects.theforeman.org/issues/9755 from this bug

Comment 6 Og Maciel 2015-03-26 15:33:05 UTC
hammer> docker image list --organization 'Default Organization' --content-view 'CentOS Docker CV'
-------------------------------------|------------------------------------------------------------------|-----------|-----
ID                                   | IMAGE ID                                                         | SIZE      | TAGS
-------------------------------------|------------------------------------------------------------------|-----------|-----
dfa5b3d8-7782-4556-8e51-4998ec759de3 | 99d42dc65aa6c57333089765e47285f03ce17094d916d5568d80a5a37bf981c6 | 210212702 | 14
da2055bd-7a9e-4f39-af82-9c17327eb57c | 861c710fef70a2a90b6dbd9cda7c006dff5388d1e292e2b1afef75a62f904e62 | 284081882 | 14
cbd3a42d-8c2a-4631-822d-559a2dd29371 | 511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158 |           | 0
8db04bf0-803a-4e78-9ad5-e8429adee44b | 88f9454e60ddf4ae5f23fad8247a2c53e8d3ff63b0bdac59fc17ceceab058ce6 | 209991151 | 21
74cf77d4-49eb-4ff2-8152-598d702cc642 | 2e4a66ce2189a793776b92fb59e5938a34f5fa1f40b4112a3a0ac0a7fff8238b | 284151989 | 14
6d68be3d-25d2-4f96-b4fd-cd1145621c74 | 0bc55ae673f7a3d7017ef452c2a0ecdea2a68620b67bbd08505bc93ad264c7be | 202609003 | 14
3ad863f2-99e8-454f-9971-56dcbb5558b6 | f6808a3e4d9e80a655ec625e38b869ed8a614611e4d0073aeff23be841c9fcff | 202568006 | 14
21aadf4b-26e2-4734-8c9d-426eb968b307 | 5b12ef8fd57065237a6833039acc0e7f68e363c15d8abb5cacce7143a1f7de8a | 0         | 0
-------------------------------------|------------------------------------------------------------------|-----------|-----

Comment 7 Og Maciel 2015-03-26 15:33:43 UTC
Verified by QE (see comment #6 above) on Satellite-6.1.0-RHEL-7-20150324.0 build.

Comment 8 Bryan Kearney 2015-08-11 13:33:01 UTC
This bug is slated to be released with Satellite 6.1.

Comment 9 errata-xmlrpc 2015-08-12 05:30:12 UTC
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