ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
N/A
OS / ENVIRONMENT
ESXi 6.5
CentOS7
SUMMARY
This bug report actually has 2 root cause that solving each of them can solve the bug.
-
Based on design document of ConfigDrive feature, the iso should be mounted on 2nd cdrom drive of VM but CS don't even create it.
-
When user tries to attach an ISO to the created VM, CloudStack tries to replace the ISOs but don't answer the esxi question about unmounting iso, so the operation fails.
STEPS TO REPRODUCE
Create a network with ConfigDrive as userdata
Create a VM attached to that network and start it
Attach an ISO to the VM
EXPECTED RESULTS
CloudStack creates the 2nd cdrom drive for VM and mount ConfigDrive ISO on it
or
CloudStack answer the question of ESXi about unmounting ConfigDrive ISO
ACTUAL RESULTS
CloudStack tries to unmount ConfigDrive iso but leave the esxi question unanswered so operation fails.
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
N/A
OS / ENVIRONMENT
ESXi 6.5
CentOS7
SUMMARY
This bug report actually has 2 root cause that solving each of them can solve the bug.
Based on design document of ConfigDrive feature, the iso should be mounted on 2nd cdrom drive of VM but CS don't even create it.
When user tries to attach an ISO to the created VM, CloudStack tries to replace the ISOs but don't answer the esxi question about unmounting iso, so the operation fails.
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS