Project

General

Profile

Bug #21199

Candlepin version being replaced with katello version in API response

Added by Brad Buckingham 11 months ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Category:
Subscriptions
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
Brad
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1363804

Description of problem:

How reproducible:
every time

Steps to Reproduce:
Use curl to query the Candlepin status API directly and via the API. From a consumer that is registered to the Satellite 6.2.0 GA server this looks as follows:
[root@rhel6 ~]# curl -s --cert /etc/pki/consumer/cert.pem --key /etc/pki/consumer/key.pem -k -X GET https://sat-rhel7.example.com/rhsm/status -H "Content-Type:application/json" | python -m json.tool {
"managerCapabilities": [
"cores",
"ram",
"instance_multiplier",
"derived_product",
"cert_v3",
"guest_limit",
"vcpu",
"storage_band"
],
"result": true,
"rulesSource": "DEFAULT",
"rulesVersion": "5.15.2",
"standalone": true,
"timeUTC": "2016-08-03T15:23:38.454Z",
"version": "3.0.0.68"
}
[root@rhel6 ~]# curl -s --cert /etc/pki/consumer/cert.pem --key /etc/pki/consumer/key.pem -k -X GET https://sat-rhel7.example.com:8443/candlepin/status -H "Content-Type:application/json" | python -m json.tool {
"managerCapabilities": [
"cores",
"ram",
"instance_multiplier",
"derived_product",
"cert_v3",
"guest_limit",
"vcpu",
"storage_band"
],
"release": "1",
"result": true,
"rulesSource": "DEFAULT",
"rulesVersion": "5.15.2",
"standalone": true,
"timeUTC": "2016-08-03T15:24:06.137+0000",
"version": "0.9.54.7"
}
Actual results:
version field is "3.0.0.68"

Expected results:
version field should be "0.9.54.7"

Additional info:

When solving this issue, one thing we may consider would be, is it possible to not re-create the status from candlepin? In otherwords, pass-through behavior.

History

#1 Updated by Brad Buckingham 11 months ago

  • Subject changed from Candlepin version being replaced with katello version in API response to Candlepin version being replaced with katello version in API response
  • Target version set to 160

#2 Updated by Justin Sherrill 10 months ago

  • Legacy Backlogs Release (now unused) set to 114
  • Assignee set to Justin Sherrill

Also available in: Atom PDF