++ openstack compute service list -f value ++ grep -v nova-compute ++ grep down /var/lib/openstack/lib/python3.12/site-packages/oslo_concurrency/lockutils.py:41: EventletDeprecationWarning: Eventlet is deprecated. It is currently being maintained in bugfix mode, and we strongly recommend against using it for new projects. If you are already using Eventlet, we recommend migrating to a different framework. For more detail see https://eventlet.readthedocs.io/en/latest/asyncio/migration.html import eventlet ++ true + DISABLED_SVC= + '[' '!' -z '' ']' ++ openstack compute service list -f value -c Binary ++ grep -v '^nova-compute$' ++ uniq ++ sort /var/lib/openstack/lib/python3.12/site-packages/oslo_concurrency/lockutils.py:41: EventletDeprecationWarning: Eventlet is deprecated. It is currently being maintained in bugfix mode, and we strongly recommend against using it for new projects. If you are already using Eventlet, we recommend migrating to a different framework. For more detail see https://eventlet.readthedocs.io/en/latest/asyncio/migration.html import eventlet + NOVA_SERVICES_TO_CLEAN='nova-conductor nova-scheduler' + for NOVA_SERVICE in ${NOVA_SERVICES_TO_CLEAN} ++ openstack compute service list --service nova-conductor -f json ++ jq -r '.[] | select(.State == "down") | .ID' /var/lib/openstack/lib/python3.12/site-packages/oslo_concurrency/lockutils.py:41: EventletDeprecationWarning: Eventlet is deprecated. It is currently being maintained in bugfix mode, and we strongly recommend against using it for new projects. If you are already using Eventlet, we recommend migrating to a different framework. For more detail see https://eventlet.readthedocs.io/en/latest/asyncio/migration.html import eventlet + DEAD_SERVICE_IDS= + for NOVA_SERVICE in ${NOVA_SERVICES_TO_CLEAN} ++ openstack compute service list --service nova-scheduler -f json ++ jq -r '.[] | select(.State == "down") | .ID' /var/lib/openstack/lib/python3.12/site-packages/oslo_concurrency/lockutils.py:41: EventletDeprecationWarning: Eventlet is deprecated. It is currently being maintained in bugfix mode, and we strongly recommend against using it for new projects. If you are already using Eventlet, we recommend migrating to a different framework. For more detail see https://eventlet.readthedocs.io/en/latest/asyncio/migration.html import eventlet + DEAD_SERVICE_IDS=