openstack_release auto error with pull images
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Medium
|
Eduardo Gonzalez | ||
Ocata |
New
|
Undecided
|
Unassigned | ||
Pike |
Fix Released
|
Medium
|
Eduardo Gonzalez |
Bug Description
kolla-ansible pull does not work with openstack_release set to auto.
TASK [Get current kolla-ansible version number] *******
task path: /root/kolla-
Using module file /usr/local/
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo ~/.ansible/
<localhost> PUT /tmp/tmpl0rHyS TO /root/.
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.
ok: [localhost -> localhost] => {
"changed": false,
"cmd": [
"python",
"-c",
"import pbr.version; print(pbr.
],
"delta": "0:00:02.450749",
"end": "2017-03-08 15:12:12.886483",
"invocation": {
"warn": true
},
},
"rc": 0,
"start": "2017-03-08 15:12:10.435734",
"stderr": "",
"stdout": "4.0.0",
"stdout_lines": [
"4.0.0"
],
"warnings": []
}
TASK [Set openstack_release variable] *******
task path: /root/kolla-
ok: [localhost] => {
"ansible_
},
"changed": false,
"invocation": {
},
}
}
TASK [common : Pulling kolla-toolbox image] *******
task path: /root/kolla-
Using module file /root/kolla-
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo ~/.ansible/
<localhost> PUT /tmp/tmpKRXTDD TO /root/.
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.
fatal: [localhost]: FAILED! => {
"changed": false,
"failed": true,
"invocation": {
},
"name": null,
},
},
"msg": "The requested image does not exist: 192.168.
}
Reviewed: https:/ /review. openstack. org/443291 /git.openstack. org/cgit/ openstack/ kolla-ansible/ commit/ ?id=34b3bcf89d0 2b039367b9bf121 2c7ce0e3b5742b
Committed: https:/
Submitter: Jenkins
Branch: master
commit 34b3bcf89d02b03 9367b9bf1212c7c e0e3b5742b
Author: Eduardo Gonzalez <email address hidden>
Date: Wed Mar 8 18:58:35 2017 +0000
Set empty openstack_release option
globals.yml have the highest var precedence in Ansible vars pulling as this var override the fact set in site.yml.
as is added in kolla-ansible as -e @globals.yml
Setting openstack_release: "auto" causes error while
deploying/
Value in globals.yml should be a real kolla version
(3.0.0, 4.0.0, etc)
Value in group_vars/all works fine with auto.
Change-Id: If99f7b4b150790 9c6c2628b6d6fc6 ce2519c9a24
Closes-Bug: #1671143