Ask Your Question

Unable to launch instance from horizon with (boot from image creates new volume)

asked 2015-12-02 10:25:00 -0500

m2elsakha gravatar image


I have a multihost openstack installation , cinder lives on its own node and the controller node has keystone,glance and the dashboard (plus all the rest of services )

My issue is that i can't use horizon to Launch an instance with the option "Boot from image (creates a new volume) " . I get two messeges in the dashboard

"Unable to retrieve volume limit Information" "Danger: There was an error submitting the form. Please try agian"

In horizon log

    2015-12-02 16:06:40,783 20773 ERROR django.request Internal Server Error: /dashboard/project/instances/launch
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/django/core/handlers/", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.7/site-packages/horizon/", line 36, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/horizon/", line 52, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/horizon/", line 36, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/horizon/", line 84, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/views/generic/", line 71, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/views/generic/", line 89, in dispatch
    return handler(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/horizon/workflows/", line 167, in post
    context = self.get_context_data(**kwargs)
  File "/usr/lib/python2.7/site-packages/horizon/workflows/", line 91, in get_context_data
    workflow = self.get_workflow()
  File "/usr/lib/python2.7/site-packages/horizon/workflows/", line 81, in get_workflow
  File "/usr/lib/python2.7/site-packages/horizon/workflows/", line 651, in __init__
    valid = step.action.is_valid()
  File "/usr/lib/python2.7/site-packages/django/forms/", line 184, in is_valid
    return self.is_bound and not self.errors
  File "/usr/lib/python2.7/site-packages/django/forms/", line 176, in errors
  File "/usr/lib/python2.7/site-packages/django/forms/", line 393, in full_clean
  File "/usr/lib/python2.7/site-packages/django/forms/", line 417, in _clean_form
    cleaned_data = self.clean()
  File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/instances/workflows/", line 367, in clean
  File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/instances/workflows/", line 224, in _check_quotas
    available_volume = usages['volumes']['available']
KeyError: 'available'
2015-12-02 16:07:01,910 20773 WARNING horizon.exceptions Recoverable error: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-174ddbfe-5858-40c2-bd4a-c6be3d3f4f8c)

In cinder log

2015-12-02 11:19:37.377 10440 ERROR cinder.api.middleware.fault [req-b1bfc748-6bf7-4610-b262-4449b92b69b2 1e673422958444dc9742d2f3b774b18e 53f763549f014e7186143ade98ee669d - - -] Caught error: Authorization failed: Unable to establish connection to http://localhost:5000/v3/auth/tokens

There is no place in the configuration where i specify v3 for keystone api , nor local host is mentioned anywhere in horizon , cinder.conf , or ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-12-03 08:16:57 -0500

m2elsakha gravatar image

Okay found what fixes that

in the cinder.conf , make sure that the encryption_auth_url is set to

encryption_auth_url = http://IP_TO_KEYSTONE:5000/v3

Also make sure that the

auth_url = http://IP_TO_KEYSTONE:5000

restart cinder services and you should be good to go , hopefully that helps

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-12-02 10:21:37 -0500

Seen: 1,452 times

Last updated: Dec 03 '15