codehaus


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ironic] ironic-python-agent failed to lookup node


Hello Experts:

I'm new to the openstack and trying to deploy one baremental node but it failed
on "wait call-back" stage.

I checked IPA log on deploy image and it reports the following error [1].
I aslo manually run the command [2] it gave me the same error "404".
I used the devstack to depoly openstack (stable/ussuri).
What's the possible problem? Any suggestion is appreciated.

-Jack

[1]:
DEBUG ironic_python_agent.ironic_api_client [-] Looking up node with addresses 'e4:43:4b:93:4c:12,e4:43:4b:93:4c:10,0c:42:a1:56:b8:c5,e4:43:4b:93:4c:13,e4:43:4b:93:4c:11,0c:42:a1:56:b8:c4' and UUID None at http://10.75.205.241/baremetal _do_lookup /usr/lib/python3.6/site-packages/ironic_python_agent/ironic_api_client.py:163[00m
ERROR ironic_python_agent.ironic_api_client [-] An error occurred while attempting to discover the available Ironic API versions, falling back to using version 1.31: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
ERROR ironic_python_agent.ironic_api_client Traceback (most recent call last):
ERROR ironic_python_agent.ironic_api_client   File "/usr/lib/python3.6/site-packages/ironic_python_agent/ironic_api_client.py", line 97, in _get_ironic_api_version
ERROR ironic_python_agent.ironic_api_client     data = jsonutils.loads(response.content)
ERROR ironic_python_agent.ironic_api_client   File "/usr/lib/python3.6/site-packages/oslo_serialization/jsonutils.py", line 248, in loads
ERROR ironic_python_agent.ironic_api_client     return json.loads(encodeutils.safe_decode(s, encoding), **kwargs)
ERROR ironic_python_agent.ironic_api_client   File "/usr/lib64/python3.6/json/__init__.py", line 354, in loads
ERROR ironic_python_agent.ironic_api_client     return _default_decoder.decode(s)
ERROR ironic_python_agent.ironic_api_client   File "/usr/lib64/python3.6/json/decoder.py", line 339, in decode
ERROR ironic_python_agent.ironic_api_client     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
ERROR ironic_python_agent.ironic_api_client   File "/usr/lib64/python3.6/json/decoder.py", line 357, in raw_decode
ERROR ironic_python_agent.ironic_api_client     raise JSONDecodeError("Expecting value", s, err.value) from None
ERROR ironic_python_agent.ironic_api_client json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
ERROR ironic_python_agent.ironic_api_client [00m
WARNING ironic_python_agent.ironic_api_client [-] Failed looking up node with addresses 'e4:43:4b:93:4c:12,e4:43:4b:93:4c:10,0c:42:a1:56:b8:c5,e4:43:4b:93:4c:13,e4:43:4b:93:4c:11,0c:42:a1:56:b8:c4' at http://10.75.205.241/baremetal, status code: 404[00m]]]

[2]:
curl http://10.75.205.241/baremetal
[...snip...]
<title>404 Not Found</title>