[Rdo-list] Dashboard error
Dennis Jacobfeuerborn
dennisml at conversis.de
Thu Apr 18 16:53:29 UTC 2013
Never mind. It turns out that while I updated the openstack-* packages
from epel to the rdo versions I forgot to do the same for the python
client packages. After that things work as expected.
Regards,
Dennis
On 18.04.2013 16:41, Dennis Jacobfeuerborn wrote:
> Hi,
> I just deployed an openstack controller using the stackforge puppet
> modules combined with the RDO package repository. The good news is that
> I got no errors and everything seems to be up and running. The bad news
> is that the dashboard doesn't seem to work and spits out the following
> error when run with debugging enabled:
>
> TypeError at /admin/
>
> __init__() got an unexpected keyword argument 'http_log_debug'
>
> Request Method: GET
> Request URL: http://10.16.171.3/dashboard/admin/
> Django Version: 1.4.5
> Exception Type: TypeError
> Exception Value:
>
> __init__() got an unexpected keyword argument 'http_log_debug'
>
> Exception Location:
> /usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/cinder.py
> in cinderclient, line 59
> Python Executable: /usr/bin/python
> Python Version: 2.6.6
> Python Path:
>
> ['/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../..',
> '/usr/lib64/python26.zip',
> '/usr/lib64/python2.6',
> '/usr/lib64/python2.6/plat-linux2',
> '/usr/lib64/python2.6/lib-tk',
> '/usr/lib64/python2.6/lib-old',
> '/usr/lib64/python2.6/lib-dynload',
> '/usr/lib64/python2.6/site-packages',
> '/usr/lib/python2.6/site-packages',
> '/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info',
> '/usr/share/openstack-dashboard/openstack_dashboard']
>
> The horizon log file doesn't show any errors:
>
> novaclient connection created using token
> "5c94a3f98ee1464caf918db60f556646" and url
> "http://10.16.171.3:8774/v2/e6a5d2cc19a841e1b50208422742814f"
>
> REQ: curl -i
> http://10.16.171.3:8774/v2/e6a5d2cc19a841e1b50208422742814f/os-simple-tenant-usage?start=2013-04-01T00:00:00&end=2013-04-18T14:06:54.316095&detailed=1
> -X GET -H "X-Auth-Project-Id: e6a5d2cc19a841e1b50208422742814f" -H
> "User-Agent: python-novaclient" -H "Accept: application/json" -H
> "X-Auth-Token: 5c94a3f98ee1464caf918db60f556646"
>
> RESP:{'status': '200', 'content-length': '21', 'content-location':
> u'http://10.16.171.3:8774/v2/e6a5d2cc19a841e1b50208422742814f/os-simple-tenant-usage?start=2013-04-01T00:00:00&end=2013-04-18T14:06:54.316095&detailed=1',
> 'x-compute-request-id': 'req-b839be8f-dd65-424c-8b85-2394f1817ccb',
> 'date': 'Thu, 18 Apr 2013 14:06:54 GMT', 'content-type':
> 'application/json'} {"tenant_usages": []}
>
> novaclient connection created using token
> "5c94a3f98ee1464caf918db60f556646" and url
> "http://10.16.171.3:8774/v2/e6a5d2cc19a841e1b50208422742814f"
>
> REQ: curl -i
> http://10.16.171.3:8774/v2/e6a5d2cc19a841e1b50208422742814f/os-quota-sets/e6a5d2cc19a841e1b50208422742814f
> -X GET -H "X-Auth-Project-Id: e6a5d2cc19a841e1b50208422742814f" -H
> "User-Agent: python-novaclient" -H "Accept: application/json" -H
> "X-Auth-Token: 5c94a3f98ee1464caf918db60f556646"
>
> RESP:{'status': '200', 'content-length': '322', 'content-location':
> u'http://10.16.171.3:8774/v2/e6a5d2cc19a841e1b50208422742814f/os-quota-sets/e6a5d2cc19a841e1b50208422742814f',
> 'x-compute-request-id': 'req-95c8b946-1e31-47bc-9e94-d913f9cf9ddc',
> 'date': 'Thu, 18 Apr 2013 14:06:54 GMT', 'content-type':
> 'application/json'} {"quota_set": {"injected_file_content_bytes": 10240,
> "metadata_items": 128, "ram": 51200, "floating_ips": 10, "key_pairs":
> 100, "id": "e6a5d2cc19a841e1b50208422742814f", "instances": 10,
> "security_group_rules": 20, "injected_files": 5, "cores": 20,
> "fixed_ips": -1, "injected_file_path_bytes": 255, "security_groups": 10}}
>
> cinderclient connection created using token
> "5c94a3f98ee1464caf918db60f556646" and url
> "http://10.16.171.3:8776/v1/e6a5d2cc19a841e1b50208422742814f"
>
> I seems the login has succeeded but the /admin URL doesn't seem to work.
> Any ideas on what could be the cause of this?
>
> Regards,
> Dennis
>
> _______________________________________________
> Rdo-list mailing list
> Rdo-list at redhat.com
> https://www.redhat.com/mailman/listinfo/rdo-list
More information about the dev
mailing list