Need virt-install to boot Ubuntu netboot initrd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to use koan with cobbler to install a Ubuntu 16.04 VM.  koan
invokes virt-install with:

'virt-install', '--connect', 'qemu:///system', '--name', 'vmub16', '--ram',
'2000', '--vcpus', '1', '--graphics', 'spice', '--virt-type', 'kvm',
'--machine', 'pc', '--location',
'http://saga.cora.nwra.com/cblr/links/ubuntu-16.04.6-x86_64/',
'--extra-args=auto-install/enable=true priority=critical
url=http://saga.cora.nwra.com/cblr/svc/op/ks/system/vmub16 ksdevice=link lang=
text ', '--arch', 'x86_64', '--os-variant', 'virtio26', '--disk',
'path=/dev/mapper/vg_nvme-vmub16--disk0,size=35,bus=scsi,format=raw',
'--network', 'bridge=br0,mac=00:16:3e:32:4f:a1', '--wait', '0', '--noautoconsole'

The problem is that virt-install appears to see the install image as a CD
image (which it is since that is what gets imported into cobbler) and boots
the normal CD initrd which does not activate the network and cannot do a
network install.

What magic do I need to do to get it to use the netboot kernel/initrd
location?  --debug output is attached.

-- 
Orion Poplawski
Manager of NWRA Technical Systems          720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion@xxxxxxxx
Boulder, CO 80301                 https://www.nwra.com/
[Mon, 23 Dec 2019 09:57:39 virt-install 10354] DEBUG (cli:200) Launched with command line: /usr/share/virt-manager/virt-install --debug --connect qemu:///system --name vmub16 --ram 2000 --vcpus 1 --graphics spice --virt-type kvm --machine pc --location http://saga.cora.nwra.com/cblr/links/ubuntu-16.04.6-x86_64/ --extra-args=auto-install/enable=true priority=critical url=http://saga.cora.nwra.com/cblr/svc/op/ks/system/vmub16 ksdevice=link lang= text --arch x86_64 --os-variant virtio26 --disk path=/dev/mapper/vg_nvme-vmub16--disk0,size=35,bus=scsi,format=raw --network bridge=br0,mac=00:16:3e:32:4f:a1 --wait 0 --noautoconsole
[Mon, 23 Dec 2019 09:57:39 virt-install 10354] DEBUG (virt-install:243) Distilled --network options: ['bridge=br0,mac=00:16:3e:32:4f:a1']
[Mon, 23 Dec 2019 09:57:39 virt-install 10354] DEBUG (virt-install:159) Distilled --disk options: ['path=/dev/mapper/vg_nvme-vmub16--disk0,size=35,bus=scsi,format=raw']
[Mon, 23 Dec 2019 09:57:39 virt-install 10354] DEBUG (cli:214) Requesting libvirt URI qemu:///system
[Mon, 23 Dec 2019 09:57:43 virt-install 10354] DEBUG (cli:217) Received libvirt URI qemu:///system
[Mon, 23 Dec 2019 09:57:43 virt-install 10354] DEBUG (cli:1195) Exception parsing inst=<DeviceInterface interface 140308038164944> optstr=bridge=br0,mac=00:16:3e:32:4f:a1
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtinst/cli.py", line 1185, in parse
    obj.validate()
  File "/usr/share/virt-manager/virtinst/devices/interface.py", line 279, in validate
    self.is_conflict_net(self.conn, self.macaddr)
  File "/usr/share/virt-manager/virtinst/devices/interface.py", line 194, in is_conflict_net
    "by another virtual machine.") % searchmac)
