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:
Updated by The Foreman Bot over 9 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/5193 added
- Pull request deleted (
)
Updated by Eric Helms over 9 years ago
- Translation missing: en.field_release set to 31
- Triaged changed from No to Yes
Updated by Thomas McKay over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|9f716307d1e4d812b1a7d0b232bcfe0f32e173d2.