[Openstack] Dashboard Error

Sujeet Mulmi mulmisujeetpd at gmail.com
Wed Aug 6 01:54:52 UTC 2014


Last modification was made in dashboard local_settings.Please check the
attached file.


Sujeet


On Wed, Aug 6, 2014 at 6:32 AM, ZHOU TAO A <tao.a.zhou at alcatel-lucent.com>
wrote:

>
> What file does the output reside?
> Does your keystone work?
> What's your configuration files look like?
> And what exactly have you done before your had this error?
>
> Tao
>
>
> On 08/05/2014 03:41 PM, Sujeet Mulmi wrote:
>
> Hi Zhou,
>
>     with controller IP, following output results:
>
>  [Tue Aug 05 07:25:45 2014] [error] INFO:urllib3.connectionpool:Starting
> new HTTP connection (1): 192.168.137.101
> [Tue Aug 05 07:25:45 2014] [error] DEBUG:urllib3.connectionpool:"POST
> /v2.0/tokens HTTP/1.1" 200 1349
> [Tue Aug 05 07:25:45 2014] [error] INFO:urllib3.connectionpool:Starting
> new HTTP connection (1): 192.168.137.101
> [Tue Aug 05 07:25:45 2014] [error] DEBUG:urllib3.connectionpool:"GET
> /v2.0/tenants HTTP/1.1" 200 143
> [Tue Aug 05 07:25:45 2014] [error] INFO:urllib3.connectionpool:Starting
> new HTTP connection (1): 192.168.137.101
> [Tue Aug 05 07:25:45 2014] [error] DEBUG:urllib3.connectionpool:"POST
> /v2.0/tokens HTTP/1.1" 200 3967
> [Tue Aug 05 07:25:45 2014] [error] Login successful for user "admin".
> [Tue Aug 05 07:25:46 2014] [error]
> [Tue Aug 05 07:25:46 2014] [error] REQ: curl -i '
> http://192.168.137.101:8774/v2/121eae2f2f664dc49265ad11229022c3/extensions'
> -X GET -H "X-Auth-Project-Id: 121eae2f2f664dc49265ad11229022c3" -H
> "User-Agent: python-novaclient" -H "Accept: application/json" -H
> "X-Auth-Token: 2b44d3ef0b882019cad7e470cc5cc213"
> [Tue Aug 05 07:25:46 2014] [error]
> [Tue Aug 05 07:25:46 2014] [error] INFO:urllib3.connectionpool:Starting
> new HTTP connection (1): 192.168.137.101
> [Tue Aug 05 07:25:46 2014] [error] DEBUG:urllib3.connectionpool:"GET
> /v2/121eae2f2f664dc49265ad11229022c3/extensions HTTP/1.1" 401 23
> [Tue Aug 05 07:25:46 2014] [error] RESP: [401] {'date': 'Tue, 05 Aug 2014
> 07:25:46 GMT', 'content-length': '23', 'content-type': 'text/plain',
> 'www-authenticate': "Keystone uri='http://192.168.168.101:5000/v2.0'"}
> [Tue Aug 05 07:25:46 2014] [error] RESP BODY: Authentication required
> [Tue Aug 05 07:25:46 2014] [error]
> [Tue Aug 05 07:25:46 2014] [error]
> [Tue Aug 05 07:25:46 2014] [error] REQ: curl -i '
> http://192.168.137.101:8774/v2/121eae2f2f664dc49265ad11229022c3' -X GET
> -H "X-Auth-Project-Id: 121eae2f2f664dc49265ad11229022c3" -H "X-Auth-Key:
> 2b44d3ef0b882019cad7e470cc5cc213" -H "Accept: application/json" -H
> "X-Auth-User: admin" -H "User-Agent: python-novaclient"
> [Tue Aug 05 07:25:46 2014] [error]
> [Tue Aug 05 07:25:46 2014] [error] INFO:urllib3.connectionpool:Starting
> new HTTP connection (1): 192.168.137.101
> [Tue Aug 05 07:25:46 2014] [error] DEBUG:urllib3.connectionpool:"GET
> /v2/121eae2f2f664dc49265ad11229022c3 HTTP/1.1" 401 23
> [Tue Aug 05 07:25:46 2014] [error] RESP: [401] {'date': 'Tue, 05 Aug 2014
> 07:25:46 GMT', 'content-length': '23', 'content-type': 'text/plain',
> 'www-authenticate': "Keystone uri='http://192.168.168.101:5000/v2.0'"}
> [Tue Aug 05 07:25:46 2014] [error] RESP BODY: Authentication required
> [Tue Aug 05 07:25:46 2014] [error]
> [Tue Aug 05 07:25:46 2014] [error] Internal Server Error: /dashboard/admin/
> [Tue Aug 05 07:25:46 2014] [error] Traceback (most recent call last):
> [Tue Aug 05 07:25:46 2014] [error]   File
> "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 109,
> in get_response
> [Tue Aug 05 07:25:46 2014] [error]     response = callback(request,
> *callback_args, **callback_kwargs)
> [Tue Aug 05 07:25:46 2014] [error]   File
> "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 38, in dec
> [Tue Aug 05 07:25:46 2014] [error]     return view_func(request, *args,
> **kwargs)
> [Tue Aug 05 07:25:46 2014] [error]   File
> "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 86, in dec
> [Tue Aug 05 07:25:46 2014] [error]     return view_func(request, *args,
> **kwargs)
> [Tue Aug 05 07:25:46 2014] [error]   File
> "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 54, in dec
> [Tue Aug 05 07:25:46 2014] [error]     return view_func(request, *args,
> **kwargs)
> [Tue Aug 05 07:25:46 2014] [error]   File
> "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 38, in dec
> [Tue Aug 05 07:25:46 2014] [error]     return view_func(request, *args,
> **kwargs)
> [Tue Aug 05 07:25:46 2014] [error]   File
> "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 86, in dec
> [Tue Aug 05 07:25:46 2014] [error]     return view_func(request, *args,
> **kwargs)
> [Tue Aug 05 07:25:46 2014] [error]   File
> "/usr/lib/python2.6/site-packages/django/views/generic/base.py", line 48,
> in view
> [Tue Aug 05 07:25:46 2014] [error]     return self.dispatch(request,
> *args, **kwargs)
> [Tue Aug 05 07:25:46 2014] [error]   File
> "/usr/lib/python2.6/site-packages/django/views/generic/base.py", line 69,
> in dispatch
> [Tue Aug 05 07:25:46 2014] [error]     return handler(request, *args,
> **kwargs)
> [Tue Aug 05 07:25:46 2014] [error]   File
> "/usr/lib/python2.6/site-packages/horizon/tables/views.py", line 154, in get
> [Tue Aug 05 07:25:46 2014] [error]     handled = self.construct_tables()
> [Tue Aug 05 07:25:46 2014] [error]   File
> "/usr/lib/python2.6/site-packages/horizon/tables/views.py", line 145, in
> construct_tables
> [Tue Aug 05 07:25:46 2014] [error]     handled = self.handle_table(table)
> [Tue Aug 05 07:25:46 2014] [error]   File
> "/usr/lib/python2.6/site-packages/horizon/tables/views.py", line 118, in
> handle_table
> [Tue Aug 05 07:25:46 2014] [error]     data = self._get_data_dict()
> [Tue Aug 05 07:25:46 2014] [error]   File
> "/usr/lib/python2.6/site-packages/horizon/tables/views.py", line 181, in
> _get_data_dict
> [Tue Aug 05 07:25:46 2014] [error]     self._data = {self.table_class._
> meta.name: self.get_data()}
> [Tue Aug 05 07:25:46 2014] [error]   File
> "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/admin/overview/views.py",
> line 60, in get_data
> [Tue Aug 05 07:25:46 2014] [error]     data = super(GlobalOverview,
> self).get_data()
> [Tue Aug 05 07:25:46 2014] [error]   File
> "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/views.py",
> line 43, in get_data
> [Tue Aug 05 07:25:46 2014] [error]
> self.usage.summarize(*self.usage.get_date_range())
> [Tue Aug 05 07:25:46 2014] [error]   File
> "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py",
> line 200, in summarize
> [Tue Aug 05 07:25:46 2014] [error]     if not
> api.nova.extension_supported('SimpleTenantUsage', self.request):
> [Tue Aug 05 07:25:46 2014] [error]   File
> "/usr/lib/python2.6/site-packages/horizon/utils/memoized.py", line 90, in
> wrapped
> [Tue Aug 05 07:25:46 2014] [error]     value = cache[key] = func(*args,
> **kwargs)
> [Tue Aug 05 07:25:46 2014] [error]   File
> "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/nova.py",
> line 752, in extension_supported
> [Tue Aug 05 07:25:46 2014] [error]     extensions =
> list_extensions(request)
> [Tue Aug 05 07:25:46 2014] [error]   File
> "/usr/lib/python2.6/site-packages/horizon/utils/memoized.py", line 90, in
> wrapped
> [Tue Aug 05 07:25:46 2014] [error]     value = cache[key] = func(*args,
> **kwargs)
> [Tue Aug 05 07:25:46 2014] [error]   File
> "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/nova.py",
> line 743, in list_extensions
> [Tue Aug 05 07:25:46 2014] [error]     return
> nova_list_extensions.ListExtManager(novaclient(request)).show_all()
> [Tue Aug 05 07:25:46 2014] [error]   File
> "/usr/lib/python2.6/site-packages/novaclient/v1_1/contrib/list_extensions.py",
> line 37, in show_all
> [Tue Aug 05 07:25:46 2014] [error]     return self._list("/extensions",
> 'extensions')
> [Tue Aug 05 07:25:46 2014] [error]   File
> "/usr/lib/python2.6/site-packages/novaclient/base.py", line 64, in _list
> [Tue Aug 05 07:25:46 2014] [error]     _resp, body =
> self.api.client.get(url)
> [Tue Aug 05 07:25:46 2014] [error]   File
> "/usr/lib/python2.6/site-packages/novaclient/client.py", line 309, in get
> [Tue Aug 05 07:25:46 2014] [error]     return self._cs_request(url, 'GET',
> **kwargs)
> [Tue Aug 05 07:25:46 2014] [error]   File
> "/usr/lib/python2.6/site-packages/novaclient/client.py", line 301, in
> _cs_request
> [Tue Aug 05 07:25:46 2014] [error]     raise e
> [Tue Aug 05 07:25:46 2014] [error] Unauthorized: Unauthorized (HTTP 401)
>
>
> On Tue, Aug 5, 2014 at 11:33 AM, ZHOU TAO A <tao.a.zhou at alcatel-lucent.com
> > wrote:
>
>>  You have the wrong endpoints:
>>
>>
>> | 791fecb5eb414f2ebf4ebb0700e8f847 | regionOne |
>> http://192.168.137.102:8774/v2/%(tenant_id)s |
>> http://192.168.137.102:8774/v2/%(tenant_id)s |
>> http://192.168.137.102:8774/v2/%(tenant_id)s |
>>
>>  The ip address should be the controller's IP.
>>
>>
>> On 08/05/2014 11:28 AM, Sujeet Mulmi wrote:
>>
>>  Hi,
>>
>>     I am trying to bring Dashboard up and ended with following error:
>>
>>  [Tue Aug 05 02:16:42 2014] [error] INFO:urllib3.connectionpool:Starting
>> new HTTP connection (1): 192.168.137.101
>> [Tue Aug 05 02:16:42 2014] [error] DEBUG:urllib3.connectionpool:"POST
>> /v2.0/tokens HTTP/1.1" 200 1349
>> [Tue Aug 05 02:16:42 2014] [error] INFO:urllib3.connectionpool:Starting
>> new HTTP connection (1): 192.168.137.101
>> [Tue Aug 05 02:16:42 2014] [error] DEBUG:urllib3.connectionpool:"GET
>> /v2.0/tenants HTTP/1.1" 200 143
>> [Tue Aug 05 02:16:42 2014] [error] INFO:urllib3.connectionpool:Starting
>> new HTTP connection (1): 192.168.137.101
>> [Tue Aug 05 02:16:42 2014] [error] DEBUG:urllib3.connectionpool:"POST
>> /v2.0/tokens HTTP/1.1" 200 3967
>> [Tue Aug 05 02:16:42 2014] [error] Login successful for user "admin".
>> [Tue Aug 05 02:16:42 2014] [error]
>> [Tue Aug 05 02:16:42 2014] [error] REQ: curl -i '
>> http://192.168.137.102:8774/v2/121eae2f2f664dc49265ad11229022c3/extensions'
>> -X GET -H "X-Auth-Project-Id: 121eae2f2f664dc49265ad11229022c3" -H
>> "User-Agent: python-novaclient" -H "Accept: application/json" -H
>> "X-Auth-Token: 352f4915d730d862e28c8ef02a85b029"
>> [Tue Aug 05 02:16:42 2014] [error]
>> [Tue Aug 05 02:16:42 2014] [error] INFO:urllib3.connectionpool:Starting
>> new HTTP connection (1): 192.168.137.102
>>
>>
>>
>>  endpoint is as follows:
>>  [root at controller ~]# keystone endpoint-list
>>
>> +----------------------------------+-----------+----------------------------------------------+----------------------------------------------+----------------------------------------------+----------------------------------+
>> |                id                |   region  |
>>  publicurl                   |                 internalurl
>>  |                   adminurl                   |            service_id
>>        |
>>
>> +----------------------------------+-----------+----------------------------------------------+----------------------------------------------+----------------------------------------------+----------------------------------+
>> | 791fecb5eb414f2ebf4ebb0700e8f847 | regionOne |
>> http://192.168.137.102:8774/v2/%(tenant_id)s |
>> http://192.168.137.102:8774/v2/%(tenant_id)s |
>> http://192.168.137.102:8774/v2/%(tenant_id)s |
>> 60a3a48fdd2d4cbdaedc2209579b5f7d |
>> | a12049abee334215bea3308a6e01a43d | regionOne |
>> http://192.168.137.101:9292          |
>> http://192.168.137.101:9292          |
>> http://192.168.137.101:9292          | 79f631a6530746458944d8606eeb9289 |
>> | f9a297aa9cd54f9d8442b703832a9734 | regionOne |
>> http://192.168.137.101:5000/v2.0       |
>> http://192.168.137.101:5000/v2.0       |
>> http://192.168.137.101:35357/v2.0       |
>> f124253db62f4c56ac324ec77552dbf1 |
>>
>> +----------------------------------+-----------+----------------------------------------------+----------------------------------------------+----------------------------------------------+----------------------------------+
>>
>>  where 192.168.137.102 = compute node.
>>           192.168.137.101 = controller node.
>>
>>    could anyone suggest how to resovle the issue.
>>
>>  Regards,
>> Sujeet
>>
>>
>>  _______________________________________________
>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
>>
>>
>> _______________________________________________
>> Mailing list:
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe :
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140806/2535dea8/attachment.html>
-------------- next part --------------
[root at controller ~]# keystone user-list
+----------------------------------+--------+---------+------------------------------+
|                id                |  name  | enabled |            email             |
+----------------------------------+--------+---------+------------------------------+
| 9d8a8f12dc43404c8a18df7a69e2a392 | admin  |   True  | sujeet.mulmi at localdomain     |
| 57a69051ee6f44a2ae1a13b57ed6af00 | glance |   True  | sujeet.mulmi at localdomain     |
| ea0bfb6fe5df4856a9fed005c9a927d9 |  nova  |   True  | sujeet.mulmi at localdomain     |
+----------------------------------+--------+---------+------------------------------+
 [root at controller ~]#keystone role-list
+----------------------------------+----------+
|                id                |   name   |
+----------------------------------+----------+
| 9fe2ff9ee4384b1894a90878d3e92bab | _member_ |
| dddadb6ef8104637adf3482867b2c71e |  admin   |
+----------------------------------+----------+
 [root at controller ~]# keystone tenant-list
+----------------------------------+---------+---------+
|                id                |   name  | enabled |
+----------------------------------+---------+---------+
| 121eae2f2f664dc49265ad11229022c3 |  admin  |   True  |
| 824fe150ea95459b9710a17f7c7a3548 | service |   True  |
+----------------------------------+---------+---------+
 [root at controller ~]#keystone service-list
+----------------------------------+----------+----------+---------------------------+
|                id                |   name   |   type   |        description        |
+----------------------------------+----------+----------+---------------------------+
| 79f631a6530746458944d8606eeb9289 |  glance  |  image   |    Glance Image Service   |
| f124253db62f4c56ac324ec77552dbf1 | keystone | identity | Keystone Identity Service |
| 60a3a48fdd2d4cbdaedc2209579b5f7d |   nova   | compute  |     OpenStack Compute     |
+----------------------------------+----------+----------+---------------------------+
 keystone endpoint-list
+----------------------------------+-----------+----------------------------------------------+----------------------------------------------+----------------------------------------------+----------------------------------+
|                id                |   region  |                  publicurl                   |                 internalurl                  |                   adminurl                   |            service_id            |
+----------------------------------+-----------+----------------------------------------------+----------------------------------------------+----------------------------------------------+----------------------------------+
| 8739a7c26b3849129451a5bd777a6e2b | regionOne | http://192.168.137.101:8774/v2/%(tenant_id)s | http://192.168.137.101:8774/v2/%(tenant_id)s | http://192.168.137.101:8774/v2/%(tenant_id)s | 60a3a48fdd2d4cbdaedc2209579b5f7d |
| a12049abee334215bea3308a6e01a43d | regionOne |         http://192.168.137.101:9292          |         http://192.168.137.101:9292          |         http://192.168.137.101:9292          | 79f631a6530746458944d8606eeb9289 |
| f9a297aa9cd54f9d8442b703832a9734 | regionOne |       http://192.168.137.101:5000/v2.0       |       http://192.168.137.101:5000/v2.0       |      http://192.168.137.101:35357/v2.0       | f124253db62f4c56ac324ec77552dbf1 |
+----------------------------------+-----------+----------------------------------------------+----------------------------------------------+----------------------------------------------+----------------------------------+

[root at controller ~]# nova-manage service list
Binary           Host                                 Zone             Status     State Updated_At
nova-conductor   controller.localdomain               internal         enabled    :-)   2014-08-05 17:23:58
nova-cert        controller.localdomain               internal         enabled    :-)   2014-08-05 17:24:01
nova-consoleauth controller.localdomain               internal         enabled    :-)   2014-08-05 17:23:59
nova-scheduler   controller.localdomain               internal         enabled    :-)   2014-08-05 17:23:59
nova-network     compute1.localdomain                 internal         enabled    :-)   2014-08-05 17:23:57
nova-compute     compute1.localdomain                 nova             enabled    :-)   2014-08-05 17:23:56
nova-network     controller.localdomain               internal         enabled    :-)   2014-08-05 17:23:58


[root at compute1 ~]# nova-manage service list
Binary           Host                                 Zone             Status     State Updated_At
nova-conductor   controller.localdomain               internal         enabled    :-)   2014-08-05 17:25:08
nova-cert        controller.localdomain               internal         enabled    :-)   2014-08-05 17:25:11
nova-consoleauth controller.localdomain               internal         enabled    :-)   2014-08-05 17:25:09
nova-scheduler   controller.localdomain               internal         enabled    :-)   2014-08-05 17:25:09
nova-network     compute1.localdomain                 internal         enabled    :-)   2014-08-05 17:25:07
nova-compute     compute1.localdomain                 nova             enabled    :-)   2014-08-05 17:25:06
nova-network     controller.localdomain               internal         enabled    :-)   2014-08-05 17:25:09


controller :
nova.conf
[DEFAULT]
# RabbitMQ server's hostname or IP
vnc_enabled=true
novncproxy_host=0.0.0.0
novncproxy_port=6080
novncproxy_base_url=http://192.168.137.101:6080/vnc_auto.html
vncserver_listen=192.168.137.101
vncserver_proxyclient_address=192.168.137.101
rabbit_host=192.168.137.101
rabbit_port=5672
# RabbitMQ server's User for auth
rabbit_userid=guest
# RabbitMQ server's password of the User above
rabbit_password=xxxxx
rpc_backend = rabbit
notification_driver=nova.openstack.common.notifier.rpc_notifier
# define own IP
my_ip=192.168.137.101
# add it if not need IPv6
use_ipv6=false
state_path=/var/lib/nova
enabled_apis=ec2,osapi_compute,metadata
osapi_compute_listen=0.0.0.0
osapi_compute_listen_port=8774
rootwrap_config=/etc/nova/rootwrap.conf
api_paste_config=api-paste.ini
auth_strategy=keystone
# Glance server's hostname or IP
glance_host=192.168.137.101
glance_port=9292
glance_protocol=http
lock_path=/var/lib/nova/tmp
log_dir=/var/log/nova
memcached_servers=192.168.137.101:11211
scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler

