Description of problem: Using REST API to add new OpenShift provider is failing due to missing userid/password credentials. Version-Release number of selected component (if applicable): CFME 4.0 beta2 5.5.0.9 How reproducible: <cfme> == cfme ip <token> == generated token on OpenShift master use postman chrome extension Add credentials to postman or login, on a different tab, to cfme ui Steps to Reproduce: POST https://<cfme>/api/providers { "type" : "ManageIQ::Providers::Openshift::ContainerManager", "name" : "atal-oc", "hostname" : "10.8.48.66", "ipaddress" : "10.8.48.66", "credentials" : { "token" : "<token>" } } Actual results: { error: { kind: "bad_request" message: "Could not create the new provider - Unsupported credential attributes token specified, ManageIQ::Providers::Openshift::ContainerManager supports: userid, password" klass: "ApiController::BadRequestError" }- } Expected results: { "results": [ { "id": 105, "name": "atal-oc", "hostname": "10.8.48.66", "ipaddress": "10.8.48.66", "created_on": "2015-05-05T15:47:41Z", "updated_on": "2015-05-05T15:47:41Z", "guid": "10360312-f33e-11e4-86c7-b8e85646e742", "zone_id": 1, "type": "ManageIQ::Providers::Openshift::ContainerManager" } ] } Additional info:
*** This bug has been marked as a duplicate of bug 1278041 ***