Actions
Bug #12487
openProvisioning with Templates causes new VM to use Template Disk
Status:
New
Priority:
Normal
Assignee:
-
Category:
Compute resources - VMware
Target version:
-
Description
Foreman 1.10 is using a Template's Disk for provisioned VMs disk.
Environment
- Server OS: Ubuntu 14.04
- Foreman: 1.10.0-RC2
- Web Server: Apache + Passenger
- vSphere: 5.0.0
Workflow
- Kick off provision from templates (same with either thin provision or not)
- Foreman Creates and Copies Template's Disk to the correct location on vSphere
- Boots VM using Template's Disk NOT new Disk
- Template is locked because new VM is using the disk
Output
This section contains supporting information.¶
Provision Log
I have attached foreman.log which contains a provision log for the foreman-test-16 host.¶
Foreman Error
The following is the error from foreman in an attempt to provision a 2nd vm.
Failed to create a compute vSphere-PN (VMware) instance foreman-test-11.config.landcareresearch.co.nz: FileLocked: Unable to access file [PN_IBM_SAN_VM02] Ubuntu 14.04.1 Template/Ubuntu 14.04.1 Template.vmdk since it is locked
vSphere
- The tempaltes.jpg file shows the Ubuntu 14.04 Template and that is locked
- wrongdrive.jpg shows that vSphere is using the template disk and not the newly provisioned disk
Files
Actions