Project

General

Profile

Actions

Bug #10246

closed

attaching subscription to guest: "Unable to build object from JSON."

Added by Thomas McKay about 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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:

Actions

Also available in: Atom PDF