Re: [Openstack] Grizzly Dashboard Quota Problem...
Hi Thiago, I haven't seen that before. Can you file a bug for it? https://bugs.launchpad.net/horizon/+filebug It may be something to do with a missing volume service, but that service should be optional. Cheers, Kieran On 16 March 2013 10:37, Martinx - ジェームズ thiagocmarti...@gmail.com wrote: Hi! Finally I have my Grizzly G3 + RC1 working! But, when I tried to setup the Project quotas, an error appear on the Dashboard and at Apache error.log. The error appear even when creating a Project, with default quota settings... Dashboard message: Error: Unable to set project quotas. error.log: [Fri Mar 15 23:35:57 2013] [error] \x1b[31;1mRecoverable error: Bad key(s) gigabytes,volumes in quota_set (HTTP 400) (Request-ID: req-555844dc-3cdc-4a33-a7e8-c1836b8f)\x1b[0m Is this a know BUG? Can I do something about it? Thanks! Thiago ___ 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] swift containers panel permissions?
Hi Wyllys, On 13 March 2013 04:19, Wyllys Ingersoll wyllys.ingers...@evault.com wrote: Can someone point me to docs describing how to add/modify/delete permissions for a horizon panel? I want a non-admin user to be able to access the Swift object-store containers panel in horizon. Currently, the containers panel.py has the permissions set to: permissions = ('openstack.services.object-store',), Only users with Admin role seem to have access to this panel. Can this be changed, and if so, where do I look to make the changes? This permission comes from your keystone service catalog. If you have an object-store entry in your catalog, then all users should see this. Also, in general, its pretty ugly for the WSGI server to barf up an Internal Server Error for a simple permissions issue. Has anyone considered making Nova/Horizon fail a little more gracefully in the face of errors rather than the current HTTP 500 status messages? It generally does. I suspect there's something else going on in your case, possibly a configuration issue with keystone or swift itself. Paste the error here and we might be able to work out what's going on: http://paste.openstack.org/ Cheers, Kieran thanks, Wyllys Ingersoll eVault ___ 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] horizon customization_module example???
Hi Wyllys, On 5 March 2013 08:59, Wyllys Ingersoll wyllys.ingers...@evault.com wrote: Questions: - If I name the customization_module as my_dashboard.overrides - where does the overrides file need to be created (i.e. what directory - full path) ? my_dashboard.overrides needs to be importable by the process running Horizon. So your my_dashboard module needs to be on your python path somehow. Probably the easiest way is to add a python-path argument to the WSGIDaemonProcess line in Apache's Horizon config. I'm not sure where this lives exactly for the ubuntu package (should be somewhere under /etc/apache2/). Assuming your my_dashboard module lives in /opt/python/my_dashboard, you'd make it look like the following: WSGIDaemonProcess [... existing options ...] python-path=/opt/python Alternatively you can make your module an installable python package and install it system-wide (e.g., create a setup.py). - Does it require other files to be present in that directory also such as the __init__.py or models.py like a complete dashboard would? It will need a __init__.py but should be fine without a models.py. I'll see about getting this info added to the docs. Cheers, Kieran I think once I can figure out where to put my custom mods without making horizon barf all over itself, I can make my changes, but getting started is proving difficult. thanks, Wyllys ___ 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] horizon customization_module example???
On 5 March 2013 12:24, Wyllys Ingersoll wyllys.ingers...@evault.com wrote: Thanks! Any hints on how to remove some of the default Nova panels from the dashboard using the customization_module? Something like: import horizon nova = horizon.get_dashboard('nova') nova.unregister(nova.get_panel('instances').__class__) Substitute projects for nova in Grizzly. You can also limit a panel to certain keystone roles with an openstack.roles.role permission: nova.get_panel('instances').permissions = ('openstack.roles.admin',) or, more robustly: instances = nova.get_panel('instances') permissions = list(getattr(instances, 'permissions', [])) permissions.append('openstack.roles.admin') instances.permissions = tuple(permissions) Cheers, Kieran On Mar 4, 2013, at 6:52 PM, Kieran Spear kisp...@gmail.com wrote: Hi Wyllys, On 5 March 2013 08:59, Wyllys Ingersoll wyllys.ingers...@evault.com wrote: Questions: - If I name the customization_module as my_dashboard.overrides - where does the overrides file need to be created (i.e. what directory - full path) ? my_dashboard.overrides needs to be importable by the process running Horizon. So your my_dashboard module needs to be on your python path somehow. Probably the easiest way is to add a python-path argument to the WSGIDaemonProcess line in Apache's Horizon config. I'm not sure where this lives exactly for the ubuntu package (should be somewhere under /etc/apache2/). Assuming your my_dashboard module lives in /opt/python/my_dashboard, you'd make it look like the following: WSGIDaemonProcess [... existing options ...] python-path=/opt/python Alternatively you can make your module an installable python package and install it system-wide (e.g., create a setup.py). - Does it require other files to be present in that directory also such as the __init__.py or models.py like a complete dashboard would? It will need a __init__.py but should be fine without a models.py. I'll see about getting this info added to the docs. Cheers, Kieran I think once I can figure out where to put my custom mods without making horizon barf all over itself, I can make my changes, but getting started is proving difficult. thanks, Wyllys ___ 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] Horizon Keystone Endpoint Issue
On 20 February 2013 03:40, Michaël Van de Borne michael.vandebo...@cetic.be wrote: Same problem here. Running Grizzly. Dashboard keeps prompting me for my credentials. Pretty sure dashboard sends wrong tenant name to keystone. Here's the relevant section in /etc/openstack-dashboard/local-settings.py: OPENSTACK_HOST = 192.168.202.103 OPENSTACK_KEYSTONE_URL = http://%s:5000/v2.0; % OPENSTACK_HOST #OPENSTACK_KEYSTONE_DEFAULT_ROLE = Member OPENSTACK_KEYSTONE_DEFAULT_ROLE = admin Is that 202 a typo? You used 192.168.203.103 later. Cheers, Kieran michaël Le 13/02/2013 16:13, Razique Mahroua a écrit : Is the dash configured to talk with the Keystone backend? can you run something like $ keystone endoint-list thanks *Razique Mahroua** - **Nuage Co* razique.mahr...@gmail.com Tel : +33 9 72 37 94 15 Le 12 févr. 2013 à 16:54, Logan McNaughton lo...@bacoosta.com a écrit : I've had this problem before, in my experience it's not a problem with keystone, it's a problem with nova (by the looks of the traceback). I believe it's a bug in Horizon because you'll find a lot of people with this issue if you Google it. I don't have an answer on how to fix it, other than don't fixate on the EndpointNotFound, look to your nova configs for a solution. On Tue, Feb 12, 2013 at 5:03 AM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi Stackers- I have successfully installed folsom in my test setup. But when I browse Horison, with admin/password as credentials, I get this error. [Tue Feb 12 10:03:16 2013] [error] unable to retrieve service catalog with token [Tue Feb 12 10:03:16 2013] [error] Traceback (most recent call last): [Tue Feb 12 10:03:16 2013] [error] File /usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py, line 132, in _extract_service_catalog [Tue Feb 12 10:03:16 2013] [error] endpoint_type='adminURL') [Tue Feb 12 10:03:16 2013] [error] File /usr/lib/python2.7/dist-packages/keystoneclient/service_catalog.py, line 62, in url_for [Tue Feb 12 10:03:16 2013] [error] raise exceptions.EndpointNotFound('Endpoint not found.') [Tue Feb 12 10:03:16 2013] [error] EndpointNotFound: Endpoint not found. [Tue Feb 12 10:03:17 2013] [error] \x1b[31;1mUnauthorized: n/a (HTTP 401)\x1b[0m [Tue Feb 12 10:03:17 2013] [error] Traceback (most recent call last): [Tue Feb 12 10:03:17 2013] [error] File /usr/lib/python2.7/dist-packages/horizon/usage/base.py, line 93, in summarize [Tue Feb 12 10:03:17 2013] [error] self.usage_list = self.get_usage_list(start, end) [Tue Feb 12 10:03:17 2013] [error] File /usr/lib/python2.7/dist-packages/horizon/usage/base.py, line 128, in get_usage_list [Tue Feb 12 10:03:17 2013] [error] return api.usage_list(self.request, start, end) [Tue Feb 12 10:03:17 2013] [error] File /usr/lib/python2.7/dist-packages/horizon/api/nova.py, line 418, in usage_list [Tue Feb 12 10:03:17 2013] [error] return [Usage(u) for u in novaclient(request).usage.list(start, end, True)] [Tue Feb 12 10:03:17 2013] [error] File /usr/lib/python2.7/dist-packages/novaclient/v1_1/usage.py, line 35, in list [Tue Feb 12 10:03:17 2013] [error] tenant_usages) [Tue Feb 12 10:03:17 2013] [error] File /usr/lib/python2.7/dist-packages/novaclient/base.py, line 62, in _list [Tue Feb 12 10:03:17 2013] [error] _resp, body = self.api.client.get(url) [Tue Feb 12 10:03:17 2013] [error] File /usr/lib/python2.7/dist-packages/novaclient/client.py, line 239, in get [Tue Feb 12 10:03:17 2013] [error] return self._cs_request(url, 'GET', **kwargs) [Tue Feb 12 10:03:17 2013] [error] File /usr/lib/python2.7/dist-packages/novaclient/client.py, line 236, in _cs_request [Tue Feb 12 10:03:17 2013] [error] raise ex [Tue Feb 12 10:03:17 2013] [error] Unauthorized: n/a (HTTP 401) It says , I missed some End point Configuration. But then, I have configured it correctly. Can any one guide me resolving this issue. Thanks in advance. -- 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 ___ 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 ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net
[Openstack] [horizon] Select a key pair by default in launch instance?
Hi all, I've had a few requests from users who forget to select a key pair when launching an instance through the dashboard. I do this myself quite often. Can we select the first available key pair by default, much like what is done with security groups? Most of our users only have a single key pair anyway. Cheers, Kieran ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp