Bug #10246
closedattaching subscription to guest: "Unable to build object from JSON."
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1036912
Description of problem:
After attaching a subscription to an ESX host, attempting to attach a subscription to a guest fails
Version-Release number of selected component (if applicable):
Parameter Value
Application Katello
Authentication database
Directory /usr/share/katello
Environment production
Ruby 1.9.3
Version 1.4.14-1.el6
How reproducible:
very
Steps to Reproduce:
1. Import manifest
2. Register virt-who server
3. Allow virt-who to import ESX hosts from vCenter
4. Attach subscriptions to ESX hosts. At the same time, change the "Name" attribute for the host from the original UUID to something more descriptive.
5. Add a subscription to a guest server
Actual results:
Resources::Candlepin::Consumer: 500 Internal Server Error {"displayMessage":"Unable to build object from JSON."} (POST /candlepin/consumers/e21d00b0-aaf8-42a6-b2d4-eef9dc8e2313/entitlements?pool=8a8b419842914436014294a786151195&quantity=1)
Expected results:
Subscription attaches
Additional info: