ensure ceph-ansible installed role contradicts itself
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Francesco Pantano |
Bug Description
The first task below confirms that I'm using a certain ceph-ansible repos to provide ceph-ansible.
The second task then fails tells me that I should use that repos.
These two tasks contradict themselves.
Note that on my undercloud ceph-ansible came from tripleo-
TASK [ceph : Get ceph-ansible repository] *******
task path: /home/stack/
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: stack
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /tmp/ansible-
Using module file /usr/lib/
<localhost> PUT /home/stack/
<localhost> EXEC /bin/sh -c 'chmod u+x /tmp/ansible-
<localhost> EXEC /bin/sh -c '/usr/bin/python2 /tmp/ansible-
<localhost> EXEC /bin/sh -c 'rm -f -r /tmp/ansible-
ok: [undercloud] => {
"changed": false,
"cmd": "yum info ceph-ansible | awk '/From repo/ {print $4}'",
"delta": "0:00:00.916789",
"end": "2019-12-24 15:21:53.884558",
"invocation": {
"argv": null,
"warn": true
}
},
"rc": 0,
"start": "2019-12-24 15:21:52.967769",
"stderr": "",
"stderr_lines": [],
"stdout": "tripleo-
"stdout_lines": [
]
}
TASK [ceph : Fail if ceph-ansible doesn't belong to the specified repo] *******
task path: /home/stack/
fatal: [undercloud]: FAILED! => {
"changed": false,
"msg": "Make sure ceph-ansible package is installed from tripleo-
}
Fix proposed to branch: master /review. opendev. org/701337
Review: https:/