host aggregates affecting on_maintenance status of hosts in a failover segment
Bug #1884291 reported by
Syed Mohammad Adnan Karim
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
masakari |
New
|
Undecided
|
Unassigned |
Bug Description
The following was observed in an openstack stein cloud with 37 compute hosts:
Initially there was a single host aggregate called nova that contained all the compute hosts.
Then a failover segment called segment1 with an AUTO recovery method was created.
All 37 hosts were added to segment1 and all the hosts had on_maintenance=
Then 3 host aggregates corresponding to availability zones (AZ1, AZ2, AZ3) were created and the 37 hosts were distributed across the host aggregates as evenly as possible (12, 13, 12).
Then all hosts in segment1 had on_maintenance=
This becomes a problem because then I started running into this bug:
https:/
To post a comment you must log in.
I have tried to reproduce this on a bionic stein deploy but couldn't. Can you take a look at the steps I went through and see of they roughly match what you were doing when you hit the issue ?
Output below repeated in pastebin (https:/ /paste. ubuntu. com/p/hBkzxy8cT 4/):
$ openstack hypervisor list ------- ------- ------- ------- ------- ------- ------- ----+-- ------- ------- -+----- ------- -+----- --+ ------- ------- ------- ------- ------- ------- ------- ----+-- ------- ------- -+----- ------- -+----- --+ zaza-314b3c785b c4-17.project. serverstack | QEMU | 172.20.0.24 | up | zaza-314b3c785b c4-21.project. serverstack | QEMU | 172.20.0.29 | up | zaza-314b3c785b c4-19.project. serverstack | QEMU | 172.20.0.12 | up | zaza-314b3c785b c4-22.project. serverstack | QEMU | 172.20.0.30 | up | zaza-314b3c785b c4-23.project. serverstack | QEMU | 172.20.0.58 | up | zaza-314b3c785b c4-16.project. serverstack | QEMU | 172.20.0.23 | up | zaza-314b3c785b c4-24.project. serverstack | QEMU | 172.20.0.20 | up | zaza-314b3c785b c4-20.project. serverstack | QEMU | 172.20.0.47 | up | zaza-314b3c785b c4-18.project. serverstack | QEMU | 172.20.0.15 | up | ------- ------- ------- ------- ------- ------- ------- ----+-- ------- ------- -+----- ------- -+----- --+ ------- ------- ------- ------- ----+-- ----+-- ------- ----+-- ------- -----+- ------- ------- --+ ------- ------- ------- ------- ----+-- ----+-- ------- ----+-- ------- -----+- ------- ------- --+ 3e09-474. ..
+----+-
| ID | Hypervisor Hostname | Hypervisor Type | Host IP | State |
+----+-
| 1 | juju-d21cc8-
| 2 | juju-d21cc8-
| 3 | juju-d21cc8-
| 4 | juju-d21cc8-
| 5 | juju-d21cc8-
| 6 | juju-d21cc8-
| 7 | juju-d21cc8-
| 8 | juju-d21cc8-
| 9 | juju-d21cc8-
+----+-
$ openstack segment list
+------
| uuid | name | description | service_type | recovery_method |
+------
| b20022ad-