VMware image clone strategy settings and defaults
The VMwareAPI driver code currently spawns all virtual machines copying the disks using a linked-clone strategy. The VMwareAPI also offers a "full clone" strategy.
1. We would like to offer an administrator the ability to pick which strategy fits their environment best. (as a default)
2. The best behavior may be different for different classes of instance it would be nice to allow an instance flavor to control its own clone strategy
see: https:/
In math terms, I need to allow instance to override image to override global config. That is i vs g vs c. I for instance. G for glance. C for Config.
So, I need i=False vs g=True vs c=True to be False.
But I need i=True vs g=False vs c=False to be True
So basic boolean math won't cover it.
Blueprint information
- Status:
- Complete
- Approver:
- Russell Bryant
- Priority:
- Medium
- Drafter:
- Shawn Hartsock
- Direction:
- Approved
- Assignee:
- Shawn Hartsock
- Definition:
- Approved
- Series goal:
- Accepted for havana
- Implementation:
- Implemented
- Milestone target:
- 2013.2
- Started by
- Shawn Hartsock
- Completed by
- Russell Bryant
Related branches
Related bugs
Sprints
Whiteboard
Possible relationship to blueprint improve-
The blueprint improve-
mechanism for an admin to configure "full-clone" as the default for an instance and provide a
way for the re-size methods to determine if they can successfully complete their operations on
a VMDK or not!
These commands now decide whether an image is linked cloned or full cloned.
$ glance image-create --name DebianFullClone --is-public=True --container-
$ glance image-create --name DebianLinkedClone --is-public=True --container-
Gerrit topic: https:/
Addressed by: https:/
VMware image clone strategy settings and defaults.
Addressed by: https:/
VMware image clone strategy settings and defaults.