diff options
| author | Joe Gordon <jogo@cloudscaling.com> | 2013-03-08 02:17:22 +0000 |
|---|---|---|
| committer | Joe Gordon <jogo@cloudscaling.com> | 2013-03-18 14:38:19 -0700 |
| commit | 84b73cf3d46200fef6521d79c8aa59ccb7a96224 (patch) | |
| tree | de6e7d4a13143794f5ba0b81eddebb5451ea4a43 /tools | |
| parent | 2d7b7a10b672ede6aa04b42b2efce24c6459f699 (diff) | |
Prevent volume-attach/detach from instances in rescue state
Rescue is supposed to just be a way to log into a wayward instance
if something goes wrong with the base image that may have had some data
(logfiles etc.) and make it possible to grab that - block devices are
assumed to be accessible by re-attaching them, and are considered
persistant so no need for rescue there.
Since there is no need to attach a volume in rescue mode, and detaching a
volume that was previously attached doesn't work, just ban volume
attach/detach in rescue state.
Fixes bug 1126187
Change-Id: Ifdf164155942cdeb2bbdfcd1dce0dd2e125b507c
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
