Project

General

Profile

Actions

Bug #21199

open

Candlepin version being replaced with katello version in API response

Added by Brad Buckingham over 6 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Category:
Subscriptions
Target version:
Difficulty:
Triaged:
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.

Actions #1

Updated by Brad Buckingham over 6 years 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
Actions #2

Updated by Justin Sherrill over 6 years ago

  • Assignee set to Justin Sherrill
  • translation missing: en.field_release set to 114
Actions

Also available in: Atom PDF