Bug 1315043

Summary: [RFE] As a user I want to see ostree information published in a content view
Product: Red Hat Satellite Reporter: Partha Aji <paji>
Component: Content ManagementAssignee: Partha Aji <paji>
Status: CLOSED ERRATA QA Contact: Sachin Ghai <sghai>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: adahms, bbuckingham, bkearney, mmccune, omaciel, paji, sghai
Target Milestone: UnspecifiedKeywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/13719
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
This release introduces the ability to provision Red Hat Atomic Host in addition to standard Red Hat Enterprise Linux. This includes syncing down Atomic Content, promoting that content through a lifecycle environment, and provisioning Atomic Hosts.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 09:25:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1321771    
Attachments:
Description Flags
content tab is empty, ideally it should show the ostree branches
none
published cv shows ostree branches count along with other contents
none
I can see ostree branches version, name, commit etc under CV-> version- ostree branches none

Description Partha Aji 2016-03-06 06:09:44 UTC

Comment 1 Partha Aji 2016-03-06 06:09:46 UTC
Created from redmine issue http://projects.theforeman.org/issues/13719

Comment 2 Partha Aji 2016-03-06 06:09:49 UTC
Upstream bug assigned to paji

Comment 3 Partha Aji 2016-03-06 06:20:22 UTC
This is an important function, to list ostree repositories belonging to a content view version.

Comment 4 Bryan Kearney 2016-03-14 22:12:19 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/13719 has been closed
-------------
Partha Aji
Applied in changeset commit:katello|244b900df7028f3b03e7c0490977b5864b344123.

Comment 5 Partha Aji 2016-03-15 02:57:12 UTC
Changes in the UI for this -> https://partha.fedorapeople.org/ostree-prs/PR-5874/

Comment 6 Partha Aji 2016-03-18 01:45:16 UTC
*** Bug 1317767 has been marked as a duplicate of this bug. ***

Comment 7 Sachin Ghai 2016-03-28 12:28:27 UTC
Verified with sat6.2 beta snap5.1

I don't see ostree contents published in a content-view from webUI. Please see the attached screenshot.

Comment 8 Sachin Ghai 2016-03-28 12:29:09 UTC
Created attachment 1140850 [details]
content tab is empty, ideally it should show the ostree branches

Comment 9 Partha Aji 2016-03-29 18:25:39 UTC
Sachin,

Can ya verify this one too as a part of -> https://bugzilla.redhat.com/show_bug.cgi?id=1318549 

This should show up correctly on your satellite once you restart httpd/foreman-tasks

Comment 10 Sachin Ghai 2016-03-30 06:03:48 UTC
Yeah..I can see ostree info correctly with suggested workaround.

I'll retest this bz along with bz1318549 once fix is available with snap. Thanks

Comment 11 Sachin Ghai 2016-03-31 12:21:15 UTC
Verified with sat6.2 beta snap6.

I can see ostree info in a specific version:

[root@cloud-qe-15 ~]# hammer -u admin -p changeme content-view version info --organization-id 1  --content-view-id 3 --id 5
ID:                     5
Name:                   custom_ostree 3.0
Version:                3.0
Description:            
Content View ID:        3
Content View Name:      custom_ostree
Content View Label:     custom_ostree
Lifecycle Environments: 
 1) ID:    1
    Name:  Library
    Label: Library
Repositories:           
 1) ID:    26
    Name:  rhel7_ostree
    Label: rhel7_ostree
 2) ID:    27
    Name:  f23_ostree
    Label: f23_ostree
 3) ID:    28
    Name:  busybox
    Label: busybox
 4) ID:    25
    Name:  sat6tool7
    Label: sat6tool7
Puppet Modules:         
 1) ID:      1
    Name:    motd
    Author:  jeffmccune
    Version: 1.0.3

[root@cloud-qe-15 ~]#

Comment 12 Sachin Ghai 2016-03-31 12:21:51 UTC
Content-view info shows ostree repo:


[root@cloud-qe-15 ~]# hammer -u admin -p changeme content-view info --organization-id 1 --id 3
ID:                     3
Name:                   custom_ostree
Label:                  custom_ostree
Composite:              false
Description:            
Content Host Count:     0
Organization:           Default Organization
Yum Repositories:       
 1) ID:    2
    Name:  sat6tool7
    Label: sat6tool7
Docker Repositories:    
 1) ID:    24
    Name:  busybox
    Label: busybox
OSTree Repositories:    
 1) ID:    7
    Name:  rhel7_ostree
    Label: rhel7_ostree
 2) ID:    8
    Name:  f23_ostree
    Label: f23_ostree
Puppet Modules:         
 1) ID:      1
    Name:    motd
    Author:  jeffmccune
    Created: 2016/03/31 09:45:33
    Updated: 2016/03/31 09:45:33
Lifecycle Environments: 
 1) ID:   2
    Name: Dev
 2) ID:   1
    Name: Library
Versions:               
 1) ID:        3
    Version:   1.0
    Published: 2016/03/31 09:35:36
 2) ID:        4
    Version:   2.0
    Published: 2016/03/31 09:41:37
 3) ID:        5
    Version:   3.0
    Published: 2016/03/31 09:45:43
Components:             

Activation Keys:

[root@cloud-qe-15 ~]#

Comment 13 Sachin Ghai 2016-03-31 12:22:40 UTC
Created attachment 1142199 [details]
published cv shows ostree branches count along with other contents

Comment 15 Sachin Ghai 2016-03-31 13:39:45 UTC
Created attachment 1142230 [details]
I can see ostree branches version, name, commit etc under CV-> version- ostree branches

Comment 17 Sachin Ghai 2016-04-01 11:38:32 UTC
Moving this to verified as per comments 12, 13, 15

Comment 19 errata-xmlrpc 2016-07-27 09:25:37 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/RHBA-2016:1501