Red Hat Ansible Tower provider fails to refresh in Red Hat CloudForms

Solution Verified - Updated -

Issue

  • Ansible Tower fails to sync when explicitly using v2 API.
  • Ansible Tower provider was added but fails to refresh with the following error in the evm.log file:

    [----] E, [2020-02-18T03:35:43.652229 #29829:ebaf50] ERROR -- : MIQ(ManageIQ::Providers::AnsibleTower::AutomationManager::Refresher#refresh) EMS: [labtower Automation Manager], id: [200000000000005] Refresh failed
    [----] E, [2020-02-18T03:35:43.657110 #29829:ebaf50] ERROR -- : [NoMethodError]: undefined method `vault_password' for <AnsibleTowerClient::Credential::Inputs username="admin">:AnsibleTowerClient::Credential::Inputs  Method:[block (2 levels) in <class:LogProxy>]
    [----] E, [2020-02-18T03:35:43.657300 #29829:ebaf50] ERROR -- : /opt/rh/cfme-gemset/gems/ansible_tower_client-0.20.1/lib/ansible_tower_client/base_models/credential.rb:42:in `vault_password'
    

Environment

  • Red Hat CloudForms 4.7 and 5.0
  • Red Hat Ansible Tower 3.5 and 3.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In