Commit Graph

7 Commits

Author SHA1 Message Date
Monty Taylor cbda44137d Add ansible stable-2.9 job and run 2.8 and 2.9
We need to run master of openstacksdk against the stable ansible
branches that have openstack modules.

This partially reverts commit 666381d6e4.

We no longer are running jobs against devel of ansible, so we don't
need to do the failure job.

Change-Id: Ic783cfd564001a0bd00182725d26928ae6422c3f
2020-03-24 08:43:10 -05:00
Sagi Shnaidman 666381d6e4 Fail a job for ansible modules with message
In order prevent merging patches to Openstack Ansible modules
via Github fail the CI job that runs there with appropriate
message about movign the code.
Remove all ansible bits
Add a new job from collections to check changes.

Depends-On: https://review.opendev.org/#/c/704332/
Change-Id: Id1aafe59775f7d59ea88e4ac9deef952abbdeda1
2020-01-27 14:42:01 +00:00
Zuul 07a0b2a6fc Merge "Add ansible functional tests" 2018-05-30 17:09:03 +00:00
Monty Taylor 83d939dd43
Add ansible functional tests
ansible now directly depends on and uses openstacksdk rather than shade.
Make sure we don't land patches that break ansible.

Remove the installation of ansible from run-ansible-tests as it's
specified in the tox.ini file already, and we'll get it installed via
tox-siblings in the gate.

Depends-On: https://review.openstack.org/570956
Change-Id: I35103b8c75100725caf7a8fd264b81d402bf1973
2018-05-29 10:57:42 -05:00
Artem Goncharov 6cefc8cf4e allow passing ansible variables to ansible tests
Provide possibility to pass ansible variables through environment (i.e.
ANSIBLE_VAR_FLAVOR for setting `flavor` variable in ansible playbooks)
to the ansible functional tests. This can be used i.e. for running tests
in other than devstack cloud, where images, flavors, networks are not
matching devstack.

This is an initial change in a series of changes to enable executing
ansible tests in other clouds as a validation.

Change-Id: I40bc16241345ec4f39481f46dc0ad3a3075201fe
2018-05-25 19:17:32 +02:00
Julia Kreger 192bb7c57e
Remove python-ironicclient
After an epic battle with time, the python-ironicclient has been
driven from the land of shade, and there will be joy!

The patches doing this in shade have been squashed, as it was not
worth fixing transitive issues in the middle of the stack that
were only related to the merge.

Switch baremetal nics/ports tests over

Moved baremetal port tests to a separate file and
updated them to utilize the new testing method.

Additionally, normalized the output of the port lists as
noise is introduced that is not needed.

De-client-ify baremetal node_set_provision_state

de-client-ify baremetal get_machine

De-clientify baremetal create/delete

De-client-ify baremetal machine port list

De-client-ify machine patch operations

Remove version arg from updated ironic calls

Based upon discusison and feedback in change
I783fd47db368035d283b4984e4daacf9dc4ac4bd,
I am removing the ability for the caller to
specify the version, as it is not presently
needed.

Add helper to wait until baremetal locks clear

Add a halper to allow the methods to wait until locks
have cleared before proceeding.

De-client-ify many baremetal calls

Update calls for numerous baremetal methods to utilize
the _baremetal_client calls instead of python-ironicclient.

Also corrected a minor baremetal port test and fixed the
base noauth test endpoint override as python-ironicclient
was previously injecting that for us.

Fix and De-client-ify operator cloud get_nic_by_mac

Apparently, this method either never worked or was silently
broken at some point in the past, since we didn't have tests.

Added two tests and got the method back into working shape.

Additionally removed traces of ironic exceptions
being parsed in operatorcloud.py and removed legacy
tasks related to port lookups.

Also remove patch machine task wrapper as that appears
to have been migrated previously.

Change-Id: I8d6ca516250e0e10fe8b6edf235330b93535021b
2017-12-10 07:34:21 -06:00
Monty Taylor a4ee1a3f09
Merge tox, tests and other support files
Change-Id: I5a4759e36089f1f4fab0c75412c94d051d8b16a7
2017-10-04 14:51:08 -05:00