我有一个问题,为什么当我运行“openstack overcloud node introspect --all-manageable”时总是失败,
这是我的 instackenv.json :
(undercloud) [stack@tripleo ~]$ cat instackenv.json
{
"nodes":[
{
"capabilities": "profile:compute,boot_option:local",
"name": "tripleo.compute1",
"pm_type": "pxe_ilo",
"pm_user": "admin",
"pm_password": "password",
"pm_addr": "10.14.32.9",
"mac":[
"98:F2:B3:21:DA:46"
]
},
{
"capabilities": "profile:control,boot_option:local",
"name": "tripleo.controller1",
"pm_type": "pxe_ilo",
"pm_user": "admin",
"pm_password": "password",
"pm_addr": "10.14.32.8",
"mac":[
"98:F2:B3:21:FA:10"
]
}
]
}
这是我的讽刺检查员.log:
2020-10-16 10:37:33.775 7 ERROR ironic_inspector.node_cache [-] Introspection for nodes [u'14b4b5f0-71ec-4107-9f30-236abb705808', u'fa623d6d-0241-4b3a-a04b-079f1e7ed847'] has timed out
2020-10-16 10:37:33.777 7 DEBUG ironic_inspector.node_cache [-] [node: 14b4b5f0-71ec-4107-9f30-236abb705808 state waiting] Attempting to acquire lock acquire_lock /usr/lib/python2.7/site-packages/ironic_inspector/node_cache.py:105
2020-10-16 10:37:33.778 7 DEBUG ironic_inspector.node_cache [-] [node: 14b4b5f0-71ec-4107-9f30-236abb705808 state waiting] Successfully acquired lock acquire_lock /usr/lib/python2.7/site-packages/ironic_inspector/node_cache.py:107
2020-10-16 10:37:33.778 7 DEBUG ironic_inspector.node_cache [-] [node: 14b4b5f0-71ec-4107-9f30-236abb705808 state waiting] Successfully released lock release_lock /usr/lib/python2.7/site-packages/ironic_inspector/node_cache.py:119
2020-10-16 10:37:33.778 7 DEBUG ironic_inspector.node_cache [-] [node: 14b4b5f0-71ec-4107-9f30-236abb705808 state waiting] Executing fsm(waiting).process_event(timeout) fsm_event /usr/lib/python2.7/site-packages/ironic_inspector/node_cache.py:207
2020-10-16 10:37:33.778 7 INFO ironic_inspector.node_cache [-] [node: 14b4b5f0-71ec-4107-9f30-236abb705808 state waiting] Updating node state: waiting --> error
2020-10-16 10:37:33.778 7 DEBUG ironic_inspector.node_cache [-] [node: 14b4b5f0-71ec-4107-9f30-236abb705808 state waiting] Committing fields: {'state': 'error'} _commit /usr/lib/python2.7/site-packages/ironic_inspector/node_cache.py:150
2020-10-16 10:37:33.789 7 DEBUG ironic_inspector.node_cache [-] [node: 14b4b5f0-71ec-4107-9f30-236abb705808 state error] Committing fields: {'finished_at': datetime.datetime(2020, 10, 16, 3, 37, 33, 778442), 'error': 'Introspection timeout'} _commit /usr/lib/python2.7/site-packages/ironic_inspector/node_cache.py:150
2020-10-16 10:37:33.800 7 DEBUG ironic_inspector.node_cache [-] [node: fa623d6d-0241-4b3a-a04b-079f1e7ed847 state waiting] Attempting to acquire lock acquire_lock /usr/lib/python2.7/site-packages/ironic_inspector/node_cache.py:105
2020-10-16 10:37:33.800 7 DEBUG ironic_inspector.node_cache [-] [node: fa623d6d-0241-4b3a-a04b-079f1e7ed847 state waiting] Successfully acquired lock acquire_lock /usr/lib/python2.7/site-packages/ironic_inspector/node_cache.py:107
2020-10-16 10:37:33.801 7 DEBUG ironic_inspector.node_cache [-] [node: fa623d6d-0241-4b3a-a04b-079f1e7ed847 state waiting] Successfully released lock release_lock /usr/lib/python2.7/site-packages/ironic_inspector/node_cache.py:119
2020-10-16 10:37:33.801 7 DEBUG ironic_inspector.node_cache [-] [node: fa623d6d-0241-4b3a-a04b-079f1e7ed847 state waiting] Executing fsm(waiting).process_event(timeout) fsm_event /usr/lib/python2.7/site-packages/ironic_inspector/node_cache.py:207
2020-10-16 10:37:33.801 7 INFO ironic_inspector.node_cache [-] [node: fa623d6d-0241-4b3a-a04b-079f1e7ed847 state waiting] Updating node state: waiting --> error
2020-10-16 10:37:33.801 7 DEBUG ironic_inspector.node_cache [-] [node: fa623d6d-0241-4b3a-a04b-079f1e7ed847 state waiting] Committing fields: {'state': 'error'} _commit /usr/lib/python2.7/site-packages/ironic_inspector/node_cache.py:150
2020-10-16 10:37:33.807 7 DEBUG ironic_inspector.node_cache [-] [node: fa623d6d-0241-4b3a-a04b-079f1e7ed847 state error] Committing fields: {'finished_at': datetime.datetime(2020, 10, 16, 3, 37, 33, 801202), 'error': 'Introspection timeout'} _commit /usr/lib/python2.7/site-packages/ironic_inspector/node_cache.py:150
这是我的 journalctl :
(undercloud) [stack@tripleo ~]$ sudo journalctl -u openstack-ironic-inspector-dnsmasq
-- No entries --
(undercloud) [stack@tripleo ~]$ sudo journalctl -u openstack-ironic-inspector
-- No entries --
(undercloud) [stack@tripleo ~]$
这是我的控制器没有获得 dhcp 和我在 undercloud 中的结果。
谢谢