Bug 1384492

Summary: Cannot create content ISO from OSTree for Atomic Host with hammer repository export
Product: Red Hat Satellite Reporter: Michal Dekan <mdekan>
Component: AtomicAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.2CC: dhlavacd, ggatward, jcallaha, ktordeur, tomckay, tstrachota
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-04 18:00: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:

Description Michal Dekan 2016-10-13 12:04:52 UTC
Description of problem:

Cannot create content ISO with OSTree with Atomic Host using hammer and thus customers using disconnected Satellite cannot get OSTree content as we do not provide a content ISOs.

[root@mdekan-sat62 ~]# hammer repository export --product "Red Hat Enterprise Linux Atomic Host" --id 1 --export-to-iso 1
[Foreman] Password for admin: 
[...............................................................................................................................................                                                                                      ] [62%]
Error: PLP0000: [Errno 2] No such file or directory: '/var/cache/pulp/reserved_resource_worker-0@mdekan-sat62/6a91091c-05ec-4096-a65b-252c7ae1a9e9/output'
unknown file type: /var/lib/pulp/published/yum/master/group_export_distributor/Default_Organization-Red_Hat_Enterprise_Linux_Atomic_Host-Red_Hat_Enterprise_Linux_Atomic_Host_Trees


Version-Release number of selected component (if applicable):

Satellite 6.2.2

[root@mdekan-sat62 ~]# rpm -qa | grep hammer
tfm-rubygem-hammer_cli-0.5.1.11-4.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_remote_execution-0.0.5.3-1.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_admin-0.0.5-1.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_bootdisk-0.1.3.3-1.el7sat.noarch
tfm-rubygem-hammer_cli_katello-0.0.22.26-1.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_tasks-0.0.10.3-1.el7sat.noarch
tfm-rubygem-hammer_cli_import-0.11.2-1.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_docker-0.0.6-1.el7sat.noarch
tfm-rubygem-hammer_cli_csv-2.1.0-1.el7sat.noarch
tfm-rubygem-hammer_cli_foreman-0.5.1.9-1.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_discovery-0.0.2.3-1.el7sat.noarch


How reproducible:



Steps to Reproduce:
1. Enable ostree plugin : # satellite-installer--katello-enable-ostree=true
2. Enable repo Content -> Red Hat Repositories -> tab OSTree -> Red Hat Enterprise Linux Atomic Host (Trees) 
3. Sync the repo
4. Try to create a Content ISO

Actual results:

[root@mdekan-sat62 ~]# hammer repository export --product "Red Hat Enterprise Linux Atomic Host" --id 1 --export-to-iso 1
[Foreman] Password for admin: 
[...............................................................................................................................................                                                                                      ] [62%]
Error: PLP0000: [Errno 2] No such file or directory: '/var/cache/pulp/reserved_resource_worker-0@mdekan-sat62/6a91091c-05ec-4096-a65b-252c7ae1a9e9/output'
unknown file type: /var/lib/pulp/published/yum/master/group_export_distributor/Default_Organization-Red_Hat_Enterprise_Linux_Atomic_Host-Red_Hat_Enterprise_Linux_Atomic_Host_Trees


Expected results:

Content ISO with OSTree content for Atomic host successfully created.

Comment 5 Bryan Kearney 2018-09-04 18:00:12 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.