<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:Calibri;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:Calibri;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Did an upgrade from liberty to mitaka and we are experiencing an issue where the audit of locally available compute resource usage is not seeing instances that were deployed prior to the upgrade. Has anyone
 experienced this before? We hard power cycled all the vms (and hypervisor) to make sure they are running on the latest nova version. This is impacting scheduling of resources/quota usage as you could imagine
</span><span style="font-size:11.0pt;font-family:Wingdings">J</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Example from one box.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-03-02 19:37:52.189 17586 INFO nova.compute.resource_tracker [req-da808a51-f9e3-4762-b46b-ee313183d2d2 - - - - -] Auditing locally available compute resources for node usw1comp024.openstack.local<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-03-02 19:37:54.413 17586 INFO nova.compute.resource_tracker [req-da808a51-f9e3-4762-b46b-ee313183d2d2 - - - - -] Total usable vcpus: 56, total allocated vcpus: 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-03-02 19:37:54.413 17586 INFO nova.compute.resource_tracker [req-da808a51-f9e3-4762-b46b-ee313183d2d2 - - - - -] Final resource view: name=hostname.openstack.local phys_ram=257725MB used_ram=2048MB phys_disk=4433GB
 used_disk=2GB total_vcpus=56 used_vcpus=0 pci_stats=[]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">virsh list --all<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Id    Name                           State<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">----------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2     instance-000018ed              running<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">3     instance-000018ea              running<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">4     instance-000018e4              running<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">5     instance-000018de              running<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">6     instance-0000076f              running<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">7     instance-00000420              running<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">libvirt+  7995  1.6  0.2 13401648 653416 ?     Sl   19:07   0:40 /usr/bin/qemu-system-x86_64 -name instance-000018ed -S -machine pc-i440fx-trusty,accel=kvm,usb=off -cpu SandyBridge,+invpcid,+erms,+bmi2,+smep,+avx2,+bmi1,+fsgsbase,+abm,+pdpe1gb,+rdrand,+f16c,+osxsave,+movbe,+dca,+pcid,+pdcm,+xtpr,+fma,+tm2,+est,+smx,+vmx,+ds_cpl,+monitor,+dtes64,+pbe,+tm,+ht,+ss,+acpi,+ds,+vme
 -m 8192 -realtime mlock=off -smp 2,sockets=2,cores=1,threads=1 -uuid d306091c-e1a6-44ef-b5ff-bc412c4b2341 -smbios type=1,manufacturer=OpenStack Foundation,product=OpenStack Nova,version=13.1.3,serial=03000200-0400-0500-0006-000700080009,uuid=d306091c-e1a6-44ef-b5ff-bc412c4b2341,family=Virtual
 Machine -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance-000018ed.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet
 -no-shutdown -boot strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x4 -drive file=/var/lib/nova/instances/d306091c-e1a6-44ef-b5ff-bc412c4b2341/disk,if=none,id=drive-virtio-disk0,format=qcow2,cache=none,discard=ignore
 -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,fd=25,id=hostnet0,vhost=on,vhostfd=27 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=fa:16:3e:bc:3c:ee,bus=pci.0,addr=0x3 -chardev file,id=charserial0,path=/var/lib/nova/instances/d306091c-e1a6-44ef-b5ff-bc412c4b2341/console.log
 -device isa-serial,chardev=charserial0,id=serial0 -chardev pty,id=charserial1 -device isa-serial,chardev=charserial1,id=serial1 -chardev pty,id=charchannel0 -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0
 -spice port=5900,addr=10.60.16.73,disable-ticketing,seamless-migration=on -k en-us -device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,bus=pci.0,addr=0x2 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">libvirt+  8516  1.6  0.2 13401672 594804 ?     Sl   19:07   0:39 /usr/bin/qemu-system-x86_64 -name instance-000018ea -S -machine pc-i440fx-trusty,accel=kvm,usb=off -cpu SandyBridge,+invpcid,+erms,+bmi2,+smep,+avx2,+bmi1,+fsgsbase,+abm,+pdpe1gb,+rdrand,+f16c,+osxsave,+movbe,+dca,+pcid,+pdcm,+xtpr,+fma,+tm2,+est,+smx,+vmx,+ds_cpl,+monitor,+dtes64,+pbe,+tm,+ht,+ss,+acpi,+ds,+vme
 -m 8192 -realtime mlock=off -smp 2,sockets=2,cores=1,threads=1 -uuid 2e3cdf87-5022-45df-8a47-150afee1ca83 -smbios type=1,manufacturer=OpenStack Foundation,product=OpenStack Nova,version=13.1.3,serial=03000200-0400-0500-0006-000700080009,uuid=2e3cdf87-5022-45df-8a47-150afee1ca83,family=Virtual
 Machine -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance-000018ea.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet
 -no-shutdown -boot strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x4 -drive file=/var/lib/nova/instances/2e3cdf87-5022-45df-8a47-150afee1ca83/disk,if=none,id=drive-virtio-disk0,format=qcow2,cache=none,discard=ignore
 -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,fd=25,id=hostnet0,vhost=on,vhostfd=28 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=fa:16:3e:44:46:a9,bus=pci.0,addr=0x3 -chardev file,id=charserial0,path=/var/lib/nova/instances/2e3cdf87-5022-45df-8a47-150afee1ca83/console.log
 -device isa-serial,chardev=charserial0,id=serial0 -chardev pty,id=charserial1 -device isa-serial,chardev=charserial1,id=serial1 -chardev pty,id=charchannel0 -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0
 -spice port=5901,addr=10.60.16.73,disable-ticketing,seamless-migration=on -k en-us -device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,bus=pci.0,addr=0x2 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">and on..<o:p></o:p></span></p>
</div>
</body>
</html>