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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1773765

Title:
  There is a possibility that 'running' notification will remain

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-masakari/+bug/1773765/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to