Last active
November 22, 2018 13:57
-
-
Save praveenkumar/a83e1a5baef74bc62329f707db2ecbca to your computer and use it in GitHub Desktop.
Installer resources dump
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [root@local images]# virsh net-dumpxml test1 | |
| <network> | |
| <name>test1</name> | |
| <uuid>7a102928-813d-4135-aaf2-e52908bb5573</uuid> | |
| <forward mode='nat'> | |
| <nat> | |
| <port start='1024' end='65535'/> | |
| </nat> | |
| </forward> | |
| <bridge name='tt0' stp='on' delay='0'/> | |
| <mac address='52:54:00:82:d1:71'/> | |
| <domain name='tt.testing' localOnly='yes'/> | |
| <dns> | |
| <srv service='etcd-server-ssl' protocol='tcp' domain='test1.tt.testing' target='test1-etcd-0.tt.testing' port='2380' weight='10'/> | |
| <host ip='192.168.126.11'> | |
| <hostname>test1-api</hostname> | |
| <hostname>test1-etcd-0</hostname> | |
| </host> | |
| <host ip='192.168.126.50'> | |
| <hostname>test1</hostname> | |
| </host> | |
| </dns> | |
| <ip family='ipv4' address='192.168.126.1' prefix='24'> | |
| <dhcp> | |
| <host mac='a6:72:38:f4:7c:b7' name='test1-bootstrap' ip='192.168.126.10'/> | |
| <host mac='b2:70:01:00:a6:68' name='test1-master-0' ip='192.168.126.11'/> | |
| <host mac='9e:e2:76:c6:f6:0a' name='test1-worker-0-g5c82' ip='192.168.126.51'/> | |
| </dhcp> | |
| </ip> | |
| </network> | |
| [root@local images]# virsh pool-list | |
| Name State Autostart | |
| ------------------------------------------- | |
| default active yes | |
| [root@local images]# virsh pool-dumpxml default | |
| <pool type='dir'> | |
| <name>default</name> | |
| <uuid>72e3d915-d6b6-403f-8018-6337f11eea17</uuid> | |
| <capacity unit='bytes'>105553100800</capacity> | |
| <allocation unit='bytes'>50299256832</allocation> | |
| <available unit='bytes'>55253843968</available> | |
| <source> | |
| </source> | |
| <target> | |
| <path>/var/lib/libvirt/images</path> | |
| <permissions> | |
| <mode>0711</mode> | |
| <owner>0</owner> | |
| <group>0</group> | |
| <label>system_u:object_r:virt_image_t:s0</label> | |
| </permissions> | |
| </target> | |
| </pool> | |
| [root@local images]# virsh vol-list default | |
| Name Path | |
| ------------------------------------------------------------------------------ | |
| test1-base /var/lib/libvirt/images/test1-base | |
| test1-master-0 /var/lib/libvirt/images/test1-master-0 | |
| test1-master.ign /var/lib/libvirt/images/test1-master.ign | |
| test1-worker-0-g5c82 /var/lib/libvirt/images/test1-worker-0-g5c82 | |
| test1-worker.ign /var/lib/libvirt/images/test1-worker.ign | |
| [root@local images]# virsh vol-dumpxml test1-base default | |
| <volume type='file'> | |
| <name>test1-base</name> | |
| <key>/var/lib/libvirt/images/test1-base</key> | |
| <source> | |
| </source> | |
| <capacity unit='bytes'>17179869184</capacity> | |
| <allocation unit='bytes'>1715212288</allocation> | |
| <physical unit='bytes'>1715208192</physical> | |
| <target> | |
| <path>/var/lib/libvirt/images/test1-base</path> | |
| <format type='qcow2'/> | |
| <permissions> | |
| <mode>0644</mode> | |
| <owner>107</owner> | |
| <group>107</group> | |
| <label>system_u:object_r:virt_content_t:s0</label> | |
| </permissions> | |
| <timestamps> | |
| <atime>1542790779.028896713</atime> | |
| <mtime>1542790775.850899341</mtime> | |
| <ctime>1542790777.982897578</ctime> | |
| </timestamps> | |
| <compat>1.1</compat> | |
| <features/> | |
| </target> | |
| </volume> | |
| [root@local images]# virsh vol-dumpxml test1-master-0 default | |
| <volume type='file'> | |
| <name>test1-master-0</name> | |
| <key>/var/lib/libvirt/images/test1-master-0</key> | |
| <source> | |
| </source> | |
| <capacity unit='bytes'>17179869184</capacity> | |
| <allocation unit='bytes'>4685766656</allocation> | |
| <physical unit='bytes'>4685824000</physical> | |
| <target> | |
| <path>/var/lib/libvirt/images/test1-master-0</path> | |
| <format type='qcow2'/> | |
| <permissions> | |
| <mode>0644</mode> | |
| <owner>0</owner> | |
| <group>0</group> | |
| <label>system_u:object_r:virt_image_t:s0</label> | |
| </permissions> | |
| <timestamps> | |
| <atime>1542794140.729802896</atime> | |
| <mtime>1542794140.694802842</mtime> | |
| <ctime>1542794141.028803364</ctime> | |
| </timestamps> | |
| </target> | |
| <backingStore> | |
| <path>/var/lib/libvirt/images/test1-base</path> | |
| <format type='qcow2'/> | |
| <permissions> | |
| <mode>0644</mode> | |
| <owner>107</owner> | |
| <group>107</group> | |
| <label>system_u:object_r:virt_content_t:s0</label> | |
| </permissions> | |
| <timestamps> | |
| <atime>1542790779.028896713</atime> | |
| <mtime>1542790775.850899341</mtime> | |
| <ctime>1542790777.982897578</ctime> | |
| </timestamps> | |
| </backingStore> | |
| </volume> | |
| [root@local images]# virsh vol-dumpxml test1-master.ign default | |
| <volume type='file'> | |
| <name>test1-master.ign</name> | |
| <key>/var/lib/libvirt/images/test1-master.ign</key> | |
| <source> | |
| </source> | |
| <capacity unit='bytes'>2251</capacity> | |
| <allocation unit='bytes'>4096</allocation> | |
| <physical unit='bytes'>2251</physical> | |
| <target> | |
| <path>/var/lib/libvirt/images/test1-master.ign</path> | |
| <format type='raw'/> | |
| <permissions> | |
| <mode>0644</mode> | |
| <owner>0</owner> | |
| <group>0</group> | |
| <label>system_u:object_r:virt_image_t:s0</label> | |
| </permissions> | |
| <timestamps> | |
| <atime>1542790775.877899319</atime> | |
| <mtime>1542790775.876899320</mtime> | |
| <ctime>1542790775.876899320</ctime> | |
| </timestamps> | |
| </target> | |
| </volume> | |
| [root@local images]# virsh vol-dumpxml test1-worker-0-g5c82 default | |
| <volume type='file'> | |
| <name>test1-worker-0-g5c82</name> | |
| <key>/var/lib/libvirt/images/test1-worker-0-g5c82</key> | |
| <source> | |
| </source> | |
| <capacity unit='bytes'>17706254336</capacity> | |
| <allocation unit='bytes'>3138199552</allocation> | |
| <physical unit='bytes'>3138256896</physical> | |
| <target> | |
| <path>/var/lib/libvirt/images/test1-worker-0-g5c82</path> | |
| <format type='qcow2'/> | |
| <permissions> | |
| <mode>0644</mode> | |
| <owner>0</owner> | |
| <group>0</group> | |
| <label>system_u:object_r:virt_image_t:s0</label> | |
| </permissions> | |
| <timestamps> | |
| <atime>1542794131.884789065</atime> | |
| <mtime>1542794131.862789031</mtime> | |
| <ctime>1542794132.163789501</ctime> | |
| </timestamps> | |
| </target> | |
| <backingStore> | |
| <path>/var/lib/libvirt/images/test1-base</path> | |
| <format type='qcow2'/> | |
| <permissions> | |
| <mode>0644</mode> | |
| <owner>107</owner> | |
| <group>107</group> | |
| <label>system_u:object_r:virt_content_t:s0</label> | |
| </permissions> | |
| <timestamps> | |
| <atime>1542790779.028896713</atime> | |
| <mtime>1542790775.850899341</mtime> | |
| <ctime>1542790777.982897578</ctime> | |
| </timestamps> | |
| </backingStore> | |
| </volume> | |
| [root@local images]# virsh vol-dumpxml test1-worker.ign default | |
| <volume type='file'> | |
| <name>test1-worker.ign</name> | |
| <key>/var/lib/libvirt/images/test1-worker.ign</key> | |
| <source> | |
| </source> | |
| <capacity unit='bytes'>2251</capacity> | |
| <allocation unit='bytes'>4096</allocation> | |
| <physical unit='bytes'>2251</physical> | |
| <target> | |
| <path>/var/lib/libvirt/images/test1-worker.ign</path> | |
| <format type='raw'/> | |
| <permissions> | |
| <mode>0644</mode> | |
| <owner>0</owner> | |
| <group>0</group> | |
| <label>system_u:object_r:virt_image_t:s0</label> | |
| </permissions> | |
| <timestamps> | |
| <atime>1542790765.948907530</atime> | |
| <mtime>1542790765.946907531</mtime> | |
| <ctime>1542790765.946907531</ctime> | |
| </timestamps> | |
| </target> | |
| </volume> | |
| # virsh dumpxml --domain test1-master-0 | |
| <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> | |
| <name>test1-master-0</name> | |
| <uuid>ef54ad62-e5df-431a-b231-3668064acbd1</uuid> | |
| <memory unit='KiB'>3145728</memory> | |
| <currentMemory unit='KiB'>3145728</currentMemory> | |
| <vcpu placement='static'>2</vcpu> | |
| <os> | |
| <type arch='x86_64' machine='pc-i440fx-2.11'>hvm</type> | |
| <boot dev='hd'/> | |
| </os> | |
| <features> | |
| <acpi/> | |
| <apic/> | |
| <pae/> | |
| </features> | |
| <clock offset='utc'/> | |
| <on_poweroff>destroy</on_poweroff> | |
| <on_reboot>restart</on_reboot> | |
| <on_crash>destroy</on_crash> | |
| <devices> | |
| <emulator>/usr/bin/qemu-kvm</emulator> | |
| <disk type='volume' device='disk'> | |
| <driver name='qemu' type='qcow2'/> | |
| <source pool='default' volume='test1-master-0'/> | |
| <target dev='vda' bus='virtio'/> | |
| <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> | |
| </disk> | |
| <controller type='usb' index='0' model='piix3-uhci'> | |
| <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> | |
| </controller> | |
| <controller type='pci' index='0' model='pci-root'/> | |
| <controller type='virtio-serial' index='0'> | |
| <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> | |
| </controller> | |
| <interface type='network'> | |
| <mac address='b2:70:01:00:a6:68'/> | |
| <source network='test1'/> | |
| <model type='virtio'/> | |
| <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> | |
| </interface> | |
| <serial type='pty'> | |
| <target type='isa-serial' port='0'> | |
| <model name='isa-serial'/> | |
| </target> | |
| </serial> | |
| <console type='pty'> | |
| <target type='serial' port='0'/> | |
| </console> | |
| <channel type='pty'> | |
| <target type='virtio' name='org.qemu.guest_agent.0'/> | |
| <address type='virtio-serial' controller='0' bus='0' port='1'/> | |
| </channel> | |
| <input type='mouse' bus='ps2'/> | |
| <input type='keyboard' bus='ps2'/> | |
| <graphics type='spice' autoport='yes'> | |
| <listen type='address'/> | |
| </graphics> | |
| <video> | |
| <model type='cirrus' vram='16384' heads='1' primary='yes'/> | |
| <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> | |
| </video> | |
| <memballoon model='virtio'> | |
| <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> | |
| </memballoon> | |
| <rng model='virtio'> | |
| <backend model='random'>/dev/random</backend> | |
| <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> | |
| </rng> | |
| </devices> | |
| <qemu:commandline> | |
| <qemu:arg value='-fw_cfg'/> | |
| <qemu:arg value='name=opt/com.coreos/config,file=/var/lib/libvirt/images/test1-master.ign'/> | |
| </qemu:commandline> | |
| </domain> |
Author
Master node dump for retry-2
19:25 $ sudo virsh dumpxml test1-master-0
[sudo] password for prkumar:
<domain type='kvm' id='32' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
<name>test1-master-0</name>
<uuid>2e041550-31db-4357-9596-319172016d0c</uuid>
<memory unit='KiB'>3145728</memory>
<currentMemory unit='KiB'>3145728</currentMemory>
<vcpu placement='static'>2</vcpu>
<resource>
<partition>/machine</partition>
</resource>
<os>
<type arch='x86_64' machine='pc-i440fx-2.11'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/bin/qemu-kvm</emulator>
<disk type='volume' device='disk'>
<driver name='qemu' type='qcow2'/>
<source pool='default' volume='test1-master-0'/>
<backingStore type='file' index='1'>
<format type='qcow2'/>
<source file='/var/lib/libvirt/images/test1-base'/>
<backingStore/>
</backingStore>
<target dev='vda' bus='virtio'/>
<alias name='virtio-disk0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
</disk>
<controller type='usb' index='0' model='piix3-uhci'>
<alias name='usb'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='pci' index='0' model='pci-root'>
<alias name='pci.0'/>
</controller>
<controller type='virtio-serial' index='0'>
<alias name='virtio-serial0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</controller>
<interface type='network'>
<mac address='ce:f4:8a:c9:8e:58'/>
<source network='test1' bridge='tt0'/>
<target dev='vnet0'/>
<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/11'/>
<target type='isa-serial' port='0'>
<model name='isa-serial'/>
</target>
<alias name='serial0'/>
</serial>
<console type='pty' tty='/dev/pts/11'>
<source path='/dev/pts/11'/>
<target type='serial' port='0'/>
<alias name='serial0'/>
</console>
<channel type='pty'>
<source path='/dev/pts/13'/>
<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>
<input type='mouse' bus='ps2'>
<alias name='input0'/>
</input>
<input type='keyboard' bus='ps2'>
<alias name='input1'/>
</input>
<graphics type='spice' port='5900' autoport='yes' listen='127.0.0.1'>
<listen type='address' address='127.0.0.1'/>
</graphics>
<video>
<model type='cirrus' vram='16384' heads='1' primary='yes'/>
<alias name='video0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</video>
<memballoon model='virtio'>
<stats period='5'/>
<alias name='balloon0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
</memballoon>
<rng model='virtio'>
<backend model='random'>/dev/random</backend>
<alias name='rng0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</rng>
</devices>
<seclabel type='dynamic' model='selinux' relabel='yes'>
<label>system_u:system_r:svirt_t:s0:c292,c776</label>
<imagelabel>system_u:object_r:svirt_image_t:s0:c292,c776</imagelabel>
</seclabel>
<seclabel type='dynamic' model='dac' relabel='yes'>
<label>+107:+107</label>
<imagelabel>+107:+107</imagelabel>
</seclabel>
<qemu:commandline>
<qemu:arg value='-fw_cfg'/>
<qemu:arg value='name=opt/com.coreos/config,file=/var/lib/libvirt/images/test1-master.ign'/>
</qemu:commandline>
</domain>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.