# connection info for MariaDB ( the "password" is the one you inputed with "openstack-db" command )
connection=mysql://nova:xxxx@192.168.137.101/nova
[keystone_authtoken]
# Keystone server's hostname or IP
auth_host=192.168.137.101
auth_port=35357
auth_protocol=http
auth_version=v2.0
admin_user=nova
admin_password= xxxx
admin_tenant_name=service
signing_dir=/var/lib/nova/keystone-signing
identity_uri=http://192.168.137.101:5000/v2.0
auth_uri=http://192.168.137.101:5000/v2.0


compute side:
nova.conf
[DEFAULT]
dnsmasq_config_file=/etc/dnsmasq-nova.conf
# RabbitMQ server's hostname or IP
rabbit_host=192.168.137.101
rabbit_port=5672
# RabbitMQ server's User for auth
rabbit_userid=guest
# RabbitMQ server's password of the User above
rabbit_password=xxxx
notification_driver=nova.openstack.common.notifier.rpc_notifier
rpc_backend=rabbit
# define own IP
my_ip=192.168.137.102
vnc_enabled=True
vncserver_listen=0.0.0.0
vncserver_proxyclient_address=192.168.137.120
novncproxy_base_url=http://192.168.137.101:6080/vnc_auto.html
# add it if not need IPv6
use_ipv6=false
state_path=/var/lib/nova
enabled_apis=ec2,osapi_compute,metadata
osapi_compute_listen=0.0.0.0
osapi_compute_listen_port=8774
rootwrap_config=/etc/nova/rootwrap.conf
api_paste_config=api-paste.ini
auth_strategy=keystone
# Glance server's hostname or IP
glance_host=192.168.137.101
glance_port=9292
glance_protocol=http
lock_path=/var/lib/nova/tmp
log_dir=/var/log/nova
# Memcached server's hostname or IP
memcached_servers=192.168.137.101:11211
scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler
network_driver=nova.network.linux_net
libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtGenericVIFDriver
linuxnet_interface_driver=nova.network.linux_net.LinuxBridgeInterfaceDriver
firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
network_api_class=nova.network.api.API
security_group_api=nova
network_manager=nova.network.manager.FlatDHCPManager
network_size=254
allow_same_net_traffic=False
multi_host=True
send_arp_for_ha=True
share_dhcp_address=True
force_dhcp_release=True
# Nova API server's hostname or IP address
metadata_host=192.168.137.101
# # specify nic for public
public_interface=eth1
# # specify any name for bridge
flat_network_bridge=br0
# # specify nic for flat DHCP bridge
flat_interface=eth1


