Bug 1273370
Summary: | [platformmanagement_public_523]After remove v1beta3 REST API the resource still can be outputed to v1beta3 format | ||
---|---|---|---|
Product: | OKD | Reporter: | zhou ying <yinzhou> |
Component: | oc | Assignee: | Dan Mace <dmace> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Wei Sun <wsun> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.x | CC: | aos-bugs, mmccomas |
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: | 2015-11-23 21:14:32 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: | |
Embargoed: |
Description
zhou ying
2015-10-20 10:06:45 UTC
curl -k -H "Authorization:Bearer NE-yS2qeNW04Pyoafm_Fy4Jvckcwk_8H8grtfGus1ys" https://52.91.179.63:8443/oapi/v1beta3/users/~ { "kind": "Status", "apiVersion": "v1", "metadata": {}, "status": "Failure", "message": "the server could not find the requested resource", "reason": "NotFound", "details": {}, "code": 404 } [root@zhouy v1beta3_v1_api]# curl -k -H "Authorization:Bearer NE-yS2qeNW04Pyoafm_Fy4Jvckcwk_8H8grtfGus1ys" https://52.91.179.63:8443/oapi/v1/users/~ { "kind": "User", "apiVersion": "v1", "metadata": { "name": "zhouy", "selfLink": "/oapi/v1/users/zhouy", "uid": "82ce4733-72d8-11e5-94bc-0ee6c2123ff7", "resourceVersion": "212", "creationTimestamp": "2015-10-15T01:03:13Z" }, "identities": [ "anypassword:zhouy" ], "groups": null } This is the expected behavior. The client has the ability to read and write v1beta3 when asked (via --output-version), but the server won't accept or send v1beta3. |