Bug 786574

Summary: consumer returned from /katello/api/consumer/$id missing autoheal value
Product: Red Hat Satellite Reporter: Tom McKay <tomckay>
Component: APIAssignee: Tom McKay <tomckay>
Status: CLOSED CURRENTRELEASE QA Contact: Garik Khachikyan <gkhachik>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.0CC: cpelland, gkhachik, mkoci
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 18:24:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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