RuntimeError: The MAC address '00:16:3e:32:4f:a1' is in use by another virtual machine.
[Mon, 23 Dec 2019 09:57:43 virt-install 10354] DEBUG (cli:253)   File "/usr/share/virt-manager/virt-install", line 955, in <module>
    sys.exit(main())
  File "/usr/share/virt-manager/virt-install", line 943, in main
    guest, installer = build_guest_instance(conn, options)
  File "/usr/share/virt-manager/virt-install", line 527, in build_guest_instance
    cli.parse_option_strings(options, guest, None)
  File "/usr/share/virt-manager/virtinst/cli.py", line 2816, in parse_option_strings
    parseret = parserobj.parse(inst, validate=not update)
  File "/usr/share/virt-manager/virtinst/cli.py", line 1198, in parse
    "options": self.optstr, "err": str(e)})
  File "/usr/share/virt-manager/virtinst/cli.py", line 253, in fail
    logging.debug("".join(traceback.format_stack()))

[Mon, 23 Dec 2019 09:57:43 virt-install 10354] ERROR (cli:254) Error: --network bridge=br0,mac=00:16:3e:32:4f:a1: The MAC address '00:16:3e:32:4f:a1' is in use by another virtual machine.
[Mon, 23 Dec 2019 09:57:43 virt-install 10354] DEBUG (cli:256) 
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtinst/cli.py", line 1185, in parse
    obj.validate()
  File "/usr/share/virt-manager/virtinst/devices/interface.py", line 279, in validate
    self.is_conflict_net(self.conn, self.macaddr)
  File "/usr/share/virt-manager/virtinst/devices/interface.py", line 194, in is_conflict_net
    "by another virtual machine.") % searchmac)
