Commit Graph

1658 Commits

Author SHA1 Message Date
90aca8be5e Add ldap group/membership tests
Adds a test to check for groups that are coming from LDAP.

Adds a test to ensure that openstack is able to check the membership
of a user in the group.

Signed-off-by: Arif Ali <arif.ali@canonical.com>
2020-11-25 17:04:06 +00:00
Aurelien Lourot
44e62803e5 Merge pull request #458 from rodrigogansobarbieri/improve_keystone_ldap
Update Keystone LDAP tests
2020-11-23 23:20:15 +01:00
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
Frode Nordahl
38767da01d Merge pull request #464 from openstack-charmers/lourot/ovn-codename-major-minor
Support 'major.minor' when determining OS release of OVN packages
2020-11-19 12:46:51 +01:00
David Ames
910516c3bd Merge pull request #465 from ajkavanagh/bug/460
Add placement-common versions for train->ussuri upgrade
2020-11-18 14:13:15 -08:00
Alex Kavanagh
f94f2be31d Merge pull request #462 from gnuoy/nova-client-version
Support nova client micro versions
2020-11-18 16:00:05 +00:00
Alex Kavanagh
b07afac21a Add placement-common versions for train->ussuri upgrade 2020-11-18 14:33:37 +00:00
Liam Young
817473675d Numbers are imutable so safe to have as default argument 2020-11-18 14:12:13 +00:00
Aurelien Lourot
ed6ab051bd Merge pull request #463 from gnuoy/resource-wait-attr
Extend resource_reaches_status
2020-11-18 15:03:28 +01:00
Aurelien Lourot
c5c11194a1 Support 'major.minor' when determining OS release of OVN packages 2020-11-18 14:49:12 +01:00
Liam Young
dfecc58f5a Extend resource_reaches_status
The resource_reaches_status assumes that the attribute to be checked
is called 'status' but this can vary between resource types so allow
the name of the attribute to specified.
2020-11-18 12:13:59 +00:00
Alex Kavanagh
56e41c5c89 Merge pull request #444 from mkalcok/ceph-osd-service-tests
Add func-tests for ceph-osd 'service' action
2020-11-18 11:13:42 +00:00
Liam Young
b23d9e285b Support nova client micro versions
Support micro versions when requesting a nova client.
2020-11-18 09:36:44 +00:00
Frode Nordahl
36e247e96b Merge pull request #434 from openstack-charmers/lourot/bug/1877076
Add some tenacity around cinder backup creation
2020-11-13 10:57:27 +01:00
Aurelien Lourot
20137d0992 Merge pull request #459 from gnuoy/zaza-magpie-tests
Add magpie tests
2020-11-13 10:44:23 +01:00
Liam Young
e8e16a353c Add magpie tests 2020-11-13 08:40:48 +00:00
Aurelien Lourot
64fd802697 Fix call to cinder_client.backups.create() 2020-11-11 15:24:12 +01:00
Aurelien Lourot
ca40adc078 Fix comment 2020-11-11 08:44:51 +01:00
Aurelien Lourot
82c1a5321b Fix volume and backup name 2020-11-10 22:09:22 +01: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
Aurelien Lourot
d1dbefa6ec Merge branch 'master' into lourot/bug/1877076 2020-11-05 11:31:52 +01: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
Martin Kalcok
991d7ea7a4 Removed typing usage 2020-11-03 15:47:18 +01: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
Martin Kalcok
990be12171 Fix async_wait_for_service_status() checking only first service in the list 2020-10-28 13:58:49 +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
Martin Kalcok
12db27016e Fix typos 2020-10-14 13:55:23 +02:00
Martin Kalcok
24755c2382 Add function that waits on desired service status using systemctl 2020-10-14 13:47:20 +02: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
Martin Kalcok
1889d0db53 Add func-tests for ceph-osd 'service' action 2020-10-12 17:51:04 +02:00
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
Aurelien Lourot
f9d28f16b4 Make linter happy 2020-09-28 11:03:33 +02:00
Aurelien Lourot
a71a0f38ff Add some tenacity around cinder backup creation 2020-09-28 10:28:51 +02: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
Aurelien Lourot
49268243ba Improve logging 2020-09-25 14:17:38 +02:00