Bug 1284005
Summary: | Containers: REST API requires userid if bearer auth is selected. | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Jaroslav Henner <jhenner> |
Component: | API | Assignee: | Tim Wade <twade> |
Status: | CLOSED ERRATA | QA Contact: | Jaroslav Henner <jhenner> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | cpelland, fsimonce, jhardy, jhenner, jmatthew, jprause, lbopf, mfeifer, obarenbo, simaishi, srevivo, tcarlin, twade |
Target Milestone: | GA | Keywords: | Reopened |
Target Release: | 5.6.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 5.6.0.0 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1278041 | Environment: | |
Last Closed: | 2016-06-29 15:04:41 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: | |||
Bug Depends On: | 1278041 | ||
Bug Blocks: |
Description
Jaroslav Henner
2015-11-20 14:09:45 UTC
Clarified doc text; changed made in 4.0 release notes. Reopening issue,...not sure why it was closed. Tim, shouldn't this be at least in POST? Or even better MODIFIED? The PR is merged. curl -k -XPOST -d@- https://localhost/api/providers/ -u admin:smartvm <<EOF { "name":"openshift-ansible-deployment_two-stack", "port":"8443", "hostname":"10.X.Y.Z", "zone_id":1, "type":"ManageIQ::Providers::Openshift::ContainerManager", "tenant_id":1, "credentials": [{ "auth_type": "bearer", "userid": "not important", "auth_key": "the key" }] } > > EOF {"results":[{"id":1,"name":"openshift-ansible-deployment_two-stack","created_on":"2016-04-26T08:57:34Z","updated_on":"2016-04-26T08:57:34Z","guid":"eae89684-0b8c-11e6-8446-fa163efedd11","zone_id":1,"type":"ManageIQ::Providers::Openshift::ContainerManager","tenant_id":1}]} It appears that this bug should no longer be documented as a known issue. Removing doc text and resetting requires_doc_text flag. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1348 |