"However, if a developer tries to use devmode via OVB we have no such task. This makes any reproducer of CI on a package installed on the overcloud invalid, because the overcloud images will be exactly what is on the tripleo mirror server, rather than having the intended change."
If you add a change, you trigger this execution of quickstart where:
--extra-vars build_test_packages="true" \
--extra-vars ib_repo_image_inject="true" \
This results in the following steps being triggered:
In response to:
"However, if a developer tries to use devmode via OVB we have no such task. This makes any reproducer of CI on a package installed on the overcloud invalid, because the overcloud images will be exactly what is on the tripleo mirror server, rather than having the intended change."
Looking at:
https:/ /github. com/openstack/ tripleo- quickstart/ blob/master/ ci-scripts/ full-deploy- ovb.sh# L76
If you add a change, you trigger this execution of quickstart where: packages= "true" \ image_inject= "true" \
--extra-vars build_test_
--extra-vars ib_repo_
This results in the following steps being triggered:
20:13:09 TASK [modify-image : virt-customize args --> upload files] ******* ******* ******* ../ansible/ roles/modify- image/tasks/ libguestfs. yml:24 gating_ repo.tar. gz', u'src': u'/tmp/ gating_ repo.tar. gz'}) => {"ansible_facts": {"_vc_args": " --upload /tmp/gating_ repo.tar. gz:/tmp/ gating_ repo.tar. gz"}, "changed": false, "item": {"dest": "/tmp/gating_ repo.tar. gz", "src": "/tmp/gating_ repo.tar. gz"}}
20:13:09 task path: /home/.
20:13:09 Friday 15 September 2017 20:13:09 +0000 (0:00:00.264) 0:20:41.715 ******
20:13:09 ok: [undercloud] => (item={u'dest': u'/tmp/
20:13:10 TASK [modify-image : virt-customize args --> modify script] ******* ******* ****** repo.tar. gz:/tmp/ gating_ repo.tar. gz --run /home/stack/ install- built-repo. sh"}, "changed": false}
...
20:13:10 ok: [undercloud] => {"ansible_facts": {"_vc_args": " --upload /tmp/gating_
20:13:11 TASK [modify-image : Run virt-customize on the provided image] ***************** ci/.../ ansible/ roles/modify- image/tasks/ libguestfs. yml:40 repo.tar. gz:/tmp/ gating_ repo.tar. gz --run /home/stack/ install- built-repo. sh -a /home/stack/ overcloud- full.qcow2 > /home/stack/ _home_stack_ install- built-repo. sh.log 2>&1", "delta": "0:26:29.622662", "end": "2017-09-15 20:39:41.561385", "rc": 0, "start": "2017-09-15 20:13:11.938723", "stderr": "", "stdout": "", "stdout_lines": [], "warnings": []}
20:13:11 task path: /home/rhos-
20:13:11 Friday 15 September 2017 20:13:11 +0000 (0:00:00.987) 0:20:43.555 ******
20:39:41 changed: [undercloud] => {"changed": true, "cmd": "virt-customize --upload /tmp/gating_