[bare-metal]Should configure neutron url for ironic

Bug #1450323 reported by Ma Wen Cheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack + Chef
Fix Released
Undecided
Ma Wen Cheng

Bug Description

 try 'nova boot' again. "show info on port" error is disappeared!
Bug got new error message from ironic-conductor.log

015-04-29 06:54:47.089 25285 TRACE ironic.drivers.modules.xcat.network
2015-04-29 06:54:47.096 25285 WARNING ironic.conductor.manager [-] Error while preparing to deploy to node 28273ba5-6196-4d4e-a784-fc898a9f8aff: Show info on port: e10e8132-ebc3-4275-b2ce-4cad4c475976 failed.
2015-04-29 06:54:49.540 25285 WARNING ironic.conductor.utils [-] Not going to change_node_power_state because current state = requested state = 'power off'.
2015-04-29 06:54:53.132 25285 ERROR ironic.drivers.modules.xcat.network [-] Failed to get port info 06fbb36c-4a0b-4c75-bd85-afbfd424c97f.
2015-04-29 06:54:53.132 25285 TRACE ironic.drivers.modules.xcat.network Traceback (most recent call last):
2015-04-29 06:54:53.132 25285 TRACE ironic.drivers.modules.xcat.network File "/usr/lib/python2.7/site-packages/ironic/drivers/modules/xcat/network.py", line 75, in get_port_detail
2015-04-29 06:54:53.132 25285 TRACE ironic.drivers.modules.xcat.network port_info = client.show_port(port_uuid)
2015-04-29 06:54:53.132 25285 TRACE ironic.drivers.modules.xcat.network File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 99, in with_params
2015-04-29 06:54:53.132 25285 TRACE ironic.drivers.modules.xcat.network ret = self.function(instance, *args, **kwargs)
2015-04-29 06:54:53.132 25285 TRACE ironic.drivers.modules.xcat.network File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 502, in show_port
2015-04-29 06:54:53.132 25285 TRACE ironic.drivers.modules.xcat.network return self.get(self.port_path % (port), params=_params)
2015-04-29 06:54:53.132 25285 TRACE ironic.drivers.modules.xcat.network File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 290, in get
2015-04-29 06:54:53.132 25285 TRACE ironic.drivers.modules.xcat.network headers=headers, params=params)
2015-04-29 06:54:53.132 25285 TRACE ironic.drivers.modules.xcat.network File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 267, in retry_request
2015-04-29 06:54:53.132 25285 TRACE ironic.drivers.modules.xcat.network headers=headers, params=params)
2015-04-29 06:54:53.132 25285 TRACE ironic.drivers.modules.xcat.network File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 197, in do_request
2015-04-29 06:54:53.132 25285 TRACE ironic.drivers.modules.xcat.network content_type=self.content_type())
2015-04-29 06:54:53.132 25285 TRACE ironic.drivers.modules.xcat.network File "/usr/lib/python2.7/site-packages/neutronclient/client.py", line 172, in do_request
2015-04-29 06:54:53.132 25285 TRACE ironic.drivers.modules.xcat.network **kwargs)
2015-04-29 06:54:53.132 25285 TRACE ironic.drivers.modules.xcat.network File "/usr/lib/python2.7/site-packages/neutronclient/client.py", line 108, in _cs_request
2015-04-29 06:54:53.132 25285 TRACE ironic.drivers.modules.xcat.network raise exceptions.ConnectionFailed(reason=e)
2015-04-29 06:54:53.132 25285 TRACE ironic.drivers.modules.xcat.network ConnectionFailed: Connection to neutron failed: HTTPConnectionPool(host='9.111.251.190', port=9696): Max retries exceeded with url: /v2.0/ports/06fbb36c-4a0b-4c75-bd85-afbfd424c97f.json (Caused by <class 'socket.error'>: [Errno 111] ECONNREFUSED)
2015-04-29 06:54:53.132 25285 TRACE ironic.drivers.modules.xcat.network

Ma Wen Cheng (mars914)
summary: - Should configure neutron url for ironic
+ [bare-metal]Should configure neutron url for ironic
Changed in openstack-chef:
assignee: nobody → Ma Wen Cheng (mars914)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cookbook-openstack-bare-metal (master)

Fix proposed to branch: master
Review: https://review.openstack.org/178950

Changed in openstack-chef:
status: New → In Progress
Revision history for this message
Ma Wen Cheng (mars914) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cookbook-openstack-bare-metal (master)

Reviewed: https://review.openstack.org/178950
Committed: https://git.openstack.org/cgit/stackforge/cookbook-openstack-bare-metal/commit/?id=a9bfbaab9a7894a21abcd9ec4d6d550faa924800
Submitter: Jenkins
Branch: master

commit a9bfbaab9a7894a21abcd9ec4d6d550faa924800
Author: wenchma <email address hidden>
Date: Thu Apr 30 14:47:34 2015 +0800

    Add neutron url attribute for ironic

    Change-Id: I46f5de1bcff5735f37e75deca931f59aa3ff0c81
    Closes-bug: #1450323

Changed in openstack-chef:
status: In Progress → Fix Released
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.