RuntimeError: The MAC address '00:16:3e:32:4f:a1' is in use by another virtual machine.
orion-admin@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx [~]# virt-install --debug --connect qemu:///system --name vmub16 --ram 2000 --vcpus 1 --graphics spice --virt-type kvm --machine pc --location http://saga.cora.nwra.com/cblr/links/ubuntu-16.04.6-x86_64/ --extra-args='auto-install/enable=true priority=critical url=http://saga.cora.nwra.com/cblr/svc/op/ks/system/vmub16 ksdevice=link lang= text'  --arch x86_64 --os-variant virtio26 --disk path=/dev/mapper/vg_nvme-vmub16--disk0,size=35,bus=scsi,format=raw --network bridge=br0,mac=00:16:3e:32:4f:a1 --wait 0 --noautoconsole
[Mon, 23 Dec 2019 09:59:30 virt-install 10608] DEBUG (cli:200) Launched with command line: /usr/share/virt-manager/virt-install --debug --connect qemu:///system --name vmub16 --ram 2000 --vcpus 1 --graphics spice --virt-type kvm --machine pc --location http://saga.cora.nwra.com/cblr/links/ubuntu-16.04.6-x86_64/ --extra-args=auto-install/enable=true priority=critical url=http://saga.cora.nwra.com/cblr/svc/op/ks/system/vmub16 ksdevice=link lang= text --arch x86_64 --os-variant virtio26 --disk path=/dev/mapper/vg_nvme-vmub16--disk0,size=35,bus=scsi,format=raw --network bridge=br0,mac=00:16:3e:32:4f:a1 --wait 0 --noautoconsole
[Mon, 23 Dec 2019 09:59:30 virt-install 10608] DEBUG (virt-install:243) Distilled --network options: ['bridge=br0,mac=00:16:3e:32:4f:a1']
[Mon, 23 Dec 2019 09:59:30 virt-install 10608] DEBUG (virt-install:159) Distilled --disk options: ['path=/dev/mapper/vg_nvme-vmub16--disk0,size=35,bus=scsi,format=raw']
[Mon, 23 Dec 2019 09:59:30 virt-install 10608] DEBUG (cli:214) Requesting libvirt URI qemu:///system
[Mon, 23 Dec 2019 09:59:30 virt-install 10608] DEBUG (cli:217) Received libvirt URI qemu:///system
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (urlfetcher:37) Using scratchdir=/home/orion-admin/.cache/virt-manager/boot
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (urldetect:251) Finding distro store for location=http://saga.cora.nwra.com/cblr/links/ubuntu-16.04.6-x86_64/
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (guest:266) Setting Guest osinfo <_OsVariant name=generic>
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (connectionpool:205) Starting new HTTP connection (1): saga.cora.nwra.com:80
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (connectionpool:393) http://saga.cora.nwra.com:80 "GET /cblr/links/ubuntu-16.04.6-x86_64/.treeinfo HTTP/1.1" 404 240
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (urldetect:40) Failed to acquire file=.treeinfo
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (connectionpool:205) Starting new HTTP connection (2): saga.cora.nwra.com:80
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (connectionpool:393) http://saga.cora.nwra.com:80 "GET /cblr/links/ubuntu-16.04.6-x86_64/treeinfo HTTP/1.1" 404 239
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (urldetect:40) Failed to acquire file=treeinfo
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (connectionpool:205) Starting new HTTP connection (3): saga.cora.nwra.com:80
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (connectionpool:393) http://saga.cora.nwra.com:80 "GET /cblr/links/ubuntu-16.04.6-x86_64/content HTTP/1.1" 404 238
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (urldetect:40) Failed to acquire file=content
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (connectionpool:205) Starting new HTTP connection (4): saga.cora.nwra.com:80
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (connectionpool:393) http://saga.cora.nwra.com:80 "GET /cblr/links/ubuntu-16.04.6-x86_64/current/images/MANIFEST HTTP/1.1" 404 254
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (urldetect:40) Failed to acquire file=current/images/MANIFEST
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (connectionpool:205) Starting new HTTP connection (5): saga.cora.nwra.com:80
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (connectionpool:393) http://saga.cora.nwra.com:80 "GET /cblr/links/ubuntu-16.04.6-x86_64/daily/MANIFEST HTTP/1.1" 404 245
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (urldetect:40) Failed to acquire file=daily/MANIFEST
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (connectionpool:205) Starting new HTTP connection (6): saga.cora.nwra.com:80
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (connectionpool:393) http://saga.cora.nwra.com:80 "GET /cblr/links/ubuntu-16.04.6-x86_64/.disk/info HTTP/1.1" 200 67
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (urlfetcher:70) Fetching URI: http://saga.cora.nwra.com/cblr/links/ubuntu-16.04.6-x86_64/.disk/info
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (urldetect:103) found filename=.disk/info but regex=Debian.* didn't match
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (urldetect:283) Detected class=UbuntuDistro osvariant=None
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib64/python3.6/logging/handlers.py", line 71, in emit
    if self.shouldRollover(record):
  File "/usr/lib64/python3.6/logging/handlers.py", line 187, in shouldRollover
    msg = "%s\n" % self.format(record)
  File "/usr/lib64/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib64/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib64/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not enough arguments for format string
Call stack:
  File "/usr/share/virt-manager/virt-install", line 955, in <module>
    sys.exit(main())
  File "/usr/share/virt-manager/virt-install", line 943, in main
    guest, installer = build_guest_instance(conn, options)
  File "/usr/share/virt-manager/virt-install", line 539, in build_guest_instance
    set_distro_variant(options, guest, installer)
  File "/usr/share/virt-manager/virt-install", line 317, in set_distro_variant
    guest.set_os_name(distro)
  File "/usr/share/virt-manager/virtinst/guest.py", line 261, in set_os_name
    obj = OSDB.lookup_os(name)
  File "/usr/share/virt-manager/virtinst/osdict.py", line 200, in lookup_os
    "This alias will be removed in the future."), (key, alias))
