nova: restart instead of reloading services

There is a bug inside oslo.service which causes calls a stop,
reset and start instead of reset only on SIGHUP which causes
a very inconsistent state of services.

Until this is resolved, we should not reload services but restart
them only.  This patch should be reverted once the related bug
is fixed.

This patch also removes SUSE jobs from check/gate and into the
experimental queue as they do not have full maintainers at the
moment.

In addition, it moves jobs that have been failing for a long time
such as the aio_distro_lxc to experimental as well, as they have
been problematic.

Change-Id: I61e340a4ef5f0980e8c36611c0f78cd06946636b
Related-Bug: #1715374
This commit is contained in:
Mohammed Naser 2019-03-07 22:26:42 -05:00
parent c62d61c16f
commit 817c95fdac
2 changed files with 23 additions and 26 deletions

View File

@ -118,7 +118,14 @@
include: common-tasks/restart-service.yml
vars:
service_name: "nova"
service_action: "reloaded"
# NOTE(mnaser): There is a bug in oslo.service which actually restarts
# the entire service instead of resetting it, but it
# leaves Nova in a broken state. This should be moved
# to "reloaded" once it's resolved.
#
# https://bugs.launchpad.net/openstack-ansible/+bug/1715374
#
service_action: "restarted"
service_negate: "{{ ['nova-placement-api.service', 'nova-novncproxy.service', 'nova-spicehtml5proxy.service' ] + nova_service_negate | default([]) }}"
when:
- "nova_all_software_updated | bool"

View File

@ -42,49 +42,43 @@
check:
jobs:
- openstack-ansible-deploy-aio_lxc-centos-7
- openstack-ansible-deploy-aio_lxc-opensuse-423
- openstack-ansible-deploy-aio_lxc-opensuse-150
- openstack-ansible-deploy-aio_lxc-ubuntu-bionic
gate:
jobs:
- openstack-ansible-deploy-aio_lxc-centos-7
- openstack-ansible-deploy-aio_lxc-opensuse-423
- openstack-ansible-deploy-aio_lxc-opensuse-150
- openstack-ansible-deploy-aio_lxc-ubuntu-bionic
periodic:
jobs:
- openstack-ansible-deploy-aio_lxc-ubuntu-bionic
- openstack-ansible-upgrade-aio_lxc-ubuntu-bionic
experimental:
jobs:
- openstack-ansible-deploy-aio_lxc-opensuse-423
- openstack-ansible-deploy-aio_lxc-opensuse-150
- project-template:
name: openstack-ansible-deploy-aio_distro_lxc-jobs
check:
experimental:
jobs:
- openstack-ansible-deploy-aio_distro_lxc-centos-7:
voting: false
- openstack-ansible-deploy-aio_distro_lxc-opensuse-423:
voting: false
- openstack-ansible-deploy-aio_distro_lxc-opensuse-150:
voting: false
- openstack-ansible-deploy-aio_distro_lxc-ubuntu-bionic:
voting: false
gate:
jobs: []
- openstack-ansible-deploy-aio_distro_lxc-centos-7
- openstack-ansible-deploy-aio_distro_lxc-opensuse-423
- openstack-ansible-deploy-aio_distro_lxc-opensuse-150
- openstack-ansible-deploy-aio_distro_lxc-ubuntu-bionic
- project-template:
name: openstack-ansible-deploy-aio_metal-jobs
check:
jobs:
- openstack-ansible-deploy-aio_metal-centos-7
- openstack-ansible-deploy-aio_metal-opensuse-423
- openstack-ansible-deploy-aio_metal-opensuse-150
- openstack-ansible-deploy-aio_metal-ubuntu-bionic
gate:
jobs:
- openstack-ansible-deploy-aio_metal-centos-7
- openstack-ansible-deploy-aio_metal-ubuntu-bionic
experimental:
jobs:
- openstack-ansible-deploy-aio_metal-opensuse-423
- openstack-ansible-deploy-aio_metal-opensuse-150
- openstack-ansible-deploy-aio_metal-ubuntu-bionic
- project-template:
name: openstack-ansible-deploy-aio_nspawn-jobs
@ -125,11 +119,7 @@
- project-template:
name: openstack-ansible-deploy-distro_ceph-jobs
check:
experimental:
jobs:
- openstack-ansible-deploy-aio_distro_ceph-opensuse-423:
voting: false
- openstack-ansible-deploy-aio_distro_ceph-opensuse-150:
voting: false
gate:
jobs: []
- openstack-ansible-deploy-aio_distro_ceph-opensuse-423
- openstack-ansible-deploy-aio_distro_ceph-opensuse-150