K
K
ksvdon2016-04-20 17:44:56
Jenkins
ksvdon, 2016-04-20 17:44:56

How to properly rollback a VM to a snapshot so that it does not lose connection as a Slave Node?

There are virtual machines, controlled from under Parallels. Before setting up the node, I just did something like this at the beginning of the job:

prlctl snapshot-switch $which_machine --id $snapshot_id;

I rolled back the machine to a clean snapshot and then the tests were launched.
Now, if I do such a feint, I lose the connection with the node and the whole khan, I have to do a reconnect for the node with my hands. In the job settings, I found "Use Snapshots", but neither the id nor the name of the snapshot gave the desired result, the machine did not roll back. Apparently Jenkins doesn't understand how to do it with Parallels... Or I don't understand something. How can such a problem be solved? Roll back the machine to a snapshot and not lose connection with the node?
we have Jenkins + VM on Parallels

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question