Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1084132 - hammer CLI subscription delete-manifest does not delete
Summary: hammer CLI subscription delete-manifest does not delete
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: 6.0.3
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: Unspecified
Assignee: Dustin Tsang
QA Contact: Kedar Bidarkar
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-03 16:56 UTC by Alex Krzos
Modified: 2019-09-26 14:08 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-02 14:14:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 6105 0 Normal Closed hammer CLI subscription delete-manifest does not delete 2020-09-01 09:52:18 UTC

Description Alex Krzos 2014-04-03 16:56:32 UTC
Description of problem:
Can not delete manifest using hammer cli on Satellite 6.0.3 Summit Release Snap6


Version-Release number of selected component (if applicable):
Satellite 6.0.3 - Summit-Release-Snap6
hammer (0.1.0)
 * hammer_cli_foreman (0.1.0)
 * hammer_cli_katello (0.0.3)

How reproducible:
Always

Steps to Reproduce:
1.upload manifest
2.use hammer cli to delete manifest, hammer subscription delete-manifest --organization-id ACME_Corporation
3.list subscriptions

Actual results:
CLI reports task successful, however subscriptions still show

Expected results:
No data for subscriptions

Additional info:

Comment 1 RHEL Program Management 2014-04-03 17:25:21 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Dustin Tsang 2014-06-06 20:42:13 UTC
redmine issue created

Comment 7 Kedar Bidarkar 2014-06-12 09:44:15 UTC
[root@xxxx ~]# hammer subscription upload --file /root/manifest_latest2014.zip --organization ACME_Corporation
[....................................................................................................................................................................................] [100%]
Task 76b25c22-4f2b-4aca-b36a-7eee87140365: success
[root@xxxx ~]# hammer subscription list --organization ACME_Corporation
----------------------------------------------------------------------|----------|---------|----------|----------|----------|------------|----------------------------------|-----------------------------------------------------------------------|----------|---------
NAME                                                                  | CONTRACT | ACCOUNT | SUPPORT  | QUANTITY | CONSUMED | END DATE   | ID                               | PRODUCT                                                               | QUANTITY | ATTACHED
----------------------------------------------------------------------|----------|---------|----------|----------|----------|------------|----------------------------------|-----------------------------------------------------------------------|----------|---------
Red Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes) | xxxx | xxxxx | Standard | 5        | 0        | 2015-05-01 | xxxx | Red Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes) | 5        | 0       
----------------------------------------------------------------------|----------|---------|----------|----------|----------|------------|----------------------------------|-----------------------------------------------------------------------|----------|---------
[root@xxxx ~]# hammer subscription delete-manifest --organization ACME_Corporation
[....................................................................................................................................................................................] [100%]
Task a896fb74-d5ef-439d-aeab-e88b843cfa38: success
[root@xxxx ~]# hammer subscription list --organization ACME_Corporation
No data.

Comment 8 Bryan Kearney 2014-07-02 14:09:51 UTC
This was delivered with 6.0.3, which is the Satellite 6 Beta.

Comment 9 Bryan Kearney 2014-07-02 14:10:04 UTC
This was delivered in 6.0.3, the Beta version of Satellite 6.0

Comment 10 Bryan Kearney 2014-07-02 14:14:43 UTC
This was delivered in the Satellite 6 Beta (6.0.3)


Note You need to log in before you can comment on or make changes to this bug.