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 <pspa...@hotmail.com>
Sent: Monday, July 12, 2021 11:05 AM
To: users@cloudstack.apache.org <users@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 <suresh.anapa...@shapeblue.com>
Sent: Monday, July 12, 2021 10:11 AM
To: users@cloudstack.apache.org <users@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 <pspa...@hotmail.com>
Reply to: "users@cloudstack.apache.org" <users@cloudstack.apache.org>
Date: Saturday, 10 July 2021 at 2:44 PM
To: "users@cloudstack.apache.org" <users@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




 

Reply via email to