IPA reports connection error when inspecting

Bug #1643966 reported by octopuszhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ironic-python-agent
Fix Released
Low
octopuszhang

Bug Description

When we inspect the node, no api url is specified in pxe parameters,
IPA use http://127.0.0.1 as the default ironic-api url and reports
ConnectionError now.

Changed in ironic-python-agent:
assignee: nobody → octopuszhang (1004988384-n)
status: New → In Progress
Revision history for this message
Jay Faulkner (jason-oldos) wrote :
Changed in ironic-python-agent:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic-python-agent (master)

Reviewed: https://review.openstack.org/399857
Committed: https://git.openstack.org/cgit/openstack/ironic-python-agent/commit/?id=dd9253f1b6377a6e86d30e5bbb71ed1d33811839
Submitter: Jenkins
Branch: master

commit dd9253f1b6377a6e86d30e5bbb71ed1d33811839
Author: Yufei <zhang.yufei@99cloud.net>
Date: Sat Nov 19 20:30:35 2016 +0800

    Skip API related work if no api url configured

    Currently, if IPA is booted without an ironic api url, it will default
    to localhost and fail to connect. Instead, we now explicitly fail and
    print a log message if no api callback url is provided.

    Change-Id: I0271be94ba7febc6abd5bf3343f6fa179bc1a6a4
    Closes-Bug: #1643966

Changed in ironic-python-agent:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic-python-agent (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/408222

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic-python-agent (stable/newton)

Reviewed: https://review.openstack.org/408222
Committed: https://git.openstack.org/cgit/openstack/ironic-python-agent/commit/?id=a834065970f2225677206c0acf76a9cbd1f9318f
Submitter: Jenkins
Branch: stable/newton

commit a834065970f2225677206c0acf76a9cbd1f9318f
Author: Yufei <zhang.yufei@99cloud.net>
Date: Sat Nov 19 20:30:35 2016 +0800

    Skip API related work if no api url configured

    Currently, if IPA is booted without an ironic api url, it will default
    to localhost and fail to connect. Instead, we now explicitly fail and
    print a log message if no api callback url is provided.

    Conflicts:
     ironic_python_agent/agent.py

    Change-Id: I0271be94ba7febc6abd5bf3343f6fa179bc1a6a4
    Closes-Bug: #1643966
    (cherry picked from commit dd9253f1b6377a6e86d30e5bbb71ed1d33811839)

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ironic-python-agent 2.0.0

This issue was fixed in the openstack/ironic-python-agent 2.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ironic-python-agent 1.5.2

This issue was fixed in the openstack/ironic-python-agent 1.5.2 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.