Comment 4 for bug 1697007

Revision history for this message
Ronelle Landy (rlandy) wrote :

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:
--extra-vars build_test_packages="true" \
--extra-vars ib_repo_image_inject="true" \

This results in the following steps being triggered:

20:13:09 TASK [modify-image : virt-customize args --> upload files] *********************
20:13:09 task path: /home/.../ansible/roles/modify-image/tasks/libguestfs.yml:24
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/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:10 TASK [modify-image : virt-customize args --> modify script] ********************
...
20:13:10 ok: [undercloud] => {"ansible_facts": {"_vc_args": " --upload /tmp/gating_repo.tar.gz:/tmp/gating_repo.tar.gz --run /home/stack/install-built-repo.sh"}, "changed": false}

20:13:11 TASK [modify-image : Run virt-customize on the provided image] *****************
20:13:11 task path: /home/rhos-ci/.../ansible/roles/modify-image/tasks/libguestfs.yml:40
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_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": []}