Description of problem: When creating authentications using /api/authentications the action fails with undefined method `id' for nil:NilClass Version-Release number of selected component (if applicable): 5.8.1.5 How reproducible: very Steps to Reproduce: 1. POST /api/authentications { "description" : "Authentication Description1", "name" : "SomeCredentials1", "related" : {}, "type" : "ManageIQ::Providers::AnsibleTower::AutomationManager::Credential", "manager_resource" : { "href" : "https://<address>/api/providers/:id_of_ansible_provider" } } 2. check corresponding task Actual results: { ... "name": "Creating Ansible Tower Credential (name=SomeCredentials1)", "state": "Finished", "status": "Error", "message": "undefined method `id' for nil:NilClass", "userid": "system", ... } Expected results: Authentication is created
Assigning to James as he knows the issue behind this error.
*** This bug has been marked as a duplicate of bug 1476327 ***
As discussed and with the agreement from Martin, I've closed this as duplicate and will provide fix in https://bugzilla.redhat.com/show_bug.cgi?id=1476327