Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (nova-libvirt)[root@bpc04 /]# virsh dumpxml 9437554e-bd39-478c-a747-b208115edfc6
- <domain type='kvm' id='5'>
- <name>instance-00000053</name>
- <uuid>9437554e-bd39-478c-a747-b208115edfc6</uuid>
- <metadata>
- <nova:instance xmlns:nova="http://openstack.org/xmlns/libvirt/nova/1.0">
- <nova:package version="18.1.0-1.el7"/>
- <nova:name>malo-test</nova:name>
- <nova:creationTime>2019-04-04 23:39:35</nova:creationTime>
- <nova:flavor name="m3.small">
- <nova:memory>8192</nova:memory>
- <nova:disk>20</nova:disk>
- <nova:swap>0</nova:swap>
- <nova:ephemeral>0</nova:ephemeral>
- <nova:vcpus>1</nova:vcpus>
- </nova:flavor>
- <nova:owner>
- <nova:user uuid="0339cdfb8b4d4721beebbad3358e217a">admin</nova:user>
- <nova:project uuid="b26819e4a8e54de1bc4575d9073183a6">admin</nova:project>
- </nova:owner>
- </nova:instance>
- </metadata>
- <memory unit='KiB'>8388608</memory>
- <currentMemory unit='KiB'>8388608</currentMemory>
- <vcpu placement='static'>1</vcpu>
- <cputune>
- <shares>1024</shares>
- </cputune>
- <resource>
- <partition>/machine</partition>
- </resource>
- <sysinfo type='smbios'>
- <system>
- <entry name='manufacturer'>RDO</entry>
- <entry name='product'>OpenStack Compute</entry>
- <entry name='version'>18.1.0-1.el7</entry>
- <entry name='serial'>37383638-3330-5a43-3239-303130355347</entry>
- <entry name='uuid'>9437554e-bd39-478c-a747-b208115edfc6</entry>
- <entry name='family'>Virtual Machine</entry>
- </system>
- </sysinfo>
- <os>
- <type arch='x86_64' machine='pc-i440fx-rhel7.6.0'>hvm</type>
- <boot dev='hd'/>
- <smbios mode='sysinfo'/>
- </os>
- <features>
- <acpi/>
- <apic/>
- </features>
- <cpu mode='custom' match='exact' check='full'>
- <model fallback='forbid'>Skylake-Server-IBRS</model>
- <vendor>Intel</vendor>
- <topology sockets='1' cores='1' threads='1'/>
- <feature policy='require' name='ss'/>
- <feature policy='require' name='hypervisor'/>
- <feature policy='require' name='tsc_adjust'/>
- <feature policy='require' name='clflushopt'/>
- <feature policy='require' name='pku'/>
- <feature policy='require' name='stibp'/>
- <feature policy='require' name='ssbd'/>
- </cpu>
- <clock offset='utc'>
- <timer name='pit' tickpolicy='delay'/>
- <timer name='rtc' tickpolicy='catchup'/>
- <timer name='hpet' present='no'/>
- </clock>
- <on_poweroff>destroy</on_poweroff>
- <on_reboot>restart</on_reboot>
- <on_crash>destroy</on_crash>
- <devices>
- <emulator>/usr/libexec/qemu-kvm</emulator>
- <disk type='network' device='disk'>
- <driver name='qemu' type='raw' cache='writeback' discard='unmap'/>
- <auth username='cinder'>
- <secret type='ceph' uuid='7dd7b164-3b1a-4743-8105-bef0e6aa088e'/>
- </auth>
- <source protocol='rbd' name='volumes/volume-30e74c3e-ad60-4545-a574-43006750bcd2'>
- <host name='10.100.20.41' port='6789'/>
- </source>
- <target dev='vda' bus='scsi'/>
- <serial>30e74c3e-ad60-4545-a574-43006750bcd2</serial>
- <alias name='scsi0-0-0-0'/>
- <address type='drive' controller='0' bus='0' target='0' unit='0'/>
- </disk>
- <disk type='network' device='disk'>
- <driver name='qemu' type='raw' cache='writeback' discard='unmap'/>
- <auth username='cinder'>
- <secret type='ceph' uuid='7dd7b164-3b1a-4743-8105-bef0e6aa088e'/>
- </auth>
- <source protocol='rbd' name='volumes/volume-e1c2f7db-95d9-459e-948e-b3cdde5016fb'>
- <host name='10.100.20.41' port='6789'/>
- </source>
- <target dev='sda' bus='scsi'/>
- <serial>e1c2f7db-95d9-459e-948e-b3cdde5016fb</serial>
- <encryption format='luks'>
- <secret type='passphrase' uuid='53129373-73e6-4ff6-8a35-d50f13c5d2a4'/>
- </encryption>
- <alias name='scsi0-0-0-1'/>
- <address type='drive' controller='0' bus='0' target='0' unit='1'/>
- </disk>
- <controller type='scsi' index='0' model='virtio-scsi'>
- <alias name='scsi0'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
- </controller>
- <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='0x05' function='0x0'/>
- </controller>
- <interface type='bridge'>
- <mac address='fa:16:3e:89:5d:58'/>
- <source bridge='qbr32a910ec-24'/>
- <target dev='tap32a910ec-24'/>
- <model type='virtio'/>
- <mtu size='1500'/>
- <alias name='net0'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
- </interface>
- <serial type='pty'>
- <source path='/dev/pts/1'/>
- <log file='/var/lib/nova/instances/9437554e-bd39-478c-a747-b208115edfc6/console.log' append='off'/>
- <target type='isa-serial' port='0'>
- <model name='isa-serial'/>
- </target>
- <alias name='serial0'/>
- </serial>
- <console type='pty' tty='/dev/pts/1'>
- <source path='/dev/pts/1'/>
- <log file='/var/lib/nova/instances/9437554e-bd39-478c-a747-b208115edfc6/console.log' append='off'/>
- <target type='serial' port='0'/>
- <alias name='serial0'/>
- </console>
- <channel type='unix'>
- <source mode='bind' path='/var/lib/libvirt/qemu/org.qemu.guest_agent.0.instance-00000053.sock'/>
- <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/>
- <alias name='channel0'/>
- <address type='virtio-serial' controller='0' bus='0' port='1'/>
- </channel>
- <input type='tablet' bus='usb'>
- <alias name='input0'/>
- <address type='usb' bus='0' port='1'/>
- </input>
- <input type='mouse' bus='ps2'>
- <alias name='input1'/>
- </input>
- <input type='keyboard' bus='ps2'>
- <alias name='input2'/>
- </input>
- <graphics type='vnc' port='5900' autoport='yes' listen='10.100.30.44'>
- <listen type='address' address='10.100.30.44'/>
- </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='10'/>
- <alias name='balloon0'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
- </memballoon>
- </devices>
- <seclabel type='dynamic' model='dac' relabel='yes'>
- <label>+42436:+42436</label>
- <imagelabel>+42436:+42436</imagelabel>
- </seclabel>
- </domain>
- After hard reboot
- (nova-libvirt)[root@bpc04 /]# virsh dumpxml 9437554e-bd39-478c-a747-b208115edfc6
- <domain type='kvm' id='6'>
- <name>instance-00000053</name>
- <uuid>9437554e-bd39-478c-a747-b208115edfc6</uuid>
- <metadata>
- <nova:instance xmlns:nova="http://openstack.org/xmlns/libvirt/nova/1.0">
- <nova:package version="18.1.0-1.el7"/>
- <nova:name>malo-test</nova:name>
- <nova:creationTime>2019-04-04 23:50:59</nova:creationTime>
- <nova:flavor name="m3.small">
- <nova:memory>8192</nova:memory>
- <nova:disk>20</nova:disk>
- <nova:swap>0</nova:swap>
- <nova:ephemeral>0</nova:ephemeral>
- <nova:vcpus>1</nova:vcpus>
- </nova:flavor>
- <nova:owner>
- <nova:user uuid="0339cdfb8b4d4721beebbad3358e217a">admin</nova:user>
- <nova:project uuid="b26819e4a8e54de1bc4575d9073183a6">admin</nova:project>
- </nova:owner>
- </nova:instance>
- </metadata>
- <memory unit='KiB'>8388608</memory>
- <currentMemory unit='KiB'>8388608</currentMemory>
- <vcpu placement='static'>1</vcpu>
- <cputune>
- <shares>1024</shares>
- </cputune>
- <resource>
- <partition>/machine</partition>
- </resource>
- <sysinfo type='smbios'>
- <system>
- <entry name='manufacturer'>RDO</entry>
- <entry name='product'>OpenStack Compute</entry>
- <entry name='version'>18.1.0-1.el7</entry>
- <entry name='serial'>37383638-3330-5a43-3239-303130355347</entry>
- <entry name='uuid'>9437554e-bd39-478c-a747-b208115edfc6</entry>
- <entry name='family'>Virtual Machine</entry>
- </system>
- </sysinfo>
- <os>
- <type arch='x86_64' machine='pc-i440fx-rhel7.6.0'>hvm</type>
- <boot dev='hd'/>
- <smbios mode='sysinfo'/>
- </os>
- <features>
- <acpi/>
- <apic/>
- </features>
- <cpu mode='custom' match='exact' check='full'>
- <model fallback='forbid'>Skylake-Server-IBRS</model>
- <vendor>Intel</vendor>
- <topology sockets='1' cores='1' threads='1'/>
- <feature policy='require' name='ss'/>
- <feature policy='require' name='hypervisor'/>
- <feature policy='require' name='tsc_adjust'/>
- <feature policy='require' name='clflushopt'/>
- <feature policy='require' name='pku'/>
- <feature policy='require' name='stibp'/>
- <feature policy='require' name='ssbd'/>
- </cpu>
- <clock offset='utc'>
- <timer name='pit' tickpolicy='delay'/>
- <timer name='rtc' tickpolicy='catchup'/>
- <timer name='hpet' present='no'/>
- </clock>
- <on_poweroff>destroy</on_poweroff>
- <on_reboot>restart</on_reboot>
- <on_crash>destroy</on_crash>
- <devices>
- <emulator>/usr/libexec/qemu-kvm</emulator>
- <disk type='network' device='disk'>
- <driver name='qemu' type='raw' cache='writeback' discard='unmap'/>
- <auth username='cinder'>
- <secret type='ceph' uuid='7dd7b164-3b1a-4743-8105-bef0e6aa088e'/>
- </auth>
- <source protocol='rbd' name='volumes/volume-e1c2f7db-95d9-459e-948e-b3cdde5016fb'>
- <host name='10.100.20.41' port='6789'/>
- </source>
- <target dev='sda' bus='scsi'/>
- <serial>e1c2f7db-95d9-459e-948e-b3cdde5016fb</serial>
- <encryption format='luks'>
- <secret type='passphrase' uuid='c2a33265-c556-4b53-ab61-b376ab74468c'/>
- </encryption>
- <alias name='scsi0-0-0-1'/>
- <address type='drive' controller='0' bus='0' target='0' unit='1'/>
- </disk>
- <disk type='network' device='disk'>
- <driver name='qemu' type='raw' cache='writeback' discard='unmap'/>
- <auth username='cinder'>
- <secret type='ceph' uuid='7dd7b164-3b1a-4743-8105-bef0e6aa088e'/>
- </auth>
- <source protocol='rbd' name='volumes/volume-30e74c3e-ad60-4545-a574-43006750bcd2'>
- <host name='10.100.20.41' port='6789'/>
- </source>
- <target dev='vda' bus='scsi'/>
- <serial>30e74c3e-ad60-4545-a574-43006750bcd2</serial>
- <alias name='scsi0-0-0-0'/>
- <address type='drive' controller='0' bus='0' target='0' unit='0'/>
- </disk>
- <controller type='scsi' index='0' model='virtio-scsi'>
- <alias name='scsi0'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
- </controller>
- <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='0x05' function='0x0'/>
- </controller>
- <interface type='bridge'>
- <mac address='fa:16:3e:89:5d:58'/>
- <source bridge='qbr32a910ec-24'/>
- <target dev='tap32a910ec-24'/>
- <model type='virtio'/>
- <mtu size='1500'/>
- <alias name='net0'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
- </interface>
- <serial type='pty'>
- <source path='/dev/pts/1'/>
- <log file='/var/lib/nova/instances/9437554e-bd39-478c-a747-b208115edfc6/console.log' append='off'/>
- <target type='isa-serial' port='0'>
- <model name='isa-serial'/>
- </target>
- <alias name='serial0'/>
- </serial>
- <console type='pty' tty='/dev/pts/1'>
- <source path='/dev/pts/1'/>
- <log file='/var/lib/nova/instances/9437554e-bd39-478c-a747-b208115edfc6/console.log' append='off'/>
- <target type='serial' port='0'/>
- <alias name='serial0'/>
- </console>
- <channel type='unix'>
- <source mode='bind' path='/var/lib/libvirt/qemu/org.qemu.guest_agent.0.instance-00000053.sock'/>
- <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='tablet' bus='usb'>
- <alias name='input0'/>
- <address type='usb' bus='0' port='1'/>
- </input>
- <input type='mouse' bus='ps2'>
- <alias name='input1'/>
- </input>
- <input type='keyboard' bus='ps2'>
- <alias name='input2'/>
- </input>
- <graphics type='vnc' port='5900' autoport='yes' listen='10.100.30.44'>
- <listen type='address' address='10.100.30.44'/>
- </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='10'/>
- <alias name='balloon0'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
- </memballoon>
- </devices>
- <seclabel type='dynamic' model='dac' relabel='yes'>
- <label>+42436:+42436</label>
- <imagelabel>+42436:+42436</imagelabel>
- </seclabel>
- </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement