Fix post failures causing by image conversion failure
CI jobs tempest-integrated-storage-import-standalone, tempest-integrated-storage-import and glance-multistore-cinder-import were failing while converting image from qcow2 to raw. The failures were caused by changing default behavior of Devstack and installing everything in global virtualenv patch [1]. This fixes import conversion in the affected jobs properly by setting the python interpreter to the one in the venv. When we spawn external commands they actually spawn a python interpreter to use an oslo module to do the exec, and we need to do that with our venv's python. Finally, this bumps the swap size for the storage-import jobs to 8G to help account for the additional overhead of running another glance worker, which is required for that configuration. This matches other jobs with additional overhead (i.e. the ceph ones). [1] https://review.opendev.org/c/openstack/devstack/+/891248 Co-Authored-By: Dan Smith <dansmith@redhat.com> Depends-On: https://review.opendev.org/c/openstack/devstack/+/892571 Change-Id: I073216d1bbddbd3bdecd2b135e4c291f7a4d9abe
This commit is contained in:
parent
93e14113a5
commit
fb3aba94cd
@ -206,6 +206,7 @@
|
|||||||
The regular tempest-integrated-storage job but with glance metadata injection
|
The regular tempest-integrated-storage job but with glance metadata injection
|
||||||
post-run: playbooks/post-check-metadata-injection.yaml
|
post-run: playbooks/post-check-metadata-injection.yaml
|
||||||
vars:
|
vars:
|
||||||
|
configure_swap_size: 8192
|
||||||
zuul_copy_output:
|
zuul_copy_output:
|
||||||
/etc/glance-remote: logs
|
/etc/glance-remote: logs
|
||||||
devstack_localrc:
|
devstack_localrc:
|
||||||
@ -219,7 +220,7 @@
|
|||||||
DEFAULT:
|
DEFAULT:
|
||||||
enabled_import_methods: "[\"copy-image\", \"glance-direct\"]"
|
enabled_import_methods: "[\"copy-image\", \"glance-direct\"]"
|
||||||
wsgi:
|
wsgi:
|
||||||
python_interpreter: /usr/bin/python3
|
python_interpreter: /opt/stack/data/venv/bin/python
|
||||||
$GLANCE_IMAGE_IMPORT_CONF:
|
$GLANCE_IMAGE_IMPORT_CONF:
|
||||||
image_import_opts:
|
image_import_opts:
|
||||||
image_import_plugins: "['inject_image_metadata', 'image_conversion']"
|
image_import_plugins: "['inject_image_metadata', 'image_conversion']"
|
||||||
|
Loading…
Reference in New Issue
Block a user