Removing a unit of an application with attached storage volumes results in the unit never getting passed 'stopping' state - the volume detachment appears to be blocked:
Machine Unit Storage Id Provider Id Device Size State Message [...] 8 6 b5fd3fd0-e1e4-4336-9184-802ebf88b827 vde 20GiB detaching detaching volume b5fd3fd0-e1e4-4336-9184-802ebf88b827 from server e91554fe-73a8-4262-a18d-20cab54ca57d: failed to delete volume attachment caused by: request (http://10.245.161.158:8774/v2.1/1ab499d2bf994c87a151c339624e9d26/servers/e91554fe-73a8-4262-a18d-20cab54ca57d/os-volume_attachments/b5fd3fd0-e1e4-4336-9184-802ebf88b827) returned unexpected status: 415; error info: {"badMediaType": {"message": "Unsupported Content-Type", "code": 415}} 8 7 29fb717c-114d-4fef-9177-6c62c8c14b20 vdd 20GiB detaching detaching volume 29fb717c-114d-4fef-9177-6c62c8c14b20 from server e91554fe-73a8-4262-a18d-20cab54ca57d: failed to delete volume attachment caused by: request (http://10.245.161.158:8774/v2.1/1ab499d2bf994c87a151c339624e9d26/servers/e91554fe-73a8-4262-a18d-20cab54ca57d/os-volume_attachments/29fb717c-114d-4fef-9177-6c62c8c14b20) returned unexpected status: 415; error info: {"badMediaType": {"message": "Unsupported Content-Type", "code": 415}} 8 8 0dda12b4-0f13-4b0f-80c1-382e663a4389 vdc 20GiB detaching detaching volume 0dda12b4-0f13-4b0f-80c1-382e663a4389 from server e91554fe-73a8-4262-a18d-20cab54ca57d: failed to delete volume attachment caused by: request (http://10.245.161.158:8774/v2.1/1ab499d2bf994c87a151c339624e9d26/servers/e91554fe-73a8-4262-a18d-20cab54ca57d/os-volume_attachments/0dda12b4-0f13-4b0f-80c1-382e663a4389) returned unexpected status: 415; error info: {"badMediaType": {"message": "Unsupported Content-Type", "code": 415}}
I think this is related to the problems with goose identified in bug 1625624.
Removing a unit of an application with attached storage volumes results in the unit never getting passed 'stopping' state - the volume detachment appears to be blocked:
Machine Unit Storage Id Provider Id Device Size State Message e1e4-4336- 9184-802ebf88b8 27 vde 20GiB detaching detaching volume b5fd3fd0- e1e4-4336- 9184-802ebf88b8 27 from server e91554fe- 73a8-4262- a18d-20cab54ca5 7d: failed to delete volume attachment 10.245. 161.158: 8774/v2. 1/1ab499d2bf994 c87a151c339624e 9d26/servers/ e91554fe- 73a8-4262- a18d-20cab54ca5 7d/os-volume_ attachments/ b5fd3fd0- e1e4-4336- 9184-802ebf88b8 27) returned unexpected status: 415; error info: {"badMediaType": {"message": "Unsupported Content-Type", "code": 415}} 114d-4fef- 9177-6c62c8c14b 20 vdd 20GiB detaching detaching volume 29fb717c- 114d-4fef- 9177-6c62c8c14b 20 from server e91554fe- 73a8-4262- a18d-20cab54ca5 7d: failed to delete volume attachment 10.245. 161.158: 8774/v2. 1/1ab499d2bf994 c87a151c339624e 9d26/servers/ e91554fe- 73a8-4262- a18d-20cab54ca5 7d/os-volume_ attachments/ 29fb717c- 114d-4fef- 9177-6c62c8c14b 20) returned unexpected status: 415; error info: {"badMediaType": {"message": "Unsupported Content-Type", "code": 415}} 0f13-4b0f- 80c1-382e663a43 89 vdc 20GiB detaching detaching volume 0dda12b4- 0f13-4b0f- 80c1-382e663a43 89 from server e91554fe- 73a8-4262- a18d-20cab54ca5 7d: failed to delete volume attachment 10.245. 161.158: 8774/v2. 1/1ab499d2bf994 c87a151c339624e 9d26/servers/ e91554fe- 73a8-4262- a18d-20cab54ca5 7d/os-volume_ attachments/ 0dda12b4- 0f13-4b0f- 80c1-382e663a43 89) returned unexpected status: 415; error info: {"badMediaType": {"message": "Unsupported Content-Type", "code": 415}}
[...]
8 6 b5fd3fd0-
caused by: request (http://
8 7 29fb717c-
caused by: request (http://
8 8 0dda12b4-
caused by: request (http://
I think this is related to the problems with goose identified in bug 1625624.