You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by pradeep pal <ps...@hotmail.com> on 2021/07/10 09:14:10 UTC

Primary Storage Volume detach issue

Hi,

When i create a vm and attached a DATADISK, after that when we detach this DATADISK, we are getting below error message, can you please help me to rectify this.

Infra Details:
ESXi Hypervisor:  6.7 U3
vCenter: 6.7u3
CloudStack: 4.15.0

2021-07-10 11:43:59,113 INFO  [c.c.h.v.m.DatastoreMO] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) Search file 4b1e297907f14fbaad3b7a5e57ff8793.vmdk on [PROD_VPC_SZ_CLS1_PRIM_VOL1] fcd
2021-07-10 11:43:59,901 INFO  [c.c.h.v.m.DatastoreMO] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) File [PROD_VPC_SZ_CLS1_PRIM_VOL1] fcd/4b1e297907f14fbaad3b7a5e57ff8793.vmdk does not exist on datastore
2021-07-10 11:43:59,903 INFO  [c.c.h.v.m.DatastoreMO] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) Search file 4b1e297907f14fbaad3b7a5e57ff8793.vmdk on [PROD_VPC_SZ_CLS1_PRIM_VOL1]
2021-07-10 11:43:59,938 INFO  [c.c.h.v.m.DatastoreMO] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) File [PROD_VPC_SZ_CLS1_PRIM_VOL1] 4b1e297907f14fbaad3b7a5e57ff8793.vmdk does not exist on datastore

2021-07-10 11:44:03,525 ERROR [c.c.s.r.VmwareStorageProcessor] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) Failed to detach volume: Server returned HTTP response code: 500 for URL: https://10.xx.5.100/folder/i-2-30-VM?dcPath=YTTMTLSZCLDDC01&dsName=PROD_VPC_SZ_CLS1_PRIM_VOL1
java.io.IOException: Server returned HTTP response code: 500 for URL: https://10.xx.5.100/folder/i-2-30-VM?dcPath=YTTMTLSZCLDDC01&dsName=PROD_VPC_SZ_CLS1_PRIM_VOL1


ERROR [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-40:ctx-841f3323 job-539/job-540 ctx-a90238bd) (logid:34cdbaf7) Invocation exception, caused by: com.cloud.utils.exception.CloudRuntimeException: Failed to detach volume 100Gpradeep from VM pp-testvm01
FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":"530","errortext":"Failed to detach volume 100Gpradeep from VM pp-testvm01"}

But when i check volume on vcenter i can able to see attached volume.


[cid:af75051e-d1ee-4121-be66-c1feee27fa76]

Thanks & Regards
Pradeep

Re: Primary Storage Volume detach issue

Posted by Suresh Anaparti <Su...@shapeblue.com>.
Hi Pradeep,

When any disk is detached, it will be moved to 'fcd' folder on that primary storage (for VMware hypervisor). So, in your case, as the DATADISK is located in 'fcd' folder, that means it is detached from the VM.

Regards,
Suresh

On 12/07/21, 11:06 AM, "pradeep pal" <ps...@hotmail.com> wrote:

    Hi Suresh,

    the DATADISK is located in fcd folder, and it is the shared iscsi primary volume.

    Thanks
    Pradeep
    ________________________________
    From: Suresh Anaparti <Su...@shapeblue.com>
    Sent: Monday, July 12, 2021 10:11 AM
    To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
    Subject: Re: Primary Storage Volume detach issue

    Hi Pradeep,

    Can you share some more details.

    Is the path mentioned correctly for DATATDISK in the volumes table, and Are you able to locate the disk “4b1e297907f14fbaad3b7a5e57ff8793.vmdk” (in 'fcd' or VM folder) from the file system? Is the primary storage shared or local.

    Regards,
    Suresh

    From: pradeep pal <ps...@hotmail.com>
    Reply to: "users@cloudstack.apache.org" <us...@cloudstack.apache.org>
    Date: Saturday, 10 July 2021 at 2:44 PM
    To: "users@cloudstack.apache.org" <us...@cloudstack.apache.org>
    Subject: Primary Storage Volume detach issue

    Hi,

    When i create a vm and attached a DATADISK, after that when we detach this DATADISK, we are getting below error message, can you please help me to rectify this.

    Infra Details:
    ESXi Hypervisor:  6.7 U3
    vCenter: 6.7u3
    CloudStack: 4.15.0

    2021-07-10 11:43:59,113 INFO  [c.c.h.v.m.DatastoreMO] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) Search file 4b1e297907f14fbaad3b7a5e57ff8793.vmdk on [PROD_VPC_SZ_CLS1_PRIM_VOL1] fcd
    2021-07-10 11:43:59,901 INFO  [c.c.h.v.m.DatastoreMO] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) File [PROD_VPC_SZ_CLS1_PRIM_VOL1] fcd/4b1e297907f14fbaad3b7a5e57ff8793.vmdk does not exist on datastore
    2021-07-10 11:43:59,903 INFO  [c.c.h.v.m.DatastoreMO] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) Search file 4b1e297907f14fbaad3b7a5e57ff8793.vmdk on [PROD_VPC_SZ_CLS1_PRIM_VOL1]
    2021-07-10 11:43:59,938 INFO  [c.c.h.v.m.DatastoreMO] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) File [PROD_VPC_SZ_CLS1_PRIM_VOL1] 4b1e297907f14fbaad3b7a5e57ff8793.vmdk does not exist on datastore

    2021-07-10 11:44:03,525 ERROR [c.c.s.r.VmwareStorageProcessor] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) Failed to detach volume: Server returned HTTP response code: 500 for URL: https://10.xx.5.100/folder/i-2-30-VM?dcPath=YTTMTLSZCLDDC01&dsName=PROD_VPC_SZ_CLS1_PRIM_VOL1
    java.io.IOException: Server returned HTTP response code: 500 for URL: https://10.xx.5.100/folder/i-2-30-VM?dcPath=YTTMTLSZCLDDC01&dsName=PROD_VPC_SZ_CLS1_PRIM_VOL1


    ERROR [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-40:ctx-841f3323 job-539/job-540 ctx-a90238bd) (logid:34cdbaf7) Invocation exception, caused by: com.cloud.utils.exception.CloudRuntimeException: Failed to detach volume 100Gpradeep from VM pp-testvm01
    FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":"530","errortext":"Failed to detach volume 100Gpradeep from VM pp-testvm01"}

    But when i check volume on vcenter i can able to see attached volume.


    [cid:af75051e-d1ee-4121-be66-c1feee27fa76]

    Thanks & Regards
    Pradeep





 


Re: Primary Storage Volume detach issue

Posted by pradeep pal <ps...@hotmail.com>.
Hi All,

Thanks to all,

Now issue got fix, after install ESXi 6.7 build 17700523.


Thanks
Pradeep
________________________________
From: pradeep pal <ps...@hotmail.com>
Sent: Tuesday, July 13, 2021 11:44 AM
To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
Subject: Re: Primary Storage Volume detach issue

Hi Harikrishna,

I have checked ACS DB syncing with vCenter, everything is working fine. When I detach the volume from the CloudStack VM, it detach the data disk from the vCenter CloudStack VM, but why it is not detach DATADISK from CloudStack UI.

getting below error.

[cid:03337cf2-2217-4939-9314-122f31952cce]

Thanks
Pradeep
________________________________
From: Harikrishna Patnala <Ha...@shapeblue.com>
Sent: Monday, July 12, 2021 2:19 PM
To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
Subject: Re: Primary Storage Volume detach issue

Hi Pradeep,

If the disk is in fcd folder means that the data disk would have already detached. Please check whether the volumes paths and storage pool IDs in CloudStack database are in sync with the location at vCenter.

Regards,
Harikrishna
________________________________
From: pradeep pal <ps...@hotmail.com>
Sent: Monday, July 12, 2021 11:05 AM
To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
Subject: Re: Primary Storage Volume detach issue

Hi Suresh,

the DATADISK is located in fcd folder, and it is the shared iscsi primary volume.

Thanks
Pradeep
________________________________
From: Suresh Anaparti <Su...@shapeblue.com>
Sent: Monday, July 12, 2021 10:11 AM
To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
Subject: Re: Primary Storage Volume detach issue

Hi Pradeep,

Can you share some more details.

Is the path mentioned correctly for DATATDISK in the volumes table, and Are you able to locate the disk “4b1e297907f14fbaad3b7a5e57ff8793.vmdk” (in 'fcd' or VM folder) from the file system? Is the primary storage shared or local.

Regards,
Suresh

From: pradeep pal <ps...@hotmail.com>
Reply to: "users@cloudstack.apache.org" <us...@cloudstack.apache.org>
Date: Saturday, 10 July 2021 at 2:44 PM
To: "users@cloudstack.apache.org" <us...@cloudstack.apache.org>
Subject: Primary Storage Volume detach issue

Hi,

When i create a vm and attached a DATADISK, after that when we detach this DATADISK, we are getting below error message, can you please help me to rectify this.

Infra Details:
ESXi Hypervisor:  6.7 U3
vCenter: 6.7u3
CloudStack: 4.15.0

2021-07-10 11:43:59,113 INFO  [c.c.h.v.m.DatastoreMO] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) Search file 4b1e297907f14fbaad3b7a5e57ff8793.vmdk on [PROD_VPC_SZ_CLS1_PRIM_VOL1] fcd
2021-07-10 11:43:59,901 INFO  [c.c.h.v.m.DatastoreMO] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) File [PROD_VPC_SZ_CLS1_PRIM_VOL1] fcd/4b1e297907f14fbaad3b7a5e57ff8793.vmdk does not exist on datastore
2021-07-10 11:43:59,903 INFO  [c.c.h.v.m.DatastoreMO] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) Search file 4b1e297907f14fbaad3b7a5e57ff8793.vmdk on [PROD_VPC_SZ_CLS1_PRIM_VOL1]
2021-07-10 11:43:59,938 INFO  [c.c.h.v.m.DatastoreMO] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) File [PROD_VPC_SZ_CLS1_PRIM_VOL1] 4b1e297907f14fbaad3b7a5e57ff8793.vmdk does not exist on datastore

2021-07-10 11:44:03,525 ERROR [c.c.s.r.VmwareStorageProcessor] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) Failed to detach volume: Server returned HTTP response code: 500 for URL: https://10.xx.5.100/folder/i-2-30-VM?dcPath=YTTMTLSZCLDDC01&dsName=PROD_VPC_SZ_CLS1_PRIM_VOL1
java.io.IOException: Server returned HTTP response code: 500 for URL: https://10.xx.5.100/folder/i-2-30-VM?dcPath=YTTMTLSZCLDDC01&dsName=PROD_VPC_SZ_CLS1_PRIM_VOL1


ERROR [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-40:ctx-841f3323 job-539/job-540 ctx-a90238bd) (logid:34cdbaf7) Invocation exception, caused by: com.cloud.utils.exception.CloudRuntimeException: Failed to detach volume 100Gpradeep from VM pp-testvm01
FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":"530","errortext":"Failed to detach volume 100Gpradeep from VM pp-testvm01"}

But when i check volume on vcenter i can able to see attached volume.


[cid:af75051e-d1ee-4121-be66-c1feee27fa76]

Thanks & Regards
Pradeep







Re: Primary Storage Volume detach issue

Posted by pradeep pal <ps...@hotmail.com>.
Hi Harikrishna,

I have checked ACS DB syncing with vCenter, everything is working fine. When I detach the volume from the CloudStack VM, it detach the data disk from the vCenter CloudStack VM, but why it is not detach DATADISK from CloudStack UI.

getting below error.

[cid:03337cf2-2217-4939-9314-122f31952cce]

Thanks
Pradeep
________________________________
From: Harikrishna Patnala <Ha...@shapeblue.com>
Sent: Monday, July 12, 2021 2:19 PM
To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
Subject: Re: Primary Storage Volume detach issue

Hi Pradeep,

If the disk is in fcd folder means that the data disk would have already detached. Please check whether the volumes paths and storage pool IDs in CloudStack database are in sync with the location at vCenter.

Regards,
Harikrishna
________________________________
From: pradeep pal <ps...@hotmail.com>
Sent: Monday, July 12, 2021 11:05 AM
To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
Subject: Re: Primary Storage Volume detach issue

Hi Suresh,

the DATADISK is located in fcd folder, and it is the shared iscsi primary volume.

Thanks
Pradeep
________________________________
From: Suresh Anaparti <Su...@shapeblue.com>
Sent: Monday, July 12, 2021 10:11 AM
To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
Subject: Re: Primary Storage Volume detach issue

Hi Pradeep,

Can you share some more details.

Is the path mentioned correctly for DATATDISK in the volumes table, and Are you able to locate the disk �4b1e297907f14fbaad3b7a5e57ff8793.vmdk� (in 'fcd' or VM folder) from the file system? Is the primary storage shared or local.

Regards,
Suresh

From: pradeep pal <ps...@hotmail.com>
Reply to: "users@cloudstack.apache.org" <us...@cloudstack.apache.org>
Date: Saturday, 10 July 2021 at 2:44 PM
To: "users@cloudstack.apache.org" <us...@cloudstack.apache.org>
Subject: Primary Storage Volume detach issue

Hi,

When i create a vm and attached a DATADISK, after that when we detach this DATADISK, we are getting below error message, can you please help me to rectify this.

Infra Details:
ESXi Hypervisor:  6.7 U3
vCenter: 6.7u3
CloudStack: 4.15.0

2021-07-10 11:43:59,113 INFO  [c.c.h.v.m.DatastoreMO] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) Search file 4b1e297907f14fbaad3b7a5e57ff8793.vmdk on [PROD_VPC_SZ_CLS1_PRIM_VOL1] fcd
2021-07-10 11:43:59,901 INFO  [c.c.h.v.m.DatastoreMO] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) File [PROD_VPC_SZ_CLS1_PRIM_VOL1] fcd/4b1e297907f14fbaad3b7a5e57ff8793.vmdk does not exist on datastore
2021-07-10 11:43:59,903 INFO  [c.c.h.v.m.DatastoreMO] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) Search file 4b1e297907f14fbaad3b7a5e57ff8793.vmdk on [PROD_VPC_SZ_CLS1_PRIM_VOL1]
2021-07-10 11:43:59,938 INFO  [c.c.h.v.m.DatastoreMO] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) File [PROD_VPC_SZ_CLS1_PRIM_VOL1] 4b1e297907f14fbaad3b7a5e57ff8793.vmdk does not exist on datastore

2021-07-10 11:44:03,525 ERROR [c.c.s.r.VmwareStorageProcessor] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) Failed to detach volume: Server returned HTTP response code: 500 for URL: https://10.xx.5.100/folder/i-2-30-VM?dcPath=YTTMTLSZCLDDC01&dsName=PROD_VPC_SZ_CLS1_PRIM_VOL1
java.io.IOException: Server returned HTTP response code: 500 for URL: https://10.xx.5.100/folder/i-2-30-VM?dcPath=YTTMTLSZCLDDC01&dsName=PROD_VPC_SZ_CLS1_PRIM_VOL1


ERROR [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-40:ctx-841f3323 job-539/job-540 ctx-a90238bd) (logid:34cdbaf7) Invocation exception, caused by: com.cloud.utils.exception.CloudRuntimeException: Failed to detach volume 100Gpradeep from VM pp-testvm01
FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":"530","errortext":"Failed to detach volume 100Gpradeep from VM pp-testvm01"}

But when i check volume on vcenter i can able to see attached volume.


[cid:af75051e-d1ee-4121-be66-c1feee27fa76]

Thanks & Regards
Pradeep







Re: Primary Storage Volume detach issue

Posted by Andrija Panic <an...@gmail.com>.
(if you open that link in your browser....)


On Mon, 12 Jul 2021 at 18:57, Andrija Panic <an...@gmail.com> wrote:

> I've seen an identical issue on a VERY specific/minor version of vShpere
> 6.5 - if you browser in your browser - will it also return error 500?
> https://10.xx.5.100/folder/i-2-30-VM?dcPath=YTTMTLSZCLDDC01&dsName=PROD_VPC_SZ_CLS1_PRIM_VOL1
>
>
>

-- 

Andrija Panić

Re: Primary Storage Volume detach issue

Posted by Andrija Panic <an...@gmail.com>.
I've seen an identical issue on a VERY specific/minor version of vShpere
6.5 - if you browser in your browser - will it also return error 500?
https://10.xx.5.100/folder/i-2-30-VM?dcPath=YTTMTLSZCLDDC01&dsName=PROD_VPC_SZ_CLS1_PRIM_VOL1

Re: Primary Storage Volume detach issue

Posted by Harikrishna Patnala <Ha...@shapeblue.com>.
Hi Pradeep,

If the disk is in fcd folder means that the data disk would have already detached. Please check whether the volumes paths and storage pool IDs in CloudStack database are in sync with the location at vCenter.

Regards,
Harikrishna
________________________________
From: pradeep pal <ps...@hotmail.com>
Sent: Monday, July 12, 2021 11:05 AM
To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
Subject: Re: Primary Storage Volume detach issue

Hi Suresh,

the DATADISK is located in fcd folder, and it is the shared iscsi primary volume.

Thanks
Pradeep
________________________________
From: Suresh Anaparti <Su...@shapeblue.com>
Sent: Monday, July 12, 2021 10:11 AM
To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
Subject: Re: Primary Storage Volume detach issue

Hi Pradeep,

Can you share some more details.

Is the path mentioned correctly for DATATDISK in the volumes table, and Are you able to locate the disk “4b1e297907f14fbaad3b7a5e57ff8793.vmdk” (in 'fcd' or VM folder) from the file system? Is the primary storage shared or local.

Regards,
Suresh

From: pradeep pal <ps...@hotmail.com>
Reply to: "users@cloudstack.apache.org" <us...@cloudstack.apache.org>
Date: Saturday, 10 July 2021 at 2:44 PM
To: "users@cloudstack.apache.org" <us...@cloudstack.apache.org>
Subject: Primary Storage Volume detach issue

Hi,

When i create a vm and attached a DATADISK, after that when we detach this DATADISK, we are getting below error message, can you please help me to rectify this.

Infra Details:
ESXi Hypervisor:  6.7 U3
vCenter: 6.7u3
CloudStack: 4.15.0

2021-07-10 11:43:59,113 INFO  [c.c.h.v.m.DatastoreMO] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) Search file 4b1e297907f14fbaad3b7a5e57ff8793.vmdk on [PROD_VPC_SZ_CLS1_PRIM_VOL1] fcd
2021-07-10 11:43:59,901 INFO  [c.c.h.v.m.DatastoreMO] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) File [PROD_VPC_SZ_CLS1_PRIM_VOL1] fcd/4b1e297907f14fbaad3b7a5e57ff8793.vmdk does not exist on datastore
2021-07-10 11:43:59,903 INFO  [c.c.h.v.m.DatastoreMO] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) Search file 4b1e297907f14fbaad3b7a5e57ff8793.vmdk on [PROD_VPC_SZ_CLS1_PRIM_VOL1]
2021-07-10 11:43:59,938 INFO  [c.c.h.v.m.DatastoreMO] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) File [PROD_VPC_SZ_CLS1_PRIM_VOL1] 4b1e297907f14fbaad3b7a5e57ff8793.vmdk does not exist on datastore

2021-07-10 11:44:03,525 ERROR [c.c.s.r.VmwareStorageProcessor] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) Failed to detach volume: Server returned HTTP response code: 500 for URL: https://10.xx.5.100/folder/i-2-30-VM?dcPath=YTTMTLSZCLDDC01&dsName=PROD_VPC_SZ_CLS1_PRIM_VOL1
java.io.IOException: Server returned HTTP response code: 500 for URL: https://10.xx.5.100/folder/i-2-30-VM?dcPath=YTTMTLSZCLDDC01&dsName=PROD_VPC_SZ_CLS1_PRIM_VOL1


ERROR [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-40:ctx-841f3323 job-539/job-540 ctx-a90238bd) (logid:34cdbaf7) Invocation exception, caused by: com.cloud.utils.exception.CloudRuntimeException: Failed to detach volume 100Gpradeep from VM pp-testvm01
FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":"530","errortext":"Failed to detach volume 100Gpradeep from VM pp-testvm01"}

But when i check volume on vcenter i can able to see attached volume.


[cid:af75051e-d1ee-4121-be66-c1feee27fa76]

Thanks & Regards
Pradeep




 


Re: Primary Storage Volume detach issue

Posted by pradeep pal <ps...@hotmail.com>.
Hi Suresh,

the DATADISK is located in fcd folder, and it is the shared iscsi primary volume.

Thanks
Pradeep
________________________________
From: Suresh Anaparti <Su...@shapeblue.com>
Sent: Monday, July 12, 2021 10:11 AM
To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
Subject: Re: Primary Storage Volume detach issue

Hi Pradeep,

Can you share some more details.

Is the path mentioned correctly for DATATDISK in the volumes table, and Are you able to locate the disk “4b1e297907f14fbaad3b7a5e57ff8793.vmdk” (in 'fcd' or VM folder) from the file system? Is the primary storage shared or local.

Regards,
Suresh

From: pradeep pal <ps...@hotmail.com>
Reply to: "users@cloudstack.apache.org" <us...@cloudstack.apache.org>
Date: Saturday, 10 July 2021 at 2:44 PM
To: "users@cloudstack.apache.org" <us...@cloudstack.apache.org>
Subject: Primary Storage Volume detach issue

Hi,

When i create a vm and attached a DATADISK, after that when we detach this DATADISK, we are getting below error message, can you please help me to rectify this.

Infra Details:
ESXi Hypervisor:  6.7 U3
vCenter: 6.7u3
CloudStack: 4.15.0

2021-07-10 11:43:59,113 INFO  [c.c.h.v.m.DatastoreMO] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) Search file 4b1e297907f14fbaad3b7a5e57ff8793.vmdk on [PROD_VPC_SZ_CLS1_PRIM_VOL1] fcd
2021-07-10 11:43:59,901 INFO  [c.c.h.v.m.DatastoreMO] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) File [PROD_VPC_SZ_CLS1_PRIM_VOL1] fcd/4b1e297907f14fbaad3b7a5e57ff8793.vmdk does not exist on datastore
2021-07-10 11:43:59,903 INFO  [c.c.h.v.m.DatastoreMO] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) Search file 4b1e297907f14fbaad3b7a5e57ff8793.vmdk on [PROD_VPC_SZ_CLS1_PRIM_VOL1]
2021-07-10 11:43:59,938 INFO  [c.c.h.v.m.DatastoreMO] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) File [PROD_VPC_SZ_CLS1_PRIM_VOL1] 4b1e297907f14fbaad3b7a5e57ff8793.vmdk does not exist on datastore

2021-07-10 11:44:03,525 ERROR [c.c.s.r.VmwareStorageProcessor] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) Failed to detach volume: Server returned HTTP response code: 500 for URL: https://10.xx.5.100/folder/i-2-30-VM?dcPath=YTTMTLSZCLDDC01&dsName=PROD_VPC_SZ_CLS1_PRIM_VOL1
java.io.IOException: Server returned HTTP response code: 500 for URL: https://10.xx.5.100/folder/i-2-30-VM?dcPath=YTTMTLSZCLDDC01&dsName=PROD_VPC_SZ_CLS1_PRIM_VOL1


ERROR [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-40:ctx-841f3323 job-539/job-540 ctx-a90238bd) (logid:34cdbaf7) Invocation exception, caused by: com.cloud.utils.exception.CloudRuntimeException: Failed to detach volume 100Gpradeep from VM pp-testvm01
FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":"530","errortext":"Failed to detach volume 100Gpradeep from VM pp-testvm01"}

But when i check volume on vcenter i can able to see attached volume.


[cid:af75051e-d1ee-4121-be66-c1feee27fa76]

Thanks & Regards
Pradeep




Re: Primary Storage Volume detach issue

Posted by Suresh Anaparti <Su...@shapeblue.com>.
Hi Pradeep,

Can you share some more details.

Is the path mentioned correctly for DATATDISK in the volumes table, and Are you able to locate the disk “4b1e297907f14fbaad3b7a5e57ff8793.vmdk” (in 'fcd' or VM folder) from the file system? Is the primary storage shared or local.

Regards,
Suresh

From: pradeep pal <ps...@hotmail.com>
Reply to: "users@cloudstack.apache.org" <us...@cloudstack.apache.org>
Date: Saturday, 10 July 2021 at 2:44 PM
To: "users@cloudstack.apache.org" <us...@cloudstack.apache.org>
Subject: Primary Storage Volume detach issue

Hi,

When i create a vm and attached a DATADISK, after that when we detach this DATADISK, we are getting below error message, can you please help me to rectify this.

Infra Details:
ESXi Hypervisor:  6.7 U3
vCenter: 6.7u3
CloudStack: 4.15.0

2021-07-10 11:43:59,113 INFO  [c.c.h.v.m.DatastoreMO] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) Search file 4b1e297907f14fbaad3b7a5e57ff8793.vmdk on [PROD_VPC_SZ_CLS1_PRIM_VOL1] fcd
2021-07-10 11:43:59,901 INFO  [c.c.h.v.m.DatastoreMO] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) File [PROD_VPC_SZ_CLS1_PRIM_VOL1] fcd/4b1e297907f14fbaad3b7a5e57ff8793.vmdk does not exist on datastore
2021-07-10 11:43:59,903 INFO  [c.c.h.v.m.DatastoreMO] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) Search file 4b1e297907f14fbaad3b7a5e57ff8793.vmdk on [PROD_VPC_SZ_CLS1_PRIM_VOL1]
2021-07-10 11:43:59,938 INFO  [c.c.h.v.m.DatastoreMO] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) File [PROD_VPC_SZ_CLS1_PRIM_VOL1] 4b1e297907f14fbaad3b7a5e57ff8793.vmdk does not exist on datastore

2021-07-10 11:44:03,525 ERROR [c.c.s.r.VmwareStorageProcessor] (DirectAgent-125:ctx-3364032d 10.xx.5.102, job-539/job-540, cmd: DettachCommand) (logid:34cdbaf7) Failed to detach volume: Server returned HTTP response code: 500 for URL: https://10.xx.5.100/folder/i-2-30-VM?dcPath=YTTMTLSZCLDDC01&dsName=PROD_VPC_SZ_CLS1_PRIM_VOL1
java.io.IOException: Server returned HTTP response code: 500 for URL: https://10.xx.5.100/folder/i-2-30-VM?dcPath=YTTMTLSZCLDDC01&dsName=PROD_VPC_SZ_CLS1_PRIM_VOL1


ERROR [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-40:ctx-841f3323 job-539/job-540 ctx-a90238bd) (logid:34cdbaf7) Invocation exception, caused by: com.cloud.utils.exception.CloudRuntimeException: Failed to detach volume 100Gpradeep from VM pp-testvm01
FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":"530","errortext":"Failed to detach volume 100Gpradeep from VM pp-testvm01"}

But when i check volume on vcenter i can able to see attached volume.


[cid:af75051e-d1ee-4121-be66-c1feee27fa76]

Thanks & Regards
Pradeep