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 1044408 - Hammer CLI : report delete command fails
Summary: Hammer CLI : report delete command fails
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Provisioning
Version: Nightly
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: Unspecified
Assignee: Martin Bacovsky
QA Contact: Tazim Kolhar
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-18 09:26 UTC by Tazim Kolhar
Modified: 2019-09-26 18:18 UTC (History)
5 users (show)

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


Attachments (Terms of Use)
Foreman-debug (82.18 KB, application/x-xz)
2013-12-18 09:26 UTC, Tazim Kolhar
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 3901 0 None None None 2016-04-22 15:48:06 UTC

Description Tazim Kolhar 2013-12-18 09:26:42 UTC
Created attachment 838214 [details]
Foreman-debug

Description of problem:
report delete command fails 

Version-Release number of selected component (if applicable):
# rpm -qa  | grep foreman
rubygem-hammer_cli_foreman-0.0.12-1.el6.noarch
foreman-1.4.0-0.develop.201312131716git48a6510.el6.noarch
foreman-release-1.4.0-0.develop.201312131716git48a6510.el6.noarch
rubygem-foreman_api-0.1.8-1.el6.noarch
foreman-compute-1.4.0-0.develop.201312131716git48a6510.el6.noarch
foreman-ovirt-1.4.0-0.develop.201312131716git48a6510.el6.noarch
foreman-selinux-1.4.0-0.develop.201311220906gite342a0b.el6.noarch
foreman-libvirt-1.4.0-0.develop.201312131716git48a6510.el6.noarch
foreman-postgresql-1.4.0-0.develop.201312131716git48a6510.el6.noarch
foreman-installer-1.4.0-0.develop.201312121158git282551d.el6.noarch
foreman-proxy-1.4.0-0.develop.201312091021git42bab91.el6.noarch


How reproducible:
everytime

Steps to Reproduce:
1.# hammer report info --id 33
Id:                  33
Host:                hp-dl320g6-01.rhts.eng.bos.redhat.com
Reported at:         2013/12/18 01:11:41
Report status:       
  Applied:           0
  Restarted:         0
  Failed:            0
  Restart Failures:  0
  Skipped:           6
  Pending:           0
Report metrics:      
  config_retrieval:  0.844288110733032
  exec:              
  file:              
  package:           
  service:           
  user:              
  yumrepo:           
  filebucket:        0.00021
  cron:              
  total:             0.844498110733032
Logs:                

2.# hammer report delete --id 33
Could not delete the report:
  404 Resource Not Found

3.

Actual results:
the report for corressponding ID should be deleted

Expected results:


Additional info:

Comment 1 RHEL Program Management 2013-12-18 09:28:50 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 Martin Bacovsky 2013-12-18 11:33:58 UTC
Upstream issue created: http://projects.theforeman.org/issues/3905
When that is finished, new rubygem-foreman_api has to be releaased.

Comment 4 Dominic Cleal 2014-01-09 13:53:09 UTC
Fixed in foreman_api 0.1.7.

Comment 7 Tazim Kolhar 2014-05-08 06:55:07 UTC
VERIFIED

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


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