We are still seeing this happening in bionic ussuri
$ os notification list | grep running | a5a79aba-c3e3-464e-9b0b-3cedd272fd4d | 2021-02-18T04:57:01.000000 | running | COMPUTE_HOST | 88eae267-fabc-48d2-b6cc-4acdb6f9b5e2 | {'event': 'STOPPED', 'cluster_status': 'OFFLINE', 'host_status': 'NORMAL'} | | e1b2b27f-7a7a-4b33-948e-26d3fb06d846 | 2021-02-18T04:56:59.000000 | running | COMPUTE_HOST | fcbc74ad-264c-48c8-8070-6a032c1e17ce | {'event': 'STOPPED', 'cluster_status': 'OFFLINE', 'host_status': 'NORMAL'} | | 5990a030-dc86-4860-92b6-5c95bb14f081 | 2021-02-18T04:56:58.000000 | running | COMPUTE_HOST | f975d04f-a345-4ea0-994b-5f014fbd146b | {'event': 'STOPPED', 'cluster_status': 'OFFLINE', 'host_status': 'NORMAL'} | | 4b1b4989-0ac5-406b-a71c-3f1e0890a2f4 | 2021-02-18T04:56:57.000000 | running | COMPUTE_HOST | 7573d928-5a07-4ea2-9d1c-96c7c6fabb19 | {'event': 'STOPPED', 'cluster_status': 'OFFLINE', 'host_status': 'NORMAL'} | | b0aedfe2-4c9c-428b-afdc-84f47609d378 | 2021-02-18T04:56:56.000000 | running | COMPUTE_HOST | a41da0a6-b41e-4e1d-872d-14517fa6865d | {'event': 'STOPPED', 'cluster_status': 'OFFLINE', 'host_status': 'NORMAL'} | | 554c7e55-49a8-46e5-b4c8-e6a0cfbd4628 | 2021-02-18T04:56:55.000000 | running | COMPUTE_HOST | 1a6350ae-f4b2-4c3c-99a0-20a4801b34ff | {'event': 'STOPPED', 'cluster_status': 'OFFLINE', 'host_status': 'NORMAL'} |
$ os segment host list $seg +--------------------------------------+-------------------------------------------------------------------+---------+--------------------+----------+----------------+--------------------------------------+ | uuid | name | type | control_attributes | reserved | on_maintenance | failover_segment_id | +--------------------------------------+-------------------------------------------------------------------+---------+--------------------+----------+----------------+--------------------------------------+ | fcbc74ad-264c-48c8-8070-6a032c1e17ce | compute-server-5 | COMPUTE | SSH | False | True | 92cd125b-daff-4c13-b6a6-584a92528808 | | f975d04f-a345-4ea0-994b-5f014fbd146b | compute-server-4| COMPUTE | SSH | False | True | 92cd125b-daff-4c13-b6a6-584a92528808 | | a41da0a6-b41e-4e1d-872d-14517fa6865d | compute-server-2 | COMPUTE | SSH | False | True | 92cd125b-daff-4c13-b6a6-584a92528808 | | 1a6350ae-f4b2-4c3c-99a0-20a4801b34ff | compute-server-1 | COMPUTE | SSH | False | True | 92cd125b-daff-4c13-b6a6-584a92528808 | | 88eae267-fabc-48d2-b6cc-4acdb6f9b5e2 | compute-server-6 | COMPUTE | SSH | False | True | 92cd125b-daff-4c13-b6a6-584a92528808 | | 7573d928-5a07-4ea2-9d1c-96c7c6fabb19 | compute-server-3 | COMPUTE | SSH | False | True | 92cd125b-daff-4c13-b6a6-584a92528808 | +--------------------------------------+-------------------------------------------------------------------+---------+--------------------+----------+----------------+--------------------------------------+
When trying to update one host to set on_maintenance=False we get
$ os segment host update --on_maintenance=False $seg $host ConflictException: 409: Client Error for url: https://masakari:15868/v1/6261286d9e494b538a118ae2110916cb/segments/92cd125b-daff-4c13-b6a6-584a92528808/hosts/fcbc74ad-264c-48c8-8070-6a032c1e17ce, Host fcbc74ad-264c-48c8-8070-6a032c1e17ce can't be updated as it is in-use to process notifications.
We are still seeing this happening in bionic ussuri
$ os notification list | grep running c3e3-464e- 9b0b-3cedd272fd 4d | 2021-02- 18T04:57: 01.000000 | running | COMPUTE_HOST | 88eae267- fabc-48d2- b6cc-4acdb6f9b5 e2 | {'event': 'STOPPED', 'cluster_status': 'OFFLINE', 'host_status': 'NORMAL'} | 7a7a-4b33- 948e-26d3fb06d8 46 | 2021-02- 18T04:56: 59.000000 | running | COMPUTE_HOST | fcbc74ad- 264c-48c8- 8070-6a032c1e17 ce | {'event': 'STOPPED', 'cluster_status': 'OFFLINE', 'host_status': 'NORMAL'} | dc86-4860- 92b6-5c95bb14f0 81 | 2021-02- 18T04:56: 58.000000 | running | COMPUTE_HOST | f975d04f- a345-4ea0- 994b-5f014fbd14 6b | {'event': 'STOPPED', 'cluster_status': 'OFFLINE', 'host_status': 'NORMAL'} | 0ac5-406b- a71c-3f1e0890a2 f4 | 2021-02- 18T04:56: 57.000000 | running | COMPUTE_HOST | 7573d928- 5a07-4ea2- 9d1c-96c7c6fabb 19 | {'event': 'STOPPED', 'cluster_status': 'OFFLINE', 'host_status': 'NORMAL'} | 4c9c-428b- afdc-84f47609d3 78 | 2021-02- 18T04:56: 56.000000 | running | COMPUTE_HOST | a41da0a6- b41e-4e1d- 872d-14517fa686 5d | {'event': 'STOPPED', 'cluster_status': 'OFFLINE', 'host_status': 'NORMAL'} | 49a8-46e5- b4c8-e6a0cfbd46 28 | 2021-02- 18T04:56: 55.000000 | running | COMPUTE_HOST | 1a6350ae- f4b2-4c3c- 99a0-20a4801b34 ff | {'event': 'STOPPED', 'cluster_status': 'OFFLINE', 'host_status': 'NORMAL'} |
| a5a79aba-
| e1b2b27f-
| 5990a030-
| 4b1b4989-
| b0aedfe2-
| 554c7e55-
$ os segment host list $seg ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- --+---- -----+- ------- ------- -----+- ------- --+---- ------- -----+- ------- ------- ------- ------- ------- --+ ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- --+---- -----+- ------- ------- -----+- ------- --+---- ------- -----+- ------- ------- ------- ------- ------- --+ 264c-48c8- 8070-6a032c1e17 ce | compute-server-5 | COMPUTE | SSH | False | True | 92cd125b- daff-4c13- b6a6-584a925288 08 | a345-4ea0- 994b-5f014fbd14 6b | compute-server-4| COMPUTE | SSH | False | True | 92cd125b- daff-4c13- b6a6-584a925288 08 | b41e-4e1d- 872d-14517fa686 5d | compute-server-2 | COMPUTE | SSH | False | True | 92cd125b- daff-4c13- b6a6-584a925288 08 | f4b2-4c3c- 99a0-20a4801b34 ff | compute-server-1 | COMPUTE | SSH | False | True | 92cd125b- daff-4c13- b6a6-584a925288 08 | fabc-48d2- b6cc-4acdb6f9b5 e2 | compute-server-6 | COMPUTE | SSH | False | True | 92cd125b- daff-4c13- b6a6-584a925288 08 | 5a07-4ea2- 9d1c-96c7c6fabb 19 | compute-server-3 | COMPUTE | SSH | False | True | 92cd125b- daff-4c13- b6a6-584a925288 08 | ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- --+---- -----+- ------- ------- -----+- ------- --+---- ------- -----+- ------- ------- ------- ------- ------- --+
+------
| uuid | name | type | control_attributes | reserved | on_maintenance | failover_segment_id |
+------
| fcbc74ad-
| f975d04f-
| a41da0a6-
| 1a6350ae-
| 88eae267-
| 7573d928-
+------
When trying to update one host to set on_maintenance= False we get
$ os segment host update --on_maintenanc e=False $seg $host /masakari: 15868/v1/ 6261286d9e494b5 38a118ae2110916 cb/segments/ 92cd125b- daff-4c13- b6a6-584a925288 08/hosts/ fcbc74ad- 264c-48c8- 8070-6a032c1e17 ce, Host fcbc74ad- 264c-48c8- 8070-6a032c1e17 ce can't be updated as it is in-use to process notifications.
ConflictException: 409: Client Error for url: https:/