Compute node replacement fails and one of our nodes is blacklisted
Issue
- A compute node was deleted with " openstack overcloud node delete" command in order to get it replaced by a new one
- The new node is failing to deploy
- /etc/os-net-config/config.json on the deployment node has no ip addresses
"type": "vlan",
"addresses": [
{
"ip_netmask": "/24"
}
],
"vlan_id": 11
ip_netmask should be something like 192.168.1.X/24
- There is a blacklisted node index:
openstack stack show overcloud | grep -i RemovalPolicies
| | BlockStorageRemovalPolicies: '[]' |
| | CephStorageRemovalPolicies: '[]' |
| | ComputeT2RemovalPolicies: '[{u''resource_list'': [u''4'']}]' << inde 4 blacklisted |
| | ComputeRemovalPolicies: '[]' |
|
| | ControllerRemovalPolicies: '[]' |
| | ObjectStorageRemovalPolicies: '[]' |
- The blacklisted node index correspond to the node being deployed
- There are no more IP's available on allocation pools
ComputeT2:
internal_api:
- 192.168.1.12
- 192.168.1.13
- 192.168.1.14
- 192.168.1.15
- 192.168.1.16 >> blacklisted node index 4
HostnameMapping is being used and node, in this case, node:compute-4 :
#openstack baremetal node show 112255c8-1111-4z51-af08-d2e45111111d
...
| properties | {u'cpu_arch': u'x86_64', u'root_device': {u'wwn': u'0x6107d1111bf64500'}, u'cpus': u'56', u'capabilities': u'node:compute-4,boot_option:local', u'memory_mb': u'262144', u'local_gb': |
...
Environment
- Red Hat Openstack Platform 8+
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.