Re: [Openstack] Openstack Dashboard Error
See https://lists.launchpad.net/openstack/msg12548.html to get debug information on the webpage -Mandar From: openstack-bounces+mandar.vaze=nttdata@lists.launchpad.net [mailto:openstack-bounces+mandar.vaze=nttdata@lists.launchpad.net] On Behalf Of Trinath Somanchi Sent: Monday, June 25, 2012 5:16 PM To: Gabriel Hurley Cc: openstack@lists.launchpad.net Subject: Re: [Openstack] Openstack Dashboard Error Hi- I'm seeing this error, when I login to the Openstack Dashboard in the apache2 error logs .. [error] No handlers could be found for logger "openstack_dashboard" In the Webpage its displaying " Internal Server Error An unexpected error occurred while processing your request. Please try your request again. " Can any one help me out in resolving the issue... Thanking you... On Mon, Jun 25, 2012 at 10:48 AM, Gabriel Hurley mailto:gabriel.hur...@nebula.com>> wrote: It sounds like your local_settings.py file is missing any logging configuration. The default config from the local_settings.py.example file is a good place to start. If that’s not the case, then it would be helpful to know how you installed OpenStack/Horizon, what you’ve done to configure it, etc. All the best, - Gabriel From: openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net<mailto:nebula@lists.launchpad.net> [mailto:openstack-bounces+gabriel.hurley<mailto:openstack-bounces%2Bgabriel.hurley>=nebula@lists.launchpad.net<mailto:nebula@lists.launchpad.net>] On Behalf Of Trinath Somanchi Sent: Sunday, June 24, 2012 10:03 PM To: openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net> Subject: [Openstack] Openstack Dashboard Error Hi- I'm seeing this error when I access the Openstack Dashboard through my browser. [error] No handlers could be found for logger "openstack_dashboard". Please help me resolve this issue. -- Regards, -- Trinath Somanchi, +91 9866 235 130 -- Regards, -- Trinath Somanchi, +91 9866 235 130 __ Disclaimer:This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data. If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Openstack Dashboard Error
Hi- I'm seeing this error, when I login to the Openstack Dashboard in the apache2 error logs .. [error] No handlers could be found for logger "openstack_dashboard" In the Webpage its displaying " Internal Server Error An unexpected error occurred while processing your request. Please try your request again. " Can any one help me out in resolving the issue... Thanking you... On Mon, Jun 25, 2012 at 10:48 AM, Gabriel Hurley wrote: > It sounds like your local_settings.py file is missing any logging > configuration. The default config from the local_settings.py.example file > is a good place to start. > > ** ** > > If that’s not the case, then it would be helpful to know how you installed > OpenStack/Horizon, what you’ve done to configure it, etc. > > ** ** > > All the best, > > ** ** > > **- **Gabriel > > ** ** > > *From:* > openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net[mailto: > openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net] *On > Behalf Of *Trinath Somanchi > *Sent:* Sunday, June 24, 2012 10:03 PM > *To:* openstack@lists.launchpad.net > *Subject:* [Openstack] Openstack Dashboard Error > > ** ** > > Hi- > > I'm seeing this error when I access the Openstack Dashboard through my > browser. > > [error] No handlers could be found for logger "openstack_dashboard". > > Please help me resolve this issue. > > > -- > Regards, > -- > Trinath Somanchi, > > +91 9866 235 130 > > ** ** > -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Openstack Dashboard Error
It sounds like your local_settings.py file is missing any logging configuration. The default config from the local_settings.py.example file is a good place to start. If that’s not the case, then it would be helpful to know how you installed OpenStack/Horizon, what you’ve done to configure it, etc. All the best, - Gabriel From: openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net [mailto:openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net] On Behalf Of Trinath Somanchi Sent: Sunday, June 24, 2012 10:03 PM To: openstack@lists.launchpad.net Subject: [Openstack] Openstack Dashboard Error Hi- I'm seeing this error when I access the Openstack Dashboard through my browser. [error] No handlers could be found for logger "openstack_dashboard". Please help me resolve this issue. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] Openstack Dashboard Error
Hi- I'm seeing this error when I access the Openstack Dashboard through my browser. [error] No handlers could be found for logger "openstack_dashboard". Please help me resolve this issue. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] [openstack] dashboard error (diablo)
hi ,everybody i install opentack all in one in the centos 6.2 x64 bit system, but i click launch of the image , error as flollow : NotFound at /dash/1/images/1/launch The resource could not be found. (HTTP 404) Request Method:GETRequest URL: http://60.12.206.101:800/dash/1/images/1/launchDjango Version:1.3Exception Type:NotFoundException Value: The resource could not be found. (HTTP 404) Exception Location:/opt/python-novaclient/novaclient/client.py in request, line 101Python Executable:/usr/bin/pythonPython Version:2.6.6Python Path: ['/opt/openstack-dashboard/openstack-dashboard/dashboard', '/usr/lib/python2.6/site-packages/z3c.pypimirror-1.0.16-py2.6.egg', '/usr/lib/python2.6/site-packages/BeautifulSoup-3.0.8.1-py2.6.egg', '/usr/lib/python2.6/site-packages/zc.lockfile-1.0.0-py2.6.egg', '/usr/lib/python2.6/site-packages/httplib2-0.7.2-py2.6.egg', '/usr/lib/python2.6/site-packages/prettytable-0.5-py2.6.egg', '/usr/lib/python2.6/site-packages/argparse-1.2.1-py2.6.egg', '/opt/keystone', '/opt/glance', '/opt/openstack-dashboard/django-openstack', '/opt/openstack-dashboard/openstack-dashboard', '/opt/nova', '/usr/lib/python2.6/site-packages/virtualenv-1.7-py2.6.egg', '/opt/openstack-dashboard/openstack-dashboard/tools/src/openstack', '/opt/openstack-dashboard/openstack-dashboard/tools/src/openstackx', '/opt/openstack-dashboard/openstack-dashboard/tools/src/quantum', '/opt/python-novaclient', '/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/lib64/python2.6/site-packages/gtk-2.0', '/usr/lib/python2.6/site-packages', '/opt/openstack-dashboard/openstack-dashboard/dashboard', '/opt/openstack-dashboard/openstack-dashboard/dashboard'] Server time:星期五, 13 一月 2012 11:32:03 +0800 ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] [openstack] dashboard error (Unable to get usage info: Invalid service catalog service: compute)
hi, i login dashboard, error : Unable to get usage info: Invalid service catalog service: compute Traceback (most recent call last): File "/opt/openstack-dashboard/django-openstack/django_openstack/dash/views/instances.py", line 174, in usage usage = api.usage_get(request, tenant_id, datetime_start, datetime_end) File "/opt/openstack-dashboard/django-openstack/django_openstack/api.py", line 313, in inner return f(*args, **kwargs) File "/opt/openstack-dashboard/django-openstack/django_openstack/api.py", line 642, in usage_get return Usage(extras_api(request).usage.get(tenant_id, start, end)) File "/opt/openstack-dashboard/django-openstack/django_openstack/api.py", line 367, in extras_api (request.user.token, url_for(request, 'compute'))) File "/opt/openstack-dashboard/django-openstack/django_openstack/api.py", line 296, in url_for raise ServiceCatalogException(service_type) ServiceCatalogException: Invalid service catalog service: compute (HTTP 404) ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] openstack dashboard error "AttributeError at /auth/login/ 'Settings' object has no attribute 'SWIFT_ENABLED'"
Cool, thanks for the swift (pun intended) reply. I suppose I could have figured this out myself, but that wouldn't have been a swift exercise given my limited Openstack experience. The Openstack community looks friendly and helpful, looking forward to interacting and possibly contributing where it makes sense. Cheers, Leo On Aug 21, 2011, at 1:27 AM, Mark Gius wrote: > The dashboard does not currently detect whether or not a swift endpoint is > present, and instead relies on the boolean setting SWIFT_ENABLED. I would > guess that whatever "all in one" script you are using is deploying an older > version of the local settings file. > > You can resolve this error by adding a SWIFT_ENABLED setting to your > =openstack-dashboard/local/local_settings.py= configuration file, set to True > or False depending on whether or not you have a swift endpoint enabled. > > Mark > > On Sat, Aug 20, 2011 at 2:27 PM, Leo van den Bulck wrote: > Hi, > > I followed these instructions to get Openstack/Nova running under VirtualBox: > > http://cloudbuilders.github.com/deploy.sh/single-node-nova-installation-using-vagrant-and-chef.html > > > Now everything is going fine, including running a compute instance with > "euca-run-instances" and connecting to it via ssh. > > > However when I try to view the Openstack Dashboard running on 192.168.86.100, > I'm getting the following error dump in my browser: > > > AttributeError at /auth/login/ > > 'Settings' object has no attribute 'SWIFT_ENABLED' > Request Method: GET > Request URL:http://192.168.86.100/auth/login/?next=/dash/ > Django Version: 1.3 > Exception Type: AttributeError > Exception Value: > 'Settings' object has no attribute 'SWIFT_ENABLED' > Exception Location: > /usr/local/lib/python2.6/dist-packages/django/utils/functional.py in > __getattr__, line 277 > Python Executable: /usr/bin/python > Python Version: 2.6.6 > Python Path: > ['/srv/dashboard/django-openstack', > '/usr/local/lib/python2.6/dist-packages/mox-0.5.3-py2.6.egg', > '/usr/lib/pymodules/python2.6', > '/srv/dashboard/django-openstack/src/openstack', > '/srv/dashboard/django-openstack/src/openstackx', > '/usr/lib/python2.6', > '/usr/lib/python2.6/plat-linux2', > '/usr/lib/python2.6/lib-tk', > '/usr/lib/python2.6/lib-old', > '/usr/lib/python2.6/lib-dynload', > '/usr/local/lib/python2.6/dist-packages', > '/usr/lib/python2.6/dist-packages', > '/srv/dashboard/openstack-dashboard', > '/usr/lib/pymodules/python2.6/gtk-2.0', > '/srv/dashboard/openstack-dashboard/dashboard'] > > > Has anybody seen this error, or (even better) does anybody know how to > resolve this? > > Thanks a lot, > Leo > > > P.S. by the way -- above I said that running an instance with > "euca-run-instances" and connecting to it via ssh goes fine - HOWEVER, > this seems to be a tad unreliable - "sometimes" it works and "sometimes" it > doesn't. > > The part that didn't work was ssh-ing to the instance. > > I could ping my new instance successfully, but ssh-ing to it gave me > "connection refused" (as did telnetting on port 22). > When viewing the instance's console using "euca-get-console-output", I saw > the following message: "System is configured for NO sshd". > This was at the end of the cloud-setup/cloud-init part, i.e. after the > console lines: > > cloud-setup: checking > http:\/\/169.254.169.254\/2009-04-04\/meta-data\/instance-id > cloud-setup: successful after 1\/30 tries: up 21.36. iid=i-0001 > cloud-setup: cloudinit: getting ssh keys: [0=test] > > So it looked like for some reason the sshd daemon wasn't starting on the > image. > > I had this issue all the time, now suddenly it's gone - anybody knows what > "System is configured for NO sshd" means or why this is (was) happening? > > > ___ > Mailing list: https://launchpad.net/~openstack > Post to : openstack@lists.launchpad.net > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp > ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] openstack dashboard error "AttributeError at /auth/login/ 'Settings' object has no attribute 'SWIFT_ENABLED'"
The dashboard does not currently detect whether or not a swift endpoint is present, and instead relies on the boolean setting SWIFT_ENABLED. I would guess that whatever "all in one" script you are using is deploying an older version of the local settings file. You can resolve this error by adding a SWIFT_ENABLED setting to your =openstack-dashboard/local/local_settings.py= configuration file, set to True or False depending on whether or not you have a swift endpoint enabled. Mark On Sat, Aug 20, 2011 at 2:27 PM, Leo van den Bulck wrote: > Hi, > > I followed these instructions to get Openstack/Nova running under > VirtualBox: > > > http://cloudbuilders.github.com/deploy.sh/single-node-nova-installation-using-vagrant-and-chef.html > > > Now everything is going fine, including running a compute instance with > "euca-run-instances" and connecting to it via ssh. > > > However when I try to view the Openstack Dashboard running on > 192.168.86.100, I'm getting the following error dump in my browser: > > > AttributeError at /auth/login/ > > 'Settings' object has no attribute 'SWIFT_ENABLED' > Request Method: GET > Request URL:http://192.168.86.100/auth/login/?next=/dash/ > Django Version: 1.3 > Exception Type: AttributeError > Exception Value: > 'Settings' object has no attribute 'SWIFT_ENABLED' > Exception Location: > /usr/local/lib/python2.6/dist-packages/django/utils/functional.py in > __getattr__, line 277 > Python Executable: /usr/bin/python > Python Version: 2.6.6 > Python Path: > ['/srv/dashboard/django-openstack', > '/usr/local/lib/python2.6/dist-packages/mox-0.5.3-py2.6.egg', > '/usr/lib/pymodules/python2.6', > '/srv/dashboard/django-openstack/src/openstack', > '/srv/dashboard/django-openstack/src/openstackx', > '/usr/lib/python2.6', > '/usr/lib/python2.6/plat-linux2', > '/usr/lib/python2.6/lib-tk', > '/usr/lib/python2.6/lib-old', > '/usr/lib/python2.6/lib-dynload', > '/usr/local/lib/python2.6/dist-packages', > '/usr/lib/python2.6/dist-packages', > '/srv/dashboard/openstack-dashboard', > '/usr/lib/pymodules/python2.6/gtk-2.0', > '/srv/dashboard/openstack-dashboard/dashboard'] > > > Has anybody seen this error, or (even better) does anybody know how to > resolve this? > > Thanks a lot, > Leo > > > P.S. by the way -- above I said that running an instance with > "euca-run-instances" and connecting to it via ssh goes fine - HOWEVER, > this seems to be a tad unreliable - "sometimes" it works and "sometimes" it > doesn't. > > The part that didn't work was ssh-ing to the instance. > > I could ping my new instance successfully, but ssh-ing to it gave me > "connection refused" (as did telnetting on port 22). > When viewing the instance's console using "euca-get-console-output", I saw > the following message: "System is configured for NO sshd". > This was at the end of the cloud-setup/cloud-init part, i.e. after the > console lines: > > cloud-setup: checking http:\/\/169.254.169.254 > \/2009-04-04\/meta-data\/instance-id > cloud-setup: successful after 1\/30 tries: up 21.36. iid=i-0001 > cloud-setup: cloudinit: getting ssh keys: [0=test] > > So it looked like for some reason the sshd daemon wasn't starting on the > image. > > I had this issue all the time, now suddenly it's gone - anybody knows what > "System is configured for NO sshd" means or why this is (was) happening? > > > ___ > Mailing list: https://launchpad.net/~openstack > Post to : openstack@lists.launchpad.net > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp > ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] openstack dashboard error "AttributeError at /auth/login/ 'Settings' object has no attribute 'SWIFT_ENABLED'"
Hi, I followed these instructions to get Openstack/Nova running under VirtualBox: http://cloudbuilders.github.com/deploy.sh/single-node-nova-installation-using-vagrant-and-chef.html Now everything is going fine, including running a compute instance with "euca-run-instances" and connecting to it via ssh. However when I try to view the Openstack Dashboard running on 192.168.86.100, I'm getting the following error dump in my browser: AttributeError at /auth/login/ 'Settings' object has no attribute 'SWIFT_ENABLED' Request Method: GET Request URL:http://192.168.86.100/auth/login/?next=/dash/ Django Version: 1.3 Exception Type: AttributeError Exception Value: 'Settings' object has no attribute 'SWIFT_ENABLED' Exception Location: /usr/local/lib/python2.6/dist-packages/django/utils/functional.py in __getattr__, line 277 Python Executable: /usr/bin/python Python Version: 2.6.6 Python Path: ['/srv/dashboard/django-openstack', '/usr/local/lib/python2.6/dist-packages/mox-0.5.3-py2.6.egg', '/usr/lib/pymodules/python2.6', '/srv/dashboard/django-openstack/src/openstack', '/srv/dashboard/django-openstack/src/openstackx', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/local/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages', '/srv/dashboard/openstack-dashboard', '/usr/lib/pymodules/python2.6/gtk-2.0', '/srv/dashboard/openstack-dashboard/dashboard'] Has anybody seen this error, or (even better) does anybody know how to resolve this? Thanks a lot, Leo P.S. by the way -- above I said that running an instance with "euca-run-instances" and connecting to it via ssh goes fine - HOWEVER, this seems to be a tad unreliable - "sometimes" it works and "sometimes" it doesn't. The part that didn't work was ssh-ing to the instance. I could ping my new instance successfully, but ssh-ing to it gave me "connection refused" (as did telnetting on port 22). When viewing the instance's console using "euca-get-console-output", I saw the following message: "System is configured for NO sshd". This was at the end of the cloud-setup/cloud-init part, i.e. after the console lines: cloud-setup: checking http:\/\/169.254.169.254\/2009-04-04\/meta-data\/instance-id cloud-setup: successful after 1\/30 tries: up 21.36. iid=i-0001 cloud-setup: cloudinit: getting ssh keys: [0=test] So it looked like for some reason the sshd daemon wasn't starting on the image. I had this issue all the time, now suddenly it's gone - anybody knows what "System is configured for NO sshd" means or why this is (was) happening? ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp