Open scottyeager opened 1 week ago
you cannot use 2 different nodes one for the deployment and one for the vm
you cannot use 2 different nodes one for the deployment and one for the vm
Right, that's a good catch. I don't understand why the node id is specified again on the VM. Wasn't it just derived from the deployment before?
The other case with two separate deployments is really my main concern though.
Right, that's a good catch. I don't understand why the node id is specified again on the VM. Wasn't it just derived from the deployment before?
yes, that's for if we needed to support multiple nodes per one deployment.
I have a set of deployments that includes some zdbs and also a VM. Sometimes I want to tear down the VM and recreate it on another node. I noticed that if the new node is the same as the nodes used for the zdbs then the new VM fails to deploy.
Note that due to #552, these deployments must be created without mycelium.
Here's an example original project in Python:
Now here's the updated project, with the VM moved inside the first deployment:
When I try to apply this, I see this error:
I also tried it with keeping the second deployment and just changing the node id to match the first:
This also fails, but with a different error: