[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Error installing Origin 3.7 via advanced install on AWS



I'm trying to install origin 3.7 on centos 7 running on AWS via the advanced install.  When I run ansible I get the following:


TASK [openshift_cloud_provider : Configure AWS cloud provider] *******************************
fatal: [10.0.4.160]: FAILED! => {"failed": true, "msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'provider'\n\nThe error appears to have been in '/root/openshift-ansible/roles/openshift_cloud_provider/tasks/aws.yml': line 12, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Configure AWS cloud provider\n  ^ here\n\nexception type: <class 'ansible.errors.AnsibleUndefinedVariable'>\nexception: 'dict object' has no attribute 'provider'"}

NO MORE HOSTS LEFT ***************************************************************************
to retry, use: --limit @/root/openshift-ansible/playbooks/byo/config.retry

PLAY RECAP ***********************************************************************************
10.0.4.144                 : ok=49   changed=3    unreachable=0    failed=0   
10.0.4.160                 : ok=205  changed=17   unreachable=0    failed=1   
localhost                  : ok=11   changed=0    unreachable=0    failed=0   


INSTALLER STATUS *****************************************************************************
Initialization             : Complete
Health Check               : Complete
etcd Install               : Complete
Master Install             : In Progress
This phase can be restarted by running: playbooks/byo/openshift-master/config.yml



Failure summary:


  1. Hosts:    10.0.4.160
     Play:     Configure masters
     Task:     Configure AWS cloud provider
     Message:  The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'provider'
               
               The error appears to have been in '/root/openshift-ansible/roles/openshift_cloud_provider/tasks/aws.yml': line 12, column 3, but may
               be elsewhere in the file depending on the exact syntax problem.
               
               The offending line appears to be:
               
               
               - name: Configure AWS cloud provider
                 ^ here
               
               exception type: <class 'ansible.errors.AnsibleUndefinedVariable'>
               exception: 'dict object' has no attribute 'provider'


Googling indicates the issue has to do with the ansible version, but i'm running the latest:

ansible --version
ansible 2.4.1.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /bin/ansible
  python version = 2.7.5 (default, Aug  4 2017, 00:39:18) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]

I'm going against release-3.7

Help?

Thanks
Marc


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]