Bug 786574 - consumer returned from /katello/api/consumer/$id missing autoheal value
Summary: consumer returned from /katello/api/consumer/$id missing autoheal value
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: API
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
high vote
Target Milestone: Unspecified
Assignee: Tom McKay
QA Contact: Garik Khachikyan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-01 20:02 UTC by Tom McKay
Modified: 2019-09-25 21:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-22 18:24:24 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Tom McKay 2012-02-01 20:02:59 UTC
Description of problem:

The JSON consumer (aka system) passed back from katello is missing the 'autoheal' value that candlepin maintains. This prevents rhsm from auto-healing a system.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Set auto-heal checkbox to true on a system in katello
2. On the system, 'service rhsmcertd restart' to trigger an auto-heal
3. Refresh system in katello
  
Actual results:
System is not auto-subscribed to any subscriptions

Expected results:
System is auto-subscribed to subscriptions

Additional info:

Comment 1 Tom McKay 2012-02-01 20:05:22 UTC
commit 8ff6fa61945097c35bfe71091af04a5b3d42bf6e
Author: Tom McKay <thomasmckay>
Date:   Wed Feb 1 15:04:46 2012 -0500

    786574 - 'autoheal' value now returned properly for GET /katello/api/consumer/

Comment 3 Garik Khachikyan 2012-02-27 13:57:27 UTC
# VERIFIED

Checked the scenario in: comment#0

Is working fine - system gets subscribed to the product: "Red Hat Enterprise Linux Server" after rhsmcertd restart and refresh :)

checked on:
---
katello-0.1.300-1.el6.noarch
pulp-0.0.267-2.el6.noarch
candlepin-0.5.22-1.el6.noarch


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