steps to reproduce the issue
ACS created a ConfigDrive ISO and attached to the VM on creation
2024-07-26T07:36:08,710 DEBUG [c.c.a.t.Request] (Work-Job-Executor-22:[ctx-901ad6df, job-185/job-186, ctx-f987f596]) (logid:0f2a1e0f) Seq 3-48413695994248261: Sending { Cmd , MgmtId: 32989425697365, via: 3(s-2-VM), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.HandleConfigDriveIsoCommand":{"isoFile":"configdrive/i-2-24-VM.iso","create":"true","destStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"NFS://10.0.32.4/acs/secondary/pr9346-t10845-vmware-80/pr9346-t10845-vmware-80-sec1","_role":"Image"}},"useHostCacheOnUnsupportedPool":"true","preferHostCache":"false","wait":"0","bypassHostMaintenance":"false"}}] }
2024-07-26T07:36:09,256 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (Work-Job-Executor-22:[ctx-901ad6df, job-185/job-186, ctx-f987f596]) (logid:0f2a1e0f) Details from executing class com.cloud.agent.api.HandleConfigDriveIsoCommand: Successfully saved config drive at secondary storage
ACS delete the ConfigDrive ISO
2024-07-26T08:06:35,901 DEBUG [c.c.a.t.Request] (Work-Job-Executor-23:[ctx-131bbbc2, job-187/job-188, ctx-d832a569]) (logid:451911a4) Seq 3-48413695994248293: Sending { Cmd , MgmtId: 32989425697365, via: 3(s-2-VM), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.HandleConfigDriveIsoCommand":{"isoFile":"configdrive/i-2-24-VM.iso","create":"false","destStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"NFS://10.0.32.4/acs/secondary/pr9346-t10845-vmware-80/pr9346-t10845-vmware-80-sec1","_role":"Image"}},"useHostCacheOnUnsupportedPool":"false","preferHostCache":"false","wait":"0","bypassHostMaintenance":"false"}}] }
However, on vCenter the VM still has the ISO attached, which will causes some problem e.g. during VM snapshotting

ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
OS / ENVIRONMENT
vmware 8.0b
SUMMARY
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
steps to reproduce the issue
create L2 network with ConfigDrive
create a vm on the network
ACS created a ConfigDrive ISO and attached to the VM on creation
ACS delete the ConfigDrive ISO
However, on vCenter the VM still has the ISO attached, which will causes some problem e.g. during VM snapshotting
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
OS / ENVIRONMENT
vmware 8.0b
SUMMARY
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS