Project

General

Profile

Actions

Bug #6129

closed

/katello/api/status neglects to report all of the fields that /candlepin/status reports

Added by Christine Fouant almost 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Subscriptions
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Description of problem:
When calling the API /status against a katello server versus a plain candlepin server, I noticed that katello hides some data. I'm not 100% sure if the missing fields are needed by subscription-manager clients anymore. Nonetheless, the katello API for /status could probably open this up a little.

Status response from a Katello Server.....
[root@jsefler-5 ~]# curl --stderr /dev/null --insecure --request GET https://katellosach.usersys.redhat.com:443/katello/api/status | python -msimplejson/tool {
"release": "Katello",
"result": true,
"standalone": true,
"timeUTC": "2014-05-14T04:17:44Z",
"version": "1.4.15-1.el6"
}

Status call from a Candlepin Server....
[root@jsefler-5 ~]# curl --stderr /dev/null --insecure --request GET https://jsefler-f14-candlepin.usersys.redhat.com:8443/candlepin/status | python -msimplejson/tool {
"managerCapabilities": [
"cores",
"ram",
"instance_multiplier",
"derived_product",
"cert_v3",
"guest_limit",
"vcpu"
],
"release": "1",
"result": true,
"rulesSource": "DATABASE",
"rulesVersion": "5.8",
"standalone": false,
"timeUTC": "2014-05-14T16:22:41.543+0000",
"version": "0.9.10"
}

Notice that the following fields are missing from Katello:
managerCapabilities
rulesSource
rulesVersion

Actions #1

Updated by Eric Helms almost 10 years ago

  • Target version changed from 45 to 48
Actions #2

Updated by Eric Helms almost 10 years ago

  • Target version changed from 48 to 49
Actions #3

Updated by The Foreman Bot almost 10 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/4236 added
Actions #4

Updated by Christine Fouant almost 10 years ago

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

Also available in: Atom PDF