You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Stuart Whitman <sw...@groupw.com.INVALID> on 2023/03/06 16:19:19 UTC

Cannot detach storage volume created by Kubernetes PVC

Hello,

I successfully created a persistent volume claim (PVC) in Kubernetes. When I deleted the PVC, the volume was not deleted, and the management log on the controller had this error: "com.cloud.utils.exception.CloudRuntimeException: Failed to detach volume pvc-0e82d1a8-9af2-40b3-b037-ebcf151febd3 from VM testk8s-node-186b0939378; com.cloud.exception.InternalErrorException: disk: /mnt/cb06f23d-d0cb-3b1d-b0b2-8b64898dde9f/5998e60f-f7b0-4f13-b4fb-13b74eb8aef7 is not attached before"

If I try to detach the volume in the Cloudstack UI, the operation fails with the same error in the log.

Does any know what the problem could be?

Thanks,
-Stu


_____________________________________
The information contained in this e-mail and any attachments from Group W may contain confidential and/or proprietary information and is intended only for the named recipient to whom it was originally addressed. If you are not the intended recipient, be aware that any disclosure, distribution, or copying of this e-mail or its attachments is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately of that fact by return e-mail and permanently delete the e-mail and any attachments to it.

Re: Cannot detach storage volume created by Kubernetes PVC

Posted by Stuart Whitman <sw...@groupw.com.INVALID>.
Hello Wei,

I can do that.

Thanks for responding.

-Stu
________________________________
From: Wei ZHOU <us...@gmail.com>
Sent: Monday, March 6, 2023 11:49 AM
To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
Subject: Re: Cannot detach storage volume created by Kubernetes PVC

Hi Stuart,

Could you file a github issue and provide more details ?


-Wei


On Mon, 6 Mar 2023 at 17:19, Stuart Whitman <sw...@groupw.com.invalid>
wrote:

> Hello,
>
> I successfully created a persistent volume claim (PVC) in Kubernetes. When
> I deleted the PVC, the volume was not deleted, and the management log on
> the controller had this error:
> "com.cloud.utils.exception.CloudRuntimeException: Failed to detach volume
> pvc-0e82d1a8-9af2-40b3-b037-ebcf151febd3 from VM testk8s-node-186b0939378;
> com.cloud.exception.InternalErrorException: disk:
> /mnt/cb06f23d-d0cb-3b1d-b0b2-8b64898dde9f/5998e60f-f7b0-4f13-b4fb-13b74eb8aef7
> is not attached before"
>
> If I try to detach the volume in the Cloudstack UI, the operation fails
> with the same error in the log.
>
> Does any know what the problem could be?
>
> Thanks,
> -Stu
>
>
> _____________________________________
> The information contained in this e-mail and any attachments from Group W
> may contain confidential and/or proprietary information and is intended
> only for the named recipient to whom it was originally addressed. If you
> are not the intended recipient, be aware that any disclosure, distribution,
> or copying of this e-mail or its attachments is strictly prohibited. If you
> have received this e-mail in error, please notify the sender immediately of
> that fact by return e-mail and permanently delete the e-mail and any
> attachments to it.
>
_____________________________________
The information contained in this e-mail and any attachments from Group W may contain confidential and/or proprietary information and is intended only for the named recipient to whom it was originally addressed. If you are not the intended recipient, be aware that any disclosure, distribution, or copying of this e-mail or its attachments is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately of that fact by return e-mail and permanently delete the e-mail and any attachments to it.

Re: Cannot detach storage volume created by Kubernetes PVC

Posted by Wei ZHOU <us...@gmail.com>.
Hi Stuart,

Could you file a github issue and provide more details ?


-Wei


On Mon, 6 Mar 2023 at 17:19, Stuart Whitman <sw...@groupw.com.invalid>
wrote:

> Hello,
>
> I successfully created a persistent volume claim (PVC) in Kubernetes. When
> I deleted the PVC, the volume was not deleted, and the management log on
> the controller had this error:
> "com.cloud.utils.exception.CloudRuntimeException: Failed to detach volume
> pvc-0e82d1a8-9af2-40b3-b037-ebcf151febd3 from VM testk8s-node-186b0939378;
> com.cloud.exception.InternalErrorException: disk:
> /mnt/cb06f23d-d0cb-3b1d-b0b2-8b64898dde9f/5998e60f-f7b0-4f13-b4fb-13b74eb8aef7
> is not attached before"
>
> If I try to detach the volume in the Cloudstack UI, the operation fails
> with the same error in the log.
>
> Does any know what the problem could be?
>
> Thanks,
> -Stu
>
>
> _____________________________________
> The information contained in this e-mail and any attachments from Group W
> may contain confidential and/or proprietary information and is intended
> only for the named recipient to whom it was originally addressed. If you
> are not the intended recipient, be aware that any disclosure, distribution,
> or copying of this e-mail or its attachments is strictly prohibited. If you
> have received this e-mail in error, please notify the sender immediately of
> that fact by return e-mail and permanently delete the e-mail and any
> attachments to it.
>