Advertisement
Guest User

Untitled

a guest
Jan 24th, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 69.54 KB | None | 0 0
  1. root@undercloudvm:~[rooLIBGUESTFS_BACKEND_SETTINGS=force_tcg LIBGUESTFS_BACKEND=direct virt-customize -vx --smp 2 -m 2048 -a /home/stack/undercloud.qcow2 --run /home/stack/convert_image.sh
  2. [ 0.0] Examining the guest ...
  3. libguestfs: trace: set_verbose true
  4. libguestfs: trace: set_verbose = 0
  5. libguestfs: trace: set_memsize 2048
  6. libguestfs: trace: set_memsize = 0
  7. libguestfs: trace: set_smp 2
  8. libguestfs: trace: set_smp = 0
  9. libguestfs: trace: set_network true
  10. libguestfs: trace: set_network = 0
  11. libguestfs: trace: add_drive "/home/stack/undercloud.qcow2" "readonly:false" "protocol:file" "discard:besteffort"
  12. libguestfs: trace: add_drive = 0
  13. libguestfs: trace: launch
  14. libguestfs: trace: max_disks
  15. libguestfs: trace: max_disks = 255
  16. libguestfs: trace: get_tmpdir
  17. libguestfs: trace: get_tmpdir = "/tmp"
  18. libguestfs: trace: version
  19. libguestfs: trace: version = <struct guestfs_version = major: 1, minor: 38, release: 2, extra: rhel=7,release=12.el7_6.1,libvirt, >
  20. libguestfs: trace: get_backend
  21. libguestfs: trace: get_backend = "direct"
  22. libguestfs: launch: program=virt-customize
  23. libguestfs: launch: version=1.38.2rhel=7,release=12.el7_6.1,libvirt
  24. libguestfs: launch: backend registered: unix
  25. libguestfs: launch: backend registered: uml
  26. libguestfs: launch: backend registered: libvirt
  27. libguestfs: launch: backend registered: direct
  28. libguestfs: launch: backend=direct
  29. libguestfs: launch: tmpdir=/tmp/libguestfsJ0dESn
  30. libguestfs: launch: umask=0022
  31. libguestfs: launch: euid=0
  32. libguestfs: trace: get_backend_setting "force_tcg"
  33. libguestfs: trace: get_backend_setting = "1"
  34. libguestfs: trace: get_cachedir
  35. libguestfs: trace: get_cachedir = "/var/tmp"
  36. libguestfs: begin building supermin appliance
  37. libguestfs: run supermin
  38. libguestfs: command: run: /usr/bin/supermin5
  39. libguestfs: command: run: \ --build
  40. libguestfs: command: run: \ --verbose
  41. libguestfs: command: run: \ --if-newer
  42. libguestfs: command: run: \ --lock /var/tmp/.guestfs-0/lock
  43. libguestfs: command: run: \ --copy-kernel
  44. libguestfs: command: run: \ -f ext2
  45. libguestfs: command: run: \ --host-cpu x86_64
  46. libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d
  47. libguestfs: command: run: \ -o /var/tmp/.guestfs-0/appliance.d
  48. supermin: version: 5.1.19
  49. supermin: rpm: detected RPM version 4.11
  50. supermin: package handler: fedora/rpm
  51. supermin: acquiring lock on /var/tmp/.guestfs-0/lock
  52. supermin: if-newer: output does not need rebuilding
  53. libguestfs: finished building supermin appliance
  54. libguestfs: begin testing qemu features
  55. libguestfs: trace: get_cachedir
  56. libguestfs: trace: get_cachedir = "/var/tmp"
  57. libguestfs: checking for previously cached test results of /usr/libexec/qemu-kvm, in /var/tmp/.guestfs-0
  58. libguestfs: loading previously cached test results
  59. libguestfs: qemu version: 2.12
  60. libguestfs: qemu mandatory locking: yes
  61. libguestfs: trace: get_sockdir
  62. libguestfs: trace: get_sockdir = "/tmp"
  63. libguestfs: finished testing qemu features
  64. libguestfs: trace: get_backend_setting "gdb"
  65. libguestfs: trace: get_backend_setting = NULL (error)
  66. libguestfs: command: run: dmesg | grep -Eoh 'lpj=[[:digit:]]+'
  67. libguestfs: read_lpj_from_dmesg: calculated lpj=2394000
  68. /usr/libexec/qemu-kvm \
  69. -global virtio-blk-pci.scsi=off \
  70. -enable-fips \
  71. -nodefaults \
  72. -display none \
  73. -machine accel=tcg \
  74. -smp 2 \
  75. -m 2048 \
  76. -no-reboot \
  77. -rtc driftfix=slew \
  78. -no-hpet \
  79. -global kvm-pit.lost_tick_policy=discard \
  80. -kernel /var/tmp/.guestfs-0/appliance.d/kernel \
  81. -initrd /var/tmp/.guestfs-0/appliance.d/initrd \
  82. -object rng-random,filename=/dev/urandom,id=rng0 \
  83. -device virtio-rng-pci,rng=rng0 \
  84. -device virtio-scsi-pci,id=scsi \
  85. -drive file=/home/stack/undercloud.qcow2,cache=writeback,discard=unmap,id=hd0,if=none \
  86. -device scsi-hd,drive=hd0 \
  87. -drive file=/var/tmp/.guestfs-0/appliance.d/root,snapshot=on,id=appliance,cache=unsafe,if=none,format=raw \
  88. -device scsi-hd,drive=appliance \
  89. -device virtio-serial-pci \
  90. -serial stdio \
  91. -device sga \
  92. -chardev socket,path=/tmp/libguestfs9saFcm/guestfsd.sock,id=channel0 \
  93. -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
  94. -netdev user,id=usernet,net=169.254.0.0/16 \
  95. -device virtio-net-pci,netdev=usernet \
  96. -append "panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check lpj=2394000 printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 guestfs_network=1 TERM=screen"
  97. libguestfs: responding to serial console Device Status Report
  98. \x1b[1;256r\x1b[256;256H\x1b[6n
  99. Google, Inc.
  100. Serial Graphics Adapter 06/09/14
  101. SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (mockbuild@) Mon Jun 9 21:33:48 UTC 2014
  102. Term: 80x24
  103. 4 0
  104. SeaBIOS (version 1.11.0-2.el7)
  105.  
  106.  
  107. iPXE (http://ipxe.org) 00:05.0 C100 PCI2.10 PnP PMM+7FF94610+7FEF4610 C100
  108.  
  109.  
  110.  
  111. Booting from ROM...
  112. \x1b[2J[ 0.000000] Initializing cgroup subsys cpuset
  113. [ 0.000000] Initializing cgroup subsys cpu
  114. [ 0.000000] Initializing cgroup subsys cpuacct
  115. [ 0.000000] Linux version 3.10.0-957.1.3.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ) #1 SMP Thu Nov 29 14:49:43 UTC 2018
  116. [ 0.000000] Command line: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check lpj=2394000 printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 guestfs_network=1 TERM=screen
  117. [ 0.000000] e820: BIOS-provided physical RAM map:
  118. [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009f7ff] usable
  119. [ 0.000000] BIOS-e820: [mem 0x000000000009f800-0x000000000009ffff] reserved
  120. [ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
  121. [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000007ffddfff] usable
  122. [ 0.000000] BIOS-e820: [mem 0x000000007ffde000-0x000000007fffffff] reserved
  123. [ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
  124. [ 0.000000] NX (Execute Disable) protection: active
  125. [ 0.000000] SMBIOS 2.8 present.
  126. [ 0.000000] DMI: Red Hat KVM, BIOS 1.11.0-2.el7 04/01/2014
  127. [ 0.000000] e820: last_pfn = 0x7ffde max_arch_pfn = 0x400000000
  128. [ 0.000000] PAT configuration [0-7]: WB WC UC- UC WB WP UC- UC
  129. [ 0.000000] found SMP MP-table at [mem 0x000f6390-0x000f639f] mapped at [ffffffffff200390]
  130. [ 0.000000] RAMDISK: [mem 0x7fc9b000-0x7ffcffff]
  131. [ 0.000000] Early table checksum verification disabled
  132. [ 0.000000] ACPI: RSDP 00000000000f6120 00014 (v00 BOCHS )
  133. [ 0.000000] ACPI: RSDT 000000007ffe155d 0002C (v01 BOCHS BXPCRSDT 00000001 BXPC 00000001)
  134. [ 0.000000] ACPI: FACP 000000007ffe1469 00074 (v01 BOCHS BXPCFACP 00000001 BXPC 00000001)
  135. [ 0.000000] ACPI: DSDT 000000007ffe0040 01429 (v01 BOCHS BXPCDSDT 00000001 BXPC 00000001)
  136. [ 0.000000] ACPI: FACS 000000007ffe0000 00040
  137. [ 0.000000] ACPI: APIC 000000007ffe14dd 00080 (v01 BOCHS BXPCAPIC 00000001 BXPC 00000001)
  138. [ 0.000000] No NUMA configuration found
  139. [ 0.000000] Faking a node at [mem 0x0000000000000000-0x000000007ffddfff]
  140. [ 0.000000] NODE_DATA(0) allocated [mem 0x7fc74000-0x7fc9afff]
  141. [ 0.000000] Zone ranges:
  142. [ 0.000000] DMA [mem 0x00001000-0x00ffffff]
  143. [ 0.000000] DMA32 [mem 0x01000000-0xffffffff]
  144. [ 0.000000] Normal empty
  145. [ 0.000000] Movable zone start for each node
  146. [ 0.000000] Early memory node ranges
  147. [ 0.000000] node 0: [mem 0x00001000-0x0009efff]
  148. [ 0.000000] node 0: [mem 0x00100000-0x7ffddfff]
  149. [ 0.000000] Initmem setup node 0 [mem 0x00001000-0x7ffddfff]
  150. [ 0.000000] ACPI: PM-Timer IO Port: 0x608
  151. [ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
  152. [ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
  153. [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
  154. [ 0.000000] ACPI: IOAPIC (id[0x00] address[0xfec00000] gsi_base[0])
  155. [ 0.000000] IOAPIC[0]: apic_id 0, version 32, address 0xfec00000, GSI 0-23
  156. [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
  157. [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
  158. [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
  159. [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
  160. [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
  161. [ 0.000000] Using ACPI (MADT) for SMP configuration information
  162. [ 0.000000] smpboot: Allowing 2 CPUs, 0 hotplug CPUs
  163. [ 0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
  164. [ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff]
  165. [ 0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff]
  166. [ 0.000000] e820: [mem 0x80000000-0xfffbffff] available for PCI devices
  167. [ 0.000000] Booting paravirtualized kernel on bare hardware
  168. [ 0.000000] setup_percpu: NR_CPUS:5120 nr_cpumask_bits:2 nr_cpu_ids:2 nr_node_ids:1
  169. [ 0.000000] PERCPU: Embedded 38 pages/cpu @ffff96227fa00000 s118784 r8192 d28672 u1048576
  170. [ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 515943
  171. [ 0.000000] Policy zone: DMA32
  172. [ 0.000000] Kernel command line: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check lpj=2394000 printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 guestfs_network=1 TERM=screen
  173. [ 0.000000] Disabling memory control group subsystem
  174. [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
  175. [ 0.000000] Memory: 2040968k/2097016k available (7664k kernel code, 392k absent, 55656k reserved, 6055k data, 1876k init)
  176. [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
  177. [ 0.000000] Hierarchical RCU implementation.
  178. [ 0.000000] \tRCU restricting CPUs from NR_CPUS=5120 to nr_cpu_ids=2.
  179. [ 0.000000] NR_IRQS:327936 nr_irqs:440 0
  180. [ 0.000000] Console: colour *CGA 80x25
  181. [ 0.000000] console [ttyS0] enabled
  182. [ 0.000000] tsc: Unable to calibrate against PIT
  183. [ 0.000000] tsc: using PMTIMER reference calibration
  184. [ 0.000000] tsc: Detected 2394.004 MHz processor
  185. [ 0.014000] Calibrating delay loop (skipped) preset value.. 4788.00 BogoMIPS (lpj=2394000)
  186. [ 0.016111] pid_max: default: 32768 minimum: 301
  187. [ 0.019143] Security Framework initialized
  188. [ 0.023385] SELinux: Disabled at boot.
  189. [ 0.023700] Yama: becoming mindful.
  190. [ 0.033383] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
  191. [ 0.040112] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
  192. [ 0.043247] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
  193. [ 0.043812] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
  194. [ 0.060512] Initializing cgroup subsys memory
  195. [ 0.061819] Initializing cgroup subsys devices
  196. [ 0.062209] Initializing cgroup subsys freezer
  197. [ 0.062672] Initializing cgroup subsys net_cls
  198. [ 0.063460] Initializing cgroup subsys blkio
  199. [ 0.063796] Initializing cgroup subsys perf_event
  200. [ 0.064386] Initializing cgroup subsys hugetlb
  201. [ 0.065088] Initializing cgroup subsys pids
  202. [ 0.065438] Initializing cgroup subsys net_prio
  203. [ 0.070455] mce: CPU supports 10 MCE banks
  204. [ 0.073269] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
  205. [ 0.073650] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0
  206. [ 0.074115] tlb_flushall_shift: -1
  207. [ 0.075193] Speculative Store Bypass: Vulnerable
  208. [ 0.075616] FEATURE SPEC_CTRL Not Present
  209. [ 0.075892] FEATURE IBPB_SUPPORT Not Present
  210. [ 0.089600] Spectre V2 : Vulnerable: Retpoline without IBPB
  211. [ 0.095235] Freeing SMP alternatives: 28k freed
  212. [ 0.114936] ACPI: Core revision 20130517
  213. [ 0.157758] ACPI: All ACPI Tables successfully acquired
  214. [ 0.160239] ftrace: allocating 29188 entries in 115 pages
  215. [ 0.256187] random: fast init done
  216. [ 0.292628] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
  217. [ 0.293113] smpboot: CPU0: AMD QEMU Virtual CPU version 2.5+ (fam: 06, model: 0d, stepping: 03)
  218. [ 0.296698] Performance Events: Broken PMU hardware detected, using software events only.
  219. [ 0.298113] Failed to access perfctr msr (MSR c0010007 is 0)
  220. [ 0.334646] NMI watchdog: disabled (cpu0): hardware events not enabled
  221. [ 0.335059] NMI watchdog: Shutting down hard lockup detector on all cpus
  222. [ 0.342363] smpboot: Booting Node 0, Processors #1 OK
  223. [ 0.368240] Skipped synchronization checks as TSC is reliable.
  224. [ 0.371645] Brought up 2 CPUs
  225. [ 0.372070] smpboot: Max logical packages: 2
  226. [ 0.372477] smpboot: Total of 2 processors activated (9576.00 BogoMIPS)
  227. [ 0.402189] devtmpfs: initialized
  228. [ 0.436552] EVM: security.selinux
  229. [ 0.436833] EVM: security.ima
  230. [ 0.438032] EVM: security.capability
  231. [ 0.459785] atomic64 test passed for x86-64 platform with CX8 and with SSE
  232. [ 0.461124] pinctrl core: initialized pinctrl subsystem
  233. [ 0.463631] RTC time: 8:59:13, date: 01/24/19
  234. [ 0.469716] NET: Registered protocol family 16
  235. [ 0.482088] ACPI: bus type PCI registered
  236. [ 0.482622] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
  237. [ 0.487703] PCI: Using configuration type 1 for base access
  238. [ 0.492515] mtrr: your CPUs had inconsistent fixed MTRR settings
  239. [ 0.492918] mtrr: your CPUs had inconsistent variable MTRR settings
  240. [ 0.494063] mtrr: your CPUs had inconsistent MTRRdefType settings
  241. [ 0.494420] mtrr: probably your BIOS does not setup all CPUs.
  242. [ 0.495046] mtrr: corrected configuration.
  243. [ 0.537540] ACPI: Added _OSI(Module Device)
  244. [ 0.537863] ACPI: Added _OSI(Processor Device)
  245. [ 0.537863] ACPI: Added _OSI(3.0 _SCP Extensions)
  246. [ 0.537863] ACPI: Added _OSI(Processor Aggregator Device)
  247. [ 0.538230] ACPI: Added _OSI(Linux-Dell-Video)
  248. [ 0.577834] ACPI: Interpreter enabled
  249. [ 0.579358] ACPI: (supports S0 S5)
  250. [ 0.579664] ACPI: Using IOAPIC for interrupt routing
  251. [ 0.581079] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
  252. [ 0.583856] ACPI: Enabled 2 GPEs in block 00 to 0F
  253. [ 0.664457] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
  254. [ 0.665690] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI]
  255. [ 0.667484] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
  256. [ 0.668283] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
  257. [ 0.681999] acpiphp: Slot [2] registered
  258. [ 0.682673] acpiphp: Slot [3] registered
  259. [ 0.683331] acpiphp: Slot [4] registered
  260. [ 0.683806] acpiphp: Slot [5] registered
  261. [ 0.684407] acpiphp: Slot [6] registered
  262. [ 0.685184] acpiphp: Slot [7] registered
  263. [ 0.685698] acpiphp: Slot [8] registered
  264. [ 0.686402] acpiphp: Slot [9] registered
  265. [ 0.686873] acpiphp: Slot [10] registered
  266. [ 0.688272] acpiphp: Slot [11] registered
  267. [ 0.688272] acpiphp: Slot [12] registered
  268. [ 0.688703] acpiphp: Slot [13] registered
  269. [ 0.689396] acpiphp: Slot [14] registered
  270. [ 0.689876] acpiphp: Slot [15] registered
  271. [ 0.691271] acpiphp: Slot [16] registered
  272. [ 0.691271] acpiphp: Slot [17] registered
  273. [ 0.691676] acpiphp: Slot [18] registered
  274. [ 0.692352] acpiphp: Slot [19] registered
  275. [ 0.692817] acpiphp: Slot [20] registered
  276. [ 0.693397] acpiphp: Slot [21] registered
  277. [ 0.694044] acpiphp: Slot [22] registered
  278. [ 0.694657] acpiphp: Slot [23] registered
  279. [ 0.695321] acpiphp: Slot [24] registered
  280. [ 0.695801] acpiphp: Slot [25] registered
  281. [ 0.696394] acpiphp: Slot [26] registered
  282. [ 0.696894] acpiphp: Slot [27] registered
  283. [ 0.697650] acpiphp: Slot [28] registered
  284. [ 0.698315] acpiphp: Slot [29] registered
  285. [ 0.698815] acpiphp: Slot [30] registered
  286. [ 0.700304] acpiphp: Slot [31] registered
  287. [ 0.700402] PCI host bridge to bus 0000:00
  288. [ 0.701000] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]
  289. [ 0.701554] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]
  290. [ 0.702000] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
  291. [ 0.702552] pci_bus 0000:00: root bus resource [mem 0x80000000-0xfebfffff window]
  292. [ 0.703055] pci_bus 0000:00: root bus resource [mem 0x100000000-0x17fffffff window]
  293. [ 0.703746] pci_bus 0000:00: root bus resource [bus 00-ff]
  294. [ 0.724142] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7]
  295. [ 0.725084] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io 0x03f6]
  296. [ 0.725506] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177]
  297. [ 0.726082] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io 0x0376]
  298. [ 0.729108] pci 0000:00:01.3: quirk: [io 0x0600-0x063f] claimed by PIIX4 ACPI
  299. [ 0.729684] pci 0000:00:01.3: quirk: [io 0x0700-0x070f] claimed by PIIX4 SMB
  300. [ 0.802531] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
  301. [ 0.804943] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
  302. [ 0.806889] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
  303. [ 0.808862] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
  304. [ 0.810111] ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
  305. [ 0.824534] vgaarb: loaded
  306. [ 0.828161] SCSI subsystem initialized
  307. [ 0.829551] ACPI: bus type USB registered
  308. [ 0.830735] usbcore: registered new interface driver usbfs
  309. [ 0.831528] usbcore: registered new interface driver hub
  310. [ 0.832435] usbcore: registered new device driver usb
  311. [ 0.836166] EDAC MC: Ver: 3.0.0
  312. [ 0.841386] PCI: Using ACPI for IRQ routing
  313. [ 0.858306] NetLabel: Initializing
  314. [ 0.858585] NetLabel: domain hash size = 128
  315. [ 0.858948] NetLabel: protocols = UNLABELED CIPSOv4
  316. [ 0.861567] NetLabel: unlabeled traffic allowed by default
  317. [ 0.864346] amd_nb: Cannot enumerate AMD northbridges
  318. [ 0.865296] Switched to clocksource refined-jiffies
  319. [ 1.011518] pnp: PnP ACPI init
  320. [ 1.012381] ACPI: bus type PNP registered
  321. [ 1.024452] pnp: PnP ACPI: found 5 devices
  322. [ 1.024842] ACPI: bus type PNP unregistered
  323. [ 1.078280] Switched to clocksource acpi_pm
  324. [ 1.086312] NET: Registered protocol family 2
  325. [ 1.100645] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
  326. [ 1.102505] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
  327. [ 1.103883] TCP: Hash tables configured (established 16384 bind 16384)
  328. [ 1.105396] TCP: reno registered
  329. [ 1.105900] UDP hash table entries: 1024 (order: 3, 32768 bytes)
  330. [ 1.106636] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
  331. [ 1.110217] NET: Registered protocol family 1
  332. [ 1.111180] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
  333. [ 1.111682] pci 0000:00:01.0: PIIX3: Enabling Passive Release
  334. [ 1.112348] pci 0000:00:01.0: Activating ISA DMA hang workarounds
  335. [ 1.120670] Unpacking initramfs...
  336. [ 1.168467] Freeing initrd memory: 3284k freed
  337. [ 1.199540] sha1_ssse3: Neither AVX nor AVX2 nor SSSE3/SHA-NI is available/usable.
  338. [ 1.200664] sha256_ssse3: Neither AVX nor SSSE3/SHA-NI is available/usable.
  339. [ 1.210399] futex hash table entries: 512 (order: 3, 32768 bytes)
  340. [ 1.211868] Initialise system trusted keyring
  341. [ 1.213933] audit: initializing netlink socket (disabled)
  342. [ 1.215655] type=2000 audit(1548320354.213:1): initialized
  343. [ 1.378720] HugeTLB registered 2 MB page size, pre-allocated 0 pages
  344. [ 1.413393] zpool: loaded
  345. [ 1.413658] zbud: loaded
  346. [ 1.418162] VFS: Disk quotas dquot_6.5.2
  347. [ 1.419187] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
  348. [ 1.427309] msgmni has been set to 3992
  349. [ 1.429382] Key type big_key registered
  350. [ 1.459819] NET: Registered protocol family 38
  351. [ 1.460721] Key type asymmetric registered
  352. [ 1.461309] Asymmetric key parser 'x509' registered
  353. [ 1.462945] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
  354. [ 1.465422] io scheduler noop registered
  355. [ 1.465854] io scheduler deadline registered (default)
  356. [ 1.467404] io scheduler cfq registered
  357. [ 1.467830] io scheduler mq-deadline registered
  358. [ 1.468498] io scheduler kyber registered
  359. [ 1.474684] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
  360. [ 1.475874] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
  361. [ 1.476767] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
  362. [ 1.488728] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
  363. [ 1.490527] ACPI: Power Button [PWRF]
  364. [ 1.496938] GHES: HEST is not enabled!
  365. [ 1.500583] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
  366. [ 1.526383] 00:04: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
  367. [ 1.533595] Non-volatile memory driver v1.3
  368. [ 1.534747] Linux agpgart interface v0.103
  369. [ 1.539540] crash memory driver: version 1.1
  370. [ 1.541862] rdac: device handler registered
  371. [ 1.543354] hp_sw: device handler registered
  372. [ 1.543695] emc: device handler registered
  373. [ 1.545271] alua: device handler registered
  374. [ 1.547373] libphy: Fixed MDIO Bus: probed
  375. [ 1.549291] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  376. [ 1.549859] ehci-pci: EHCI PCI platform driver
  377. [ 1.550649] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  378. [ 1.551264] ohci-pci: OHCI PCI platform driver
  379. [ 1.551885] uhci_hcd: USB Universal Host Controller Interface driver
  380. [ 1.554193] usbcore: registered new interface driver usbserial_generic
  381. [ 1.555070] usbserial: USB Serial support registered for generic
  382. [ 1.557518] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
  383. [ 1.563567] serio: i8042 KBD port at 0x60,0x64 irq 1
  384. [ 1.564359] serio: i8042 AUX port at 0x60,0x64 irq 12
  385. [ 1.568822] mousedev: PS/2 mouse device common for all mice
  386. [ 1.575967] rtc_cmos 00:00: RTC can wake from S4
  387. [ 1.580300] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
  388. [ 1.585382] rtc_cmos 00:00: rtc core: registered rtc_cmos as rtc0
  389. [ 1.588413] rtc_cmos 00:00: alarms up to one day, y3k, 114 bytes nvram
  390. [ 1.593325] cpuidle: using governor menu
  391. [ 1.604893] hidraw: raw HID events driver (C) Jiri Kosina
  392. [ 1.609250] usbcore: registered new interface driver usbhid
  393. [ 1.609646] usbhid: USB HID core driver
  394. [ 1.611431] drop_monitor: Initializing network drop monitor service
  395. [ 1.614262] TCP: cubic registered
  396. [ 1.614618] Initializing XFRM netlink socket
  397. [ 1.617662] NET: Registered protocol family 10
  398. [ 1.630711] NET: Registered protocol family 17
  399. [ 1.631360] mpls_gso: MPLS GSO support
  400. [ 1.639153] Loading compiled-in X.509 certificates
  401. [ 1.644726] Loaded X.509 cert 'CentOS Linux kpatch signing key: ea0413152cde1d98ebdca3fe6f0230904c9ef717'
  402. [ 1.646505] Loaded X.509 cert 'CentOS Linux Driver update signing key: 7f421ee0ab69461574bb358861dbe77762a4201b'
  403. [ 1.655748] Loaded X.509 cert 'CentOS Linux kernel signing key: e7cef3613a9b8bd012fae7498272159bb1879c65'
  404. [ 1.656984] registered taskstats version 1
  405. [ 1.675994] Key type trusted registered
  406. [ 1.681717] Key type encrypted registered
  407. [ 1.683841] IMA: No TPM chip found, activating TPM-bypass! (rc=-19)
  408. [ 1.691827] Magic number: 3:63:979
  409. [ 1.693947] rtc_cmos 00:00: setting system clock to 2019-01-24 08:59:15 UTC (1548320355)
  410. [ 1.714694] Freeing unused kernel memory: 1876k freed
  411. [ 1.753778] Write protecting the kernel read-only data: 12288k
  412. [ 1.771690] Freeing unused kernel memory: 516k freed
  413. [ 1.789481] Freeing unused kernel memory: 600k freed
  414. supermin: mounting /proc
  415. supermin: ext2 mini initrd starting up: 5.1.19 glibc
  416. supermin: cmdline: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check lpj=2394000 printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 guestfs_network=1 TERM=screen
  417. supermin: uptime: 1.94 1.74
  418. supermin: mounting /sys
  419. supermin: internal insmod crc32-pclmul.ko
  420. [ 2.009722] PCLMULQDQ-NI instructions are not detected.
  421. insmod: init_module: crc32-pclmul.ko: No such device
  422. supermin: internal insmod crc32c-intel.ko
  423. insmod: init_module: crc32c-intel.ko: No such device
  424. supermin: internal insmod crct10dif_common.ko
  425. supermin: internal insmod crct10dif-pclmul.ko
  426. insmod: init_module: crct10dif-pclmul.ko: No such device
  427. supermin: internal insmod crc32_generic.ko
  428. supermin: internal insmod crct10dif_generic.ko
  429. supermin: internal insmod libnvdimm.ko
  430. supermin: internal insmod nfit.ko
  431. supermin: internal insmod libata.ko
  432. [ 2.179093] tsc: Refined TSC clocksource calibration: 2393.999 MHz
  433. [ 2.181134] Switched to clocksource tsc
  434. supermin: internal insmod ata_piix.ko
  435. [ 2.331603] scsi host0: ata_piix
  436. [ 2.335321] scsi host1: ata_piix
  437. [ 2.336801] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc0c0 irq 14
  438. [ 2.337499] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc0c8 irq 15
  439. [ 2.440971] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input2
  440. supermin: internal insmod virtio.ko
  441. supermin: internal insmod virtio_ring.ko
  442. supermin: internal insmod virtio_blk.ko
  443. supermin: internal insmod virtio-rng.ko
  444. supermin: internal insmod virtio_console.ko
  445. supermin: internal insmod virtio_net.ko
  446. supermin: internal insmod nd_btt.ko
  447. supermin: internal insmod nd_pmem.ko
  448. supermin: internal insmod crc-t10dif.ko
  449. supermin: internal insmod sd_mod.ko
  450. supermin: internal insmod virtio_scsi.ko
  451. supermin: internal insmod virtio_balloon.ko
  452. supermin: internal insmod virtio_input.ko
  453. supermin: internal insmod virtio_pci.ko
  454. [ 3.171615] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
  455. [ 3.186973] random: crng init done
  456. [ 3.680471] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
  457. [ 3.691249] scsi host2: Virtio SCSI HBA
  458. [ 3.725276] scsi 2:0:0:0: Direct-Access QEMU QEMU HARDDISK 2.5+ PQ: 0 ANSI: 5
  459. [ 4.221632] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
  460. [ 4.253391] scsi 2:0:1:0: Direct-Access QEMU QEMU HARDDISK 2.5+ PQ: 0 ANSI: 5
  461. [ 4.738353] sd 2:0:0:0: [sda] 104857600 512-byte logical blocks: (53.6 GB/50.0 GiB)
  462. [ 4.747553] sd 2:0:0:0: [sda] Write Protect is off
  463. [ 4.751546] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  464. [ 4.769344] sd 2:0:1:0: [sdb] 8388608 512-byte logical blocks: (4.29 GB/4.00 GiB)
  465. [ 4.779729] sd 2:0:1:0: [sdb] Write Protect is off
  466. [ 4.782707] sd 2:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  467. [ 4.834311] sd 2:0:1:0: [sdb] Attached SCSI disk
  468. [ 4.839746] sd 2:0:0:0: [sda] Attached SCSI disk
  469. [ 5.087353] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
  470. supermin: internal insmod jbd2.ko
  471. supermin: internal insmod mbcache.ko
  472. supermin: internal insmod ext4.ko
  473. supermin: internal insmod crc-ccitt.ko
  474. supermin: internal insmod crc-itu-t.ko
  475. supermin: internal insmod crc8.ko
  476. supermin: internal insmod libcrc32c.ko
  477. supermin: picked /sys/block/sdb/dev (8:16) as root device
  478. supermin: creating /dev/root as block special 8:16
  479. supermin: mounting new root on /root
  480. [ 5.362640] EXT4-fs (sdb): mounting ext2 file system using the ext4 subsystem
  481. [ 5.392802] EXT4-fs (sdb): mounted filesystem without journal. Opts:
  482. supermin: deleting initramfs files
  483. supermin: chroot
  484. Starting /init script ...
  485. + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check lpj=2394000 printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 guestfs_network=1 TERM=screen == *guestfs_network=1* ]]
  486. + guestfs_network=1
  487. + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check lpj=2394000 printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 guestfs_network=1 TERM=screen == *guestfs_rescue=1* ]]
  488. + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check lpj=2394000 printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 guestfs_network=1 TERM=screen == *guestfs_noreboot=1* ]]
  489. + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check lpj=2394000 printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 guestfs_network=1 TERM=screen == *guestfs_boot_analysis=1* ]]
  490. + '[' '!' -d /sys ']'
  491. + mkdir -p /sys
  492. + mount -t sysfs /sys /sys
  493. + mkdir -p /run
  494. + mount -t tmpfs -o nosuid,size=20%,mode=0755 tmpfs /run
  495. + mkdir -p /run/lock
  496. + ln -s ../run/lock /var/lock
  497. + test -e /etc/mtab
  498. + mount -t devtmpfs /dev /dev
  499. + mkdir -p /dev/pts
  500. + mount -t devpts /dev/pts /dev/pts
  501. + mkdir -p /dev/shm
  502. + mount -t tmpfs -o mode=1777 shmfs /dev/shm
  503. + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check lpj=2394000 printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 guestfs_network=1 TERM=screen == *selinux=1* ]]
  504. + mkdir -p /run/tmpfiles.d
  505. + kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf
  506. ++ dd if=/dev/urandom bs=16 count=1 status=none
  507. ++ od -x -A n
  508. + machine_id=' 1f66 a0be 6c5b ff12 0c49 9ee0 be94 7991'
  509. + echo 1f66a0be6c5bff120c499ee0be947991
  510. + systemd-tmpfiles --prefix=/dev --prefix=/run --prefix=/var/run --create --boot
  511. [/usr/lib/tmpfiles.d/systemd.conf:11] Unknown group 'utmp'.
  512. [/usr/lib/tmpfiles.d/systemd.conf:19] Unknown user 'systemd-network'.
  513. [/usr/lib/tmpfiles.d/systemd.conf:20] Unknown user 'systemd-network'.
  514. [/usr/lib/tmpfiles.d/systemd.conf:21] Unknown user 'systemd-network'.
  515. [/usr/lib/tmpfiles.d/systemd.conf:25] Unknown group 'systemd-journal'.
  516. [/usr/lib/tmpfiles.d/systemd.conf:26] Unknown group 'systemd-journal'.
  517. + for f in /lib/systemd/systemd-udevd /usr/lib/systemd/systemd-udevd /sbin/udevd /lib/udev/udevd /usr/lib/udev/udevd
  518. + '[' -x /lib/systemd/systemd-udevd ']'
  519. + UDEVD=/lib/systemd/systemd-udevd
  520. + break
  521. + '[' -z /lib/systemd/systemd-udevd ']'
  522. + /lib/systemd/systemd-udevd --daemon
  523. starting version 219
  524. specified group 'input' unknown
  525. + udevadm trigger
  526. + udevadm settle --timeout=600
  527. [ 10.273823] piix4_smbus 0000:00:01.3: SMBus Host Controller at 0x700, revision 0
  528. [ 10.424610] FDC 0 is a S82078B
  529. [ 10.627053] input: PC Speaker as /devices/platform/pcspkr/input/input3
  530. [ 12.907956] sd 2:0:0:0: Attached scsi generic sg0 type 0
  531. [ 12.968441] sd 2:0:1:0: Attached scsi generic sg1 type 0
  532. [ 14.435612] Error: Driver 'pcspkr' is already registered, aborting...
  533. [ 22.188256] ppdev: user-space parallel port driver
  534. + shopt -s nullglob
  535. + for f in '/sys/block/sd*/device/timeout'
  536. + echo 300
  537. + for f in '/sys/block/sd*/device/timeout'
  538. + echo 300
  539. + for f in '/sys/block/{h,s,ub,v}d*/queue/scheduler'
  540. + echo noop
  541. + for f in '/sys/block/{h,s,ub,v}d*/queue/scheduler'
  542. + echo noop
  543. + shopt -u nullglob
  544. + ip addr add 127.0.0.1/8 brd + dev lo scope host
  545. + ip link set dev lo up
  546. + ip addr add 169.254.2.10/16 brd + dev eth0 scope global
  547. + ip link set dev eth0 up
  548. + ip route add default via 169.254.2.2
  549. + echo nameserver 169.254.2.3
  550. + mdadm -As --auto=yes --no-degraded
  551. mdadm: No arrays found in config file or automatically
  552. + mkdir -p /tmp/lvm
  553. + touch /tmp/lvm/lvm.conf
  554. + LVM_SYSTEM_DIR=/tmp/lvm
  555. + export LVM_SYSTEM_DIR
  556. + lvmetad
  557. + modprobe dm_mod
  558. [ 26.341260] device-mapper: uevent: version 1.0.3
  559. [ 26.380435] device-mapper: ioctl: 4.37.1-ioctl (2018-04-03) initialised: dm-devel@redhat.com
  560. + lvm pvscan --cache --activate ay
  561. + mdadm -As --auto=yes --run
  562. mdadm: No arrays found in config file or automatically
  563. + ldmtool create all
  564. /init: line 149: ldmtool: command not found
  565. + test 1 = 1
  566. + test '' '!=' 1
  567. + uname -a
  568. Linux (none) 3.10.0-957.1.3.el7.x86_64 #1 SMP Thu Nov 29 14:49:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
  569. + ls -lR /dev
  570. /dev:
  571. total 0
  572. crw------- 1 root root 10, 235 Jan 24 08:59 autofs
  573. drwxr-xr-x 2 root root 80 Jan 24 08:59 block
  574. drwxr-xr-x 2 root root 80 Jan 24 08:59 bsg
  575. crw------- 1 root root 10, 234 Jan 24 08:59 btrfs-control
  576. drwxr-xr-x 2 root root 2300 Jan 24 08:59 char
  577. crw------- 1 root root 5, 1 Jan 24 08:59 console
  578. lrwxrwxrwx 1 root root 11 Jan 24 08:59 core -> /proc/kcore
  579. drwxr-xr-x 4 root root 80 Jan 24 08:59 cpu
  580. crw------- 1 root root 10, 61 Jan 24 08:59 cpu_dma_latency
  581. crw------- 1 root root 10, 62 Jan 24 08:59 crash
  582. drwxr-xr-x 6 root root 120 Jan 24 08:59 disk
  583. lrwxrwxrwx 1 root root 13 Jan 24 08:59 fd -> /proc/self/fd
  584. crw-rw-rw- 1 root root 1, 7 Jan 24 08:59 full
  585. crw-rw-rw- 1 root root 10, 229 Jan 24 08:59 fuse
  586. crw------- 1 root root 10, 228 Jan 24 08:59 hpet
  587. crw------- 1 root root 10, 183 Jan 24 08:59 hwrng
  588. drwxr-xr-x 3 root root 180 Jan 24 08:59 input
  589. crw-r--r-- 1 root root 1, 11 Jan 24 08:59 kmsg
  590. crw------- 1 root root 10, 232 Jan 24 08:59 kvm
  591. crw-rw---- 1 root disk 10, 237 Jan 24 08:59 loop-control
  592. drwxr-xr-x 2 root root 60 Jan 24 08:59 mapper
  593. crw------- 1 root root 10, 227 Jan 24 08:59 mcelog
  594. crw------- 1 root root 1, 1 Jan 24 08:59 mem
  595. drwxr-xr-x 2 root root 60 Jan 24 08:59 net
  596. crw------- 1 root root 10, 60 Jan 24 08:59 network_latency
  597. crw------- 1 root root 10, 59 Jan 24 08:59 network_throughput
  598. crw-rw-rw- 1 root root 1, 3 Jan 24 08:59 null
  599. crw------- 1 root root 10, 144 Jan 24 08:59 nvram
  600. crw------- 1 root root 1, 12 Jan 24 08:59 oldmem
  601. crw------- 1 root root 1, 4 Jan 24 08:59 port
  602. crw------- 1 root root 108, 0 Jan 24 08:59 ppp
  603. crw-rw-rw- 1 root root 5, 2 Jan 24 08:59 ptmx
  604. drwxr-xr-x 2 root root 0 Jan 24 08:59 pts
  605. crw-rw-rw- 1 root root 1, 8 Jan 24 08:59 random
  606. drwxr-xr-x 2 root root 60 Jan 24 08:59 raw
  607. lrwxrwxrwx 1 root root 4 Jan 24 08:59 rtc -> rtc0
  608. crw------- 1 root root 252, 0 Jan 24 08:59 rtc0
  609. brw------- 1 root root 8, 0 Jan 24 08:59 sda
  610. brw------- 1 root root 8, 16 Jan 24 08:59 sdb
  611. crw-rw---- 1 root disk 21, 0 Jan 24 08:59 sg0
  612. crw-rw---- 1 root disk 21, 1 Jan 24 08:59 sg1
  613. drwxrwxrwt 2 root root 40 Jan 24 08:59 shm
  614. crw------- 1 root root 10, 231 Jan 24 08:59 snapshot
  615. drwxr-xr-x 2 root root 80 Jan 24 08:59 snd
  616. lrwxrwxrwx 1 root root 15 Jan 24 08:59 stderr -> /proc/self/fd/2
  617. lrwxrwxrwx 1 root root 15 Jan 24 08:59 stdin -> /proc/self/fd/0
  618. lrwxrwxrwx 1 root root 15 Jan 24 08:59 stdout -> /proc/self/fd/1
  619. crw-rw-rw- 1 root root 5, 0 Jan 24 08:59 tty
  620. crw------- 1 root root 4, 0 Jan 24 08:59 tty0
  621. crw------- 1 root root 4, 1 Jan 24 08:59 tty1
  622. crw------- 1 root root 4, 10 Jan 24 08:59 tty10
  623. crw------- 1 root root 4, 11 Jan 24 08:59 tty11
  624. crw------- 1 root root 4, 12 Jan 24 08:59 tty12
  625. crw------- 1 root root 4, 13 Jan 24 08:59 tty13
  626. crw------- 1 root root 4, 14 Jan 24 08:59 tty14
  627. crw------- 1 root root 4, 15 Jan 24 08:59 tty15
  628. crw------- 1 root root 4, 16 Jan 24 08:59 tty16
  629. crw------- 1 root root 4, 17 Jan 24 08:59 tty17
  630. crw------- 1 root root 4, 18 Jan 24 08:59 tty18
  631. crw------- 1 root root 4, 19 Jan 24 08:59 tty19
  632. crw------- 1 root root 4, 2 Jan 24 08:59 tty2
  633. crw------- 1 root root 4, 20 Jan 24 08:59 tty20
  634. crw------- 1 root root 4, 21 Jan 24 08:59 tty21
  635. crw------- 1 root root 4, 22 Jan 24 08:59 tty22
  636. crw------- 1 root root 4, 23 Jan 24 08:59 tty23
  637. crw------- 1 root root 4, 24 Jan 24 08:59 tty24
  638. crw------- 1 root root 4, 25 Jan 24 08:59 tty25
  639. crw------- 1 root root 4, 26 Jan 24 08:59 tty26
  640. crw------- 1 root root 4, 27 Jan 24 08:59 tty27
  641. crw------- 1 root root 4, 28 Jan 24 08:59 tty28
  642. crw------- 1 root root 4, 29 Jan 24 08:59 tty29
  643. crw------- 1 root root 4, 3 Jan 24 08:59 tty3
  644. crw------- 1 root root 4, 30 Jan 24 08:59 tty30
  645. crw------- 1 root root 4, 31 Jan 24 08:59 tty31
  646. crw------- 1 root root 4, 32 Jan 24 08:59 tty32
  647. crw------- 1 root root 4, 33 Jan 24 08:59 tty33
  648. crw------- 1 root root 4, 34 Jan 24 08:59 tty34
  649. crw------- 1 root root 4, 35 Jan 24 08:59 tty35
  650. crw------- 1 root root 4, 36 Jan 24 08:59 tty36
  651. crw------- 1 root root 4, 37 Jan 24 08:59 tty37
  652. crw------- 1 root root 4, 38 Jan 24 08:59 tty38
  653. crw------- 1 root root 4, 39 Jan 24 08:59 tty39
  654. crw------- 1 root root 4, 4 Jan 24 08:59 tty4
  655. crw------- 1 root root 4, 40 Jan 24 08:59 tty40
  656. crw------- 1 root root 4, 41 Jan 24 08:59 tty41
  657. crw------- 1 root root 4, 42 Jan 24 08:59 tty42
  658. crw------- 1 root root 4, 43 Jan 24 08:59 tty43
  659. crw------- 1 root root 4, 44 Jan 24 08:59 tty44
  660. crw------- 1 root root 4, 45 Jan 24 08:59 tty45
  661. crw------- 1 root root 4, 46 Jan 24 08:59 tty46
  662. crw------- 1 root root 4, 47 Jan 24 08:59 tty47
  663. crw------- 1 root root 4, 48 Jan 24 08:59 tty48
  664. crw------- 1 root root 4, 49 Jan 24 08:59 tty49
  665. crw------- 1 root root 4, 5 Jan 24 08:59 tty5
  666. crw------- 1 root root 4, 50 Jan 24 08:59 tty50
  667. crw------- 1 root root 4, 51 Jan 24 08:59 tty51
  668. crw------- 1 root root 4, 52 Jan 24 08:59 tty52
  669. crw------- 1 root root 4, 53 Jan 24 08:59 tty53
  670. crw------- 1 root root 4, 54 Jan 24 08:59 tty54
  671. crw------- 1 root root 4, 55 Jan 24 08:59 tty55
  672. crw------- 1 root root 4, 56 Jan 24 08:59 tty56
  673. crw------- 1 root root 4, 57 Jan 24 08:59 tty57
  674. crw------- 1 root root 4, 58 Jan 24 08:59 tty58
  675. crw------- 1 root root 4, 59 Jan 24 08:59 tty59
  676. crw------- 1 root root 4, 6 Jan 24 08:59 tty6
  677. crw------- 1 root root 4, 60 Jan 24 08:59 tty60
  678. crw------- 1 root root 4, 61 Jan 24 08:59 tty61
  679. crw------- 1 root root 4, 62 Jan 24 08:59 tty62
  680. crw------- 1 root root 4, 63 Jan 24 08:59 tty63
  681. crw------- 1 root root 4, 7 Jan 24 08:59 tty7
  682. crw------- 1 root root 4, 8 Jan 24 08:59 tty8
  683. crw------- 1 root root 4, 9 Jan 24 08:59 tty9
  684. crw------- 1 root root 4, 64 Jan 24 08:59 ttyS0
  685. crw------- 1 root root 10, 239 Jan 24 08:59 uhid
  686. crw------- 1 root root 10, 223 Jan 24 08:59 uinput
  687. crw-rw-rw- 1 root root 1, 9 Jan 24 08:59 urandom
  688. crw------- 1 root root 247, 0 Jan 24 08:59 usbmon0
  689. crw------- 1 root root 7, 0 Jan 24 08:59 vcs
  690. crw------- 1 root root 7, 1 Jan 24 08:59 vcs1
  691. crw------- 1 root root 7, 128 Jan 24 08:59 vcsa
  692. crw------- 1 root root 7, 129 Jan 24 08:59 vcsa1
  693. drwxr-xr-x 2 root root 60 Jan 24 08:59 vfio
  694. crw------- 1 root root 10, 63 Jan 24 08:59 vga_arbiter
  695. crw------- 1 root root 10, 137 Jan 24 08:59 vhci
  696. crw------- 1 root root 10, 238 Jan 24 08:59 vhost-net
  697. drwxr-xr-x 2 root root 60 Jan 24 08:59 virtio-ports
  698. crw------- 1 root root 243, 1 Jan 24 08:59 vport2p1
  699. crw-rw-rw- 1 root root 1, 5 Jan 24 08:59 zero
  700.  
  701. /dev/block:
  702. total 0
  703. lrwxrwxrwx 1 root root 6 Jan 24 08:59 8:0 -> ../sda
  704. lrwxrwxrwx 1 root root 6 Jan 24 08:59 8:16 -> ../sdb
  705.  
  706. /dev/bsg:
  707. total 0
  708. crw------- 1 root root 248, 0 Jan 24 08:59 2:0:0:0
  709. crw------- 1 root root 248, 1 Jan 24 08:59 2:0:1:0
  710.  
  711. /dev/char:
  712. total 0
  713. lrwxrwxrwx 1 root root 8 Jan 24 08:59 10:144 -> ../nvram
  714. lrwxrwxrwx 1 root root 8 Jan 24 08:59 10:183 -> ../hwrng
  715. lrwxrwxrwx 1 root root 9 Jan 24 08:59 10:227 -> ../mcelog
  716. lrwxrwxrwx 1 root root 7 Jan 24 08:59 10:228 -> ../hpet
  717. lrwxrwxrwx 1 root root 11 Jan 24 08:59 10:231 -> ../snapshot
  718. lrwxrwxrwx 1 root root 6 Jan 24 08:59 10:232 -> ../kvm
  719. lrwxrwxrwx 1 root root 9 Jan 24 08:59 10:235 -> ../autofs
  720. lrwxrwxrwx 1 root root 17 Jan 24 08:59 10:236 -> ../mapper/control
  721. lrwxrwxrwx 1 root root 21 Jan 24 08:59 10:59 -> ../network_throughput
  722. lrwxrwxrwx 1 root root 18 Jan 24 08:59 10:60 -> ../network_latency
  723. lrwxrwxrwx 1 root root 18 Jan 24 08:59 10:61 -> ../cpu_dma_latency
  724. lrwxrwxrwx 1 root root 8 Jan 24 08:59 10:62 -> ../crash
  725. lrwxrwxrwx 1 root root 14 Jan 24 08:59 10:63 -> ../vga_arbiter
  726. lrwxrwxrwx 1 root root 12 Jan 24 08:59 116:33 -> ../snd/timer
  727. lrwxrwxrwx 1 root root 15 Jan 24 08:59 13:32 -> ../input/mouse0
  728. lrwxrwxrwx 1 root root 13 Jan 24 08:59 13:63 -> ../input/mice
  729. lrwxrwxrwx 1 root root 15 Jan 24 08:59 13:64 -> ../input/event0
  730. lrwxrwxrwx 1 root root 15 Jan 24 08:59 13:65 -> ../input/event1
  731. lrwxrwxrwx 1 root root 15 Jan 24 08:59 13:66 -> ../input/event2
  732. lrwxrwxrwx 1 root root 15 Jan 24 08:59 13:67 -> ../input/event3
  733. lrwxrwxrwx 1 root root 13 Jan 24 08:59 162:0 -> ../raw/rawctl
  734. lrwxrwxrwx 1 root root 6 Jan 24 08:59 1:1 -> ../mem
  735. lrwxrwxrwx 1 root root 7 Jan 24 08:59 1:11 -> ../kmsg
  736. lrwxrwxrwx 1 root root 9 Jan 24 08:59 1:12 -> ../oldmem
  737. lrwxrwxrwx 1 root root 7 Jan 24 08:59 1:3 -> ../null
  738. lrwxrwxrwx 1 root root 7 Jan 24 08:59 1:4 -> ../port
  739. lrwxrwxrwx 1 root root 7 Jan 24 08:59 1:5 -> ../zero
  740. lrwxrwxrwx 1 root root 7 Jan 24 08:59 1:7 -> ../full
  741. lrwxrwxrwx 1 root root 9 Jan 24 08:59 1:8 -> ../random
  742. lrwxrwxrwx 1 root root 10 Jan 24 08:59 1:9 -> ../urandom
  743. lrwxrwxrwx 1 root root 12 Jan 24 08:59 202:0 -> ../cpu/0/msr
  744. lrwxrwxrwx 1 root root 12 Jan 24 08:59 202:1 -> ../cpu/1/msr
  745. lrwxrwxrwx 1 root root 14 Jan 24 08:59 203:0 -> ../cpu/0/cpuid
  746. lrwxrwxrwx 1 root root 14 Jan 24 08:59 203:1 -> ../cpu/1/cpuid
  747. lrwxrwxrwx 1 root root 6 Jan 24 08:59 21:0 -> ../sg0
  748. lrwxrwxrwx 1 root root 6 Jan 24 08:59 21:1 -> ../sg1
  749. lrwxrwxrwx 1 root root 11 Jan 24 08:59 243:1 -> ../vport2p1
  750. lrwxrwxrwx 1 root root 10 Jan 24 08:59 247:0 -> ../usbmon0
  751. lrwxrwxrwx 1 root root 14 Jan 24 08:59 248:0 -> ../bsg/2:0:0:0
  752. lrwxrwxrwx 1 root root 14 Jan 24 08:59 248:1 -> ../bsg/2:0:1:0
  753. lrwxrwxrwx 1 root root 7 Jan 24 08:59 252:0 -> ../rtc0
  754. lrwxrwxrwx 1 root root 7 Jan 24 08:59 4:0 -> ../tty0
  755. lrwxrwxrwx 1 root root 7 Jan 24 08:59 4:1 -> ../tty1
  756. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:10 -> ../tty10
  757. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:11 -> ../tty11
  758. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:12 -> ../tty12
  759. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:13 -> ../tty13
  760. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:14 -> ../tty14
  761. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:15 -> ../tty15
  762. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:16 -> ../tty16
  763. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:17 -> ../tty17
  764. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:18 -> ../tty18
  765. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:19 -> ../tty19
  766. lrwxrwxrwx 1 root root 7 Jan 24 08:59 4:2 -> ../tty2
  767. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:20 -> ../tty20
  768. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:21 -> ../tty21
  769. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:22 -> ../tty22
  770. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:23 -> ../tty23
  771. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:24 -> ../tty24
  772. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:25 -> ../tty25
  773. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:26 -> ../tty26
  774. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:27 -> ../tty27
  775. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:28 -> ../tty28
  776. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:29 -> ../tty29
  777. lrwxrwxrwx 1 root root 7 Jan 24 08:59 4:3 -> ../tty3
  778. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:30 -> ../tty30
  779. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:31 -> ../tty31
  780. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:32 -> ../tty32
  781. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:33 -> ../tty33
  782. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:34 -> ../tty34
  783. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:35 -> ../tty35
  784. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:36 -> ../tty36
  785. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:37 -> ../tty37
  786. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:38 -> ../tty38
  787. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:39 -> ../tty39
  788. lrwxrwxrwx 1 root root 7 Jan 24 08:59 4:4 -> ../tty4
  789. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:40 -> ../tty40
  790. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:41 -> ../tty41
  791. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:42 -> ../tty42
  792. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:43 -> ../tty43
  793. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:44 -> ../tty44
  794. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:45 -> ../tty45
  795. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:46 -> ../tty46
  796. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:47 -> ../tty47
  797. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:48 -> ../tty48
  798. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:49 -> ../tty49
  799. lrwxrwxrwx 1 root root 7 Jan 24 08:59 4:5 -> ../tty5
  800. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:50 -> ../tty50
  801. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:51 -> ../tty51
  802. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:52 -> ../tty52
  803. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:53 -> ../tty53
  804. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:54 -> ../tty54
  805. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:55 -> ../tty55
  806. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:56 -> ../tty56
  807. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:57 -> ../tty57
  808. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:58 -> ../tty58
  809. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:59 -> ../tty59
  810. lrwxrwxrwx 1 root root 7 Jan 24 08:59 4:6 -> ../tty6
  811. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:60 -> ../tty60
  812. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:61 -> ../tty61
  813. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:62 -> ../tty62
  814. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:63 -> ../tty63
  815. lrwxrwxrwx 1 root root 8 Jan 24 08:59 4:64 -> ../ttyS0
  816. lrwxrwxrwx 1 root root 7 Jan 24 08:59 4:7 -> ../tty7
  817. lrwxrwxrwx 1 root root 7 Jan 24 08:59 4:8 -> ../tty8
  818. lrwxrwxrwx 1 root root 7 Jan 24 08:59 4:9 -> ../tty9
  819. lrwxrwxrwx 1 root root 6 Jan 24 08:59 5:0 -> ../tty
  820. lrwxrwxrwx 1 root root 10 Jan 24 08:59 5:1 -> ../console
  821. lrwxrwxrwx 1 root root 7 Jan 24 08:59 5:2 -> ../ptmx
  822. lrwxrwxrwx 1 root root 6 Jan 24 08:59 7:0 -> ../vcs
  823. lrwxrwxrwx 1 root root 7 Jan 24 08:59 7:1 -> ../vcs1
  824. lrwxrwxrwx 1 root root 7 Jan 24 08:59 7:128 -> ../vcsa
  825. lrwxrwxrwx 1 root root 8 Jan 24 08:59 7:129 -> ../vcsa1
  826.  
  827. /dev/cpu:
  828. total 0
  829. drwxr-xr-x 2 root root 80 Jan 24 08:59 0
  830. drwxr-xr-x 2 root root 80 Jan 24 08:59 1
  831.  
  832. /dev/cpu/0:
  833. total 0
  834. crw------- 1 root root 203, 0 Jan 24 08:59 cpuid
  835. crw------- 1 root root 202, 0 Jan 24 08:59 msr
  836.  
  837. /dev/cpu/1:
  838. total 0
  839. crw------- 1 root root 203, 1 Jan 24 08:59 cpuid
  840. crw------- 1 root root 202, 1 Jan 24 08:59 msr
  841.  
  842. /dev/disk:
  843. total 0
  844. drwxr-xr-x 2 root root 80 Jan 24 08:59 by-id
  845. drwxr-xr-x 2 root root 60 Jan 24 08:59 by-label
  846. drwxr-xr-x 2 root root 80 Jan 24 08:59 by-path
  847. drwxr-xr-x 2 root root 80 Jan 24 08:59 by-uuid
  848.  
  849. /dev/disk/by-id:
  850. total 0
  851. lrwxrwxrwx 1 root root 9 Jan 24 08:59 scsi-0QEMU_QEMU_HARDDISK_appliance -> ../../sdb
  852. lrwxrwxrwx 1 root root 9 Jan 24 08:59 scsi-0QEMU_QEMU_HARDDISK_hd0 -> ../../sda
  853.  
  854. /dev/disk/by-label:
  855. total 0
  856. lrwxrwxrwx 1 root root 9 Jan 24 08:59 img-rootfs -> ../../sda
  857.  
  858. /dev/disk/by-path:
  859. total 0
  860. lrwxrwxrwx 1 root root 9 Jan 24 08:59 pci-0000:00:03.0-scsi-0:0:0:0 -> ../../sda
  861. lrwxrwxrwx 1 root root 9 Jan 24 08:59 pci-0000:00:03.0-scsi-0:0:1:0 -> ../../sdb
  862.  
  863. /dev/disk/by-uuid:
  864. total 0
  865. lrwxrwxrwx 1 root root 9 Jan 24 08:59 a8a2b691-f248-482b-a715-039309108968 -> ../../sdb
  866. lrwxrwxrwx 1 root root 9 Jan 24 08:59 af8206ba-f3a3-4c4d-a9ab-f27d585c23a0 -> ../../sda
  867.  
  868. /dev/input:
  869. total 0
  870. drwxr-xr-x 2 root root 120 Jan 24 08:59 by-path
  871. crw------- 1 root root 13, 64 Jan 24 08:59 event0
  872. crw------- 1 root root 13, 65 Jan 24 08:59 event1
  873. crw------- 1 root root 13, 66 Jan 24 08:59 event2
  874. crw------- 1 root root 13, 67 Jan 24 08:59 event3
  875. crw------- 1 root root 13, 63 Jan 24 08:59 mice
  876. crw------- 1 root root 13, 32 Jan 24 08:59 mouse0
  877.  
  878. /dev/input/by-path:
  879. total 0
  880. lrwxrwxrwx 1 root root 9 Jan 24 08:59 platform-i8042-serio-0-event-kbd -> ../event1
  881. lrwxrwxrwx 1 root root 9 Jan 24 08:59 platform-i8042-serio-1-event-mouse -> ../event2
  882. lrwxrwxrwx 1 root root 9 Jan 24 08:59 platform-i8042-serio-1-mouse -> ../mouse0
  883. lrwxrwxrwx 1 root root 9 Jan 24 08:59 platform-pcspkr-event-spkr -> ../event3
  884.  
  885. /dev/mapper:
  886. total 0
  887. crw------- 1 root root 10, 236 Jan 24 08:59 control
  888.  
  889. /dev/net:
  890. total 0
  891. crw-rw-rw- 1 root root 10, 200 Jan 24 08:59 tun
  892.  
  893. /dev/pts:
  894. total 0
  895. c--------- 1 root root 5, 2 Jan 24 08:59 ptmx
  896.  
  897. /dev/raw:
  898. total 0
  899. crw------- 1 root root 162, 0 Jan 24 08:59 rawctl
  900.  
  901. /dev/shm:
  902. total 0
  903.  
  904. /dev/snd:
  905. total 0
  906. crw-rw---- 1 root audio 116, 1 Jan 24 08:59 seq
  907. crw-rw---- 1 root audio 116, 33 Jan 24 08:59 timer
  908.  
  909. /dev/vfio:
  910. total 0
  911. crw------- 1 root root 10, 196 Jan 24 08:59 vfio
  912.  
  913. /dev/virtio-ports:
  914. total 0
  915. lrwxrwxrwx 1 root root 11 Jan 24 08:59 org.libguestfs.channel.0 -> ../vport2p1
  916. + cat /proc/mounts
  917. rootfs / rootfs rw 0 0
  918. proc /proc proc rw,relatime 0 0
  919. /dev/root / ext2 rw,noatime 0 0
  920. /proc /proc proc rw,relatime 0 0
  921. /sys /sys sysfs rw,relatime 0 0
  922. tmpfs /run tmpfs rw,nosuid,relatime,size=409456k,mode=755 0 0
  923. /dev /dev devtmpfs rw,relatime,size=1020496k,nr_inodes=255124,mode=755 0 0
  924. /dev/pts /dev/pts devpts rw,relatime,mode=600,ptmxmode=000 0 0
  925. shmfs /dev/shm tmpfs rw,relatime 0 0
  926. + cat /proc/mdstat
  927. Personalities :
  928. unused devices: <none>
  929. + lvm config
  930. + lvm pvs
  931. + lvm vgs
  932. + lvm lvs
  933. + ip a
  934. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
  935. link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  936. inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
  937. valid_lft forever preferred_lft forever
  938. inet6 ::1/128 scope host
  939. valid_lft forever preferred_lft forever
  940. 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
  941. link/ether 52:54:00:12:34:56 brd ff:ff:ff:ff:ff:ff
  942. inet 169.254.2.10/16 brd 169.254.255.255 scope global eth0
  943. valid_lft forever preferred_lft forever
  944. inet6 fec0::5054:ff:fe12:3456/64 scope site mngtmpaddr dynamic
  945. valid_lft 86398sec preferred_lft 14398sec
  946. inet6 fe80::5054:ff:fe12:3456/64 scope link
  947. valid_lft forever preferred_lft forever
  948. + ip r
  949. default via 169.254.2.2 dev eth0
  950. 169.254.0.0/16 dev eth0 proto kernel scope link src 169.254.2.10
  951. + cat /etc/resolv.conf
  952. nameserver 169.254.2.3
  953. + lsmod
  954. Module Size Used by
  955. dm_mod 124407 0
  956. ppdev 17671 0
  957. kvm_amd 2177212 0
  958. kvm 586948 1 kvm_amd
  959. snd_pcm 105708 0
  960. snd_timer 29912 1 snd_pcm
  961. sg 40721 0
  962. snd 83815 2 snd_timer,snd_pcm
  963. soundcore 15047 1 snd
  964. irqbypass 13503 1 kvm
  965. serio_raw 13434 0
  966. pcspkr 12718 0
  967. parport_pc 28205 0
  968. floppy 69432 0
  969. i2c_piix4 22401 0
  970. ata_generic 12923 0
  971. parport 46395 2 ppdev,parport_pc
  972. pata_acpi 13053 0
  973. libcrc32c 12644 0
  974. crc8 12893 0
  975. crc_itu_t 12707 0
  976. crc_ccitt 12707 0
  977. ext4 579979 1
  978. mbcache 14958 1 ext4
  979. jbd2 107478 1 ext4
  980. virtio_pci 22985 0
  981. virtio_input 13257 0
  982. virtio_balloon 18015 0
  983. virtio_scsi 18463 1
  984. sd_mod 46281 1
  985. crc_t10dif 12912 1 sd_mod
  986. nd_pmem 13331 0
  987. nd_btt 22861 1 nd_pmem
  988. virtio_net 28063 0
  989. virtio_console 28075 0
  990. virtio_rng 13029 0
  991. virtio_blk 18222 0
  992. virtio_ring 22746 8 virtio_blk,virtio_net,virtio_pci,virtio_rng,virtio_balloon,virtio_input,virtio_console,virtio_scsi
  993. virtio 14959 8 virtio_blk,virtio_net,virtio_pci,virtio_rng,virtio_balloon,virtio_input,virtio_console,virtio_scsi
  994. ata_piix 35052 0
  995. libata 243133 3 pata_acpi,ata_generic,ata_piix
  996. nfit 55016 0
  997. libnvdimm 147731 3 nfit,nd_pmem,nd_btt
  998. crct10dif_generic 12647 1
  999. crc32_generic 12714 0
  1000. crct10dif_common 12595 2 crct10dif_generic,crc_t10dif
  1001. + date
  1002. Thu Jan 24 08:59:43 UTC 2019
  1003. + echo -n 'clocksource: '
  1004. clocksource: + cat /sys/devices/system/clocksource/clocksource0/current_clocksource
  1005. tsc
  1006. + echo -n 'uptime: '
  1007. uptime: + cat /proc/uptime
  1008. 30.25 11.91
  1009. + cmd=guestfsd
  1010. ++ grep -Eo 'guestfs_channel=[^[:space:]]+' /proc/cmdline
  1011. + eval
  1012. + test x '!=' x
  1013. + test 1 = 1
  1014. + cmd='guestfsd --verbose'
  1015. + test 1 = 1
  1016. + cmd='guestfsd --verbose --network'
  1017. + false
  1018. + test '' = 1
  1019. + echo guestfsd --verbose --network
  1020. guestfsd --verbose --network
  1021. + guestfsd --verbose --network
  1022. lvm_system_dir = /tmp/lvm
  1023. OCaml daemon loaded
  1024. trying to open virtio-serial channel '/dev/virtio-ports/org.libguestfs.channel.0'
  1025. commandrvf: stdout=n stderr=y flags=0x0
  1026. commandrvf: udevadm --debug settle
  1027. calling: settle
  1028. libguestfs: recv_from_daemon: received GUESTFS_LAUNCH_FLAG
  1029. libguestfs: appliance is up
  1030. libguestfs: trace: launch = 0
  1031. libguestfs: trace: c_pointer
  1032. libguestfs: trace: c_pointer = 18270320
  1033. libguestfs: trace: list_partitions
  1034. guestfsd: <= list_partitions (0x8) request length 40 bytes
  1035. commandrvf: stdout=n stderr=y flags=0x0
  1036. commandrvf: udevadm --debug settle -E /dev/sda
  1037. calling: settle
  1038. commandrvf: stdout=n stderr=y flags=0x0
  1039. commandrvf: udevadm --debug settle -E /dev/sdb
  1040. calling: settle
  1041. libguestfs: trace: list_partitions = []
  1042. libguestfs: trace: inspect_os
  1043. guestfsd: => list_partitions (0x8) took 0.25 secs
  1044. guestfsd: <= inspect_os (0x1e0) request length 40 bytes
  1045. commandrvf: stdout=n stderr=y flags=0x0
  1046. commandrvf: udevadm --debug settle -E /dev/sda
  1047. calling: settle
  1048. commandrvf: stdout=n stderr=y flags=0x0
  1049. commandrvf: udevadm --debug settle -E /dev/sdb
  1050. calling: settle
  1051. commandrvf: stdout=n stderr=y flags=0x0
  1052. commandrvf: udevadm --debug settle -E /dev/sda
  1053. calling: settle
  1054. commandrvf: stdout=n stderr=y flags=0x0
  1055. commandrvf: udevadm --debug settle -E /dev/sdb
  1056. calling: settle
  1057. command: blkid '-c' '/dev/null' '-o' 'value' '-s' 'TYPE' '/dev/sda'
  1058. command: blkid returned 0
  1059. command: blkid: stdout:
  1060. xfs
  1061. command: lvm 'lvs' '--help'
  1062. command: lvm returned 0
  1063. command: lvm: stdout:
  1064. lvs - Display information about logical volumes
  1065.  
  1066. lvs
  1067. \t[ -H|--history ]
  1068. \t[ -a|--all ]
  1069. \t[ -o|--options String ]
  1070. \t[ -S|--select String ]
  1071. \t[ -O|--sort String ]
  1072. \t[ --segments ]
  1073. \t[ --aligned ]
  1074. \t[ --binary ]
  1075. \t[ --configreport log|vg|lv|pv|pvseg|seg ]
  1076. \t[ --foreign ]
  1077. \t[ --ignorelockingfailure ]
  1078. \t[ --ignoreskippedcluster ]
  1079. \t[ --logonly ]
  1080. \t[ --nameprefixes ]
  1081. \t[ --noheadings ]
  1082. \t[ --nolocking ]
  1083. \t[ --nosuffix ]
  1084. \t[ --readonly ]
  1085. \t[ --reportformat basic|json ]
  1086. \t[ --rows ]
  1087. \t[ --separator String ]
  1088. \t[ --shared ]
  1089. \t[ --trustcache ]
  1090. \t[ --unbuffered ]
  1091. \t[ --units r|R|h|H|b|B|s|S|k|K|m|M|g|G|t|T|p|P|e|E ]
  1092. \t[ --unquoted ]
  1093. \t[ COMMON_OPTIONS ]
  1094. \t[ VG|LV|Tag ... ]
  1095.  
  1096. Common options for lvm:
  1097. \t[ -d|--debug ]
  1098. \t[ -h|--help ]
  1099. \t[ -q|--quiet ]
  1100. \t[ -v|--verbose ]
  1101. \t[ -y|--yes ]
  1102. \t[ -t|--test ]
  1103. \t[ --commandprofile String ]
  1104. \t[ --config String ]
  1105. \t[ --driverloaded y|n ]
  1106. \t[ --lockopt String ]
  1107. \t[ --longhelp ]
  1108. \t[ --profile String ]
  1109. \t[ --version ]
  1110.  
  1111. Use --longhelp to show all options and advanced commands.
  1112. command: lvm 'lvs' '-o' 'vg_name,lv_name' '-S' 'lv_role=public && lv_skip_activation!=yes' '--noheadings' '--separator' '/'
  1113. command: lvm returned 0
  1114. check_for_filesystem_on: /dev/sda (xfs)
  1115. command: mount '-o' 'ro' '/dev/sda' '/sysroot//'
  1116. [ 33.521419] SGI XFS with ACLs, security attributes, no debug enabled
  1117. [ 33.785850] XFS (sda): Mounting V5 Filesystem
  1118. [ 34.490196] XFS (sda): Ending clean mount
  1119. command: mount returned 0
  1120. chroot: /sysroot: running 'is_file: /grub/menu.lst'
  1121. chroot: /sysroot: running 'is_file: /grub/grub.conf'
  1122. chroot: /sysroot: running 'is_file: /grub2/grub.cfg'
  1123. chroot: /sysroot: running 'is_dir: /etc'
  1124. chroot: /sysroot: running 'is_dir: /bin'
  1125. chroot: /sysroot: running 'is_dir: /etc'
  1126. chroot: /sysroot: running 'is_dir: /bin'
  1127. chroot: /sysroot: running 'is_dir: /etc'
  1128. chroot: /sysroot: running 'is_dir: /bin'
  1129. chroot: /sysroot: running 'is_file: /hurd/console'
  1130. chroot: /sysroot: running 'is_dir: /etc'
  1131. chroot: /sysroot: running 'is_dir: /bin'
  1132. chroot: /sysroot: running 'is_dir: /etc'
  1133. chroot: /sysroot: running 'is_dir: /bin'
  1134. chroot: /sysroot: running 'is_symlink: /bin'
  1135. chroot: /sysroot: running 'readlink: /bin'
  1136. chroot: /sysroot: running 'is_file: /etc/fstab'
  1137. check_filesystem: /dev/sda matched Linux root
  1138. check_tests: checking /etc/os-release
  1139. chroot: /sysroot: running 'is_file: /etc/os-release'
  1140. chroot: /sysroot: running 'parse_os_release'
  1141. parse_version_from_major_minor: parsing '7'
  1142. check_tests: checking /etc/lsb-release
  1143. chroot: /sysroot: running 'is_file: /etc/lsb-release'
  1144. check_tests: checking /etc/oracle-release
  1145. chroot: /sysroot: running 'is_file: /etc/oracle-release'
  1146. check_tests: checking /etc/oracle-release
  1147. chroot: /sysroot: running 'is_file: /etc/oracle-release'
  1148. check_tests: checking /etc/oracle-release
  1149. chroot: /sysroot: running 'is_file: /etc/oracle-release'
  1150. check_tests: checking /etc/centos-release
  1151. chroot: /sysroot: running 'is_file: /etc/centos-release'
  1152. chroot: /sysroot: running 'parse_generic'
  1153. parse_generic: product_name = CentOS Linux release 7.6.1810 (Core)
  1154. check_tests: checking /etc/centos-release
  1155. chroot: /sysroot: running 'is_file: /etc/centos-release'
  1156. chroot: /sysroot: running 'parse_generic'
  1157. parse_generic: product_name = CentOS Linux release 7.6.1810 (Core)
  1158. chroot: /sysroot: running 'is_file: /bin/bash'
  1159. chroot: /sysroot: running 'realpath: /bin/bash'
  1160. commandrvf: stdout=n stderr=y flags=0x0
  1161. commandrvf: udevadm --debug settle -E /usr/bin/bash
  1162. calling: settle
  1163. chroot: /sysroot: running 'file: /usr/bin/bash'
  1164. command: file '-zb' '/sysroot//usr/bin/bash'
  1165. command: file returned 0
  1166. command: file: stdout:
  1167. ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=9223530b1aa05d3dbea7e72738b28b1e9d82fbad, stripped
  1168. chroot: /sysroot: running 'is_file: /etc/fstab'
  1169. chroot: /sysroot: running 'check_fstab_aug'
  1170. chroot: /sysroot: running 'is_file: /etc/mdadm.conf'
  1171. augeas pathexpr = /augeas/load/*[ "/etc/fstab/" !~ regexp('^') + glob(incl) + regexp('/.*') ]
  1172. check_fstab_entry: augeas path: /files/etc/fstab/1
  1173. check_fstab_entry: spec=LABEL=img-rootfs
  1174. check_fstab_entry: mp=/
  1175. command: findfs 'LABEL=img-rootfs'
  1176. command: findfs returned 0
  1177. command: findfs: stdout:
  1178. /dev/sda
  1179. check_fstab_entry: vfstype=xfs
  1180. chroot: /sysroot: running 'check_hostname_from_file: /etc/HOSTNAME'
  1181. chroot: /sysroot: running 'check_hostname_from_file: /etc/hostname'
  1182. command: umount '/sysroot'
  1183. [ 45.293814] XFS (sda): Unmounting Filesystem
  1184. command: umount returned 0
  1185. inspect_os: fses:
  1186. fs: /dev/sda (xfs) role: root
  1187. type: linux
  1188. distro: centos
  1189. package_format: rpm
  1190. package_management: yum
  1191. product_name: CentOS Linux release 7.6.1810 (Core)
  1192. version: 7.6
  1193. arch: x86_64
  1194. hostname: localhost.localdomain
  1195. fstab: [(/dev/sda, /)]
  1196.  
  1197. inspect_get_roots: roots:
  1198. /dev/sda (xfs):
  1199. type: linux
  1200. distro: centos
  1201. package_format: rpm
  1202. package_management: yum
  1203. product_name: CentOS Linux release 7.6.1810 (Core)
  1204. version: 7.6
  1205. arch: x86_64
  1206. hostname: localhost.localdomain
  1207. fstab: [(/dev/sda, /)]
  1208. libguestfs: trace: inspect_os = ["/dev/sda"]
  1209. libguestfs: trace: inspect_get_mountpoints "/dev/sda"
  1210. guestfsd: => inspect_os (0x1e0) took 14.34 secs
  1211. guestfsd: <= inspect_get_mountpoints (0x1f4) request length 52 bytes
  1212. commandrvf: stdout=n stderr=y flags=0x0
  1213. commandrvf: udevadm --debug settle -E /dev/sda
  1214. calling: settle
  1215. libguestfs: trace: inspect_get_mountpoints = ["/", "/dev/sda"]
  1216. libguestfs: trace: mount "/dev/sda" "/"
  1217. guestfsd: => inspect_get_mountpoints (0x1f4) took 0.13 secs
  1218. guestfsd: <= mount (0x1) request length 60 bytes
  1219. commandrvf: stdout=n stderr=y flags=0x0
  1220. commandrvf: udevadm --debug settle -E /dev/sda
  1221. calling: settle
  1222. command: mount '/dev/sda' '/sysroot//'
  1223. [ 45.812831] XFS (sda): Mounting V5 Filesystem
  1224. [ 45.991751] XFS (sda): Ending clean mount
  1225. libguestfs: trace: mount = 0
  1226. libguestfs: trace: inspect_get_arch "/dev/sda"
  1227. guestfsd: => mount (0x1) took 0.53 secs
  1228. guestfsd: <= inspect_get_arch (0x1eb) request length 52 bytes
  1229. commandrvf: stdout=n stderr=y flags=0x0
  1230. commandrvf: udevadm --debug settle -E /dev/sda
  1231. calling: settle
  1232. libguestfs: trace: inspect_get_arch = "x86_64"
  1233. libguestfs: trace: inspect_get_type "/dev/sda"
  1234. guestfsd: => inspect_get_arch (0x1eb) took 0.13 secs
  1235. guestfsd: <= inspect_get_type (0x1e3) request length 52 bytes
  1236. commandrvf: stdout=n stderr=y flags=0x0
  1237. commandrvf: udevadm --debug settle -E /dev/sda
  1238. calling: settle
  1239. libguestfs: trace: inspect_get_type = "linux"
  1240. libguestfs: trace: is_dir "/tmp" "followsymlinks:true"
  1241. guestfsd: => inspect_get_type (0x1e3) took 0.14 secs
  1242. guestfsd: <= is_dir (0x26) request length 52 bytes
  1243. command: mount returned 0
  1244. chroot: /sysroot: running 'is_dir: /tmp'
  1245. libguestfs: trace: is_dir = 1
  1246. [ 48.0] Setting a random seed
  1247. libguestfs: trace: inspect_get_type "/dev/sda"
  1248. guestfsd: => is_dir (0x26) took 0.04 secs
  1249. guestfsd: <= inspect_get_type (0x1e3) request length 52 bytes
  1250. commandrvf: stdout=n stderr=y flags=0x0
  1251. commandrvf: udevadm --debug settle -E /dev/sda
  1252. calling: settle
  1253. libguestfs: trace: inspect_get_type = "linux"
  1254. libguestfs: trace: is_file "/var/lib/random-seed"
  1255. guestfsd: => inspect_get_type (0x1e3) took 0.49 secs
  1256. guestfsd: <= is_file (0x25) request length 68 bytes
  1257. chroot: /sysroot: running 'is_file: /var/lib/random-seed'
  1258. libguestfs: trace: is_file = 0
  1259. libguestfs: trace: is_file "/var/lib/systemd/random-seed"
  1260. guestfsd: => is_file (0x25) took 0.13 secs
  1261. guestfsd: <= is_file (0x25) request length 76 bytes
  1262. chroot: /sysroot: running 'is_file: /var/lib/systemd/random-seed'
  1263. libguestfs: trace: is_file = 1
  1264. libguestfs: trace: filesize "/var/lib/systemd/random-seed"
  1265. guestfsd: => is_file (0x25) took 0.04 secs
  1266. guestfsd: <= filesize (0xda) request length 72 bytes
  1267. libguestfs: trace: filesize = 1024
  1268. libguestfs: trace: truncate "/var/lib/systemd/random-seed"
  1269. guestfsd: => filesize (0xda) took 0.00 secs
  1270. guestfsd: <= truncate (0xc7) request length 72 bytes
  1271. libguestfs: trace: truncate = 0
  1272. libguestfs: trace: write_append "/var/lib/systemd/random-seed" "\x89\x82Ms\xb1F\xb6\x9d\x06\x80B\xd6]\xf6d\xe2\x8c\xf5J\xe4f"n&hb-\x93\xdd|\xcb\xb6\x81\xa8\xd3\xca\x90 Ye9\xebb\x10\xf7\x07\xc4\xd3=\xdb\xd8H\xefW\xb2\x95\xd4\xbc\x8b\xc6\x89.\xb2\xa7a\xd9\x98\xf3\xd1\xc3{\x11\xd4\x9a&\x06\xddc\xb3\x80Xb<cis\x09\x95\xe6\x8c\x02\xea\xa3"\x18\xba\xf9\xe9E\xb8^>S\xceiyg\x9e\x1d%0\xd2\xe2{\xa3\xfa\xda\xd7s]\xe2\x15\x0a<_:\x8b=\xf1T\xcaN\xc7}+G\xb7\x8b%\xb3\xc3\xecC\x98r\xc6J\xf7b\xee\xe2~\xd4x\x1c\x06\xe7\xcb\xde\xad\x18\xa3\xfb\xef\xb6\x0b\xcd\x021\x08\x14\xde\x8c\xdaA\x9bBT\xc0\xb7\xb1\x9dw\x80\xa87\x14G\x8a\x14\xb0\xfe\x99tG\x8e\x9a\xea\x12T\xe5\xbc\x82!|\x94\x02\xca\x06\xa7\xee\xc7\x7f\x9f\xfc4\x1a[\x07\xf49\x85\x15#VH`2Edb\xc0\\xf1\x1c\xb2-\x9d\xb9o\xfb\x85\xae\xd9\xc7\xad\xdd\xaf\x7f\xf7\xba\xf4\xe9$\xe8\x87"<truncated, original size 1024 bytes>
  1273. libguestfs: trace: internal_write_append "/var/lib/systemd/random-seed" "\x89\x82Ms\xb1F\xb6\x9d\x06\x80B\xd6]\xf6d\xe2\x8c\xf5J\xe4f"n&hb-\x93\xdd|\xcb\xb6\x81\xa8\xd3\xca\x90 Ye9\xebb\x10\xf7\x07\xc4\xd3=\xdb\xd8H\xefW\xb2\x95\xd4\xbc\x8b\xc6\x89.\xb2\xa7a\xd9\x98\xf3\xd1\xc3{\x11\xd4\x9a&\x06\xddc\xb3\x80Xb<cis\x09\x95\xe6\x8c\x02\xea\xa3"\x18\xba\xf9\xe9E\xb8^>S\xceiyg\x9e\x1d%0\xd2\xe2{\xa3\xfa\xda\xd7s]\xe2\x15\x0a<_:\x8b=\xf1T\xcaN\xc7}+G\xb7\x8b%\xb3\xc3\xecC\x98r\xc6J\xf7b\xee\xe2~\xd4x\x1c\x06\xe7\xcb\xde\xad\x18\xa3\xfb\xef\xb6\x0b\xcd\x021\x08\x14\xde\x8c\xdaA\x9bBT\xc0\xb7\xb1\x9dw\x80\xa87\x14G\x8a\x14\xb0\xfe\x99tG\x8e\x9a\xea\x12T\xe5\xbc\x82!|\x94\x02\xca\x06\xa7\xee\xc7\x7f\x9f\xfc4\x1a[\x07\xf49\x85\x15#VH`2Edb\xc0\\xf1\x1c\xb2-\x9d\xb9o\xfb\x85\xae\xd9\xc7\xad\xdd\xaf\x7f\xf7\xba\xf4\xe9$\xe8\x87"<truncated, original size 1024 bytes>
  1274. guestfsd: => truncate (0xc7) took 0.05 secs
  1275. guestfsd: <= internal_write_append (0x122) request length 1100 bytes
  1276. libguestfs: trace: internal_write_append = 0
  1277. libguestfs: trace: write_append = 0
  1278. libguestfs: trace: is_file "/var/lib/urandom/random-seed"
  1279. guestfsd: => internal_write_append (0x122) took 0.01 secs
  1280. guestfsd: <= is_file (0x25) request length 76 bytes
  1281. chroot: /sysroot: running 'is_file: /var/lib/urandom/random-seed'
  1282. libguestfs: trace: is_file = 0
  1283. libguestfs: trace: is_file "/var/lib/misc/random-seed"
  1284. guestfsd: => is_file (0x25) took 0.03 secs
  1285. guestfsd: <= is_file (0x25) request length 76 bytes
  1286. chroot: /sysroot: running 'is_file: /var/lib/misc/random-seed'
  1287. libguestfs: trace: is_file = 0
  1288. libguestfs: trace: is_file "/etc/random-seed"
  1289. guestfsd: => is_file (0x25) took 0.03 secs
  1290. guestfsd: <= is_file (0x25) request length 64 bytes
  1291. chroot: /sysroot: running 'is_file: /etc/random-seed'
  1292. libguestfs: trace: is_file = 0
  1293. libguestfs: trace: lstatns "/etc/machine-id"
  1294. guestfsd: => is_file (0x25) took 0.03 secs
  1295. guestfsd: <= lstatns (0x1a6) request length 60 bytes
  1296. libguestfs: trace: lstatns = <struct guestfs_statns = st_dev: 2048, st_ino: 155, st_mode: 33060, st_nlink: 1, st_uid: 0, st_gid: 0, st_rdev: 0, st_size: 33, st_blksize: 4096, st_blocks: 8, st_atime_sec: 1548175384, st_atime_nsec: 242038719, st_mtime_sec: 1548259402, st_mtime_nsec: 919180121, st_ctime_sec: 1548259402, st_ctime_nsec: 919180121, st_spare1: 0, st_spare2: 0, st_spare3: 0, st_spare4: 0, st_spare5: 0, st_spare6: 0, >
  1297. [ 48.9] Running: /home/stack/convert_image.sh
  1298. running command:
  1299. exec >>'/tmp/builder.log' 2>&1
  1300.  
  1301.  
  1302. #!/bin/bash
  1303.  
  1304. set -eux
  1305.  
  1306. FS_TYPE=`findmnt -o FSTYPE -fn /`
  1307.  
  1308. if [ "$FS_TYPE" = "xfs" ]; then
  1309. xfs_growfs /
  1310. elif [ "$FS_TYPE" = "ext4" ]; then
  1311. resize2fs /dev/sda || true
  1312. else
  1313. echo "ERROR: Unknown filesystem, cannot resize."
  1314. exit 1
  1315. fi
  1316.  
  1317.  
  1318. yum clean all
  1319. yum update -y
  1320.  
  1321. yum remove -y cloud-init python-django-horizon openstack-dashboard
  1322. yum install -y python-tripleoclient
  1323. # NOTE(trown) Install tempest and test packages in a seperate yum transaction
  1324. # so that we do not fail the conversion if this install fails. There is a period
  1325. # after TripleO uploads a new image, but before the buildlogs repo gets synced,
  1326. # where this will fail because we try to install older test packages than the
  1327. # service packages already installed in the image.
  1328. yum install -y || /bin/true
  1329.  
  1330.  
  1331. useradd stack
  1332. echo "stack ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/stack
  1333. chmod 0440 /etc/sudoers.d/stack
  1334.  
  1335. mkdir /home/stack/.ssh
  1336.  
  1337. echo "127.0.0.1 undercloud localhost" > /etc/hosts
  1338. echo "HOSTNAME=undercloud" >> /etc/sysconfig/network
  1339. echo "undercloud" > /etc/hostname
  1340.  
  1341. chown -R stack:stack /home/stack/
  1342.  
  1343. # Add a 4GB swap file to the Undercloud
  1344. dd if=/dev/zero of=/swapfile bs=1024 count=4194304
  1345. mkswap /swapfile
  1346. chmod 600 /swapfile
  1347. # Enable it on start
  1348. echo "/swapfile swap swap defaults 0 0" >> /etc/fstab
  1349.  
  1350.  
  1351. sed -i 's/SELINUX=enforcing/SELINUX=permissive/' /etc/selinux/config
  1352.  
  1353.  
  1354.  
  1355. libguestfs: trace: sh "exec >>'/tmp/builder.log' 2>&1\n\n\n#!/bin/bash\n\nset -eux\n\nFS_TYPE=`findmnt -o FSTYPE -fn /`\n\nif [ "$FS_TYPE" = "xfs" ]; then\n xfs_growfs /\nelif [ "$FS_TYPE" = "ext4" ]; then\n resize2fs /dev/sda || true\nelse\n echo "ERROR: Unknown filesystem, cannot resize."\n exit 1\nfi\n\n\nyum clean all\nyum update -y\n\nyum remove -y cloud-init python-django-horizon openstack-dashboard\nyum install -y python-tripleoclient\n# NOTE(trown) Install tempest and test packages in a seperate yum transaction\n# so that we do not fail the conversion if this install fails. There is a period\n# after TripleO uploads a new image, but before the buildlogs repo gets synced,\n# where this will fail because we try to install older test packages than the\n# service packages already installed in the image.\nyum install -y || /bin/true\n\n\nuseradd stack\necho "stack ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/stack\nchmod 0440 /etc/sudoers.d/stack\n\nmkdir /home/stack/.ssh\n\necho "127.0.0.1 undercloud localhost" > /etc/hosts\necho "HOSTNAME=undercloud" >> /etc/sysconfig/network\necho "undercloud" > /etc/hostname\n\nchown -R stack:stack /home/stack/\n\n# Add a 4GB swap file to the Undercloud\ndd if=/dev/zero of=/swapfile bs=1024 count=4194304\nmkswap /swapfile\nchmod 600 /swapfile\n# Enable it on start\necho "/swapfile swap swap defaults 0 0" >> /etc/fstab\n\n\nsed -i 's/SELINUX=enforcing/SELINUX=permissive/' /etc/selinux/config\n\n\n"
  1356. guestfsd: => lstatns (0x1a6) took 0.01 secs
  1357. guestfsd: <= sh (0x6f) request length 1440 bytes
  1358. commandrvf: stdout=n stderr=n flags=0x0
  1359. commandrvf: mount --bind /dev /sysroot/dev
  1360. commandrvf: stdout=n stderr=n flags=0x0
  1361. commandrvf: mount --bind /dev/pts /sysroot/dev/pts
  1362. commandrvf: stdout=n stderr=n flags=0x0
  1363. commandrvf: mount --bind /proc /sysroot/proc
  1364. commandrvf: stdout=n stderr=n flags=0x0
  1365. commandrvf: mount --bind /sys/fs/selinux /sysroot/selinux
  1366. mount: mount point /sysroot/selinux does not exist
  1367. commandrvf: stdout=n stderr=n flags=0x0
  1368. commandrvf: mount --bind /sys /sysroot/sys
  1369. commandrvf: stdout=n stderr=n flags=0x0
  1370. commandrvf: mount --bind /sys/fs/selinux /sysroot/sys/fs/selinux
  1371. mount: mount point /sysroot/sys/fs/selinux does not exist
  1372. renaming /sysroot/etc/resolv.conf to /sysroot/etc/f3yave91
  1373. commandrvf: stdout=n stderr=n flags=0x0
  1374. commandrvf: cp /etc/resolv.conf /sysroot/etc/resolv.conf
  1375. commandrvf: stdout=y stderr=y flags=0x40000
  1376. commandrvf: /bin/sh -c "exec >>'/tmp/builder.log' 2>&1
  1377.  
  1378.  
  1379. #!/bin/bash
  1380.  
  1381. set -eux
  1382.  
  1383. FS_TYPE=`findmnt -o FSTYPE -fn /`
  1384.  
  1385. if [ "$FS_TYPE" = "xfs" ]; then
  1386. xfs_growfs /
  1387. elif [ "$FS_TYPE" = "ext4" ]; then
  1388. resize2fs /dev/sda || true
  1389. else
  1390. echo "ERROR: Unknown filesystem, cannot resize."
  1391. exit 1
  1392. fi
  1393.  
  1394.  
  1395. yum clean all
  1396. yum update -y
  1397.  
  1398. yum remove -y cloud-init python-django-horizon openstack-dashboard
  1399. yum install -y python-tripleoclient
  1400. # NOTE(trown) Install tempest and test packages in a seperate yum transaction
  1401. # so that we do not fail the conversion if this install fails. There is a period
  1402. # after TripleO uploads a new image, but before the buildlogs repo gets synced,
  1403. # where this will fail because we try to install older test packages than the
  1404. # service packages already installed in the image.
  1405. yum install -y || /bin/true
  1406.  
  1407.  
  1408. useradd stack
  1409. echo "stack ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/stack
  1410. chmod 0440 /etc/sudoers.d/stack
  1411.  
  1412. mkdir /home/stack/.ssh
  1413.  
  1414. echo "127.0.0.1 undercloud localhost" > /etc/hosts
  1415. echo "HOSTNAME=undercloud" >> /etc/sysconfig/network
  1416. echo "undercloud" > /etc/hostname
  1417.  
  1418. chown -R stack:stack /home/stack/
  1419.  
  1420. # Add a 4GB swap file to the Undercloud
  1421. dd if=/dev/zero of=/swapfile bs=1024 count=4194304
  1422. mkswap /swapfile
  1423. chmod 600 /swapfile
  1424. # Enable it on start
  1425. echo "/swapfile swap swap defaults 0 0" >> /etc/fstab
  1426.  
  1427.  
  1428. sed -i 's/SELINUX=enforcing/SELINUX=permissive/' /etc/selinux/config
  1429.  
  1430.  
  1431. "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement