Keystone supports notifications via oslo.messaging. Included with oslo.messaging notifications is the ability to emit messages using AMQP (e.g., rabbitmq).
Keystone uses notification extensively in its API to signal when resources are modified (creating, updating, or deleting users, projects, domains, role assignments, etc).
If keystone is configured to use AMQP for notifications but the AMQP server isn't reachable, keystone-manage will hang.
Steps to reproduce:
1. install a fresh devstack with keystone and rabbit as enabled services
2. configure keystone to emit messages using the messagingv2 driver
3. shut down rabbit with `systemctl` or put a type in keystone's rabbit connection string
4. restart keystone
5 run keystone-manage bootstrap --bootstrap-password $password
You'd expect keystone-manage to handle connections with rabbit gracefully but it hangs.
Keystone supports notifications via oslo.messaging. Included with oslo.messaging notifications is the ability to emit messages using AMQP (e.g., rabbitmq).
Keystone uses notification extensively in its API to signal when resources are modified (creating, updating, or deleting users, projects, domains, role assignments, etc).
If keystone is configured to use AMQP for notifications but the AMQP server isn't reachable, keystone-manage will hang.
Steps to reproduce:
1. install a fresh devstack with keystone and rabbit as enabled services password $password
2. configure keystone to emit messages using the messagingv2 driver
3. shut down rabbit with `systemctl` or put a type in keystone's rabbit connection string
4. restart keystone
5 run keystone-manage bootstrap --bootstrap-
You'd expect keystone-manage to handle connections with rabbit gracefully but it hangs.
https:/ /pasted. tech/pastes/ 2a87e13e2e9e732 3a93a14419ef6eb f55881621e. raw