Track instance state during slave attach

Bug #1359400 reported by Iccha Sethi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Expired
Undecided
Unassigned

Bug Description

Currently what happens is that the slave goes to state active, and then the slave attach takes place. If the later fails, the instance state changes from ACTIVE to FAILED. This is confusing customer experience seeing their active instance going to failed state. We must set instance to active state only if attach succeeds.

Changed in trove:
assignee: nobody → Peter Stachowski (peterstac)
Changed in trove:
importance: Undecided → Medium
milestone: none → next
Changed in trove:
status: New → Triaged
Changed in trove:
milestone: next → kilo-1
Revision history for this message
Nikhil Manchanda (slicknik) wrote :

Any updates on this?

Changed in trove:
milestone: kilo-1 → kilo-2
Changed in trove:
milestone: kilo-2 → kilo-3
Changed in trove:
milestone: kilo-3 → ongoing
Revision history for this message
Peter Stachowski (peterstac) wrote :

I thought this was going to be fixed with replication v2, however it still seems to be an issue (even though attaching the slave is now part of the create process). I believe it's because it's an asynchronous call. The only way to not have it flip to ACTIVE first is to actually wait until it either finishes or times out. That change might be trivial (I think it will be, but could be wrong). I'll take a look at it from that angle (hopefully within the next day or two).

Revision history for this message
Amrith Kumar (amrith) wrote :

any word on this Peter?

Revision history for this message
Peter Stachowski (peterstac) wrote :

I think this was fixed with the manager refactor in the mitaka cycle. At least I haven't noticed the issue since, so I'll mark it resolved and we can open a new ticket if it happens again.

Changed in trove:
status: Triaged → Won't Fix
importance: Medium → Undecided
milestone: ongoing → none
Revision history for this message
Amrith Kumar (amrith) wrote :

thanks peter, I'm setting this up to expire in 60 days.

Changed in trove:
status: Won't Fix → Incomplete
assignee: Peter Stachowski (peterstac) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack DBaaS (Trove) because there has been no activity for 60 days.]

Changed in trove:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.