Bug 1416857
| Summary: | `hammer content-view [add-version|remove-version|copy|update|delete]` missing organization options | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Andrew Kofink <akofink> |
| Component: | Content Views | Assignee: | Andrew Kofink <akofink> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.3.0 | CC: | bbuckingham, bkearney, jcallaha, oshtaier |
| Target Milestone: | Unspecified | Keywords: | 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-02-21 16:49:54 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
Andrew Kofink
2017-01-26 15:44:41 UTC
Created redmine issue http://projects.theforeman.org/issues/18351 from this bug Verified both manually and through automation:
-----------------------------------------------------------------------
hammer content-view copy -h
Usage:
hammer content-view copy [OPTIONS]
Options:
--id ID Content view numeric identifier
--name NAME Content view name to search by
--new-name NEW_NAME New content view name
--organization ORGANIZATION_NAME Organization name to search by
--organization-id ORGANIZATION_ID Organization ID to search by
--organization-label ORGANIZATION_LABEL Organization label to search by
hammer -v -u admin -p changeme --output=csv content-view copy --new-name="lHYayIIoYu" --name="kvpeuLKRoW" --organization-id="8"
Content view copied,9,lHYayIIoYu
-----------------------------------------------------------------------
hammer content-view delete -h
Usage:
hammer content-view delete [OPTIONS]
Options:
--async Do not wait for the task
--id ID content view numeric identifier
--name NAME Content view name to search by
--organization ORGANIZATION_NAME Organization name to search by
--organization-id ORGANIZATION_ID Organization ID to search by
--organization-label ORGANIZATION_LABEL Organization label to search by
hammer -v -u admin -p changeme content-view delete --organization="acVKqh" --name="PiNzMezYPY"
Task d3b33a6b-da68-4f02-95fc-a18dd155ca60 success: 1.0/1, 100%, elapsed: 00:00:00
------------------------------------------------------------------------
hammer content-view update -h
Usage:
hammer content-view update [OPTIONS]
Options:
--component-ids COMPONENT_IDS List of component content view version ids for composite views
Comma separated list of values. Values containing comma should be double quoted
--description DESCRIPTION Description for the content view
--id ID Content view identifier
--name NAME Content view name to search by
--new-name NEW_NAME New name for the content view
--organization ORGANIZATION_NAME Organization name to search by
--organization-id ORGANIZATION_ID Organization ID to search by
--organization-label ORGANIZATION_LABEL Organization label to search by
....
hammer -v -u admin -p changeme --output=csv content-view update --new-name="aHEbdMNzpa" --name="tHMtzYiBle" --organization-label="e42L1K"
Message,Id,Name
Content view updated,13,aHEbdMNzpa
--------------------------------------------------------------------
hammer content-view remove-version -h
Usage:
hammer content-view remove-version [OPTIONS]
Options:
--content-view CONTENT_VIEW_NAME Content view name to search by
--content-view-id CONTENT_VIEW_ID content view numeric identifier
--content-view-version CONTENT_VIEW_VERSION_VERSION Content view version number
--content-view-version-id CONTENT_VIEW_VERSION_ID Content view version identifier
--id ID content view numeric identifier
--name NAME Content view name to search by
--organization ORGANIZATION_NAME Organization name to search by
--organization-id ORGANIZATION_ID Organization ID to search by
--organization-label ORGANIZATION_LABEL Organization label to search by
hammer -v -u admin -p changeme --output=csv content-view remove-version --content-view-version="1.0" --name="WKiqwTFmUT" --organization-id="11" --content-view="kFdDmQUlqc"
Message,Id,Name
The component version has been removed,16,WKiqwTFmUT
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-2018:0336 |