Project

General

Profile

Bug #10246

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

Added by Thomas McKay almost 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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:

Associated revisions

Revision 9f716307 (diff)
Added by Thomas McKay almost 8 years ago

fixes #10246 - hypervisors do not have pulp record

Revision 4ea4f408
Added by Thomas McKay almost 8 years ago

Merge pull request #5193 from thomasmckay/10246-hypervisor-crud

fixes #10246 - hypervisors do not have pulp record

History

#1 Updated by The Foreman Bot almost 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5193 added
  • Pull request deleted ()

#2 Updated by Eric Helms almost 8 years ago

  • Legacy Backlogs Release (now unused) set to 31
  • Triaged changed from No to Yes

#3 Updated by Thomas McKay almost 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF