Bug #21199

Candlepin version being replaced with katello version in API response

Added by Brad Buckingham 8 months ago. Updated 7 months ago.

Status:New
Priority:Normal
Assigned To:Justin Sherrill
Category:Subscriptions
Target version:Team Brad - Backlog
Difficulty: Pull request:
Bugzilla link:1363804 Found in Katello release:
Story points-
Velocity based estimate-
ReleaseKatello BacklogRelease relationshipAuto

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 8 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 Team Brad - Backlog

#2 Updated by Justin Sherrill 7 months ago

  • Release set to Katello Backlog
  • Assigned To set to Justin Sherrill

Also available in: Atom PDF