Message: "OS name '%s' is deprecated, using '%s' instead. This alias will be removed in the future."
Arguments: (('virtio26', 'fedora10'),)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib64/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib64/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib64/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib64/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not enough arguments for format string
Call stack:
  File "/usr/share/virt-manager/virt-install", line 955, in <module>
    sys.exit(main())
  File "/usr/share/virt-manager/virt-install", line 943, in main
    guest, installer = build_guest_instance(conn, options)
  File "/usr/share/virt-manager/virt-install", line 539, in build_guest_instance
    set_distro_variant(options, guest, installer)
  File "/usr/share/virt-manager/virt-install", line 317, in set_distro_variant
    guest.set_os_name(distro)
  File "/usr/share/virt-manager/virtinst/guest.py", line 261, in set_os_name
    obj = OSDB.lookup_os(name)
  File "/usr/share/virt-manager/virtinst/osdict.py", line 200, in lookup_os
    "This alias will be removed in the future."), (key, alias))
Message: "OS name '%s' is deprecated, using '%s' instead. This alias will be removed in the future."
Arguments: (('virtio26', 'fedora10'),)
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (guest:266) Setting Guest osinfo <_OsVariant name=fedora10>
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (graphics:247) Local connection, disabling spice image compression.
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (virt-install:587) Guest.has_install_phase: True

