Commit Graph

1631 Commits

Author SHA1 Message Date
Rodrigo Barbieri
7404b0cb9b Update Keystone LDAP tests
- Reversed ldap-config-flags vs charm configs precedence
  for https://review.opendev.org/748364
- Added new functional test to validate the precedence
- Added zaza helper function to assist handling charm configs
  that do not accept "" (like booleans and ints), and reverting
  to unset values through config_change()
- Fixed zaza reset helper function that apparently never
  worked ({}.keys() returns dict_keys which is not a sequence)
2020-11-23 12:33:32 -03:00
Aurelien Lourot
c91ebb5ec4 Remove unused security tests (#441) 2020-11-09 10:38:23 +01:00
Alex Kavanagh
cd2157f607 Merge pull request #403 from hemanthnakkina/lpbug/1832765
Add new keystone-ldap charm options in LDAP tests
2020-11-06 08:43:23 +00:00
David Ames
5aa1759c07 Merge pull request #455 from ajkavanagh/bug/1724174
bionic-train -> ussuri needs to upgrade placement
2020-11-03 13:57:49 -08:00
Aurelien Lourot
629b0ed1e7 Merge pull request #450 from gabriel-samfira/add-tenacity
Add tenacity to image uploads
2020-10-29 12:07:29 +01:00
Alex Kavanagh
79e43c7f68 bionic-train -> ussuri needs to upgrade placement
For the openstack upgrade of train to ussuri, the placement charm needs
to be upgraded.  Add it to the UPGRADE_SERVICES.  Related launchpad bug:
LP:1724174 [1]

[1]: https://bugs.launchpad.net/openstack-mojo-specs/+bug/1724174
2020-10-22 15:28:16 +01:00
Gabriel Adrian Samfira
a75d49d959 Add tenacity to image uploads 2020-10-19 13:20:40 +00:00
Liam Young
8a8b4e9f85 Merge pull request #449 from gabriel-samfira/add-ironic-dependency
Add python-ironicclient to setup.py
2020-10-19 10:11:21 +01:00
Gabriel Adrian Samfira
4f83645b1c Add python-ironicclient to setup.py 2020-10-19 08:40:23 +00:00
Hemanth Nakkina
d7893798ca Add new keystone-ldap charm options in LDAP tests
New charm options for keystone-ldap are getting introdcued
as part of bug [1]. Modify the keystone ldap tests to
modify ldap options as per the new charm options.

Add ldap options to verify ldap-config-flags takes precendece
over explicit config flags.

[1] https://bugs.launchpad.net/charm-keystone-ldap/+bug/1832765
2020-10-13 05:26:32 +05:30
Aurelien Lourot
d4deb0478a Merge pull request #443 from gnuoy/issues/442
Fix test runs with no charm_name
2020-10-12 14:17:05 +02:00
Liam Young
299fae65db Fix test runs with no charm_name
Fix z-o-t so that tests that specify an application name can
be run irrespective of whether the charm_name has been set in
tests.yaml. Closes issue #442
2020-10-12 12:05:22 +00:00
David Ames
581427dc62 Merge pull request #437 from gabriel-samfira/add-ironic-tests
Add Ironic tests
2020-10-09 16:33:49 -07:00
David Ames
41c5434a25 Merge pull request #440 from openstack-charmers/lourot/app-under-test
Make determination of app under test more robust
2020-10-09 09:21:34 -07:00
Aurelien Lourot
f27ee7c1f6 Make determination of app under test more robust 2020-10-09 16:03:59 +02:00
Aurelien Lourot
181bb98d20 Clean up newly created instances if faulty (#439) 2020-10-09 09:39:00 +02:00
Gabriel Adrian Samfira
7c2f5cdf24 Add Ironic tests 2020-10-06 06:06:57 +00:00
Aurelien Lourot
20263394c9 Merge pull request #429 from openstack-charmers/nova-use-common-launch-instance-helper
Nova use common launch instance helper
2020-10-02 18:22:53 +02:00
Frode Nordahl
efcb7a7e06 Fix typo 2020-10-02 10:50:10 +02:00
Frode Nordahl
d38a505fbe Merge pull request #433 from xavpaice/bug/1896674
Add tests for OVN charm NRPE checks
2020-10-02 09:46:31 +02:00
Xav Paice
7a67d98b45 Only log OVN NRPE failure when it fails 2020-10-02 11:00:51 +13:00
Liam Young
ea803ad9cd Merge pull request #431 from ChrisMacNaughton/minimize-vars
Only configure private Neutron CIDR if it is configured
2020-09-28 13:14:20 +01:00
Xav Paice
e70be304e5 Add tests for OVN charm NRPE checks
The ovn-* charms have added NRPE service checks, this ensures that the
service check files have been added to the units as expected.
2020-09-28 17:45:42 +13:00
Chris MacNaughton
7bf624b007 Update tempest config files to use newly renamed test_name_server variable 2020-09-25 12:53:13 +02:00
Frode Nordahl
786b40fc53 nova: Use common launch guest helper
The common helper adds automatic retry handling and resource
cleanup.
2020-09-25 11:21:15 +02:00
Frode Nordahl
09789767f3 Enhance common launch instance helper
Move retry logic to the launch single guest method.

Add optional arguments that is passed on to the downstream launch
guest helper.
2020-09-25 11:19:32 +02:00
Chris MacNaughton
522d3e53b8 Only configure private Neutron CIDR if it is configured 2020-09-25 10:39:13 +02:00
Frode Nordahl
1ab3aea3a5 Merge pull request #425 from openstack-charmers/lourot/bug/1895300
Do not hide real exception on test failure
2020-09-25 09:59:49 +02:00
Dmitrii Shcherbakov
0a0a7afa2b Merge pull request #423 from gnuoy/extend-ceph-iscsi-checks
Extend ceph iscsi checks
2020-09-25 10:57:25 +03:00
Aurelien Lourot
8c01154c7e Merge pull request #428 from openstack-charmers/issue/427
Do not attempt to restore configuration when equal
2020-09-25 09:18:07 +02:00
Frode Nordahl
18e8df8eac Do not attempt to restore configuration when equal
The fix for the config_change helpers short cut on config restore
in c5a3f832d0 introduced a
regression for consumers that use the helper to set but not
restore config.

Re-introduce the shortcut when the caller passes in equal settings
for default and alternate configuration.

Fixes #427
2020-09-25 08:20:04 +02:00
coreycb
9c1ad2e518 Merge pull request #426 from ChrisMacNaughton/improve-tempest-environment-logging
Break out required environment variables
2020-09-24 09:27:45 -04:00
Chris MacNaughton
70e758be05 Break out required environment variables
Instead of printing out the list of all required environment
variables when one is missing, only print out the missing
variables.
2020-09-24 15:18:49 +02:00
James Page
018f1eac96 Merge pull request #398 from openstack-charmers/ceph-bluestore-compression
Ceph bluestore compression
2020-09-24 11:30:50 +01:00
Liam Young
7e0eaf919f Stdout v stdout now handled by zaza 2020-09-24 08:59:46 +00:00
Aurelien Lourot
c09a9af3b2 Make linter happy 2020-09-24 10:54:14 +02:00
Aurelien Lourot
6b93fb3acb Do not hide real exception on test failure 2020-09-24 10:35:01 +02:00
Aurelien Lourot
9406ea0380 Merge pull request #418 from openstack-charmers/issue/417
Log resource cleanup failure and carry on, retry lb resource creation and various other retry fixes
2020-09-24 10:11:23 +02:00
Liam Young
ad1ea7667d handle stdout v Stdout 2020-09-23 17:04:19 +00:00
Liam Young
76e7666f9c Fix typo 2020-09-23 11:25:00 +00:00
Liam Young
c3105657d4 Fix doc strings 2020-09-23 11:09:31 +00:00
Liam Young
eda2dfb450 Typo fix 2020-09-23 10:26:18 +00:00
Liam Young
0a458766c2 Extend iSCSI tests.
Extend iSCSI tests to mount multipath device and write data to it
Then unmount it and logout of the iscsi target. Finally log back
into the iscsi target, mount device and check data is present.
2020-09-23 10:26:18 +00:00
coreycb
c6a75b6d14 Merge pull request #411 from openstack-charmers/add-octavia-tempest
Add Octavia to Tempest service list
2020-09-22 16:31:16 -04:00
Frode Nordahl
be59370476 Forcefully remove amphorae when Octavia is unable to remove 2020-09-22 14:50:09 +02:00
Dmitrii Shcherbakov
2a6873c7bf Merge pull request #389 from gnuoy/dashboard-ssl
Dashboard ssl
2020-09-22 08:41:47 +03:00
Dmitrii Shcherbakov
d04befa66f Merge pull request #421 from openstack-charmers/lourot/bug/1895636
Make test_manila_share more robust
2020-09-22 08:11:01 +03:00
Liam Young
c5786d9184 Ceph iscsi default pool test (#415)
* Add Ceph-iscsi Erasure coding check

Add a test which created a ceph iscsi target backed by an
erasure coded pool.

* Fix EC pool type

* Test ceph iscsi target from default pool
2020-09-21 13:40:48 +01:00
Frode Nordahl
ced5b3dd13 Retry scp/ssh operations in add_interface_to_netplan helper
Fixes #420
2020-09-21 08:18:08 +02:00
Frode Nordahl
430704ef80 Retry retrofit action
The retrofit process involves downloading packages from
the internet and is as such susceptible to random failures due to
internet gremlins.
2020-09-21 08:18:05 +02:00