Bug 1427456
Summary: | Hammer csv content-views fails to export/import Composite Content Views | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Francisco Garcia <fgarciad> |
Component: | Hammer - Content | Assignee: | Tom McKay <tomckay> |
Status: | CLOSED WONTFIX | QA Contact: | Roman Plevka <rplevka> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.2.7 | CC: | bbuckingham, bkearney, ehelms, jcallaha, tomckay |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | hammer-cli-csv-2.3.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-02-03 18:03:38 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
Francisco Garcia
2017-02-28 09:24:53 UTC
The actual error message when importing an incorrectly-formatted CSV: Error: Organization 'WAF' not found WAF,1,WAF,MyOrg,Yes,"CV_RHEL72,CV_SECURITY,CV_BASE","Library,Production,QA" Created redmine issue http://projects.theforeman.org/issues/18723 from this bug Apologies, this is a duplicate of upstream bug #18344, which is now resolved. Upstream bug (18723) opened for this BZ can be closed/marked as duplicate of 18344. Removing the dupe upstream issue. Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/18344 has been resolved. Failed. Version Tested: Satellite-6.3 Snap 12 This was fixed only partially. The extra '1' was removed from csv output but content view import/export still doesn't work correctly. The "Repositories or Composites" column is always blank for composite CVs, which prevents from importing it correctly. Having "CV A" and "CV B" that are components of "CV Composite": > hammer csv content-views --export > ./content_views.csv > cat ./content_views.csv Name,Label,Organization,Composite,Repositories or Composites,Lifecycle Environments CV A,CV_A,Default Organization,No,"","" CV B,CV_B,Default Organization,No,"","" CV Composite,CV_Composite,Default Organization,Yes,"","" Then I attempted to import the CVs into a fresh satellite installation: > hammer csv content-views --file ./content_views.csv The process finishes successfully but "CV Composite" doesn't have the original components assigned. Hammer csv is no longer supported. |