Starting install...
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (connectionpool:205) Starting new HTTP connection (1): saga.cora.nwra.com:80
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (connectionpool:393) http://saga.cora.nwra.com:80 "HEAD /cblr/links/ubuntu-16.04.6-x86_64/install/vmlinuz HTTP/1.1" 200 0
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (urlfetcher:131) hasFile(http://saga.cora.nwra.com/cblr/links/ubuntu-16.04.6-x86_64/install/vmlinuz) returning True
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (connectionpool:393) http://saga.cora.nwra.com:80 "HEAD /cblr/links/ubuntu-16.04.6-x86_64/install/initrd.gz HTTP/1.1" 200 0
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (urlfetcher:131) hasFile(http://saga.cora.nwra.com/cblr/links/ubuntu-16.04.6-x86_64/install/initrd.gz) returning True
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (connectionpool:393) http://saga.cora.nwra.com:80 "GET /cblr/links/ubuntu-16.04.6-x86_64/install/vmlinuz HTTP/1.1" 200 7185944
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (urlfetcher:70) Fetching URI: http://saga.cora.nwra.com/cblr/links/ubuntu-16.04.6-x86_64/install/vmlinuz
Retrieving file vmlinuz...                                                  | 6.9 MB  00:00:00     
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (urlfetcher:151) Saved file to /home/orion-admin/.cache/virt-manager/boot/virtinst-vmlinuz.secborev
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (connectionpool:393) http://saga.cora.nwra.com:80 "GET /cblr/links/ubuntu-16.04.6-x86_64/install/initrd.gz HTTP/1.1" 200 14459371
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (urlfetcher:70) Fetching URI: http://saga.cora.nwra.com/cblr/links/ubuntu-16.04.6-x86_64/install/initrd.gz
Retrieving file initrd.gz...                                                |  14 MB  00:00:00     
[Mon, 23 Dec 2019 09:59:31 virt-install 10608] DEBUG (urlfetcher:151) Saved file to /home/orion-admin/.cache/virt-manager/boot/virtinst-initrd.gz.vs1_xntq
[Mon, 23 Dec 2019 09:59:32 virt-install 10608] DEBUG (kernelupload:130) Uploading kernel/initrd media
[Mon, 23 Dec 2019 09:59:32 virt-install 10608] DEBUG (kernelupload:28) Building storage pool: path=/var/lib/libvirt/boot name=boot-scratch
[Mon, 23 Dec 2019 09:59:32 virt-install 10608] DEBUG (storage:463) Creating storage pool 'boot-scratch' with xml:
<pool type="dir">
  <name>boot-scratch</name>
  <target>
    <path>/var/lib/libvirt/boot</path>
  </target>
</pool>

[Mon, 23 Dec 2019 09:59:32 virt-install 10608] DEBUG (disk:283) Creating volume 'virtinst-vmlinuz.secborev' on pool 'boot-scratch'
[Mon, 23 Dec 2019 09:59:32 virt-install 10608] DEBUG (disk:409) disk.set_vol_install: name=virtinst-vmlinuz.secborev poolxml=
<pool type='dir'>
  <name>boot-scratch</name>
  <uuid>9e2c4962-d03c-4936-83ea-62c9840850a2</uuid>
  <capacity unit='bytes'>20961034240</capacity>
  <allocation unit='bytes'>3138412544</allocation>
  <available unit='bytes'>17822621696</available>
  <source>
  </source>
  <target>
    <path>/var/lib/libvirt/boot</path>
    <permissions>
      <mode>0711</mode>
      <owner>0</owner>
      <group>0</group>
      <label>system_u:object_r:virt_content_t:s0</label>
    </permissions>
  </target>
</pool>

[Mon, 23 Dec 2019 09:59:32 virt-install 10608] DEBUG (storage:719) Creating storage volume 'virtinst-vmlinuz.secborev' with xml:
<volume>
  <name>virtinst-vmlinuz.secborev</name>
  <capacity>7185944</capacity>
  <allocation>0</allocation>
  <target>
    <format type="raw"/>
  </target>
</volume>

[Mon, 23 Dec 2019 09:59:32 virt-install 10608] DEBUG (storage:750) Using vol create flags=0
[Mon, 23 Dec 2019 09:59:32 virt-install 10608] DEBUG (storage:780) Couldn't lookup storage volume in prog thread.
Allocating 'virtinst-vmlinuz.secborev'                                      | 6.9 MB  00:00:00     
[Mon, 23 Dec 2019 09:59:32 virt-install 10608] DEBUG (storage:757) Storage volume 'virtinst-vmlinuz.secborev' install complete.
Transferring virtinst-vmlinuz.secborev                                      | 6.9 MB  00:00:00     
[Mon, 23 Dec 2019 09:59:32 virt-install 10608] DEBUG (disk:283) Creating volume 'virtinst-initrd.gz.vs1_xntq' on pool 'boot-scratch'
[Mon, 23 Dec 2019 09:59:32 virt-install 10608] DEBUG (disk:409) disk.set_vol_install: name=virtinst-initrd.gz.vs1_xntq poolxml=
<pool type='dir'>
  <name>boot-scratch</name>
  <uuid>9e2c4962-d03c-4936-83ea-62c9840850a2</uuid>
  <capacity unit='bytes'>20961034240</capacity>
  <allocation unit='bytes'>3145646080</allocation>
  <available unit='bytes'>17815388160</available>
  <source>
  </source>
  <target>
    <path>/var/lib/libvirt/boot</path>
    <permissions>
      <mode>0711</mode>
      <owner>0</owner>
      <group>0</group>
      <label>system_u:object_r:virt_content_t:s0</label>
    </permissions>
  </target>
</pool>

[Mon, 23 Dec 2019 09:59:32 virt-install 10608] DEBUG (storage:719) Creating storage volume 'virtinst-initrd.gz.vs1_xntq' with xml:
<volume>
  <name>virtinst-initrd.gz.vs1_xntq</name>
  <capacity>14459371</capacity>
  <allocation>0</allocation>
  <target>
    <format type="raw"/>
  </target>
</volume>

[Mon, 23 Dec 2019 09:59:32 virt-install 10608] DEBUG (storage:750) Using vol create flags=0
[Mon, 23 Dec 2019 09:59:32 virt-install 10608] DEBUG (storage:780) Couldn't lookup storage volume in prog thread.
Allocating 'virtinst-initrd.gz.vs1_xntq'                                    |  14 MB  00:00:00     
[Mon, 23 Dec 2019 09:59:32 virt-install 10608] DEBUG (storage:757) Storage volume 'virtinst-initrd.gz.vs1_xntq' install complete.
Transferring virtinst-initrd.gz.vs1_xntq                                    |  14 MB  00:00:00     
[Mon, 23 Dec 2019 09:59:33 virt-install 10608] DEBUG (installer:313) Generated install XML: 
<domain type="kvm">
  <name>vmub16</name>
  <uuid>990521bb-5168-4fac-81aa-4eaf1ceabd7f</uuid>
  <metadata>
    <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0";>
      <libosinfo:os id="http://fedoraproject.org/fedora/10"/>
    </libosinfo:libosinfo>
  </metadata>
  <memory>2048000</memory>
  <currentMemory>2048000</currentMemory>
  <vcpu>1</vcpu>
  <os>
    <type arch="x86_64" machine="pc">hvm</type>
    <kernel>/var/lib/libvirt/boot/virtinst-vmlinuz.secborev</kernel>
    <initrd>/var/lib/libvirt/boot/virtinst-initrd.gz.vs1_xntq</initrd>
    <cmdline>auto-install/enable=true priority=critical url=http://saga.cora.nwra.com/cblr/svc/op/ks/system/vmub16 ksdevice=link lang= text</cmdline>
  </os>
  <features>
    <acpi/>
    <apic/>
    <vmport state="off"/>
  </features>
  <cpu mode="host-model"/>
  <clock offset="utc">
    <timer name="rtc" tickpolicy="catchup"/>
    <timer name="pit" tickpolicy="delay"/>
    <timer name="hpet" present="no"/>
  </clock>
  <on_reboot>destroy</on_reboot>
  <pm>
    <suspend-to-mem enabled="no"/>
    <suspend-to-disk enabled="no"/>
  </pm>
  <devices>
    <emulator>/usr/libexec/qemu-kvm</emulator>
    <disk type="block" device="disk">
      <driver name="qemu" type="raw" cache="none" io="native"/>
      <source dev="/dev/mapper/vg_nvme-vmub16--disk0"/>
      <target dev="sda" bus="scsi"/>
    </disk>
    <controller type="usb" index="0" model="ich9-ehci1"/>
    <controller type="usb" index="0" model="ich9-uhci1">
      <master startport="0"/>
    </controller>
    <controller type="usb" index="0" model="ich9-uhci2">
      <master startport="2"/>
    </controller>
    <controller type="usb" index="0" model="ich9-uhci3">
      <master startport="4"/>
    </controller>
    <interface type="bridge">
      <source bridge="br0"/>
      <mac address="00:16:3e:32:4f:a1"/>
      <model type="virtio"/>
    </interface>
    <console type="pty"/>
    <channel type="unix">
      <source mode="bind"/>
      <target type="virtio" name="org.qemu.guest_agent.0"/>
    </channel>
    <channel type="spicevmc">
      <target type="virtio" name="com.redhat.spice.0"/>
    </channel>
    <graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
      <image compression="off"/>
    </graphics>
    <sound model="ich6"/>
    <video>
      <model type="qxl"/>
    </video>
    <redirdev bus="usb" type="spicevmc"/>
    <redirdev bus="usb" type="spicevmc"/>
    <rng model="virtio">
      <backend model="random">/dev/urandom</backend>
    </rng>
  </devices>
</domain>

[Mon, 23 Dec 2019 09:59:33 virt-install 10608] DEBUG (installer:314) Generated boot XML: 
<domain type="kvm">
  <name>vmub16</name>
  <uuid>990521bb-5168-4fac-81aa-4eaf1ceabd7f</uuid>
  <metadata>
    <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0";>
      <libosinfo:os id="http://fedoraproject.org/fedora/10"/>
    </libosinfo:libosinfo>
  </metadata>
  <memory>2048000</memory>
  <currentMemory>2048000</currentMemory>
  <vcpu>1</vcpu>
  <os>
    <type arch="x86_64" machine="pc">hvm</type>
    <boot dev="hd"/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <vmport state="off"/>
  </features>
  <cpu mode="host-model"/>
  <clock offset="utc">
    <timer name="rtc" tickpolicy="catchup"/>
    <timer name="pit" tickpolicy="delay"/>
    <timer name="hpet" present="no"/>
  </clock>
  <pm>
    <suspend-to-mem enabled="no"/>
    <suspend-to-disk enabled="no"/>
  </pm>
  <devices>
    <emulator>/usr/libexec/qemu-kvm</emulator>
    <disk type="block" device="disk">
      <driver name="qemu" type="raw" cache="none" io="native"/>
      <source dev="/dev/mapper/vg_nvme-vmub16--disk0"/>
      <target dev="sda" bus="scsi"/>
    </disk>
    <controller type="usb" index="0" model="ich9-ehci1"/>
    <controller type="usb" index="0" model="ich9-uhci1">
      <master startport="0"/>
    </controller>
    <controller type="usb" index="0" model="ich9-uhci2">
      <master startport="2"/>
    </controller>
    <controller type="usb" index="0" model="ich9-uhci3">
      <master startport="4"/>
    </controller>
    <interface type="bridge">
      <source bridge="br0"/>
      <mac address="00:16:3e:32:4f:a1"/>
      <model type="virtio"/>
    </interface>
    <console type="pty"/>
    <channel type="unix">
      <source mode="bind"/>
      <target type="virtio" name="org.qemu.guest_agent.0"/>
    </channel>
    <channel type="spicevmc">
      <target type="virtio" name="com.redhat.spice.0"/>
    </channel>
    <graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
      <image compression="off"/>
    </graphics>
    <sound model="ich6"/>
    <video>
      <model type="qxl"/>
    </video>
    <redirdev bus="usb" type="spicevmc"/>
    <redirdev bus="usb" type="spicevmc"/>
    <rng model="virtio">
      <backend model="random">/dev/urandom</backend>
    </rng>
  </devices>
</domain>

[Mon, 23 Dec 2019 09:59:34 virt-install 10608] DEBUG (installer:368) XML fetched from libvirt object:
<domain type='kvm' id='13'>
  <name>vmub16</name>
  <uuid>990521bb-5168-4fac-81aa-4eaf1ceabd7f</uuid>
  <metadata>
    <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0";>
      <libosinfo:os id="http://fedoraproject.org/fedora/10"/>
    </libosinfo:libosinfo>
  </metadata>
  <memory unit='KiB'>2048000</memory>
  <currentMemory unit='KiB'>2048000</currentMemory>
  <vcpu placement='static'>1</vcpu>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-i440fx-rhel7.6.0'>hvm</type>
    <kernel>/var/lib/libvirt/boot/virtinst-vmlinuz.secborev</kernel>
    <initrd>/var/lib/libvirt/boot/virtinst-initrd.gz.vs1_xntq</initrd>
    <cmdline>auto-install/enable=true priority=critical url=http://saga.cora.nwra.com/cblr/svc/op/ks/system/vmub16 ksdevice=link lang= text</cmdline>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <vmport state='off'/>
  </features>
  <cpu mode='custom' match='exact' check='full'>
    <model fallback='forbid'>Haswell-noTSX-IBRS</model>
    <vendor>Intel</vendor>
    <feature policy='require' name='vme'/>
    <feature policy='require' name='ss'/>
    <feature policy='require' name='f16c'/>
    <feature policy='require' name='rdrand'/>
    <feature policy='require' name='hypervisor'/>
    <feature policy='require' name='arat'/>
    <feature policy='require' name='tsc_adjust'/>
    <feature policy='require' name='umip'/>
    <feature policy='require' name='md-clear'/>
    <feature policy='require' name='stibp'/>
    <feature policy='require' name='ssbd'/>
    <feature policy='require' name='xsaveopt'/>
    <feature policy='require' name='pdpe1gb'/>
    <feature policy='require' name='abm'/>
  </cpu>
  <clock offset='utc'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>destroy</on_reboot>
  <on_crash>destroy</on_crash>
  <pm>
    <suspend-to-mem enabled='no'/>
    <suspend-to-disk enabled='no'/>
  </pm>
  <devices>
    <emulator>/usr/libexec/qemu-kvm</emulator>
    <disk type='block' device='disk'>
      <driver name='qemu' type='raw' cache='none' io='native'/>
      <source dev='/dev/mapper/vg_nvme-vmub16--disk0'/>
      <backingStore/>
      <target dev='sda' bus='scsi'/>
      <alias name='scsi0-0-0-0'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <alias name='usb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <alias name='usb'/>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <alias name='usb'/>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <alias name='usb'/>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'>
      <alias name='pci.0'/>
    </controller>
    <controller type='scsi' index='0' model='virtio-scsi'>
      <alias name='scsi0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <alias name='virtio-serial0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='00:16:3e:32:4f:a1'/>
      <source bridge='br0'/>
      <target dev='vnet4'/>
      <model type='virtio'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/4'/>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/4'>
      <source path='/dev/pts/4'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-13-vmub16/org.qemu.guest_agent.0'/>
      <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
      <alias name='channel0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <channel type='spicevmc'>
      <target type='virtio' name='com.redhat.spice.0' state='disconnected'/>
      <alias name='channel1'/>
      <address type='virtio-serial' controller='0' bus='0' port='2'/>
    </channel>
    <input type='mouse' bus='ps2'>
      <alias name='input0'/>
    </input>
    <input type='keyboard' bus='ps2'>
      <alias name='input1'/>
    </input>
    <graphics type='spice' port='5903' autoport='yes' listen='127.0.0.1'>
      <listen type='address' address='127.0.0.1'/>
      <image compression='off'/>
    </graphics>
    <sound model='ich6'>
      <alias name='sound0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </sound>
    <video>
      <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <redirdev bus='usb' type='spicevmc'>
      <alias name='redir0'/>
      <address type='usb' bus='0' port='1'/>
    </redirdev>
    <redirdev bus='usb' type='spicevmc'>
      <alias name='redir1'/>
      <address type='usb' bus='0' port='2'/>
    </redirdev>
    <memballoon model='virtio'>
      <alias name='balloon0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
    </memballoon>
    <rng model='virtio'>
      <backend model='random'>/dev/urandom</backend>
      <alias name='rng0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
    </rng>
  </devices>
  <seclabel type='dynamic' model='selinux' relabel='yes'>
    <label>system_u:system_r:svirt_t:s0:c136,c551</label>
    <imagelabel>system_u:object_r:svirt_image_t:s0:c136,c551</imagelabel>
  </seclabel>
  <seclabel type='dynamic' model='dac' relabel='yes'>
    <label>+107:+107</label>
    <imagelabel>+107:+107</imagelabel>
  </seclabel>
</domain>

[Mon, 23 Dec 2019 09:59:34 virt-install 10608] DEBUG (installertreemedia:156) Removing /home/orion-admin/.cache/virt-manager/boot/virtinst-vmlinuz.secborev
[Mon, 23 Dec 2019 09:59:34 virt-install 10608] DEBUG (installertreemedia:156) Removing /home/orion-admin/.cache/virt-manager/boot/virtinst-initrd.gz.vs1_xntq
[Mon, 23 Dec 2019 09:59:34 virt-install 10608] DEBUG (installertreemedia:160) Removing volume 'virtinst-vmlinuz.secborev'
[Mon, 23 Dec 2019 09:59:34 virt-install 10608] DEBUG (installertreemedia:160) Removing volume 'virtinst-initrd.gz.vs1_xntq'
[Mon, 23 Dec 2019 09:59:34 virt-install 10608] DEBUG (virt-install:641) Domain state after install: 1
Domain installation still in progress. You can reconnect to
the console to complete the installation process.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list

[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux