[Openstack] [ironic]ironic-python-agent fails to lookup node with 401 status code
krystism at gmail.com
Thu Jan 12 14:46:26 UTC 2017
Thanks Pavlo! After downgrade my IPA to Mitaka branch, my ironic seems work
fine now. But another problem, can we specify IPA version when we create
image via DIB?
On Thu, Jan 12, 2017 at 3:42 PM, Pavlo Shchelokovskyy <
pshchelokovskyy at mirantis.com> wrote:
> you shouldn't use the latest master IPA version with ironic as of Mitaka
> The ironic API endpoint it tries to contact (v1/lookup...) was introduced
> during Newton development and thus is present in ironic API from Newton
> release onwards. The fallback to the old lookup endpoint (implemented as
> vendor driver passthru) was removed recently from IPA in master branch
> (after Newton release). That means your IPA version tries to contact the
> ironic API via endpoint that does not exist in this ironic version. Use
> ramdisk with IPA built from stable/mitaka or stable/newton branches.
> As for the "without any authentication" point - yes, that's the way it
> currently works, all communications between IPA and ironic API are not
> using Keystone tokens as we still have to figure out a reliable and secure
> way to pass tokens or credentials to get them into the ramdisk.
> Dr. Pavlo Shchelokovskyy
> Senior Software Engineer
> Mirantis Inc
> On Thu, Jan 12, 2017 at 5:13 AM, int32bit <krystism at gmail.com> wrote:
>> Hi, All,
>> I'm a newcomer to Openstack Ironic. Recently, I'm work on deploy ironic
>> manually, and I found that the node status 100% *blocked in `callback
>> wait` status* until timeout. The ironic-api log shows that:
>> 2017-01-12 10:21:00.626 158262 INFO keystonemiddleware.auth_token [-]
>> Rejecting request
>> 2017-01-12 10:21:00.627 158262 INFO ironic_api [-] 10.0.81.31 "GET
>> /v1/lookup?addresses=xxx HTTP/1
>> I guess the problem is IPA, so I dug into IPA source and traced the
>> request process and found that the IPA client request *without any
>> authentication* .
>>  https://github.com/openstack/ironic-python-agent/blob/
>> My ironic version is *5.1.1-1(mitaka) *and *IPA has updated to newest
>> version from master branch*.
>> My config as follows:
>> api_url=http://22.214.171.124:6385 # ensure the node can access
>> I'm really not sure if I miss something or something wrong in config.
>> Thanks for any help!
>> Mailing list: http://lists.openstack.org/cgi
>> Post to : openstack at lists.openstack.org
>> Unsubscribe : http://lists.openstack.org/cgi
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openstack