Advertisement
Guest User

Untitled

a guest
Apr 4th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.58 KB | None | 0 0
  1. (nova-libvirt)[root@bpc04 /]# virsh dumpxml 9437554e-bd39-478c-a747-b208115edfc6
  2. <domain type='kvm' id='5'>
  3. <name>instance-00000053</name>
  4. <uuid>9437554e-bd39-478c-a747-b208115edfc6</uuid>
  5. <metadata>
  6. <nova:instance xmlns:nova="http://openstack.org/xmlns/libvirt/nova/1.0">
  7. <nova:package version="18.1.0-1.el7"/>
  8. <nova:name>malo-test</nova:name>
  9. <nova:creationTime>2019-04-04 23:39:35</nova:creationTime>
  10. <nova:flavor name="m3.small">
  11. <nova:memory>8192</nova:memory>
  12. <nova:disk>20</nova:disk>
  13. <nova:swap>0</nova:swap>
  14. <nova:ephemeral>0</nova:ephemeral>
  15. <nova:vcpus>1</nova:vcpus>
  16. </nova:flavor>
  17. <nova:owner>
  18. <nova:user uuid="0339cdfb8b4d4721beebbad3358e217a">admin</nova:user>
  19. <nova:project uuid="b26819e4a8e54de1bc4575d9073183a6">admin</nova:project>
  20. </nova:owner>
  21. </nova:instance>
  22. </metadata>
  23. <memory unit='KiB'>8388608</memory>
  24. <currentMemory unit='KiB'>8388608</currentMemory>
  25. <vcpu placement='static'>1</vcpu>
  26. <cputune>
  27. <shares>1024</shares>
  28. </cputune>
  29. <resource>
  30. <partition>/machine</partition>
  31. </resource>
  32. <sysinfo type='smbios'>
  33. <system>
  34. <entry name='manufacturer'>RDO</entry>
  35. <entry name='product'>OpenStack Compute</entry>
  36. <entry name='version'>18.1.0-1.el7</entry>
  37. <entry name='serial'>37383638-3330-5a43-3239-303130355347</entry>
  38. <entry name='uuid'>9437554e-bd39-478c-a747-b208115edfc6</entry>
  39. <entry name='family'>Virtual Machine</entry>
  40. </system>
  41. </sysinfo>
  42. <os>
  43. <type arch='x86_64' machine='pc-i440fx-rhel7.6.0'>hvm</type>
  44. <boot dev='hd'/>
  45. <smbios mode='sysinfo'/>
  46. </os>
  47. <features>
  48. <acpi/>
  49. <apic/>
  50. </features>
  51. <cpu mode='custom' match='exact' check='full'>
  52. <model fallback='forbid'>Skylake-Server-IBRS</model>
  53. <vendor>Intel</vendor>
  54. <topology sockets='1' cores='1' threads='1'/>
  55. <feature policy='require' name='ss'/>
  56. <feature policy='require' name='hypervisor'/>
  57. <feature policy='require' name='tsc_adjust'/>
  58. <feature policy='require' name='clflushopt'/>
  59. <feature policy='require' name='pku'/>
  60. <feature policy='require' name='stibp'/>
  61. <feature policy='require' name='ssbd'/>
  62. </cpu>
  63. <clock offset='utc'>
  64. <timer name='pit' tickpolicy='delay'/>
  65. <timer name='rtc' tickpolicy='catchup'/>
  66. <timer name='hpet' present='no'/>
  67. </clock>
  68. <on_poweroff>destroy</on_poweroff>
  69. <on_reboot>restart</on_reboot>
  70. <on_crash>destroy</on_crash>
  71. <devices>
  72. <emulator>/usr/libexec/qemu-kvm</emulator>
  73. <disk type='network' device='disk'>
  74. <driver name='qemu' type='raw' cache='writeback' discard='unmap'/>
  75. <auth username='cinder'>
  76. <secret type='ceph' uuid='7dd7b164-3b1a-4743-8105-bef0e6aa088e'/>
  77. </auth>
  78. <source protocol='rbd' name='volumes/volume-30e74c3e-ad60-4545-a574-43006750bcd2'>
  79. <host name='10.100.20.41' port='6789'/>
  80. </source>
  81. <target dev='vda' bus='scsi'/>
  82. <serial>30e74c3e-ad60-4545-a574-43006750bcd2</serial>
  83. <alias name='scsi0-0-0-0'/>
  84. <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  85. </disk>
  86. <disk type='network' device='disk'>
  87. <driver name='qemu' type='raw' cache='writeback' discard='unmap'/>
  88. <auth username='cinder'>
  89. <secret type='ceph' uuid='7dd7b164-3b1a-4743-8105-bef0e6aa088e'/>
  90. </auth>
  91. <source protocol='rbd' name='volumes/volume-e1c2f7db-95d9-459e-948e-b3cdde5016fb'>
  92. <host name='10.100.20.41' port='6789'/>
  93. </source>
  94. <target dev='sda' bus='scsi'/>
  95. <serial>e1c2f7db-95d9-459e-948e-b3cdde5016fb</serial>
  96. <encryption format='luks'>
  97. <secret type='passphrase' uuid='53129373-73e6-4ff6-8a35-d50f13c5d2a4'/>
  98. </encryption>
  99. <alias name='scsi0-0-0-1'/>
  100. <address type='drive' controller='0' bus='0' target='0' unit='1'/>
  101. </disk>
  102. <controller type='scsi' index='0' model='virtio-scsi'>
  103. <alias name='scsi0'/>
  104. <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  105. </controller>
  106. <controller type='usb' index='0' model='piix3-uhci'>
  107. <alias name='usb'/>
  108. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
  109. </controller>
  110. <controller type='pci' index='0' model='pci-root'>
  111. <alias name='pci.0'/>
  112. </controller>
  113. <controller type='virtio-serial' index='0'>
  114. <alias name='virtio-serial0'/>
  115. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  116. </controller>
  117. <interface type='bridge'>
  118. <mac address='fa:16:3e:89:5d:58'/>
  119. <source bridge='qbr32a910ec-24'/>
  120. <target dev='tap32a910ec-24'/>
  121. <model type='virtio'/>
  122. <mtu size='1500'/>
  123. <alias name='net0'/>
  124. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  125. </interface>
  126. <serial type='pty'>
  127. <source path='/dev/pts/1'/>
  128. <log file='/var/lib/nova/instances/9437554e-bd39-478c-a747-b208115edfc6/console.log' append='off'/>
  129. <target type='isa-serial' port='0'>
  130. <model name='isa-serial'/>
  131. </target>
  132. <alias name='serial0'/>
  133. </serial>
  134. <console type='pty' tty='/dev/pts/1'>
  135. <source path='/dev/pts/1'/>
  136. <log file='/var/lib/nova/instances/9437554e-bd39-478c-a747-b208115edfc6/console.log' append='off'/>
  137. <target type='serial' port='0'/>
  138. <alias name='serial0'/>
  139. </console>
  140. <channel type='unix'>
  141. <source mode='bind' path='/var/lib/libvirt/qemu/org.qemu.guest_agent.0.instance-00000053.sock'/>
  142. <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/>
  143. <alias name='channel0'/>
  144. <address type='virtio-serial' controller='0' bus='0' port='1'/>
  145. </channel>
  146. <input type='tablet' bus='usb'>
  147. <alias name='input0'/>
  148. <address type='usb' bus='0' port='1'/>
  149. </input>
  150. <input type='mouse' bus='ps2'>
  151. <alias name='input1'/>
  152. </input>
  153. <input type='keyboard' bus='ps2'>
  154. <alias name='input2'/>
  155. </input>
  156. <graphics type='vnc' port='5900' autoport='yes' listen='10.100.30.44'>
  157. <listen type='address' address='10.100.30.44'/>
  158. </graphics>
  159. <video>
  160. <model type='cirrus' vram='16384' heads='1' primary='yes'/>
  161. <alias name='video0'/>
  162. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  163. </video>
  164. <memballoon model='virtio'>
  165. <stats period='10'/>
  166. <alias name='balloon0'/>
  167. <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  168. </memballoon>
  169. </devices>
  170. <seclabel type='dynamic' model='dac' relabel='yes'>
  171. <label>+42436:+42436</label>
  172. <imagelabel>+42436:+42436</imagelabel>
  173. </seclabel>
  174. </domain>
  175.  
  176.  
  177. After hard reboot
  178.  
  179. (nova-libvirt)[root@bpc04 /]# virsh dumpxml 9437554e-bd39-478c-a747-b208115edfc6
  180. <domain type='kvm' id='6'>
  181. <name>instance-00000053</name>
  182. <uuid>9437554e-bd39-478c-a747-b208115edfc6</uuid>
  183. <metadata>
  184. <nova:instance xmlns:nova="http://openstack.org/xmlns/libvirt/nova/1.0">
  185. <nova:package version="18.1.0-1.el7"/>
  186. <nova:name>malo-test</nova:name>
  187. <nova:creationTime>2019-04-04 23:50:59</nova:creationTime>
  188. <nova:flavor name="m3.small">
  189. <nova:memory>8192</nova:memory>
  190. <nova:disk>20</nova:disk>
  191. <nova:swap>0</nova:swap>
  192. <nova:ephemeral>0</nova:ephemeral>
  193. <nova:vcpus>1</nova:vcpus>
  194. </nova:flavor>
  195. <nova:owner>
  196. <nova:user uuid="0339cdfb8b4d4721beebbad3358e217a">admin</nova:user>
  197. <nova:project uuid="b26819e4a8e54de1bc4575d9073183a6">admin</nova:project>
  198. </nova:owner>
  199. </nova:instance>
  200. </metadata>
  201. <memory unit='KiB'>8388608</memory>
  202. <currentMemory unit='KiB'>8388608</currentMemory>
  203. <vcpu placement='static'>1</vcpu>
  204. <cputune>
  205. <shares>1024</shares>
  206. </cputune>
  207. <resource>
  208. <partition>/machine</partition>
  209. </resource>
  210. <sysinfo type='smbios'>
  211. <system>
  212. <entry name='manufacturer'>RDO</entry>
  213. <entry name='product'>OpenStack Compute</entry>
  214. <entry name='version'>18.1.0-1.el7</entry>
  215. <entry name='serial'>37383638-3330-5a43-3239-303130355347</entry>
  216. <entry name='uuid'>9437554e-bd39-478c-a747-b208115edfc6</entry>
  217. <entry name='family'>Virtual Machine</entry>
  218. </system>
  219. </sysinfo>
  220. <os>
  221. <type arch='x86_64' machine='pc-i440fx-rhel7.6.0'>hvm</type>
  222. <boot dev='hd'/>
  223. <smbios mode='sysinfo'/>
  224. </os>
  225. <features>
  226. <acpi/>
  227. <apic/>
  228. </features>
  229. <cpu mode='custom' match='exact' check='full'>
  230. <model fallback='forbid'>Skylake-Server-IBRS</model>
  231. <vendor>Intel</vendor>
  232. <topology sockets='1' cores='1' threads='1'/>
  233. <feature policy='require' name='ss'/>
  234. <feature policy='require' name='hypervisor'/>
  235. <feature policy='require' name='tsc_adjust'/>
  236. <feature policy='require' name='clflushopt'/>
  237. <feature policy='require' name='pku'/>
  238. <feature policy='require' name='stibp'/>
  239. <feature policy='require' name='ssbd'/>
  240. </cpu>
  241. <clock offset='utc'>
  242. <timer name='pit' tickpolicy='delay'/>
  243. <timer name='rtc' tickpolicy='catchup'/>
  244. <timer name='hpet' present='no'/>
  245. </clock>
  246. <on_poweroff>destroy</on_poweroff>
  247. <on_reboot>restart</on_reboot>
  248. <on_crash>destroy</on_crash>
  249. <devices>
  250. <emulator>/usr/libexec/qemu-kvm</emulator>
  251. <disk type='network' device='disk'>
  252. <driver name='qemu' type='raw' cache='writeback' discard='unmap'/>
  253. <auth username='cinder'>
  254. <secret type='ceph' uuid='7dd7b164-3b1a-4743-8105-bef0e6aa088e'/>
  255. </auth>
  256. <source protocol='rbd' name='volumes/volume-e1c2f7db-95d9-459e-948e-b3cdde5016fb'>
  257. <host name='10.100.20.41' port='6789'/>
  258. </source>
  259. <target dev='sda' bus='scsi'/>
  260. <serial>e1c2f7db-95d9-459e-948e-b3cdde5016fb</serial>
  261. <encryption format='luks'>
  262. <secret type='passphrase' uuid='c2a33265-c556-4b53-ab61-b376ab74468c'/>
  263. </encryption>
  264. <alias name='scsi0-0-0-1'/>
  265. <address type='drive' controller='0' bus='0' target='0' unit='1'/>
  266. </disk>
  267. <disk type='network' device='disk'>
  268. <driver name='qemu' type='raw' cache='writeback' discard='unmap'/>
  269. <auth username='cinder'>
  270. <secret type='ceph' uuid='7dd7b164-3b1a-4743-8105-bef0e6aa088e'/>
  271. </auth>
  272. <source protocol='rbd' name='volumes/volume-30e74c3e-ad60-4545-a574-43006750bcd2'>
  273. <host name='10.100.20.41' port='6789'/>
  274. </source>
  275. <target dev='vda' bus='scsi'/>
  276. <serial>30e74c3e-ad60-4545-a574-43006750bcd2</serial>
  277. <alias name='scsi0-0-0-0'/>
  278. <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  279. </disk>
  280. <controller type='scsi' index='0' model='virtio-scsi'>
  281. <alias name='scsi0'/>
  282. <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  283. </controller>
  284. <controller type='usb' index='0' model='piix3-uhci'>
  285. <alias name='usb'/>
  286. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
  287. </controller>
  288. <controller type='pci' index='0' model='pci-root'>
  289. <alias name='pci.0'/>
  290. </controller>
  291. <controller type='virtio-serial' index='0'>
  292. <alias name='virtio-serial0'/>
  293. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  294. </controller>
  295. <interface type='bridge'>
  296. <mac address='fa:16:3e:89:5d:58'/>
  297. <source bridge='qbr32a910ec-24'/>
  298. <target dev='tap32a910ec-24'/>
  299. <model type='virtio'/>
  300. <mtu size='1500'/>
  301. <alias name='net0'/>
  302. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  303. </interface>
  304. <serial type='pty'>
  305. <source path='/dev/pts/1'/>
  306. <log file='/var/lib/nova/instances/9437554e-bd39-478c-a747-b208115edfc6/console.log' append='off'/>
  307. <target type='isa-serial' port='0'>
  308. <model name='isa-serial'/>
  309. </target>
  310. <alias name='serial0'/>
  311. </serial>
  312. <console type='pty' tty='/dev/pts/1'>
  313. <source path='/dev/pts/1'/>
  314. <log file='/var/lib/nova/instances/9437554e-bd39-478c-a747-b208115edfc6/console.log' append='off'/>
  315. <target type='serial' port='0'/>
  316. <alias name='serial0'/>
  317. </console>
  318. <channel type='unix'>
  319. <source mode='bind' path='/var/lib/libvirt/qemu/org.qemu.guest_agent.0.instance-00000053.sock'/>
  320. <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
  321. <alias name='channel0'/>
  322. <address type='virtio-serial' controller='0' bus='0' port='1'/>
  323. </channel>
  324. <input type='tablet' bus='usb'>
  325. <alias name='input0'/>
  326. <address type='usb' bus='0' port='1'/>
  327. </input>
  328. <input type='mouse' bus='ps2'>
  329. <alias name='input1'/>
  330. </input>
  331. <input type='keyboard' bus='ps2'>
  332. <alias name='input2'/>
  333. </input>
  334. <graphics type='vnc' port='5900' autoport='yes' listen='10.100.30.44'>
  335. <listen type='address' address='10.100.30.44'/>
  336. </graphics>
  337. <video>
  338. <model type='cirrus' vram='16384' heads='1' primary='yes'/>
  339. <alias name='video0'/>
  340. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  341. </video>
  342. <memballoon model='virtio'>
  343. <stats period='10'/>
  344. <alias name='balloon0'/>
  345. <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  346. </memballoon>
  347. </devices>
  348. <seclabel type='dynamic' model='dac' relabel='yes'>
  349. <label>+42436:+42436</label>
  350. <imagelabel>+42436:+42436</imagelabel>
  351. </seclabel>
  352. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement