Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Credential API V2 is breaking manageiq refresh #115

Closed
jameswnl opened this issue Jul 24, 2018 · 2 comments
Closed

Credential API V2 is breaking manageiq refresh #115

jameswnl opened this issue Jul 24, 2018 · 2 comments
Assignees
Labels

Comments

@jameswnl
Copy link
Contributor

jameswnl commented Jul 24, 2018

#107 brings in partial support of API V2 and set V2 to be the default. However, credential V2 is different from V1 and ManageIQ is based on V1. Refresh will fail.

224631 [----] E, [2018-07-23T17:35:06.576918 #93173:3fe7e88057b8] ERROR -- : MIQ(ManageIQ::Providers::AnsibleTower::AutomationManager::Refresher#refresh) EMS: [Tower32 Automation Manager], id: [1] Unable
       to perform refresh for the following targets:
224632 [----] E, [2018-07-23T17:35:06.577220 #93173:3fe7e88057b8] ERROR -- : MIQ(ManageIQ::Providers::AnsibleTower::AutomationManager::Refresher#refresh)  --- ManageIQ::Providers::AnsibleTower::Automation       Manager [Tower32 Automation Manager] id [1]
224633 [----] I, [2018-07-23T17:35:06.593831 #93173:3fe7e88057b8]  INFO -- : MIQ(ManageIQ::Providers::AnsibleTower::AutomationManager::Refresher#refresh) Refreshing all targets...Complete
224634 [----] E, [2018-07-23T17:35:06.594215 #93173:3fe7e88057b8] ERROR -- : MIQ(MiqQueue#deliver) Message id: [66], Error: [undefined method `username' for #<AnsibleTowerClient::CredentialV2:0x007fcfc4bf       f4c8>]
224635 [----] E, [2018-07-23T17:35:06.594562 #93173:3fe7e88057b8] ERROR -- : [ManageIQ::Providers::BaseManager::Refresher::PartialRefreshError]: undefined method `username' for #<AnsibleTowerClient::Crede       ntialV2:0x007fcfc4bff4c8>  Method:[block in method_missing]
224636 [----] E, [2018-07-23T17:35:06.594829 #93173:3fe7e88057b8] ERROR -- : /Users/dbomhof/syncrou/manageiq/app/models/manageiq/providers/base_manager/refresher.rb:67:in `refresh'
@jameswnl
Copy link
Contributor Author

@miq-bot add_labels bug
@miq-bot assigns @bdunne

@bdunne
Copy link
Contributor

bdunne commented Jul 31, 2018

Closed by #117

@bdunne bdunne closed this as completed Jul 31, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants