From afa1f66890fa19002c1edaaa2a83f4fa61d33f9d Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Thu, 2 Mar 2017 02:01:39 +0000 Subject: [PATCH] playbooks: roles: bifrost-create-vm-nodes: Reboot VM if boot fails This is another attempt to solve boot problems similar to the following ones: net0: 52:54:00:4a:4e:de using rtl8139 on PCI00:03.0 (open) [Link:up, TX:0 TXE:0 RX:0 RXE:0] Configuring (net0 52:54:00:4a:4e:de)................ Error 0x040ee119 (http://ipxe.org/040ee119) No more network devices No bootable device. If boot fails (according to the BIOS' perception) then we reboot the VM. This will assist in proceeding with normal boot in case of spurious iPXE or DHCP problems. Change-Id: Ibf5ec1a5d858f6e3cd510daefaf999313f4e03fc --- .../bifrost-create-vm-nodes/files/create_vm_nodes-for-role.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/roles/bifrost-create-vm-nodes/files/create_vm_nodes-for-role.sh b/playbooks/roles/bifrost-create-vm-nodes/files/create_vm_nodes-for-role.sh index e4e9ec386..a271006a3 100755 --- a/playbooks/roles/bifrost-create-vm-nodes/files/create_vm_nodes-for-role.sh +++ b/playbooks/roles/bifrost-create-vm-nodes/files/create_vm_nodes-for-role.sh @@ -165,7 +165,7 @@ function create_node { hvm - +