From c54efaeeaacdd938ce2593bda5a3c952ad7c232a Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Wed, 18 Mar 2020 16:54:44 +1100 Subject: [PATCH] launch-node.py : use new(?) image name The "PVHVM" image appears to have disappeared from RAX, replaced with a "Cloud" image. Maybe I haven't looked in the right place, but I can't find any info on if, why or when this was updated. But I started a server with the "Cloud" image and it seems the same as the PVHVM image to me; hdparm showed read speads the same as a older server and dd writes to a file were the same speed (recorded below for posterity). ianw@nb04:~$ dd if=/dev/zero of=testfile bs=1G count=1 oflag=direct 1+0 records in 1+0 records out 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 5.21766 s, 206 MB/s ianw@nb04:~$ sudo hdparm -Tt /dev/xvda /dev/xvda: Timing cached reads: 16428 MB in 1.99 seconds = 8263.05 MB/sec Timing buffered disk reads: 752 MB in 3.00 seconds = 250.65 MB/sec From looking at dmesg it has [ 0.000000] DMI: Xen HVM domU, BIOS 4.1.5 11/28/2013 [ 0.000000] Hypervisor detected: Xen HVM [ 0.000000] Xen version 4.1. [ 0.000000] Xen Platform PCI: I/O protocol version 1 [ 0.000000] Netfront and the Xen platform PCI driver have been compiled for this kernel: unplug emulated NICs. [ 0.000000] Blkfront and the Xen platform PCI driver have been compiled for this kernel: unplug emulated disks. which, if [1] is anything to go by suggests it is in PVHVM mode anyway. tl;dr seems like the image name changed. [1] https://xen-orchestra.com/blog/debian-pvhvm-vs-pv/ Change-Id: I4ff14e7e36f59a9487c32fdc6940e8b8a93459e6 --- launch/launch-node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launch/launch-node.py b/launch/launch-node.py index ae4684d39c..cf6585f2d4 100755 --- a/launch/launch-node.py +++ b/launch/launch-node.py @@ -307,7 +307,7 @@ def main(): parser.add_argument("--flavor", dest="flavor", default='1GB', help="name (or substring) of flavor") parser.add_argument("--image", dest="image", - default="Ubuntu 18.04 LTS (Bionic Beaver) (PVHVM)", + default="Ubuntu 18.04 LTS (Bionic Beaver) (Cloud)", help="image name") parser.add_argument("--environment", dest="environment", help="Puppet environment to use",