Bug 1471798
Summary: | Cannot delete scap-content via name from CLI | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Sanket Jagtap <sjagtap> |
Component: | SCAP Plugin | Assignee: | Marek Hulan <mhulan> |
Status: | CLOSED ERRATA | QA Contact: | Nikhil Kathole <nkathole> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.3.0 | CC: | ehelms, mhulan, nkathole, oprazak |
Target Milestone: | Unspecified | ||
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | hammer_cli_foreman_openscap-0.1.4 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-02-21 16:40:47 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
Sanket Jagtap
2017-07-17 13:00:33 UTC
I can reproduce upstream, the issue is that the scap-content does not have name but title. The command needs to be adjusted. Created redmine issue http://projects.theforeman.org/issues/20320 from this bug Upstream bug assigned to mhulan Upstream bug assigned to mhulan Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20320 has been resolved. VERIFIED Version Tested: Satellite-6.3 Snap 12 steps: 1. Created scap content named as "scap_content" 2. hammer scap-content delete --help Usage: hammer scap-content delete [OPTIONS] Options: --id ID --title TITLE Scap content title -h, --help print help 3. hammer scap-content list ---|-------------------------------- ID | TITLE ---|-------------------------------- 1 | Red Hat firefox default content 2 | Red Hat jre default content 3 | Red Hat rhel6 default content 4 | Red Hat rhel7 default content 5 | scap_content ---|-------------------------------- 4. hammer scap-content delete --title scap_content Scap content deleted 5. hammer scap-content list ---|-------------------------------- ID | TITLE ---|-------------------------------- 1 | Red Hat firefox default content 2 | Red Hat jre default content 3 | Red Hat rhel6 default content 4 | Red Hat rhel7 default content ---|-------------------------------- Successfully deleted scap content using title via CLI. 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 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 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
|