$ sudo apt -y -q install qemu-kvm libvirt-daemon-system libvirt-clients # qemu-system-s390x ... $ sudo chmod +r /var/lib/libvirt/images/ $ $ sudo wget https://cloud-images.ubuntu.com/disco/current/disco-server-cloudimg-s390x.img --directory-prefix=/var/lib/libvirt/images erver-cloudimg-s390x.img --directory-prefix=/var/lib/libvirt/images --2019-04-15 06:54:13-- https://cloud-images.ubuntu.com/disco/current/disco-server-cloudimg-s390x.img Resolving cloud-images.ubuntu.com (cloud-images.ubuntu.com)... 2001:67c:1360:8c01::8001, 91.189.92.141 Connecting to cloud-images.ubuntu.com (cloud-images.ubuntu.com)|2001:67c:1360:8c01::8001|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 446038016 (425M) [application/octet-stream] Saving to: ‘/var/lib/libvirt/images/disco-server-cloudimg-s390x.img’ disco-server-cloudi 100%[===================>] 425.38M 45.6MB/s in 13s 2019-04-15 06:54:26 (33.7 MB/s) - ‘/var/lib/libvirt/images/disco-server-cloudimg-s390x.img’ saved [446038016/446038016] $ $ ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/home/ubuntu/.ssh/id_rsa): Created directory '/home/ubuntu/.ssh'. Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/ubuntu/.ssh/id_rsa. Your public key has been saved in /home/ubuntu/.ssh/id_rsa.pub. The key fingerprint is: SHA256:eJnE74biC+t38cLMPhWVawf6m940INrOTCBP+nJOiNE ubuntu@server The key's randomart image is: +---[RSA 2048]----+ | . | | . + | | o o o | | . o +o o . | | . E S o+.. | | o B.*.... | | o ++=+= oo | | +o+O*. oo . | | .o.oB+o+.. . | +----[SHA256]-----+ $ cat ~/.ssh/id_rsa.pub ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC0zFQvU1Ln6yKk4RcXalgzLKAyoR3ty9LoaO974RGLoVLeoW9e6Dk8Rkc9uVD5a5BPUwXrAXZGUdoPT7pDXrr2R2D+IZ13rCEHO7sYaM5jV8AT0U1lfqEe3YB+M+SOq04VN0E1u0qF9oN4wJsPbwJTk7Vi5o1dta7HZWWgyabYk+hsjXRcg79lJNHVqOyMKVOUwVqfP/kJQwbVsAPQh/6NFVY8h35TJAKjTn/ETXX7vtF4N1NXr7+kCB0Vet/3xbJ9ujNPid9rXAbBWQH8jMIrQrtccmHgs4ctRh8T53WWN6AOFruHgLj/K/qiJpUTaMMqFJGDVFi57abYN+5IWdjJ ubuntu@server $ sudo vi /var/lib/libvirt/images/cloud-image-meta-data.xml $ cat /var/lib/libvirt/images/cloud-image-meta-data.xml #cloud-config password: chpasswd: { expire: False } ssh_pwauth: True ssh_authorized_keys: - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC0zFQvU1Ln6yKk4RcXalgzLKAyoR3ty9LoaO974RGLoVLeoW9e6Dk8Rkc9uVD5a5BPUwXrAXZGUdoPT7pDXrr2R2D+IZ13rCEHO7sYaM5jV8AT0U1lfqEe3YB+M+SOq04VN0E1u0qF9oN4wJsPbwJTk7Vi5o1dta7HZWWgyabYk+hsjXRcg79lJNHVqOyMKVOUwVqfP/kJQwbVsAPQh/6NFVY8h35TJAKjTn/ETXX7vtF4N1NXr7+kCB0Vet/3xbJ9ujNPid9rXAbBWQH8jMIrQrtccmHgs4ctRh8T53WWN6AOFruHgLj/K/qiJpUTaMMqFJGDVFi57abYN+5IWdjJ ubuntu@server $ $ sudo apt -y -q install cloud-image-utils ... $ sudo cloud-localds --verbose -H ubu-vm-01 /var/lib/libvirt/images/cloud-image-meta-data.img /var/lib/libvirt/images/cloud-image-meta-data.xml wrote cloud-image-meta-data.img with filesystem=iso9660 and diskformat=raw $ sudo qemu-img create -f qcow2 /var/lib/libvirt/images/ubu-vm-01.qcow2 5G Formatting '/var/lib/libvirt/images/ubu-vm-01.qcow2', fmt=qcow2 size=5368709120 cluster_size=65536 lazy_refcounts=off refcount_bits=16 $ qemu-img info /var/lib/libvirt/images/ubu-vm-01.qcow2 image: /var/lib/libvirt/images/ubu-vm-01.qcow2 file format: qcow2 virtual size: 5.0G (5368709120 bytes) disk size: 196K cluster_size: 65536 Format specific information: compat: 1.1 lazy refcounts: false refcount bits: 16 corrupt: false $ ls -lA /var/lib/libvirt/images/ total 436156 -rw-r--r-- 1 root root 374784 Apr 15 06:57 cloud-image-meta-data.img -rw-r--r-- 1 root root 498 Apr 15 06:55 cloud-image-meta-data.xml -rw-r--r-- 1 root root 446038016 Apr 12 11:38 disco-server-cloudimg-s390x.img -rw-r--r-- 1 root root 196688 Apr 15 06:57 ubu-vm-01.qcow2 $ sudo qemu-system-s390x -name ubu-vm-01 -m 4096 -nographic -drive file=/var/lib/libvirt/images/disco-server-cloudimg-s390x.img,format=qcow2 -drive file=/var/lib/libvirt/images/cloud-image-meta-data.img -drive file=/var/lib/libvirt/images/ubu-vm-01.qcow2,format=raw WARNING: Image format was not specified for '/var/lib/libvirt/images/cloud-image-meta-data.img' and probing guessed raw. Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted. Specify the 'raw' format explicitly to remove the restrictions. LOADPARM=[ ] Using virtio-blk. Using SCSI scheme. .... [ 1.480208] Linux version 5.0.0-8-generic (buildd@bos02-s390x-012) (gcc version 8.3.0 (Ubuntu 8.3.0-2ubuntu2)) #9-Ubuntu SMP Tue Mar 12 21:57:17 UTC 2019 (Ubuntu 5.0.0-8.9-generic 5.0.1) [ 1.481395] setup.289988: Linux is running under KVM in 64-bit mode [ 1.482641] setup.b050d0: The maximum memory size is 4096MB [ 1.484030] numa.196305: NUMA mode: plain [ 1.484782] cpu.33a262: 1 configured CPUs, 0 standby CPUs [ 1.569174] Write protected kernel read-only data: 10732k [ 1.638841] Zone ranges: [ 1.639974] DMA [mem 0x0000000000000000-0x000000007fffffff] [ 1.640313] Normal [mem 0x0000000080000000-0x00000000ffffffff] [ 1.640336] Movable zone start for each node [ 1.640370] Early memory node ranges [ 1.640470] node 0: [mem 0x0000000000000000-0x00000000ffffffff] [ 1.640839] Initmem setup node 0 [mem 0x0000000000000000-0x00000000ffffffff] [ 1.920254] percpu: Embedded 25 pages/cpu @(____ptrval____) s62208 r8192 d32000 u102400 [ 1.922324] Built 1 zonelists, mobility grouping on. Total pages: 1032192 [ 1.922346] Policy zone: Normal [ 1.922517] Kernel command line: root=LABEL=cloudimg-rootfs [ 1.980171] Memory: 4090936K/4194304K available (8324K kernel code, 1102K rwdata, 2404K rodata, 1008K init, 780K bss, 103368K reserved, 0K cma-reserved) [ 1.980773] random: get_random_u64 called from kmem_cache_open+0x4c/0x4e8 with crng_init=0 [ 1.986749] SLUB: HWalign=256, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 1.986888] ftrace: allocating 28019 entries in 110 pages [ 2.779736] rcu: Hierarchical RCU implementation. [ 2.779871] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=1. [ 2.779956] Tasks RCU enabled. [ 2.780008] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 2.780041] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1 [ 2.799335] NR_IRQS: 3, nr_irqs: 3, preallocated irqs: 3 [ 2.801565] clocksource: tod: mask: 0xffffffffffffffff max_cycles: 0x3b0a9be803b0a9, max_idle_ns: 1805497147909793 ns [ 2.804674] Console: colour dummy device 80x25 [ 2.819875] printk: console [ttyS1] enabled [ 2.821299] pid_max: default: 32768 minimum: 301 [ 2.822855] LSM: Security Framework initializing [ 2.823002] Yama: becoming mindful. [ 2.825252] AppArmor: AppArmor initialized [ 2.830878] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) [ 2.833148] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 2.833439] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) [ 2.833540] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes) [ 2.860494] rcu: Hierarchical SRCU implementation. [ 2.867567] smp: Bringing up secondary CPUs ... [ 2.867641] smp: Brought up 1 node, 1 CPU [ 2.883167] devtmpfs: initialized [ 2.892734] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 2.892971] futex hash table entries: 256 (order: 4, 65536 bytes) [ 2.901875] NET: Registered protocol family 16 [ 2.903847] audit: initializing netlink subsys (disabled) [ 2.907095] Spectre V2 mitigation: execute trampolines [ 2.912347] audit: type=2000 audit(1555326012.720:1): state=initialized audit_enabled=0 res=1 [ 2.935375] SCSI subsystem initialized [ 2.944066] NetLabel: Initializing [ 2.944097] NetLabel: domain hash size = 128 [ 2.944114] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 2.945521] NetLabel: unlabeled traffic allowed by default [ 3.416594] VFS: Disk quotas dquot_6.6.0 [ 3.416843] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 3.418158] hugetlbfs: disabling because there are no supported hugepage sizes [ 3.420454] AppArmor: AppArmor Filesystem Enabled [ 3.454579] NET: Registered protocol family 2 [ 3.459274] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes) [ 3.459585] TCP established hash table entries: 32768 (order: 6, 262144 bytes) [ 3.460228] TCP bind hash table entries: 32768 (order: 7, 524288 bytes) [ 3.460560] TCP: Hash tables configured (established 32768 bind 32768) [ 3.461632] UDP hash table entries: 2048 (order: 4, 65536 bytes) [ 3.461900] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes) [ 3.463355] NET: Registered protocol family 1 [ 3.463598] NET: Registered protocol family 44 [ 3.467096] Unpacking initramfs... [ 4.501918] Freeing initrd memory: 14988K [ 4.505453] kvm-s390.0287fc: SIE not available [ 4.505748] hypfs.7f5705: The hardware system does not support hypfs [ 4.506878] hypfs.7a79f0: Initialization of hypfs failed with rc=-61 [ 4.513258] Initialise system trusted keyrings [ 4.514367] Key type blacklist registered [ 4.515317] workingset: timestamp_bits=42 max_order=20 bucket_order=0 [ 4.535500] zbud: loaded [ 4.544048] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 4.547295] fuse init (API version 7.28) [ 5.212158] random: fast init done [ 5.951119] Key type asymmetric registered [ 5.951203] Asymmetric key parser 'x509' registered [ 5.951505] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) [ 5.952331] io scheduler mq-deadline registered [ 5.956148] hvc_iucv.691dff: The z/VM IUCV HVC device driver cannot be used without z/VM [ 5.983678] loop: module loaded [ 5.984910] tun: Universal TUN/TAP device driver, 1.6 [ 5.986724] device-mapper: uevent: version 1.0.3 [ 5.987821] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised: dm-devel@redhat.com [ 5.988425] cio.b5d5f6: Channel measurement facility initialized using format extended (mode autodetected) [ 5.990380] sclp_sd.ef2911: Store Data request failed (eq=2, di=3, response=0x40f0, flags=0x00, status=0, rc=-5) [ 5.991211] ap.3677f7: The hardware system does not support AP instructions [ 5.993873] NET: Registered protocol family 10 [ 6.200378] Segment Routing with IPv6 [ 6.200900] NET: Registered protocol family 17 [ 6.201657] Key type dns_resolver registered [ 6.204259] registered taskstats version 1 [ 6.204426] Loading compiled-in X.509 certificates [ 6.249901] Loaded X.509 cert 'Build time autogenerated kernel key: b66069c3db462f90da2a16424049d78cf5a4b172' [ 6.250723] zswap: loaded using pool lzo/zbud [ 6.448283] Key type big_key registered [ 6.448386] Key type trusted registered [ 6.546460] Key type encrypted registered [ 6.546546] AppArmor: AppArmor sha1 policy hashing enabled [ 6.546874] ima: No TPM chip found, activating TPM-bypass! [ 6.547008] ima: Allocated hash algorithm: sha1 [ 6.548025] No architecture policies found [ 6.548323] evm: Initialising EVM extended attributes: [ 6.548344] evm: security.selinux [ 6.548366] evm: security.SMACK64 [ 6.548379] evm: security.SMACK64EXEC [ 6.548392] evm: security.SMACK64TRANSMUTE [ 6.548405] evm: security.SMACK64MMAP [ 6.548418] evm: security.apparmor [ 6.548430] evm: security.ima [ 6.548443] evm: security.capability [ 6.548463] evm: HMAC attrs: 0x1 [ 6.877198] Freeing unused kernel memory: 1008K [ 6.878558] Write protected read-only-after-init data: 84k [ 6.878638] Run /init as init process Loading, please wait... Starting version 240 [ 7.349203] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 7.386592] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 7.387157] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 8.139742] virtio_blk virtio1: [vda] 4612096 512-byte logical blocks (2.36 GB/2.20 GiB) [ 8.219484] vda: vda1 [ 8.230697] virtio_blk virtio2: [vdb] 732 512-byte logical blocks (375 kB/366 KiB) [ 8.261465] virtio_blk virtio3: [vdc] 385 512-byte logical blocks (197 kB/193 KiB) [ 9.074951] virtio_net virtio0 enc0: renamed from eth0 Begin: Starting firmware auto-configuration ... done. Begin: Loading essential drivers ... [ 14.292548] raid6: int64x8 gen() 132 MB/s [ 14.412278] raid6: int64x8 xor() 110 MB/s [ 14.532073] raid6: int64x4 gen() 913 MB/s [ 14.652063] raid6: int64x4 xor() 541 MB/s [ 212.585451] rcu: INFO: rcu_sched detected stalls on CPUs/tasks: [ 212.585607] rcu: (detected by 0, t=19841 jiffies, g=3745, q=23) [ 212.585700] rcu: All QSes seen, last rcu_sched kthread activity 19841 (4294958274-4294938433), jiffies_till_next_fqs=1, root ->qsmask 0x0 [ 212.585801] modprobe R running task 0 273 263 0x00000004 [ 212.585927] Call Trace: [ 212.586318] ([<000003ff8008f500>] raid6_gfmul+0x6000/0xffffffffffffcb00 [raid6_pq]) [ 212.586452] rcu: rcu_sched kthread starved for 19841 jiffies! g3745 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0 [ 212.586473] rcu: RCU grace-period kthread stack dump: [ 212.586491] rcu_sched R running task 0 11 2 0x00000000 [ 212.586517] Call Trace: [ 212.586554] ([<0000000000918268>] __schedule+0x468/0x8e8) [ 212.586584] [<000000000091872a>] schedule+0x42/0xa0 [ 212.586612] [<000000000091c2b6>] schedule_timeout+0x1c6/0x458 [ 212.586637] [<00000000001eee5e>] rcu_gp_kthread+0x336/0x680 [ 212.586661] [<00000000001946e4>] kthread+0x144/0x160 [ 212.586682] [<000000000091d3d2>] kernel_thread_starter+0xa/0x10 [ 212.586720] [<000000000091d3c8>] kernel_thread_starter+0x0/0x10 [ 212.587949] raid6: int64x2 gen() 1950878 MB/s [ 212.702145] raid6: int64x2 xor() 518 MB/s [ 212.822134] raid6: int64x1 gen() 895 MB/s [ 212.942152] raid6: int64x1 xor() 316 MB/s [ 212.942229] raid6: using algorithm int64x2 gen() 1950878 MB/s [ 212.942259] raid6: .... xor() 518 MB/s, rmw enabled [ 212.942333] raid6: using s390xc recovery algorithm [ 212.956150] xor: automatically using best checksumming function xc done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... [ 213.798204] Btrfs loaded, crc32c=crc32c-generic Scanning for Btrfs filesystems done. Warning: fsck not present, so skipping root file system [ 214.257705] EXT4-fs (vda1): mounted filesystem with ordered data mode. Opts: (null) done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. [ 215.666690] systemd[1]: systemd 240 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid) [ 215.668941] systemd[1]: Detected virtualization kvm. [ 215.669105] systemd[1]: Detected architecture s390x. Welcome to Ubuntu Disco Dingo (development branch)! [ 215.740219] systemd[1]: Set hostname to . [ 215.745113] systemd[1]: Initializing machine ID from random generator. [ 215.746200] systemd[1]: Installed transient /etc/machine-id file. [ 218.785178] systemd[349]: /usr/lib/systemd/system-generators/s390-cpi-vars failed with exit status 1. [ 219.396535] systemd[1]: Created slice system-serial\x2dgetty.slice. [ OK ] Created slice system-serial\x2dgetty.slice. [ 219.400714] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ OK ] Started Forward Password R…uests to Wall Directory Watch. [ 219.405975] systemd[1]: Listening on Journal Socket (/dev/log). [ OK ] Listening on Journal Socket (/dev/log). [ OK ] Listening on initctl Compatibility Named Pipe. [ OK ] Listening on Journal Audit Socket. [ OK ] Listening on Network Service Netlink Socket. [ OK ] Listening on LVM2 metadata daemon socket. [ OK ] Set up automount Arbitrary…s File System Automount Point. [ OK ] Reached target User and Group Name Lookups. [ OK ] Listening on udev Control Socket. [ OK ] Listening on udev Kernel Socket. [ OK ] Listening on Journal Socket. Mounting Kernel Debug File System... Starting Load Kernel Modules... Starting Set the console keyboard layout... Starting Uncomplicated firewall... [ 221.280955] systemd[1]: Starting Remount Root and Kernel File Systems... Starting Remount Root and Kernel File Systems... [ 221.691579] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped. [ 221.750218] systemd[1]: Mounting POSIX Message Queue File System... Mounting POSIX Message Queue File System... [ 221.784080] systemd[1]: Listening on LVM2 poll daemon socket. [ OK ] Listening on LVM2 poll daemon socket. [ 222.306665] systemd[1]: Starting udev Coldplug all Devices... [ 222.833916] Loading iSCSI transport class v2.0-870. Starting udev Coldplug all Devices... [ 222.919983] systemd[1]: Reached target Swap. [ OK ] Reached target Swap. [ 222.923243] systemd[1]: Listening on Syslog Socket. [ OK ] Listening on Syslog Socket. [ 223.415540] systemd[1]: Starting Journal Service... Starting Journal Service... [ 223.427446] systemd[1]: Condition check resulted in Huge Pages File System being skipped. [ 223.429095] systemd[1]: Listening on Device-mapper event daemon FIFOs. [ OK ] Listening on Device-mapper event daemon FIFOs. Starting Monitoring of LVM…meventd or progress polling... [ OK ] Created slice User and Session Slice. [ OK ] Reached target Slices. [ 223.645467] iscsi: registered transport (tcp) Starting Create list of re…odes for the current kernel... [ OK ] Mounted Kernel Debug File System. [ OK ] Started Uncomplicated firewall. [ 224.736572] EXT4-fs (vda1): re-mounted. Opts: (null) [ OK ] Started Create list of req… nodes for the current kernel. [ OK ] Started Remount Root and Kernel File Systems. [ OK ] Started Journal Service. [ 224.948395] iscsi: registered transport (iser) [ OK ] Mounted POSIX Message Queue File System. Starting Load/Save Random Seed... Starting Initial cloud-init job (pre-networking)... Starting Flush Journal to Persistent Storage... Starting Create System Users... [ OK ] Started Load Kernel Modules. [ OK ] Started Load/Save Random Seed. Mounting FUSE Control File System... Starting Apply Kernel Variables... Mounting Kernel Configuration File System... [ OK ] Started Create System Users. [ OK ] Mounted FUSE Control File System. [ OK ] Started Apply Kernel Variables. [ OK ] Mounted Kernel Configuration File System. Starting Create Static Device Nodes in /dev... [ OK ] Started Flush Journal to Persistent Storage. [ OK ] Started Create Static Device Nodes in /dev. Starting udev Kernel Device Manager... [ OK ] Started Set the console keyboard layout. [ OK ] Started udev Kernel Device Manager. [ OK ] Started udev Coldplug all Devices. [ OK ] Started Dispatch Password …ts to Console Directory Watch. [ OK ] Reached target Local Encrypted Volumes. Starting udev Wait for Complete Device Initialization... [ OK ] Found device /dev/ttysclp0. [ OK ] Started udev Wait for Complete Device Initialization. Starting Device-Mapper Multipath Device Controller... [ OK ] Started Device-Mapper Multipath Device Controller. [ OK ] Started LVM2 metadata daemon. [ OK ] Started Monitoring of LVM2… dmeventd or progress polling. [ OK ] Reached target Local File Systems (Pre). [ OK ] Reached target Local File Systems. Starting Load AppArmor profiles... Starting Create final runt…dir for shutdown pivot root... Starting Set console font and keymap... Starting Create Volatile Files and Directories... Starting Commit a transient machine-id on disk... Starting Tell Plymouth To Write Out Runtime Data... Starting Apply Control Program Identification (CPI)... [ OK ] Started Create final runtime dir for shutdown pivot root. [ OK ] Started Tell Plymouth To Write Out Runtime Data. [ OK ] Started Set console font and keymap. [ OK ] Started Commit a transient machine-id on disk. [ OK ] Started Create Volatile Files and Directories. Starting Network Time Synchronization... Starting Update UTMP about System Boot/Shutdown... [ OK ] Started Update UTMP about System Boot/Shutdown. [ OK ] Started Apply Control Program Identification (CPI). [ OK ] Started Network Time Synchronization. [ OK ] Reached target System Time Synchronized. [ 252.838961] cloud-init[409]: Cloud-init v. 18.5-62-g6322c2dd-0ubuntu1 running 'init-local' at Mon, 15 Apr 2019 11:04:10 +0000. Up 240.62 seconds. [ OK ] Started Initial cloud-init job (pre-networking). [ OK ] Reached target Network (Pre). Starting Network Service... [ OK ] Started Network Service. Starting Wait for Network to be Configured... Starting Network Name Resolution... [ OK ] Started Network Name Resolution. [ OK ] Reached target Network. [ OK ] Reached target Host and Network Name Lookups. [ OK ] Started Wait for Network to be Configured. Starting Initial cloud-ini… (metadata service crawler)... [ OK ] Started Load AppArmor profiles. [ 263.941539] cloud-init[556]: Cloud-init v. 18.5-62-g6322c2dd-0ubuntu1 running 'init' at Mon, 15 Apr 2019 11:04:31 +0000. Up 261.88 seconds. [ 263.954615] cloud-init[556]: ci-info: ++++++++++++++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++++++++++++ [ 263.955898] cloud-init[556]: ci-info: +--------+------+----------------------------+---------------+--------+-------------------+ [ 263.957096] cloud-init[556]: ci-info: | Device | Up | Address | Mask | Scope | Hw-Address | [ 263.958291] cloud-init[556]: ci-info: +--------+------+----------------------------+---------------+--------+-------------------+ [ 263.959424] cloud-init[556]: ci-info: | enc0 | True | 10.0.2.15 | 255.255.255.0 | global | 52:54:00:12:34:56 | [ 263.960682] cloud-init[556]: ci-info: | enc0 | True | fec0::5054:ff:fe12:3456/64 | . | site | 52:54:00:12:34:56 | [ 263.962815] cloud-init[556]: ci-info: | enc0 | True | fe80::5054:ff:fe12:3456/64 | . | link | 52:54:00:12:34:56 | [ 263.970921] cloud-init[556]: ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . | [ 263.972701] cloud-init[556]: ci-info: | lo | True | ::1/128 | . | host | . | [ 263.973961] cloud-init[556]: ci-info: +--------+------+----------------------------+---------------+--------+-------------------+ [ 263.975096] cloud-init[556]: ci-info: ++++++++++++++++++++++++++++Route IPv4 info+++++++++++++++++++++++++++++ [ 263.976342] cloud-init[556]: ci-info: +-------+-------------+----------+-----------------+-----------+-------+ [ 263.982623] cloud-init[556]: ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags | [ 263.983900] cloud-init[556]: ci-info: +-------+-------------+----------+-----------------+-----------+-------+ [ 263.985033] cloud-init[556]: ci-info: | 0 | 0.0.0.0 | 10.0.2.2 | 0.0.0.0 | enc0 | UG | [ 263.986221] cloud-init[556]: ci-info: | 1 | 10.0.2.0 | 0.0.0.0 | 255.255.255.0 | enc0 | U | [ 263.987411] cloud-init[556]: ci-info: | 2 | 10.0.2.2 | 0.0.0.0 | 255.255.255.255 | enc0 | UH | [ 263.992630] cloud-init[556]: ci-info: +-------+-------------+----------+-----------------+-----------+-------+ [ 263.993770] cloud-init[556]: ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++ [ 263.995006] cloud-init[556]: ci-info: +-------+-------------+---------+-----------+-------+ [ 264.002818] cloud-init[556]: ci-info: | Route | Destination | Gateway | Interface | Flags | [ 264.004033] cloud-init[556]: ci-info: +-------+-------------+---------+-----------+-------+ [ 264.005404] cloud-init[556]: ci-info: | 1 | fe80::/64 | :: | enc0 | U | [ 264.006616] cloud-init[556]: ci-info: | 2 | fec0::/64 | :: | enc0 | Ue | [ 264.007806] cloud-init[556]: ci-info: | 3 | ::/0 | fe80::2 | enc0 | UGe | [ 264.009161] cloud-init[556]: ci-info: | 5 | local | :: | enc0 | U | [ 264.012670] cloud-init[556]: ci-info: | 6 | local | :: | enc0 | U | [ 264.018774] cloud-init[556]: ci-info: | 7 | ff00::/8 | :: | enc0 | U | [ 264.019995] cloud-init[556]: ci-info: +-------+-------------+---------+-----------+-------+ [ 269.770813] cloud-init[556]: Generating public/private rsa key pair. [ 269.787749] cloud-init[556]: Your identification has been saved in /etc/ssh/ssh_host_rsa_key. [ 269.792751] cloud-init[556]: Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub. [ 269.793889] cloud-init[556]: The key fingerprint is: [ 269.802611] cloud-init[556]: SHA256:PUqYzKr33N3K5E4OJ6xHKU6xeGqUjMxaeItrANVyDdQ root@ubu-vm-01 [ 269.803776] cloud-init[556]: The key's randomart image is: [ 269.805018] cloud-init[556]: +---[RSA 2048]----+ [ 269.806145] cloud-init[556]: | oo+ | [ 269.807381] cloud-init[556]: | o o E | [ 269.808621] cloud-init[556]: | . o | [ 269.809754] cloud-init[556]: |. o.o . | [ 269.812593] cloud-init[556]: |.+ o o=oS.o | [ 269.822478] cloud-init[556]: |o * =.=oo. . | [ 269.823705] cloud-init[556]: |.= o.= o= + | [ 269.824896] cloud-init[556]: |o...+..o.@ . | [ 269.826021] cloud-init[556]: |o..o .+...B.. | [ 269.827200] cloud-init[556]: +----[SHA256]-----+ [ 269.828322] cloud-init[556]: Generating public/private dsa key pair. [ 269.829448] cloud-init[556]: Your identification has been saved in /etc/ssh/ssh_host_dsa_key. [ 269.830651] cloud-init[556]: Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub. [ 269.832638] cloud-init[556]: The key fingerprint is: [ 269.837348] cloud-init[556]: SHA256:koIer4dCUPEzXSz1RRgAslxmzkyDc6Kr1zDicPV+6CQ root@ubu-vm-01 [ 269.838581] cloud-init[556]: The key's randomart image is: [ 269.839779] cloud-init[556]: +---[DSA 1024]----+ [ 269.842633] cloud-init[556]: | ....B++..+o | [ 269.852644] cloud-init[556]: | .o+%oo.... | [ 269.853773] cloud-init[556]: | . .*+=. . | [ 269.854896] cloud-init[556]: |. ...o . | [ 269.856024] cloud-init[556]: |. oo..o S | [ 269.857236] cloud-init[556]: |oo=o ... | [ 269.858465] cloud-init[556]: |++.=E... | [ 269.859617] cloud-init[556]: |o.o.ooo . | [ 269.861033] cloud-init[556]: | o.. ... | [ 269.873001] cloud-init[556]: +----[SHA256]-----+ [ 269.874406] cloud-init[556]: Generating public/private ecdsa key pair. [ 269.875722] cloud-init[556]: Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key. [ 269.876925] cloud-init[556]: Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub. [ 269.878569] cloud-init[556]: The key fingerprint is: [ 269.880538] cloud-init[556]: SHA256:aQE7QDc9zlgwL7Rk3e+fdDpSd6aIIa1UhubBWcDbttw root@ubu-vm-01 [ 269.882868] cloud-init[556]: The key's randomart image is: [ 269.893140] cloud-init[556]: +---[ECDSA 256]---+ [ 269.894396] cloud-init[556]: | .o X=.o | [ 269.895528] cloud-init[556]: | * B* o | [ 269.896648] cloud-init[556]: | =*oB . | [ 269.897832] cloud-init[556]: | .oXo= . | [ 269.899022] cloud-init[556]: | oSB + | [ 269.900200] cloud-init[556]: | .+ = E o =| [ 269.902484] cloud-init[556]: | . o o = B.| [ 269.912622] cloud-init[556]: | . . o * | [ 269.913822] cloud-init[556]: | . . | [ 269.915003] cloud-init[556]: +----[SHA256]-----+ [ 269.916121] cloud-init[556]: Generating public/private ed25519 key pair. [ 269.917311] cloud-init[556]: Your identification has been saved in /etc/ssh/ssh_host_ed25519_key. [ 269.918440] cloud-init[556]: Your public key has been saved in /etc/ssh/ssh_host_ed25519_key.pub. [ 269.919633] cloud-init[556]: The key fingerprint is: [ 269.920830] cloud-init[556]: SHA256:+S2Kcp23wsBm42AqlvVowBjrazBrSWkS9X9mcXjklUc root@ubu-vm-01 [ 269.922938] cloud-init[556]: The key's randomart image is: [ 269.932657] cloud-init[556]: +--[ED25519 256]--+ [ 269.933883] cloud-init[556]: | oE | [ 269.935005] cloud-init[556]: | . . o . | [ 269.936204] cloud-init[556]: | . . + . . | [ 269.937701] cloud-init[556]: |o . o.+ | [ 269.938831] cloud-init[556]: |o+. o S+ | [ 269.940012] cloud-init[556]: |** .o B +. . | [ 269.942517] cloud-init[556]: |*o=oo= O .o . | [ 269.952562] cloud-init[556]: |oB.o..o.=... | [ 269.953698] cloud-init[556]: |+oo o. .o.. | [ 269.955970] cloud-init[556]: +----[SHA256]-----+ [ OK ] Started Initial cloud-init…ob (metadata service crawler). [ OK ] Reached target Network is Online. Starting Availability of block devices... [ OK ] Reached target Remote File Systems (Pre). [ OK ] Reached target Remote File Systems. [ OK ] Reached target Cloud-config availability. [ OK ] Reached target System Initialization. Starting Socket activation for snappy daemon. [ OK ] Started Daily rotation of log files. [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Started Discard unused blocks once a week. [ OK ] Started Message of the Day. [ OK ] Listening on Open-iSCSI iscsid Socket. [ OK ] Listening on UUID daemon activation socket. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Started Daily apt download activities. [ OK ] Reached target Paths. [ OK ] Started Daily apt upgrade and clean activities. [ OK ] Started Daily man-db regeneration. [ OK ] Reached target Timers. [ OK ] Started Availability of block devices. [ OK ] Listening on Socket activation for snappy daemon. [ OK ] Reached target Sockets. [ OK ] Reached target Basic System. Starting Permit User Sessions... Starting Configure dump on panic for System z... Starting Login Service... Starting System Logging Service... [ OK ] Started Regular background program processing daemon. Starting Pollinate to seed…udo random number generator... [ OK ] Started irqbalance daemon. Starting Dispatcher daemon for systemd-networkd... Starting LSB: automatic crash report generation... [ OK ] Started Save initial kernel messages after boot. [ OK ] Started D-Bus System Message Bus. Starting Deferred execution scheduler... Starting Accounts Service... Starting Snappy daemon... [ OK ] Started Permit User Sessions. [ OK ] Started Deferred execution scheduler. [ OK ] Started Configure dump on panic for System z. Starting Terminate Plymouth Boot Screen... Starting Hold until boot process finishes up... [ OK ] Started System Logging Service. [FAILED] Failed to start Snappy daemon. See 'systemctl status snapd.service' for details. [ OK ] Started Terminate Plymouth Boot Screen. [ OK ] Started Hold until boot process finishes up. [ OK ] Stopped Snappy daemon. Starting Snappy daemon... [ OK ] Started Serial Getty on ttysclp0. Starting Set console scheme... [ OK ] Started Login Service. [ OK ] Started Unattended Upgrades Shutdown. [FAILED] Failed to start Snappy daemon. See 'systemctl status snapd.service' for details. [ OK ] Started Set console scheme. [ OK ] Started LSB: automatic crash report generation. [ OK ] Stopped Snappy daemon. Starting Snappy daemon... [ OK ] Created slice system-getty.slice. [ OK ] Started Getty on tty1. [ OK ] Reached target Login Prompts. Ubuntu Disco Dingo (development branch) ubu-vm-01 ttysclp0 ubu-vm-01 login: [ 294.313725] cloud-init[691]: Cloud-init v. 18.5-62-g6322c2dd-0ubuntu1 running 'modules:config' at Mon, 15 Apr 2019 11:04:59 +0000. Up 289.12 seconds. ci-info: ++++++++Authorized keys from /home/ubuntu/.ssh/authorized_keys for user ubuntu+++++++++ ci-info: +---------+-------------------------------------------------+---------+---------------+ ci-info: | Keytype | Fingerprint (md5) | Options | Comment | ci-info: +---------+-------------------------------------------------+---------+---------------+ ci-info: | ssh-rsa | 7f:e9:a7:99:1e:91:b0:3d:e8:a4:06:5f:b4:29:21:bb | - | ubuntu@server | ci-info: +---------+-------------------------------------------------+---------+---------------+ <14>Apr 15 11:05:11 ec2: <14>Apr 15 11:05:11 ec2: ############################################################# <14>Apr 15 11:05:11 ec2: -----BEGIN SSH HOST KEY FINGERPRINTS----- <14>Apr 15 11:05:11 ec2: 1024 SHA256:koIer4dCUPEzXSz1RRgAslxmzkyDc6Kr1zDicPV+6CQ root@ubu-vm-01 (DSA) <14>Apr 15 11:05:11 ec2: 256 SHA256:aQE7QDc9zlgwL7Rk3e+fdDpSd6aIIa1UhubBWcDbttw root@ubu-vm-01 (ECDSA) <14>Apr 15 11:05:11 ec2: 256 SHA256:+S2Kcp23wsBm42AqlvVowBjrazBrSWkS9X9mcXjklUc root@ubu-vm-01 (ED25519) <14>Apr 15 11:05:11 ec2: 2048 SHA256:PUqYzKr33N3K5E4OJ6xHKU6xeGqUjMxaeItrANVyDdQ root@ubu-vm-01 (RSA) <14>Apr 15 11:05:11 ec2: -----END SSH HOST KEY FINGERPRINTS----- <14>Apr 15 11:05:11 ec2: ############################################################# -----BEGIN SSH HOST KEY KEYS----- ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBF1TdFajnbAoTnkRJaEQoe8BUuYCx9MpgGDGWV+razhaAfF/rrvB9psdxpsJ2djxk4a7xMBt/4VdfvginpNiBLw= root@ubu-vm-01 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBx3YyfNa4y8PTVY5ljTwMJlYme8Od+o3gcjwCoi5BHb root@ubu-vm-01 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDB+9Ge2rzi+2owF43n4MZ3Fse/FN3JDpJS/aL7OfsYkGaBbDoRo0F934E981F81AYGLWz2vlAWOMzBOoxrwRnfbRt6Bl73RBmMToxrug8y+czJUmmmjB/xF8czZKYjJOtSGpOD6UIbGvBrm0EnWnLBdMtm0++IbEOgxDwzwKMnIx9lZvOMLFA1bs7ZaZaL5mARuYTxRBfHqUwFzIgiuJnJ/rqRe1nAs5awxxvxlPsSKq3e/x1zJT5vIS0smEYHKsA+jFUCHFPTTe2fpuB6o++LfUh0ssNzbaKG1Z/X6MzrlAOW+ejNJNUtpvUDjPjRXUMxpy7gTSeMTjv9GpIdBSG/ root@ubu-vm-01 -----END SSH HOST KEY KEYS----- [ 301.543620] cloud-init[747]: Cloud-init v. 18.5-62-g6322c2dd-0ubuntu1 running 'modules:final' at Mon, 15 Apr 2019 11:05:09 +0000. Up 299.36 seconds. [ 301.552072] cloud-init[747]: Cloud-init v. 18.5-62-g6322c2dd-0ubuntu1 finished at Mon, 15 Apr 2019 11:05:11 +0000. Datasource DataSourceNoCloud [seed=/dev/vdb][dsmode=net]. Up 301.44 seconds ubu-vm-01 login: ubuntu Password: Welcome to Ubuntu Disco Dingo (development branch) (GNU/Linux 5.0.0-8-generic s390x) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Mon Apr 15 15:09:25 UTC 2019 System load: 0.08 Processes: 77 Usage of /: 48.4% of 2.07GB Users logged in: 0 Memory usage: 3% IP address for enc0: 10.0.2.15 Swap usage: 0% 0 packages can be updated. 0 updates are security updates. The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo ". See "man sudo_root" for details. ubuntu@ubu-vm-01:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu Disco Dingo (development branch) Release: 19.04 Codename: disco ubuntu@ubu-vm-01:~$ ubuntu@ubu-vm-01:~$ sudo shutdown -h now [ OK ] Stopped target Cloud-init target. Stopping Session 5 of user ubuntu. [ OK ] Stopped Execute cloud user/final scripts. [ OK ] Stopped Apply the settings specified in cloud-config. [ OK ] Stopped target Network is Online. Stopping Create final runt…dir for shutdown pivot root... Stopping Availability of block devices... [ OK ] Stopped target Graphical Interface. [ OK ] Stopped target Multi-User System. Stopping LSB: automatic crash report generation... Stopping System Logging Service... Stopping OpenBSD Secure Shell server... Stopping Unattended Upgrades Shutdown... Stopping Dispatcher daemon for systemd-networkd... Stopping Regular background program processing daemon... [ OK ] Stopped target Host and Network Name Lookups. [ OK ] Stopped target Timers. [ OK ] Stopped Daily Cleanup of Temporary Directories. Stopping Accounts Service... [ OK ] Stopped Daily rotation of log files. [ OK ] Stopped Discard unused blocks once a week. Stopping Configure dump on panic for System z... [ OK ] Stopped Daily man-db regeneration. [ OK ] Stopped Message of the Day. Stopping Deferred execution scheduler... [ OK ] Stopped Daily apt upgrade and clean activities. [ OK ] Stopped target Login Prompts. Stopping Serial Getty on ttysclp0... Stopping Getty on tty1... [ OK ] Stopped Daily apt download activities. [ OK ] Stopped target System Time Synchronized. [ OK ] Stopped target Cloud-config availability. [ OK ] Stopped System Logging Service. [ OK ] Stopped Regular background program processing daemon. [ OK ] Stopped Dispatcher daemon for systemd-networkd. [ OK ] Stopped Accounts Service. [ OK ] Stopped Deferred execution scheduler. [ OK ] Stopped Serial Getty on ttysclp0. [ OK ] Stopped Unattended Upgrades Shutdown. [ OK ] Stopped Getty on tty1. [ OK ] Stopped OpenBSD Secure Shell server. [ OK ] Stopped Session 5 of user ubuntu. Stopping User Manager for UID 1000... [ OK ] Removed slice system-getty.slice. Stopping Login Service... [ OK ] Removed slice system-serial\x2dgetty.slice. [ OK ] Stopped Login Service. [ OK ] Stopped Configure dump on panic for System z. [ OK ] Stopped User Manager for UID 1000. Stopping User Runtime Directory /run/user/1000... [ OK ] Stopped LSB: automatic crash report generation. [ OK ] Unmounted /run/user/1000. [ OK ] Stopped User Runtime Directory /run/user/1000. [ OK ] Stopped Availability of block devices. [ OK ] Removed slice User Slice of UID 1000. Stopping Permit User Sessions... Stopping D-Bus System Message Bus... [ OK ] Reached target Unmount All Filesystems. [ OK ] Stopped D-Bus System Message Bus. [ OK ] Stopped Permit User Sessions. [ OK ] Stopped target Remote File Systems. [ OK ] Stopped target Remote File Systems (Pre). [ OK ] Stopped target User and Group Name Lookups. [ OK ] Stopped target Network. Stopping Network Name Resolution... [ OK ] Stopped target Basic System. [ OK ] Stopped target Paths. [ OK ] Stopped target Slices. [ OK ] Removed slice User and Session Slice. [ OK ] Stopped target Sockets. [ OK ] Closed Open-iSCSI iscsid Socket. [ OK ] Closed UUID daemon activation socket. [ OK ] Closed Syslog Socket. [ OK ] Closed D-Bus System Message Bus Socket. [ OK ] Stopped target System Initialization. [ OK ] Stopped target Local Encrypted Volumes. [ OK ] Stopped Dispatch Password …ts to Console Directory Watch. [ OK ] Stopped Forward Password R…uests to Wall Directory Watch. Stopping Update UTMP about System Boot/Shutdown... Stopping Network Time Synchronization... [ OK ] Stopped Initial cloud-init…ob (metadata service crawler). [ OK ] Stopped Wait for Network to be Configured. [ OK ] Stopped Commit a transient machine-id on disk. Stopping Load/Save Random Seed... [ OK ] Stopped target Swap. [ OK ] Stopped Network Time Synchronization. [ OK ] Stopped Network Name Resolution. Stopping Network Service... [ OK ] Stopped Update UTMP about System Boot/Shutdown. [ OK ] Stopped Load/Save Random Seed. [ OK ] Stopped Network Service. [ OK ] Stopped Apply Kernel Variables. [ OK ] Stopped Load Kernel Modules. [ OK ] Stopped target Network (Pre). [ OK ] Stopped Initial cloud-init job (pre-networking). [ OK ] Stopped Create Volatile Files and Directories. [ OK ] Stopped Create final runtime dir for shutdown pivot root. [ OK ] Stopped target Local File Systems. [ OK ] Stopped target Local File Systems (Pre). [ OK ] Stopped Create Static Device Nodes in /dev. [ OK ] Stopped Create System Users. [ OK ] Stopped Remount Root and Kernel File Systems. [ OK ] Reached target Shutdown. [ OK ] Reached target Final Step. [ OK ] Started Power-Off. [ OK ] Reached target Power-Off. Stopping Monitoring of LVM…meventd or progress polling... $ ________________________________________________ [ $ sudo qemu-system-s390x -name ubu-vm-01 -m 4096 -nographic -drive file=/var/lib/libvirt/images/ubuntu-18.10-server-cloudimg-s390x.img,format=qcow2 -drive file=/var/lib/libvirt/images/ubu-vm-01.img,format=raw ] _________________________ $ ps aux | grep [q]emu ubuntu 5554 22.3 7.7 6173832 1586292 pts/0 Sl+ 06:09 1:51 qemu-system-s390x -name ubu-vm-01 -m 4096 -nographic -drive file=disco-server-cloudimg-s390x.img,format=qcow2 -drive file=ubu-vm-01.qcow2,format=raw $ kill 5554 $