[ops] [nova] [placement] Mismatch between allocations and instances

Massimo Sgaravatto massimo.sgaravatto at gmail.com
Mon Jul 8 07:46:01 UTC 2019


On Fri, Jul 5, 2019 at 10:18 PM Matt Riedemann <mriedemos at gmail.com> wrote:

> On 7/5/2019 1:45 AM, Massimo Sgaravatto wrote:
> > I tried to check the allocations on each compute node of a Ocata cloud,
> > using the command:
> >
> > curl -s ${PLACEMENT_ENDPOINT}/resource_providers/${UUID}/allocations -H
> > "x-auth-token: $TOKEN"  | python -m json.tool
> >
>
> Just FYI you can use osc-placement (openstack client plugin) for command
> line:
>
> https://docs.openstack.org/osc-placement/latest/index.html
>
>

Ok, thanks

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


> > I found that, on a few compute nodes, there are some instances for which
> > there is not a corresponding allocation.
>
> The heal_allocations command [1] might be able to find and fix these up
> for you. The bad news for you is that heal_allocations wasn't added
> until Rocky and you're on Ocata.



Since in 1 week the Ocata cloud we'll be migrated to Rocky, I can wait ...
:-)

Thanks a lot for your help !


Cheers, Massimo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190708/824b9ec6/attachment.html>


More information about the openstack-discuss mailing list