swift storage services can start before databases are rsync'd

Bug #1291433 reported by David Moreau Simard
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
puppet-swift
Triaged
Medium
Unassigned

Bug Description

Relevant logs: http://paste.openstack.org/show/73261/

puppet-swift should probably make sure databases are rsync'd before attempting to start the services.

Revision history for this message
David Moreau Simard (dmsimard) wrote :

For the record, I optimistically tried something like this and it doesn't fix the sequencing:

  anchor{ 'infra::swift::storage_server::begin': }->
  Swift::Ringsync <| |> ->
  Swift::Storage::Server <| |> ->
  anchor{ 'infra::swift::storage_server::end': }

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-swift (master)

Fix proposed to branch: master
Review: https://review.openstack.org/93360

Changed in puppet-swift:
assignee: nobody → David Moreau Simard (dmsimard)
status: New → In Progress
Mathieu Gagné (mgagne)
Changed in puppet-swift:
status: In Progress → Incomplete
Revision history for this message
Mark Kirkwood (mark-kirkwood) wrote :

I've have run into this as well, and solved it in a slightly different way. I am not such if my method is better or worse than the approach outlined above, but it seems clear that we should do something to handle service startup.

Revision history for this message
Matt Fischer (mfisch) wrote :

DMS: Assigning to adam per the puppet midcycle, if thats an issue let me know.

Changed in puppet-swift:
assignee: David Moreau Simard (dmsimard) → Adam Vinsh (adam-vinsh)
status: Incomplete → Triaged
importance: Undecided → Medium
Revision history for this message
David Moreau Simard (dmsimard) wrote :

Feel free to go ahead.

Revision history for this message
Takashi Kajinami (kajinamit) wrote :

Removed assignee because the original patch was abandoned and I don't think he continues working on it.

Changed in puppet-swift:
assignee: Adam Vinsh (adam-vinsh) → nobody
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.