<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 5, 2019 at 10:18 PM Matt Riedemann <<a href="mailto:mriedemos@gmail.com">mriedemos@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 7/5/2019 1:45 AM, Massimo Sgaravatto wrote:<br>
> I tried to check the allocations on each compute node of a Ocata cloud, <br>
> using the command:<br>
> <br>
> curl -s ${PLACEMENT_ENDPOINT}/resource_providers/${UUID}/allocations -H <br>
> "x-auth-token: $TOKEN"  | python -m json.tool<br>
><br>
<br>
Just FYI you can use osc-placement (openstack client plugin) for command <br>
line:<br>
<br>
<a href="https://docs.openstack.org/osc-placement/latest/index.html" rel="noreferrer" target="_blank">https://docs.openstack.org/osc-placement/latest/index.html</a><br>
<br></blockquote><div><br></div><div><br></div><div>Ok, thanks</div><div><br></div><div>In the Rocky cloud I had to manually install the  python2-osc-placement package. At least for centos7 it is not required by python2-openstackclient</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> I found that, on a few compute nodes, there are some instances for which <br>
> there is not a corresponding allocation.<br>
<br>
The heal_allocations command [1] might be able to find and fix these up <br>
for you. The bad news for you is that heal_allocations wasn't added <br>
until Rocky and you're on Ocata. </blockquote><div><br></div><div><br></div><div>Since in 1 week the Ocata cloud we'll be migrated to Rocky, I can wait ... :-)</div><div><br></div><div>Thanks a lot for your help !</div><div><br></div><div><br></div><div>Cheers, Massimo</div></div></div>