Skip to content
This repository has been archived by the owner on Jan 14, 2020. It is now read-only.

Prevent duplicate VMs #14

Open
schlomo opened this issue Jul 17, 2013 · 0 comments
Open

Prevent duplicate VMs #14

schlomo opened this issue Jul 17, 2013 · 0 comments

Comments

@schlomo
Copy link
Contributor

schlomo commented Jul 17, 2013

Problem

After edbe211 LML checks for duplicate VMs only for VMs that use one of the [dhcp] managed_networks networks. For all other ( static ) networks there is no duplicate VM check at all.

Ideas

Search vSphere API

Search vSphere API for VMs with same name and throw error if it finds more than the one that is currently booting.

Downside of this solution is that it covery only covers duplicate VMs and not the creation of a VM that duplicates the name of a physical machine.

Check master DB

Check in some master DB that should know about all systems, e.g. Config SVN.

Advantage is that it covers conflicts regardless of the type of the system.

Disadvantage is another external dependency.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant