Don't customize image before upload it to Glance by default

Commit [1] provided new possibility to customize e.g. Ubuntu
image and e.g. install some additional packages just before
upload it to Glance in Devstack's stack.sh script.
It was done to be able to install e.g. socat package to test
multicast.
But until now we don't have tests which would use this and
this customization causes sometimes job failures when
there is package and index mismatch.

So there is no need to customize image always by default.
If we will need to use this customization, we should use
OpenStack's infra mirrors of Ubuntu repositories and then
enable this option for job where its needed.

[1] https://review.openstack.org/#/c/573702/

Change-Id: Ie84c0ae56dbd42cd522c4258903b7eafb435004f
Closes-Bug: #1821384
This commit is contained in:
Slawek Kaplonski 2019-03-22 21:45:30 +01:00
parent c1052e777d
commit 4ba1c80df8
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ source "${NEUTRON_TEMPEST_PLUGIN_DIR}/functions.sh"
# By default enable guest image customization. It will be automatically skipped
# for cirros images
CUSTOMIZE_IMAGE=${CUSTOMIZE_IMAGE:-True}
CUSTOMIZE_IMAGE=${CUSTOMIZE_IMAGE:-False}
# Image customization is performed using virt-customize
# using direct backend by default