This is a small fix that works round bug https://bugs.launchpad.net/python-openstackclient/+bug/1650896
('Network' object has no attribute 'keys') when running 'deploy-test-vms.sh'
script (specifically: 'openstack network show int-net -f value -c id').
It should be resolved by new release of python-openstackclient
(https://review.openstack.org/#/c/413493/) but we don't have to wait for it.
Change-Id: Ia0ff48b3e72fdf69ed5e9f40a1d1e7542719d2c4
Since we already have a job for automatic image upload, we don't need to
do it here.
Also remove unused arguments from usage().
Change-Id: I3616b9dba6221228c0bd7b62d5f5a93f65730d34
This is required for kubectl call inside this script.
It's useful to properly run OpenStack tests on envs deployed in non-standard
K8s namespaces (which is the case for multiple deployment script).
Change-Id: Ia0076f881ca3d350e539bb4dd5d10f20484d8577
Network in OpenStack cannot be deleted if there are VMs using it.
VMs are being deleted in previous step of the script but it doesn't happen
synchronously unless using "--wait" argument.
Change-Id: Ia2e61e2602ac6816280d6aad2d9d1de15cd2a303
This is an attempt to detect public network interface on a node
from which simple, built-in OpenStack tests will be run.
In case it fails, fallback is provided to hard-coded value.
As before, interface can be set with command-line option.
Autodetection is useful to run these tests without knowing all details
of env deployed beforehand (e.g. which release of Ubuntu it is based
on) - wherever possible this will save us from hardcoding networking
config into our scripts e.g. CI jobs.
Change-Id: I2cecbba95d589960f8e540045a8a3360ee379787
* help message fixed
* novnc console fixed in case of one vm created
* nova cli was replaced with openstackclient call for novnc
console print
Change-Id: I0a9477e3976098f266661c877965e1b535b10da8
1) Added default gateway to test net
2) Added nova vnc url print after deploy
3) Added ability to specify public iface(for pub ip detection)
4) Removed unnessary subnet del step
Change-Id: I84ff579706146282a3f04b1bf3aa3ecb3cab1251