[database]
# connection info for MariaDB ( the "password" is the one you inputed with "openstack-db" command )
connection=mysql://nova:xxxx@192.168.137.101/nova
#
[keystone_authtoken]
# # Keystone server's hostname or IP
auth_host=192.168.137.101
auth_port=35357
auth_protocol=http
auth_version=v2.0
admin_user=nova
# # Nova user's password added in Keystone
admin_password=xxxx
admin_tenant_name=service
signing_dir=/var/lib/nova/keystone-signing
identity_uri=http://192.168.137.101:5000/v2.0
auth_uri=http://192.168.137.101:5000/v2.0


Last modification was made in  dashboard configuration as follows
DEBUG = True
ALLOWED_HOSTS = ['controller','192.168.137.101', 'localhost']
OPENSTACK_HOST = "192.168.137.101"
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "admin"

selinux is disabled.

got following log

[Tue Aug 05 17:41:28 2014] [error] INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.137.101
[Tue Aug 05 17:41:28 2014] [error] DEBUG:urllib3.connectionpool:"POST /v2.0/tokens HTTP/1.1" 200 1349
[Tue Aug 05 17:41:28 2014] [error] INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.137.101
[Tue Aug 05 17:41:28 2014] [error] DEBUG:urllib3.connectionpool:"GET /v2.0/tenants HTTP/1.1" 200 143
[Tue Aug 05 17:41:28 2014] [error] INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.137.101
[Tue Aug 05 17:41:29 2014] [error] DEBUG:urllib3.connectionpool:"POST /v2.0/tokens HTTP/1.1" 200 3967
[Tue Aug 05 17:41:29 2014] [error] Login successful for user "admin".
[Tue Aug 05 17:41:29 2014] [error]
[Tue Aug 05 17:41:29 2014] [error] REQ: curl -i 'http://192.168.137.101:8774/v2/121eae2f2f664dc49265ad11229022c3/extensions' -X GET -H "X-Auth-Project-Id: 121eae2f2f664dc49265ad11229022c3" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: 87c7990256e817a0f2d2acb7bc074216"
[Tue Aug 05 17:41:29 2014] [error]
[Tue Aug 05 17:41:29 2014] [error] INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.137.101
[Tue Aug 05 17:41:29 2014] [error] DEBUG:urllib3.connectionpool:"GET /v2/121eae2f2f664dc49265ad11229022c3/extensions HTTP/1.1" 401 23
[Tue Aug 05 17:41:29 2014] [error] RESP: [401] {'date': 'Tue, 05 Aug 2014 17:41:29 GMT', 'content-length': '23', 'content-type': 'text/plain', 'www-authenticate': "Keystone uri='http://192.168.137.101:5000/v2.0'"}
[Tue Aug 05 17:41:29 2014] [error] RESP BODY: Authentication required
[Tue Aug 05 17:41:29 2014] [error]
[Tue Aug 05 17:41:29 2014] [error]
[Tue Aug 05 17:41:29 2014] [error] REQ: curl -i 'http://192.168.137.101:8774/v2/121eae2f2f664dc49265ad11229022c3' -X GET -H "X-Auth-Project-Id: 121eae2f2f664dc49265ad11229022c3" -H "X-Auth-Key: 87c7990256e817a0f2d2acb7bc074216" -H "Accept: application/json" -H "X-Auth-User: admin" -H "User-Agent: python-novaclient"
[Tue Aug 05 17:41:29 2014] [error]
[Tue Aug 05 17:41:29 2014] [error] INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.137.101
[Tue Aug 05 17:41:29 2014] [error] DEBUG:urllib3.connectionpool:"GET /v2/121eae2f2f664dc49265ad11229022c3 HTTP/1.1" 401 23
[Tue Aug 05 17:41:29 2014] [error] RESP: [401] {'date': 'Tue, 05 Aug 2014 17:41:29 GMT', 'content-length': '23', 'content-type': 'text/plain', 'www-authenticate': "Keystone uri='http://192.168.137.101:5000/v2.0'"}
[Tue Aug 05 17:41:29 2014] [error] RESP BODY: Authentication required
[Tue Aug 05 17:41:29 2014] [error]
[Tue Aug 05 17:41:29 2014] [error] Internal Server Error: /dashboard/admin/
[Tue Aug 05 17:41:29 2014] [error] Traceback (most recent call last):
[Tue Aug 05 17:41:29 2014] [error]   File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 109, in get_response
[Tue Aug 05 17:41:29 2014] [error]     response = callback(request, *callback_args, **callback_kwargs)
[Tue Aug 05 17:41:29 2014] [error]   File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 38, in dec
[Tue Aug 05 17:41:29 2014] [error]     return view_func(request, *args, **kwargs)
[Tue Aug 05 17:41:29 2014] [error]   File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 86, in dec
[Tue Aug 05 17:41:29 2014] [error]     return view_func(request, *args, **kwargs)
[Tue Aug 05 17:41:29 2014] [error]   File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 54, in dec
[Tue Aug 05 17:41:29 2014] [error]     return view_func(request, *args, **kwargs)
[Tue Aug 05 17:41:29 2014] [error]   File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 38, in dec
[Tue Aug 05 17:41:29 2014] [error]     return view_func(request, *args, **kwargs)
[Tue Aug 05 17:41:29 2014] [error]   File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 86, in dec
[Tue Aug 05 17:41:29 2014] [error]     return view_func(request, *args, **kwargs)
[Tue Aug 05 17:41:29 2014] [error]   File "/usr/lib/python2.6/site-packages/django/views/generic/base.py", line 48, in view
[Tue Aug 05 17:41:29 2014] [error]     return self.dispatch(request, *args, **kwargs)
[Tue Aug 05 17:41:29 2014] [error]   File "/usr/lib/python2.6/site-packages/django/views/generic/base.py", line 69, in dispatch
[Tue Aug 05 17:41:29 2014] [error]     return handler(request, *args, **kwargs)
[Tue Aug 05 17:41:29 2014] [error]   File "/usr/lib/python2.6/site-packages/horizon/tables/views.py", line 154, in get
[Tue Aug 05 17:41:29 2014] [error]     handled = self.construct_tables()
[Tue Aug 05 17:41:29 2014] [error]   File "/usr/lib/python2.6/site-packages/horizon/tables/views.py", line 145, in construct_tables
[Tue Aug 05 17:41:29 2014] [error]     handled = self.handle_table(table)
[Tue Aug 05 17:41:29 2014] [error]   File "/usr/lib/python2.6/site-packages/horizon/tables/views.py", line 118, in handle_table
[Tue Aug 05 17:41:29 2014] [error]     data = self._get_data_dict()
[Tue Aug 05 17:41:29 2014] [error]   File "/usr/lib/python2.6/site-packages/horizon/tables/views.py", line 181, in _get_data_dict
[Tue Aug 05 17:41:29 2014] [error]     self._data = {self.table_class._meta.name: self.get_data()}
[Tue Aug 05 17:41:29 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/admin/overview/views.py", line 60, in get_data
[Tue Aug 05 17:41:29 2014] [error]     data = super(GlobalOverview, self).get_data()
[Tue Aug 05 17:41:29 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/views.py", line 43, in get_data
[Tue Aug 05 17:41:29 2014] [error]     self.usage.summarize(*self.usage.get_date_range())
[Tue Aug 05 17:41:29 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py", line 200, in summarize
[Tue Aug 05 17:41:29 2014] [error]     if not api.nova.extension_supported('SimpleTenantUsage', self.request):
[Tue Aug 05 17:41:29 2014] [error]   File "/usr/lib/python2.6/site-packages/horizon/utils/memoized.py", line 90, in wrapped
[Tue Aug 05 17:41:29 2014] [error]     value = cache[key] = func(*args, **kwargs)
[Tue Aug 05 17:41:29 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/nova.py", line 752, in extension_supported
[Tue Aug 05 17:41:29 2014] [error]     extensions = list_extensions(request)
[Tue Aug 05 17:41:29 2014] [error]   File "/usr/lib/python2.6/site-packages/horizon/utils/memoized.py", line 90, in wrapped
[Tue Aug 05 17:41:29 2014] [error]     value = cache[key] = func(*args, **kwargs)
[Tue Aug 05 17:41:29 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/nova.py", line 743, in list_extensions
[Tue Aug 05 17:41:29 2014] [error]     return nova_list_extensions.ListExtManager(novaclient(request)).show_all()
[Tue Aug 05 17:41:29 2014] [error]   File "/usr/lib/python2.6/site-packages/novaclient/v1_1/contrib/list_extensions.py", line 37, in show_all
[Tue Aug 05 17:41:29 2014] [error]     return self._list("/extensions", 'extensions')
[Tue Aug 05 17:41:29 2014] [error]   File "/usr/lib/python2.6/site-packages/novaclient/base.py", line 64, in _list
[Tue Aug 05 17:41:29 2014] [error]     _resp, body = self.api.client.get(url)
[Tue Aug 05 17:41:29 2014] [error]   File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 309, in get
[Tue Aug 05 17:41:29 2014] [error]     return self._cs_request(url, 'GET', **kwargs)
[Tue Aug 05 17:41:29 2014] [error]   File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 301, in _cs_request
[Tue Aug 05 17:41:29 2014] [error]     raise e
[Tue Aug 05 17:41:29 2014] [error] Unauthorized: Unauthorized (HTTP 401)
                                               
                                  



More information about the Openstack mailing list