Comment 1 for bug 1227942

Revision history for this message
Adam Israel (aisrael) wrote :

To add another point of view to this bug:

I'm attempting to use the wip storage bits, and wanted to catch *-storage-attach, but the window between allocation and that hook being called can be very small. A very hacky workaround is to wrap the command in a tight loop, i.e.,

until juju debug-hooks my-unit/0 data-storage-attach; do
  echo "Waiting for unit to come online..."
done

and then call deploy.

With more storage functionality landing in 1.25, it seems like this might be a good time to re-evaluate the priority of this bug.