← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1155075] Re: Horizon shows stack trace while creating vip

 

** Changed in: horizon
       Status: Incomplete => Invalid

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

Title:
  Horizon shows stack trace while creating vip

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  Steps to reproduce:
  1. Create pool.
  2. Create vip using some IP address.
  3. Delete vip.
  4. Create vip using the same IP address as previous vip. The following stack trace page is displayed in Horizon:

  Traceback:
  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
    111.                         response = callback(request, *callback_args, **callback_kwargs)
  File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec
    38.         return view_func(request, *args, **kwargs)
  File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec
    54.             return view_func(request, *args, **kwargs)
  File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec
    38.         return view_func(request, *args, **kwargs)
  File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec
    86.                 return view_func(request, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py" in view
    48.             return self.dispatch(request, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py" in dispatch
    69.         return handler(request, *args, **kwargs)
  File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/workflows/views.py" in post
    139.                 exceptions.handle(request)
  File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/workflows/views.py" in post
    136.                 success = workflow.finalize()
  File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/workflows/base.py" in finalize
    779.         if not self.handle(self.request, self.context):
  File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/loadbalancers/workflows.py" in handle
    244.                               self.failure_message)
  File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/loadbalancers/workflows.py" in handle
    240.             api.lbaas.vip_create(request, **context)
  File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/api/lbaas.py" in vip_create
    136.     vip = quantumclient(request).create_vip(body).get('vip')
  File "/opt/stack/python-quantumclient/quantumclient/v2_0/client.py" in with_params
    107.             ret = self.function(instance, *args, **kwargs)
  File "/opt/stack/python-quantumclient/quantumclient/v2_0/client.py" in create_vip
    547.         return self.post(self.vips_path, body=body)
  File "/opt/stack/python-quantumclient/quantumclient/v2_0/client.py" in post
    987.                                headers=headers, params=params)
  File "/opt/stack/python-quantumclient/quantumclient/v2_0/client.py" in do_request
    912.             self._handle_fault_response(status_code, replybody)
  File "/opt/stack/python-quantumclient/quantumclient/v2_0/client.py" in _handle_fault_response
    893.         exception_handler_v20(status_code, des_error_body)
  File "/opt/stack/python-quantumclient/quantumclient/v2_0/client.py" in exception_handler_v20
    80.                                                     message=error_dict)

  Exception Type: QuantumClientException at /project/loadbalancers/addvip/096308f7-0183-48a7-a1d7-f22cd02e1300/
  Exception Value: Unable to complete operation for network fe2e5fcb-6531-40d1-bad8-a7103a3105c2. The IP address 10.0.0.5 is in use.

  There should be user-friendly error message with explaination.

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