Taskmanager "prepare" message is lost if guestagent doesn't create a queue on time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack DBaaS (Trove) |
Expired
|
Medium
|
Unassigned |
Bug Description
It seems like there is a race in the instance creating process.
1. Taskmanager is sending request to Nova to create a VM instance.
2. Right after Nova's response, taskmanager sending "prepare" message to the guestagent.
Meantime in parallel between steps 1 and 2, Trove guest agent is booting and creating a queue I mentioned above.
The problem is that if taskmanager(
For example, according to RabbitMQ dosumentation:
"Next, before sending we need to make sure the recipient queue exists. If we send a message to non-existing location, RabbitMQ will just trash the message."
Changed in trove: | |
assignee: | nobody → Sergey Gotliv (sgotliv) |
Changed in trove: | |
status: | New → Confirmed |
importance: | Undecided → High |
milestone: | none → kilo-1 |
Changed in trove: | |
milestone: | kilo-1 → next |
Updating importance to "Medium" (bugscrub, 2014-10-23)