summaryrefslogtreecommitdiff
path: root/roles
Commit message (Collapse)AuthorAgeFilesLines
* [OVN] Adapt the live-migration job scripts to work with OVNLucas Alvares Gomes2021-03-151-5/+15
| | | | | | | There's no q-agt service in an OVN deployment. Change-Id: Ia25c966c70542bcd02f5540b5b94896c17e49888 Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
* nova-live-migration: Disable *all* virt services during negative testsLee Yarwood2020-11-271-0/+14
| | | | | | | | | | | | | | | | | | | | libvirtd was being restarted on the controller during negative evacuation tests that rely on the service being to cause an evacuation failure. This change adds various virt services to the list of services stopped and now disabled on the host to ensure these don't cause systemd to restart libvirtd: * virtlogd.service * virtlogd-admin.socket * virtlogd.socket * virtlockd.service * virtlockd-admin.socket * virtlockd.socket Closes-Bug: #1903979 Change-Id: Ic83252bbda76c205bcbf0eef184ce0b201e224fc
* nova-evacuate: Disable libvirtd service and sockets during negative testsLee Yarwood2020-10-021-2/+12
| | | | | | | | | | | The recent switch to Focal introduced a change in behaviour for the libvirtd service that can now be restarted through new systemd socket services associated with it once stopped. As we need it to remain stopped during the initial negative evacuation tests on the controller we now need to also stop these socket services and then later restart them. Change-Id: I2333872670e9e6c905efad7461af4d149f8216b6
* zuul: Introduce nova-evacuateLee Yarwood2020-09-235-0/+185
| | | | | | | | | This change reworks the evacuation parts of the original nova-live-migration job into a zuulv3 native ansible role and initial job covering local ephemeral and iSCSI/LVM volume attached instance evacuation. Future jobs will cover ceph and other storage backends. Change-Id: I380e9ca1e6a84da2b2ae577fb48781bf5c740e23
* Enable cross-cell resize in the nova-multi-cell jobMatt Riedemann2019-12-233-0/+29
| | | | | | | | | | | | | | | | This changes the nova-multi-cell job to essentially force cross-cell resize and cold migration. By "force" I mean there is only one compute in each cell and resize to the same host is disabled, so the scheduler has no option but to move the server to the other cell. This adds a new role to write the nova policy.yaml file to enable cross-cell resize and a pre-run playbook so that the policy file setup before tempest runs. Part of blueprint cross-cell-resize Change-Id: Ia4f3671c40e69674afc7a96b5d9b198dabaa4224
* Convert nova-next to a zuul v3 jobMatt Riedemann2019-07-233-0/+12
For the most part this should be a pretty straight-forward port of the run.yaml. The most complicated thing is executing the post_test_hook.sh script. For that, a new post-run playbook and role are added. The relative path to devstack scripts in post_test_hook.sh itself had to drop the 'new' directory since we are no longer executing the script through devstack-gate anymore the 'new' path does not exist. Change-Id: Ie3dc90862c895a8bd9bff4511a16254945f45478