| Summary: | scale up URL is not backward compatible. | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Peter Ruan <pruan> |
| Component: | Master | Assignee: | Lili Nader <lnader> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.x | CC: | ffranz, jhou, mfisher, zzhao |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | ec2-54-226-53-50.compute-1.amazonaws.com | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-01-24 03:24:16 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
This is known and the desired behavior, a few REST API links changed in version 1.6. We suggest the API clients always specify the API version being used through the Accept header, like in: "Accept: application/json; version=1.5" Fabiano: The bug was referring to changes to the URL within the same API version (1.6). Prior to sprint 34, the old links works. The membership US caused the a lot of the REST URLs to be different but according to Clayton, the old links should still work. Reopening this bug. Manually merged the PR and verified this bug, the old api format is compatible. Will mark this bug as verified when above PR is merged. Tested this on devenv_3928, it has been fixed. old format and new format are work well. curl -k -X PUT -H 'Accept: application/xml' --user user:pass https://ec2-54-224-181-209.compute-1.amazonaws.com/broker/rest/domains/zqd/applications/zqphps/events/ -d event=scale-up -X POST |
Description of problem: With the new REST URL, the old url for scale up/down is not working Version-Release number of selected component (if applicable): current, PROD/STG How reproducible: always Steps to Reproduce: 1. create a scaleable app 2. try to scale up using rest using the old URL 3. Actual results: [23:22:37] INFO> Rest Request: POST https://openshift.redhat.com/broker/rest/applications/525e303d5973cadfad0000c2/events {"event":"scale-up"} [23:22:38] ERROR> Unable to perform REST request: 404 Resource Not Found Expected results: old url should still work for compatibilty issue. Additional info: