← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1245504] Re: QuantumClientException: [Errno 113] should be more specific

 

This is the same behavior of what the other endpoints do as well. In the
logs it also shows EHOSTUNREACH

** Changed in: nova
       Status: Triaged => Won't Fix

** Changed in: nova
       Status: Won't Fix => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1245504

Title:
   QuantumClientException: [Errno 113] should be more specific

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  Version
  =======
  Grizzly on rhel6.4

  Description
  ===========
  QuantumClientException: [Errno 113]  EHOSTUNREACH should be more specific 

  scenario: Quantum server port 9696  what blocked by iptables causing
  VMs to fail boot ( distributed system) .

  The error shown in compute.logs should  be more specific , 
  like can not connect to quantum server for reason X. 

  detailed below the error shown in the compute.log & CLI error

  013-10-28 10:14:58.322 ERROR nova.compute.manager [req-68834e6a-d30c-49eb-becc-1d20596df584 a93d5422a9fa47ebb927717a51592123 774235493c804e34a3a7694411caae7d] [instance: 4a86ef79-6fa3-4ce3-91f6-5e8e55350684] Instance failed network setup
  2013-10-28 10:14:58.322 7419 TRACE nova.compute.manager [instance: 4a86ef79-6fa3-4ce3-91f6-5e8e55350684] Traceback (most recent call last):
  2013-10-28 10:14:58.322 7419 TRACE nova.compute.manager [instance: 4a86ef79-6fa3-4ce3-91f6-5e8e55350684]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1087, in _allocate_network
  2013-10-28 10:14:58.322 7419 TRACE nova.compute.manager [instance: 4a86ef79-6fa3-4ce3-91f6-5e8e55350684]     security_groups=security_groups)
  2013-10-28 10:14:58.322 7419 TRACE nova.compute.manager [instance: 4a86ef79-6fa3-4ce3-91f6-5e8e55350684]   File "/usr/lib/python2.6/site-packages/nova/network/api.py", line 47, in wrapper
  2013-10-28 10:14:58.322 7419 TRACE nova.compute.manager [instance: 4a86ef79-6fa3-4ce3-91f6-5e8e55350684]     res = f(self, context, *args, **kwargs)
  2013-10-28 10:14:58.322 7419 TRACE nova.compute.manager [instance: 4a86ef79-6fa3-4ce3-91f6-5e8e55350684]   File "/usr/lib/python2.6/site-packages/nova/network/quantumv2/api.py", line 187, in allocate_for_instance
  2013-10-28 10:14:58.322 7419 TRACE nova.compute.manager [instance: 4a86ef79-6fa3-4ce3-91f6-5e8e55350684]     net_ids)
  2013-10-28 10:14:58.322 7419 TRACE nova.compute.manager [instance: 4a86ef79-6fa3-4ce3-91f6-5e8e55350684]   File "/usr/lib/python2.6/site-packages/nova/network/quantumv2/api.py", line 116, in _get_available_networks
  2013-10-28 10:14:58.322 7419 TRACE nova.compute.manager [instance: 4a86ef79-6fa3-4ce3-91f6-5e8e55350684]     nets = quantum.list_networks(**search_opts).get('networks', [])
  2013-10-28 10:14:58.322 7419 TRACE nova.compute.manager [instance: 4a86ef79-6fa3-4ce3-91f6-5e8e55350684]   File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", line 107, in with_params
  2013-10-28 10:14:58.322 7419 TRACE nova.compute.manager [instance: 4a86ef79-6fa3-4ce3-91f6-5e8e55350684]     ret = self.function(instance, *args, **kwargs)
  2013-10-28 10:14:58.322 7419 TRACE nova.compute.manager [instance: 4a86ef79-6fa3-4ce3-91f6-5e8e55350684]   File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", line 292, in list_networks
  2013-10-28 10:14:58.322 7419 TRACE nova.compute.manager [instance: 4a86ef79-6fa3-4ce3-91f6-5e8e55350684]     **_params)
  2013-10-28 10:14:58.322 7419 TRACE nova.compute.manager [instance: 4a86ef79-6fa3-4ce3-91f6-5e8e55350684]   File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", line 996, in list
  2013-10-28 10:14:58.322 7419 TRACE nova.compute.manager [instance: 4a86ef79-6fa3-4ce3-91f6-5e8e55350684]     for r in self._pagination(collection, path, **params):
  2013-10-28 10:14:58.322 7419 TRACE nova.compute.manager [instance: 4a86ef79-6fa3-4ce3-91f6-5e8e55350684]   File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", line 1009, in _pagination
  2013-10-28 10:14:58.322 7419 TRACE nova.compute.manager [instance: 4a86ef79-6fa3-4ce3-91f6-5e8e55350684]     res = self.get(path, params=params)
  2013-10-28 10:14:58.322 7419 TRACE nova.compute.manager [instance: 4a86ef79-6fa3-4ce3-91f6-5e8e55350684]   File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", line 982, in get
  2013-10-28 10:14:58.322 7419 TRACE nova.compute.manager [instance: 4a86ef79-6fa3-4ce3-91f6-5e8e55350684]     headers=headers, params=params)
  2013-10-28 10:14:58.322 7419 TRACE nova.compute.manager [instance: 4a86ef79-6fa3-4ce3-91f6-5e8e55350684]   File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", line 967, in retry_request
  2013-10-28 10:14:58.322 7419 TRACE nova.compute.manager [instance: 4a86ef79-6fa3-4ce3-91f6-5e8e55350684]     headers=headers, params=params)
  2013-10-28 10:14:58.322 7419 TRACE nova.compute.manager [instance: 4a86ef79-6fa3-4ce3-91f6-5e8e55350684]   File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", line 912, in do_request
  2013-10-28 10:14:58.322 7419 TRACE nova.compute.manager [instance: 4a86ef79-6fa3-4ce3-91f6-5e8e55350684]     self._handle_fault_response(status_code, replybody)
  2013-10-28 10:14:58.322 7419 TRACE nova.compute.manager [instance: 4a86ef79-6fa3-4ce3-91f6-5e8e55350684]   File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", line 893, in _handle_fault_response
  2013-10-28 10:14:58.322 7419 TRACE nova.compute.manager [instance: 4a86ef79-6fa3-4ce3-91f6-5e8e55350684]     exception_handler_v20(status_code, des_error_body)
  2013-10-28 10:14:58.322 7419 TRACE nova.compute.manager [instance: 4a86ef79-6fa3-4ce3-91f6-5e8e55350684]   File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", line 87, in exception_handler_v20
  2013-10-28 10:14:58.322 7419 TRACE nova.compute.manager [instance: 4a86ef79-6fa3-4ce3-91f6-5e8e55350684]     message=message)
  2013-10-28 10:14:58.322 7419 TRACE nova.compute.manager [instance: 4a86ef79-6fa3-4ce3-91f6-5e8e55350684] QuantumClientException: [Errno 113] EHOSTUNREACH

  
  Error in CLI:
  nova show 4a86ef79-6fa3-4ce3-91f6-5e8e55350684
  +-----------------------------+--------------------------------------------------------------------------------------------+
  | Property                    | Value                                                                                      |
  +-----------------------------+--------------------------------------------------------------------------------------------+
  | status                      | ERROR                                                                                      |
  | updated                     | 2013-10-28T08:14:59Z                                                                       |
  | OS-EXT-STS:task_state       | None                                                                                       |
  | key_name                    | oskey1                                                                                     |
  | image                       | rhel64qa (8de535b4-0018-401d-8bdc-d6f533c6ae13)                                            |
  | hostId                      | 9bf23541f3aa00df8cc351ab36327741c402630e0c63469e77599d8f                                   |
  | OS-EXT-STS:vm_state         | error                                                                                      |
  | flavor                      | m1.small (2)                                                                               |
  | id                          | 4a86ef79-6fa3-4ce3-91f6-5e8e55350684                                                       |
  | user_id                     | a93d5422a9fa47ebb927717a51592123                                                           |
  | name                        | VM-64                                                                                      |
  | created                     | 2013-10-28T08:14:56Z                                                                       |
  | fault                       | {u'message': u'QuantumClientException', u'code': 500, u'created': u'2013-10-28T08:14:58Z'} |
  | OS-DCF:diskConfig           | MANUAL

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1245504/+subscriptions