Cannot create instance via Horizon

asked 2015-11-16 09:08:55 -0500

symydo gravatar image

I installed Openstack Liberty following official installation guide for Ubuntu 14.04 except all installation was made on only one server. The networking option was '(1) - Provider networks' so it's just a flat networking. In order to remove unused floating IP features I disabled router in /etc/openstack-dashboard/local_settings.py:

OPENSTACK_NEUTRON_NETWORK = {
  'enable_router': False,
  'enable_quotas': True,
  'enable_ipv6': False,
  'enable_distributed_router': False,
  'enable_ha_router': False,
  'enable_lb': True,
  'enable_firewall': True,
  'enable_vpn': True,
  'enable_fip_topology_check': True,
  'default_ipv4_subnet_pool_label': None,
  'default_ipv6_subnet_pool_label': None,
  'profile_support': None,
  'supported_provider_types': [''],
  'supported_vnic_types': ['
']
}

Now I'm able to create instances via CLI successfully but I'm getting errors via Horizon: 'Danger: There was an error submitting the form. Please try again.' Here is the error produced in Horizon log (no errors in neutron or nova logs were found):

[Mon Nov 16 14:59:24.722624 2015] [:error] [pid 87676:tid 140524003477248] Internal Server Error: /horizon/project/instances/launch
[Mon Nov 16 14:59:24.722658 2015] [:error] [pid 87676:tid 140524003477248] Traceback (most recent call last):
[Mon Nov 16 14:59:24.722664 2015] [:error] [pid 87676:tid 140524003477248]   File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response
[Mon Nov 16 14:59:24.722670 2015] [:error] [pid 87676:tid 140524003477248]     response = wrapped_callback(request, *callback_args, **callback_kwargs)
[Mon Nov 16 14:59:24.722675 2015] [:error] [pid 87676:tid 140524003477248]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/decorators.py", line 36, in dec
[Mon Nov 16 14:59:24.722681 2015] [:error] [pid 87676:tid 140524003477248]     return view_func(request, *args, **kwargs)
[Mon Nov 16 14:59:24.722686 2015] [:error] [pid 87676:tid 140524003477248]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/decorators.py", line 52, in dec
[Mon Nov 16 14:59:24.722692 2015] [:error] [pid 87676:tid 140524003477248]     return view_func(request, *args, **kwargs)
[Mon Nov 16 14:59:24.722698 2015] [:error] [pid 87676:tid 140524003477248]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/decorators.py", line 36, in dec
[Mon Nov 16 14:59:24.722704 2015] [:error] [pid 87676:tid 140524003477248]     return view_func(request, *args, **kwargs)
[Mon Nov 16 14:59:24.722709 2015] [:error] [pid 87676:tid 140524003477248]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/decorators.py", line 84, in dec
[Mon Nov 16 14:59:24.722716 2015] [:error] [pid 87676:tid 140524003477248]     return view_func(request, *args, **kwargs)
[Mon Nov 16 14:59:24.722722 2015] [:error] [pid 87676:tid 140524003477248]   File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py", line 71, in view
[Mon Nov 16 14:59:24.722727 2015] [:error] [pid 87676:tid 140524003477248]     return self.dispatch(request, *args, **kwargs)
[Mon Nov 16 14:59:24.722733 2015] [:error] [pid 87676:tid 140524003477248]   File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py", line 89, in dispatch
[Mon Nov 16 14:59:24.722738 2015] [:error] [pid 87676:tid 140524003477248]     return handler(request, *args, **kwargs)
[Mon Nov 16 14:59:24.722743 2015] [:error] [pid 87676:tid 140524003477248]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/workflows ...
(more)
edit retag flag offensive close merge delete

Comments

I am having the same problem as you. I can create instances in the CLI, but not via Horizon.

Anders gravatar imageAnders ( 2015-11-19 09:46:05 -0500 )edit

I am having the same issue with Ubuntu OpenStack

Hassaan gravatar imageHassaan ( 2016-11-29 00:13:08 -0500 )edit