hacking 3.0.x is too old.
Also fix a failure detected by the new hacking version.
./heat_tempest_plugin/common/test.py:171:80: E501 line too long
(80 > 79 characters)
Change-Id: Ic05437780b451928b14f79b004586e0b627ce119
Neutron LBaaS was retired during train cycle and was replaced by
octavia. Because we no longer support train, it does not make any
sense to maintain tests requiring that removed component.
Change-Id: I9cf7532d51843698b63bae2ee825f683f07e2df8
This change makes sure that the scenario tests which require cinder are
skipped when the [service_available] cinder option is False.
Change-Id: I94c48ecd28acadda39abf4ef794434a72e9a7002
Currently the [service_available] heat parameter is not actually used
and the plugin tests are always executed regardless of availability
of Heat service.
This change ensures that the parameter is honored so that users can
disable plugin tests even if the plugin package is enabled.
Change-Id: I148d7a9c92f210d4584798131a1b23f648f6e5e3
Nova requires the public_key element when creating a keypair since api
version 2.92. This change ensures the element is passed when creating
a OS::Nova::KeyPair resource.
The master jobs are temporally made non-voting because one integration
test is failing now. These jobs are made voting again once the test is
fixed in the heat repo.
Story: 2010201
Task: 45921
Change-Id: Icdc25a7a79f02ccc5eadcfa5dee99ce5f4d3b00e
Block Storage API v2 was deprecated during Pike cycle and is being
removed during Xena cycle, and current v3 API should be used instead.
Change-Id: Ic15f4aff72661ae5a50dbb14840ba0277a578173
* pass updated stack parameters directly to keep the original value
* volume property of display_description ain't available
in cinder api version 2+
Change-Id: I346b4da7d002e86f39280ef6caf141a18b0404e3
Story: 2007217
Task: 38468
Increase the delay interval from 1 sec to 2 secs.
This will make the total waiting period twice longer without generate more
queries.
Depends-On: https://review.opendev.org/#/c/700512/
Change-Id: I7dd23f85c9f58ca42d7607a2a472af7afbe69e55
Story: #2006674
Task: #37833
currently Heat tests have troubles running when self-signed SSL CA is
used on public Heat API and standard upstream images (Cirros, Ubuntu)
are used as those lack trust to those CA - example is DevStack
with tls-proxy service enabled.
A workaround is to set [clients_heat]insecure=True, but that is
not really a production-ready setting, and does not work for CFN-style
signaling, only for WaitConditions.
Instead, this patch adds an extra config option
`vm_to_heat_api_insecure` (defaults to False), and when enabled tests will
pass the correct option to the curl or cfn-signal commands running from
instance's user data via new parameters that test templates are now
accepting.
Change-Id: I94a82caf1fcb6999151ff1e6fbbe1e2ba211bbb9
In RemoteDeeplyNestedStackTest, network name is assigned as 'public'.
However, there is no guarantee to have 'public' network.
Instead of using the hardcoded network name, we should use
floating_network_name assigned in conf file.
Change-Id: I01313d557e415bb0b0d8df310c445e63190f4505
Story: #2006144
Task: 35640
Previously, we checked that when updating the MAC address that the port
was updated in-place. However, this only works because the port isn't
attached to anything. In a more realistic scenario, updating in-place
actually fails. Remove this check to allow changing the Heat code to
replace the port when the MAC changes.
Change-Id: Ie8dd18d77a98a345d9129e4e8cb1a027f4cfdf60
Task: 33766
This test has been failing intermittently in the gate. There's no
obvious pattern to the failures, and looking at a random set of logs
there's no obvious cause other than that signals don't start to come in
until very close to the timeout time. So it appear that slow nodes are
at least part of the issue. Increase the timeout to give them more time
to boot.
Change-Id: I7013d3629d0df893cefc47478f650135a616103f
It is not so common to have cnf-tools under /opt/aws/bin
in cloude images. For example, CentOS, RHEL or Fedora has
cfn tools under /usr/bin, and has nothing under /opt.
Even in Amazon Linux, cfn tools is located under /usr/bin
and access to /opt/aws/bin is redirected to /usr/bin
with symbolic link, so it could be make us easy to choose
an image to run scenario test by using more generic path,
under /usr/bin.
Change-Id: If2dd6ad3e2a03f62ea932e41a210f0ec0e4c4fcc
In commit 4ca172ae78 we changed to
use heatclient utilities to load files and it broke this test.
File mode must be string from Puppet 4 onwards, so the inline
manifest also needs to be fixed.
Note: This test is not run in the gate.
Change-Id: Ia0be1aab36448b291ea43371a5d906fa79eb3753
It's not possible to know if services have certain features
enabled from the sevice API in certain cases. Let's leverage
the service specific feature groups in tempest. If a specific
service feature is disabled in tempest config, the decorated
tests would be skipped.
ex. If tempest.conf contains
[volume-feature-enabled]
backup = False
test_cinder_volume_create_backup_restore scenario test would be
skipped.
Change-Id: I7a2495182791595c87f8245ff5e13dfd841b013f