| Summary: | /candlepin/status JSON has bad release value | ||
|---|---|---|---|
| Product: | [Community] Candlepin | Reporter: | Ken Coar <kcoar> |
| Component: | candlepin | Assignee: | Bryan Kearney <bkearney> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | John Sefler <jsefler> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 0.5 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-09-27 18:20:20 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
please re-verify with the verson built from the rpm. Fixed in 4d97c633746ecb29c0bad8e908d4fbb8167ab2e6 Verifying Version... [root@jsefler-onprem-62candlepin proxy]# git show-ref | grep master 87506bcee9f29b68e7fde56ad26c11d69e73f723 refs/heads/master 87506bcee9f29b68e7fde56ad26c11d69e73f723 refs/remotes/origin/master [root@jsefler-onprem-62workstation ~]# curl -k -X GET "https://jsefler-onprem-62candlepin.usersys.redhat.com:8443/candlepin/status" | python -mjson.tool % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 47 0 47 0 0 330 0 --:--:-- --:--:-- --:--:-- 1342 { "release": "1", "result": true, "version": "0.4.6" } Also verifying an rpm install of candlepin # curl -k -X GET "https://katello-ci.usersys.redhat.com:8443/candlepin/status" | python -mjson.tool % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 47 0 47 0 0 286 0 --:--:-- --:--:-- --:--:-- 886 { "release": "1", "result": true, "version": "0.4.5" } |
Description of problem: A GET of the /status endpoint returns a JSON quantity such as this: {"version":"0.3.5","result":true,"release":"1%{?dist}"} Note that the value of 'release' is not being set correctly.