[CB 4.0.1.0-29] Contrail-ansible: Task "Add contrail yum repo" failing on Redhat
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R4.0 |
Fix Committed
|
Critical
|
Dheeraj Gautam | |||
Trunk |
Fix Committed
|
Critical
|
Dheeraj Gautam |
Bug Description
While trying to bring up contrail cluster using contrail-ansible directly on RedHat cluster, hitting below provisioning error. This is part of bringing up open shift cluster.
Error
-------
TASK [docker : Add contrail yum repo {{contrail_
fatal: [10.87.121.34]: FAILED! => {"failed": true, "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'contrail_image_id' is undefined\n\nThe error appears to have been in '/root/
fatal: [10.87.121.35]: FAILED! => {"failed": true, "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'contrail_image_id' is undefined\n\nThe error appears to have been in '/root/
fatal: [10.87.121.36]: FAILED! => {"failed": true, "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'contrail_image_id' is undefined\n\nThe error appears to have been in '/root/
to retry, use: --limit @/root/
PLAY RECAP *******
10.87.121.34 : ok=14 changed=2 unreachable=0 failed=1
10.87.121.35 : ok=14 changed=2 unreachable=0 failed=1
10.87.121.36 : ok=14 changed=2 unreachable=0 failed=1
localhost : ok=1 changed=0 unreachable=0 failed=0
root@5b6s33:
---
- name: "Add contrail yum repo {{contrail_
yum_repository:
name: "{{contrail_
file: cobbler-config
description: "Contrail Package Repo"
baseurl: "{{contrail_
priority: 1
gpgcheck: no
- name: install docker using package
yum:
name: "{{ docker_package_name }}"
state: latest
root@5b6s33:
Changed in juniperopenstack: | |
importance: | Undecided → Critical |
milestone: | none → r4.0.1.0 |
information type: | Proprietary → Public |
Changed in juniperopenstack: | |
assignee: | nobody → Nagendra Prasath (npchandran) |
Hopefully introduced by https:/ /github. com/Juniper/ contrail- ansible/ commit/ 943aeab48dd7e99 ffbacac79b8d81f e5fb3acfbe
Reassigning to Dheeraj.