Dear All,

Whenever I do any activity like Operating system upgrade of compute nodes or openstack major version update then the name of compute host gets updated.

I have my compute node with name compute1,2,3.... but after the activity they sometimes become compute1.openstack.local or compute2.mgmt.local.

Due to this I get duplicate resource providers. But only the latest provider works properly. and I had manually unset all the vm from old provider and added then into new provider.

Is there a way I can avoid this? means I don't want my compute nodes to get renamed with domain.

And is there a way I can unset a vm from all provider and heal them automatically instead adding them into new resource proivder?

I tried below docs but the healing part is not working so I go with manual process for all vm which is too time consuming.

https://docs.openstack.org/nova/yoga/admin/troubleshooting/orphaned-allocations.html#using-heal-allocations

Regards,
Danish Khan