labs: Make snapshot names unique

A unique name (across node VMs) for each snapshot will make it easier
for test scripts to restore partially built clusters. The names can
always be changed/improved later, what matter to the scripts is only
that they be unique.

Change-Id: I8d698d0ccca754de2220b563583e3853612d74b7
This commit is contained in:
Roger Luethi 2015-01-23 16:53:18 +01:00
parent d99d206262
commit 6deb3e915a
3 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@
cmd init_node
cmd queue etc_hosts.sh
cmd queue osbash/enable_vagrant_ssh_keys.sh
cmd snapshot_cycle network_configured
cmd snapshot_cycle compute_node_init
cmd queue setup_nova_compute.sh
cmd snapshot_cycle nova-compute_installed
cmd queue setup_neutron_compute.sh
@ -12,5 +12,5 @@ cmd snapshot_cycle compute_node_installed
cmd queue shutdown_controller.sh
cmd boot
cmd wait_for_shutdown -n controller
cmd snapshot -n controller compute_node_installed
cmd snapshot -n controller controller_-_compute_node_installed
cmd boot -n controller

View File

@ -2,7 +2,7 @@
cmd init_node
cmd queue etc_hosts.sh
cmd queue osbash/enable_vagrant_ssh_keys.sh
cmd snapshot_cycle network_configured
cmd snapshot_cycle controller_node_init
cmd queue apt_install_mysql.sh
cmd queue install_rabbitmq.sh
cmd snapshot_cycle pre-openstack_installed

View File

@ -2,12 +2,12 @@
cmd init_node
cmd queue etc_hosts.sh
cmd queue osbash/enable_vagrant_ssh_keys.sh
cmd snapshot_cycle network_configured
cmd snapshot_cycle network_node_init
cmd queue setup_neutron_network.sh
cmd snapshot_cycle network_node_installed
# Take snapshot of changes on controller VM, too
cmd queue shutdown_controller.sh
cmd boot
cmd wait_for_shutdown -n controller
cmd snapshot -n controller network_node_installed
cmd snapshot -n controller controller_-_network_node_installed
cmd boot -n controller