Re: [Openstack] Alternative dashboards for openstack?
On 23/07/13 03:24, Jake G. wrote: Hi All, Any chance there are other dashboards out there for Openstack besides Horizon? I bet there are, since horizon is just a framework to implement a dashboard, you're free to implement your own. Matthias ___ 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] Alternative dashboards for openstack?
On 23/07/13 09:57, Jake G. wrote: Wish I was a programmer. Would be nice to be able to control and configure all of openstacks functions from the dashboard. Since the dashboard itself relies on Nova, Glance, and Keystone [1], that won't be possible. Esp. endpoints to underlying services are essential for horizon to work. Also, the dashboard doesn't use its own database etc. to safe a state. For deployment of OpenStack, there are several projects out there, such as packstack or Triple0[2] Matthias [1] https://github.com/openstack/horizon#settings-up-openstack [2] https://wiki.openstack.org/wiki/TripleO ___ 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] custom url for openstack dashboard
On 24/06/13 08:07, Anshul Gangwar wrote: Hi JuanFra, This is not solving my problem. I want a solution where urls are relative to certain fixed string say os. Currently I can either make them relative by making changes in settings.py or absolute. for example when I see page source I can see urls are of form /static/* /auth/* what I want is that when these urls are returned to browser, they are prefixed with some string like /os/static/* /os/auth/* this os string is added on the fly i.e. these urls are absolute, but relative to certain fixed string. Thanks, Anshul What I have done in rpm packages is: (from httpd.conf) WSGIScriptAlias /dashboard /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi Alias /static /usr/share/openstack-dashboard/static and also required: (from /usr/share/openstack-dashboard/openstack_dashboard/settings.py: WEBROOT = '/dashboard' LOGIN_URL = WEBROOT + '/auth/login/' LOGOUT_URL = WEBROOT + '/auth/logout/' # LOGIN_REDIRECT_URL can be used as an alternative for # HORIZON_CONFIG.user_home, if user_home is not set. # Do not set it to '/home/', as this will cause circular redirect loop LOGIN_REDIRECT_URL = WEBROOT MEDIA_ROOT = os.path.abspath(os.path.join(ROOT_PATH, '..', 'media')) MEDIA_URL = '/media/' STATIC_ROOT = os.path.abspath(os.path.join(ROOT_PATH, '..', 'static')) STATIC_URL = '/static/' ADMIN_MEDIA_PREFIX = '/static/admin/' This whole stuff maps the dashboard to /dashboard. You're free to change /dashboard to whatever you like. (the wsgiscriptalias and also WEBROOT needs to be changed). This implies, that you can accept to have static media mapped to /static. Matthias ___ 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 login error
On 18/06/13 08:10, Nguyễn Quốc Vũ wrote: [Tue Jun 18 05:55:02 2013] [error] endpoint_type='adminURL') [Tue Jun 18 05:55:02 2013] [error] File /usr/lib/python2.7/dist-packages/keystoneclient/service_catalog.py, line 62, in url_for [Tue Jun 18 05:55:02 2013] [error] raise exceptions.EndpointNotFound('Endpoint not found.') [Tue Jun 18 05:55:02 2013] [error] EndpointNotFound: Endpoint not found. Well, the error says: Endpoint not found. Please from your horizon host try to call the admin URLS given in your endpoint list. You can use telnet, wget, curl etc. Matthias ___ 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] Documentations for installing Grizzly release on CentOS/RedHat
On 04/22/2013 10:49 AM, Ashutosh Narayan wrote: Hi Folks, I want to install Grizzly release of OpenStack on CentOS 6.3 I am unable to source out any documentations pertaining to it. The OpenStack documentation home page has the one for Folsom release. Can someone point me to a step by step documentation for the same ? You might want to look at http://openstack.redhat.com/Quickstart It's all there, packages, docs, a forum,... Matthias ___ 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] Dashboard login page doesn't show up
On 03/12/2013 11:20 AM, Ashutosh Narayan wrote: Hi folks, I am trying to install dashboard as per instructions mentionedhere http://docs.openstack.org/trunk/openstack-compute/install/yum/content/installing-openstack-dashboard.html. First of all |/etc/openstack-dashboard/local_settings.py file doesn't| exist instead |/etc/openstack-dashboard/local_settings is present.| Second, file name |/etc/sysconfig/memcached.conf is not present| instead I see |/etc/sysconfig/memcached file.| Indeed, the local_settings is the right file; that's a typo in the docs. What is shown? Do you see an error? Is the webserver running? lsof -i is your friend. What about firewall rules? Did you enable access, if not running on localhost? In the docs, the hint to visit http://192.168.206.130/horizon on RHEL is plainly wrong. The dashboard can be found under http://ip-address/dashboard Matthias I edit local_settings file with minimal requirements but dashboard page doesn't show up. I have restarted relevant services too. Where am I going wrong ? Please suggest. Thank you, -- Ashutosh Narayan http://ashutoshn.wordpress.com/ ___ 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] Dashboard login page doesn't show up
On 03/12/2013 11:46 AM, Ashutosh Narayan wrote: Hi Matthias, Thanks for pointing that out. I now get a login page. But it doesn't logs me with admin credentials, Here is a snippet of error_log == /var/log/httpd/error_log == [Tue Mar 12 10:40:16 2013] [error] unable to retrieve service catalog with token [Tue Mar 12 10:40:16 2013] [error] Traceback (most recent call last): [Tue Mar 12 10:40:16 2013] [error] File /usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py, line 135, in _extract_service_catalog [Tue Mar 12 10:40:16 2013] [error] endpoint_type='adminURL') [Tue Mar 12 10:40:16 2013] [error] File /usr/lib/python2.6/site-packages/keystoneclient/service_catalog.py, line 73, in url_for [Tue Mar 12 10:40:16 2013] [error] raise exceptions.EndpointNotFound('Endpoint not found.') [Tue Mar 12 10:40:16 2013] [error] EndpointNotFound: Endpoint not found. keystone endpoint-list throws this output : That is a known issue in keystone and fixed in Grizzly. So: what do you see, when you try to login as admin? Are you taking the credentials from your keystone? A side note: the config steps in the docs are not applicable at all. Matthias [root@RLD1OPST01 ~]# keystone endpoint-list +--+---+--+--+-+--+ |id| region | publicurl | internalurl | adminurl | service_id| +--+---+--+--+-+--+ | 50bb93035d9a4a18aacafdd895906f10 | RegionOne | http://192.168.105.61:/v1/AUTH_%(tenant_id)s | http://192.168.105.61:/v1/AUTH_%(tenant_id)s | http://192.168.105.61:/v1| 76772ef3f79b4648981f19de39d4cab1 | | 749974748ce8482bb2339954631baea5 | RegionOne | http://192.168.105.61:8773/services/Cloud | http://192.168.105.61:8773/services/Cloud | http://192.168.105.61:8773/services/Admin | 75748b8502964bf8aab214c074058a08 | | 80a940e76e314148bc349578ce8eadf7 | RegionOne | http://192.168.105.61:8776/v1/%(tenant_id)s| http://192.168.105.61:8776/v1/%(tenant_id)s| http://192.168.105.61:8776/v1/%(tenant_id)s | a5da6ff105184cbda9a3619d41d297f6 | | 897375e2d299416db3281d1b8baeabc1 | RegionOne | http://192.168.105.61:8774/v2/%(tenant_id)s| http://192.168.105.61:8774/v2/%(tenant_id)s| http://192.168.105.61:8774/v2/%(tenant_id)s | 5d144f9df18d4b35810afb4199b1a321 | | cc2fd4c2b1314cfb958e8702139a960c | RegionOne | http://192.168.105.61:5000/v2.0 | http://192.168.105.61:5000/v2.0 | http://192.168.105.61:35357/v2.0 | d307d545040e4bda8ace9a7fd3581cb2 | | e2d7819ff84746dc8e79c76bf308f2cd | RegionOne | http://192.168.105.61:9292| http://192.168.105.61:9292| http://192.168.105.61:9292 | 96299197a84a43d7a3932c5c6ae53ca0 | +--+---+--+--+-+--+ Thank you, On Tue, Mar 12, 2013 at 3:59 PM, Matthias Runge mru...@redhat.com mailto:mru...@redhat.com wrote: On 03/12/2013 11:20 AM, Ashutosh Narayan wrote: Hi folks, I am trying to install dashboard as per instructions mentionedhere http://docs.openstack.org/trunk/openstack-compute/install/yum/content/installing-openstack-dashboard.html. First of all |/etc/openstack-dashboard/local_settings.py file doesn't| exist instead |/etc/openstack-dashboard/local_settings is present.| Second, file name |/etc/sysconfig/memcached.conf is not present| instead I see |/etc/sysconfig/memcached file.| Indeed, the local_settings is the right file; that's a typo in the docs. What is shown? Do you see an error? Is the webserver running? lsof -i is your friend. What about firewall rules? Did you enable access, if not running on localhost? In the docs, the hint to visit http://192.168.206.130/horizon on RHEL is plainly wrong. The dashboard can be found under http://ip-address/dashboard Matthias I edit local_settings file with minimal requirements but dashboard page doesn't show up. I have restarted relevant services too. Where am I going wrong ? Please suggest. Thank you, -- Ashutosh Narayan http
Re: [Openstack] Dashboard login page doesn't show up
On 03/12/2013 12:02 PM, Ashutosh Narayan wrote: The web page keeps on waiting and error_logs shows me what I posted earlier. Are you taking the credentials from your keystone? Yes, I am taking credentials from keystone Please verify your keystone settings in /etc/openstack-dashboard/local_settings: grep OPENSTACK_HOST /etc/openstack_dashboard/local_settings (Should point to your keystone) A side note: the config steps in the docs are not applicable at all. Is there are work around ? Around that additional config step? No! it's not required. Matthias Matthias [root@RLD1OPST01 ~]# keystone endpoint-list +--+---+--+--+-+--+ |id| region | publicurl | internalurl | adminurl | service_id| +--+---+--+--+-+--+ | 50bb93035d9a4a18aacafdd895906f10 | RegionOne | http://192.168.105.61:/v1/AUTH_%(tenant_id)s | http://192.168.105.61:/v1/AUTH_%(tenant_id)s | http://192.168.105.61:/v1| 76772ef3f79b4648981f19de39d4cab1 | | 749974748ce8482bb2339954631baea5 | RegionOne | http://192.168.105.61:8773/services/Cloud | http://192.168.105.61:8773/services/Cloud | http://192.168.105.61:8773/services/Admin | 75748b8502964bf8aab214c074058a08 | | 80a940e76e314148bc349578ce8eadf7 | RegionOne | http://192.168.105.61:8776/v1/%(tenant_id)s| http://192.168.105.61:8776/v1/%(tenant_id)s| http://192.168.105.61:8776/v1/%(tenant_id)s | a5da6ff105184cbda9a3619d41d297f6 | | 897375e2d299416db3281d1b8baeabc1 | RegionOne | http://192.168.105.61:8774/v2/%(tenant_id)s| http://192.168.105.61:8774/v2/%(tenant_id)s| http://192.168.105.61:8774/v2/%(tenant_id)s | 5d144f9df18d4b35810afb4199b1a321 | | cc2fd4c2b1314cfb958e8702139a960c | RegionOne | http://192.168.105.61:5000/v2.0 | http://192.168.105.61:5000/v2.0 | http://192.168.105.61:35357/v2.0 | d307d545040e4bda8ace9a7fd3581cb2 | | e2d7819ff84746dc8e79c76bf308f2cd | RegionOne | http://192.168.105.61:9292| http://192.168.105.61:9292| http://192.168.105.61:9292 | 96299197a84a43d7a3932c5c6ae53ca0 | +--+---+--+--+-+--+ Thank you, On Tue, Mar 12, 2013 at 3:59 PM, Matthias Runge mru...@redhat.com mailto:mru...@redhat.com mailto:mru...@redhat.com mailto:mru...@redhat.com wrote: On 03/12/2013 11:20 AM, Ashutosh Narayan wrote: Hi folks, I am trying to install dashboard as per instructions mentionedhere http://docs.openstack.org/trunk/openstack-compute/install/yum/content/installing-openstack-dashboard.html. First of all |/etc/openstack-dashboard/local_settings.py file doesn't| exist instead |/etc/openstack-dashboard/local_settings is present.| Second, file name |/etc/sysconfig/memcached.conf is not present| instead I see |/etc/sysconfig/memcached file.| Indeed, the local_settings is the right file; that's a typo in the docs. What is shown? Do you see an error? Is the webserver running? lsof -i is your friend. What about firewall rules? Did you enable access, if not running on localhost? In the docs, the hint to visit http://192.168.206.130/horizon on RHEL is plainly wrong. The dashboard can be found under http://ip-address/dashboard Matthias I edit local_settings file with minimal requirements but dashboard page doesn't show up. I have restarted relevant services too. Where am I going wrong ? Please suggest. Thank you, -- Ashutosh Narayan http://ashutoshn.wordpress.com/ ___ Mailing list: https
Re: [Openstack] keystone/horizon/dashboard
On 02/28/2013 01:31 PM, Mballo Cherif wrote: Hello everybody ! I need help, when i try to authenticate with the dashboard I have this “An error occurred authenticating. Please try again later.” What is wrong with keystone or horizon? How can I fix this issue? Verify, that OPENSTACK_HOST (found in local_settings) points to your keystone and also that keystone is reachable from your horizon host (verify especially port 5000 on OPENSTACK_HOST is reachable, telnet my be your friend. If that works, you need to look at keystone: -verify database is running, e.g. Matthias ___ 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] Error in Horizon or misconfiguration?
On 01/10/2013 01:33 PM, JuanFra Rodriguez Cardoso wrote: Hi guys! Do you know if this Horizon's bug have been solved? In my fresh installation (2012.2.1 from EPEL), it keeps crashing. However, remaining operations in dashboard work fine! Its' a known error in keystone, which has been fixed IMHO. I'm currently not sure, if the fix has been backported to Folsom. Matthias ___ 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] Installing Dashboard standalone
On 12/20/2012 02:49 AM, Guillermo Alvarado wrote: BTW I am trying to use a my own version of the openstack-dashboard/ horizon because I made some modifications to the GUI. My version is based in Essex release. Please anybody can help me with this? 2012/12/19 Guillermo Alvarado guillermoalvarad...@gmail.com mailto:guillermoalvarad...@gmail.com I Installed the openstack-dashboard but I have this error in the apache logs: ImproperlyConfigured: Error importing middleware horizon.middleware: cannot import name users 1. you've made a modification 2. you see an error. Would you mind and show the modification made? Otherwise this can't get very far. Dashboard reads the service endpoints from keystone. If keystone is configured correctly, you shouldn't see issues. Matthias 2012/12/19 Guillermo Alvarado guillermoalvarad...@gmail.com mailto:guillermoalvarad...@gmail.com Hi everyone, I want to install the openstack-dashboard/horizon standalone, I mean, I want to have a node for compute, a node for controller and a node for the dashboard. How can I achive this? Thanks in advance, Best Regards. ___ 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 - OfflineGenerationError
On 12/18/2012 09:35 AM, JuanFra Rodriguez Cardoso wrote: Hi guys! I'm not migrating from Essex to Folsom. I've just done a clear installation of Folsom 2012.2 from EPEL 6.7. Then, it could be a problem related to migration. I requested catalog from keystone-cli and it worked. Hence, exception seems to be around this extraction: File /usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py, line 135, in _extract_service_catalog (endpoint_type='adminURL') File /usr/lib/python2.6/site-packages/keystoneclient/service_catalog.py, line 73, in url_for raiseexceptions.EndpointNotFound('Endpoint not found.') EndpointNotFound: Endpoint Thanks for your interest! JuanFra. Earlier in this thread, it looked like you're migrating (even if you were not aware of that fact). That message is known and harmless. Matthias ___ 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 - OfflineGenerationError
On 12/18/2012 01:32 AM, andi abes wrote: I've hit a similar issue when I updated from essex to folsom. That advice to check the migration guide is wise ;). Specifically for me, the local_settings.py file in folsom is considerably different that it was in Essex. I'm not sure how rpm behaves when it needs to overwrite a file. You might want to check how /etc/openstack-dashboard/local_settings.py looks in a clean install, and compare it to your updated one. local_settings is marked as config file and thus, won't be overwritten by a newer version. You should find a /etc/openstack-dashboard/local_settings.rpmnew Matthias On Mon, Dec 17, 2012 at 7:02 PM, JuanFra Rodriguez Cardoso juanfra.rodriguez.card...@gmail.com mailto:juanfra.rodriguez.card...@gmail.com wrote: Hi Andrew: I got this error by accessing web dashboard, i.e. I introduce correctly user/password and then I get a Internal error server in my screen (related to traceback from my previous post). I'm planning to use another previous version (2012.2 or 2012.1.3). Now, I'm using 2012.2.1. I guess this error could be related to nova daemon. It's not running. Is it mandatory to have running nova daemons so that dashboard works fine? Thanks! JuanFra 2012/12/17 Andrew Holway a.hol...@syseleven.de mailto:a.hol...@syseleven.de Hi, I got this error too but I cannot remember what did it. Do you get this when you try and use the web interface? Thanks, Andrew On Dec 17, 2012, at 6:05 PM, JuanFra Rodriguez Cardoso wrote: Hi guys: I've re-installed and re-configured again my deployment according to suggested guide github.com/beloglazov/openstack-centos-kvm-glusterfs/ http://github.com/beloglazov/openstack-centos-kvm-glusterfs/. Excepcion raised: [Mon Dec 17 18:02:42 2012] [error] /usr/lib/python2.6/site-packages/django/conf/__init__.py:75: DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been removed; use STATIC_URL instead. [Mon Dec 17 18:02:42 2012] [error] use STATIC_URL instead., DeprecationWarning) [Mon Dec 17 18:02:42 2012] [error] /usr/lib/python2.6/site-packages/django/conf/__init__.py:110: DeprecationWarning: The SECRET_KEY setting must not be empty. [Mon Dec 17 18:02:42 2012] [error] warnings.warn(The SECRET_KEY setting must not be empty., DeprecationWarning) [Mon Dec 17 18:02:42 2012] [error] /usr/lib/python2.6/site-packages/django/core/cache/__init__.py:82: DeprecationWarning: settings.CACHE_* is deprecated; use settings.CACHES instead. [Mon Dec 17 18:02:42 2012] [error] DeprecationWarning [Mon Dec 17 18:02:42 2012] [error] /usr/lib/python2.6/site-packages/django/utils/translation/__init__.py:63: DeprecationWarning: Translations in the project directory aren't supported anymore. Use the LOCALE_PATHS setting instead. [Mon Dec 17 18:02:42 2012] [error] DeprecationWarning) [Mon Dec 17 18:02:42 2012] [error] /usr/lib/python2.6/site-packages/django/template/defaulttags.py:1235: DeprecationWarning: The syntax for the url template tag is changing. Load the `url` tag from the `future` tag library to start using the new behavior. [Mon Dec 17 18:02:42 2012] [error] category=DeprecationWarning) [Mon Dec 17 17:02:59 2012] [error] /usr/lib/python2.6/site-packages/django/contrib/auth/__init__.py:26: DeprecationWarning: Authentication backends without a `supports_inactive_user` attribute are deprecated. Please define it in class 'openstack_auth.backend.KeystoneBackend'. [Mon Dec 17 17:02:59 2012] [error] DeprecationWarning) [Mon Dec 17 17:02:59 2012] [error] unable to retrieve service catalog with token [Mon Dec 17 17:02:59 2012] [error] Traceback (most recent call last): [Mon Dec 17 17:02:59 2012] [error] File /usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py, line 135, in _extract_service_catalog [Mon Dec 17 17:02:59 2012] [error] endpoint_type='adminURL') [Mon Dec 17 17:02:59 2012] [error] File /usr/lib/python2.6/site-packages/keystoneclient/service_catalog.py, line 73, in url_for [Mon Dec 17 17:02:59 2012] [error] raise exceptions.EndpointNotFound('Endpoint not found.') [Mon Dec 17 17:02:59 2012] [error] EndpointNotFound: Endpoint not found. any idea? 2012/12/14 JuanFra Rodriguez Cardoso juanfra.rodriguez.card...@gmail.com mailto:juanfra.rodriguez.card...@gmail.com Ok. I
Re: [Openstack] Horizon - OfflineGenerationError
On 12/13/2012 08:19 PM, Gabriel Hurley wrote: Have you tried doing what it said and running “manage.py compress”? (make sure you’re in the proper Python environment/venv when running that command) That error indicates one of two things: 1. You have your settings set with COMPRESS_ENABLED = True and COMPRESS_OFFLINE = True but you haven’t run “manage.py compress”, or… 2. There was an error while trying to compress the files such as not being able to find a particular file or a permissions problem on an input file or output directory. - Gabriel *From:*openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net [mailto:openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net] *On Behalf Of *JuanFra Rodriguez Cardoso *Sent:* Thursday, December 13, 2012 4:37 AM *To:* Matthias Runge *Cc:* openstack@lists.launchpad.net *Subject:* Re: [Openstack] Horizon - OfflineGenerationError Hi Matthias: Thanks for replying. Rest of openstack services are working ok. Theses are versions installed of Horizon and Django (from EPEL 6.7) - openstack-dashboard-2012.2-4.el6.noarch. - Django14-1.4.2-2.el6.noarch Do you recommend I install Horizon from github repository? No, but I recommend to update openstack-dashboard from EPEL. https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-13628/python-django-horizon-2012.2.1-1.el6 What you can do is: vi /usr/share/openstack-dashboard/openstack_dashboard/settings.py and change COMPRESS_ENABLED = True to COMPRESS_ENABLED = False restart httpd: service httpd restart It may look ugly, but it should work for you. Please report errors back. @Gabriel: your suggestions 1 and 2 have been done for the package at a central location. The problem is, if an error occurs and COMPRESS_ENABLED = True, COMPRESS_OFFLINE = True are set (as in EPELs packages), horizon falls flat on it's nose. But, as long as node.js and also less.js are not available for RedHat/EPEL/Scientific Linux, the situation will stay that way. Matthias Thanks! 2012/12/13 Matthias Runge mru...@redhat.com mailto:mru...@redhat.com On 12/13/2012 12:24 PM, JuanFra Rodriguez Cardoso wrote: Hi all: I'm installing OpenStack Dashboard 2012.2 on CentOS 6.3 and I got next error related to css/js compression: Yes, I bet, it's not related with Dashboard, although the error message tells you so. Which version are you installing from where? Do you see other issues with your openstack-installation? Please note, the minimum required set of OpenStack services running includes the following: + Nova (compute, api, scheduler, network, and volume services) + Glance + Keystone Instead of nova volume, you could also use cinder volume. Did you install there and are they working ok? Matthias File /usr/lib/python2.6/site-packages/django/template/base.py, line 837, in render_node [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return node.render(context) [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] File /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py, line 147, in render [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return self.render_compressed(context, self.kind, self.mode, forced=forced) [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] File /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py, line 88, in render_compressed [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] cached_offline = self.render_offline(context, forced=forced) [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] File /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py, line 72, in render_offline [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] 'You may need to run python manage.py compress.' % key) [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] OfflineGenerationError: You have offline compression enabled but key 1056718f92f8d4204721bac759b3871a is missing from offline manifest. You may need to run python manage.py compress. [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] File does not exist: /var/www/html/favicon.ico any idea for solving it? Thanks, JuanFra. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net mailto: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 mailto: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
Re: [Openstack] Horizon - OfflineGenerationError
On 12/14/2012 12:40 PM, JuanFra Rodriguez Cardoso wrote: @Matthias: This is the current error traceback (after your suggestions) [Fri Dec 14 12:35:15 2012] [error] raise exceptions.from_response(resp, body) [Fri Dec 14 12:35:15 2012] [error] BadRequest: Unable to communicate with identity service: [Errno 13] Permission denied. (HTTP 400) [Fri Dec 14 12:35:25 2012] [error] Authorization Failed. JuanFra Interesting. Is your keystone working? SELinux? Enabled? If yes, please switch that to permissive. If that works, you should investigate /var/log/audit/audit.log Matthias ___ 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 - OfflineGenerationError
On 12/14/2012 12:45 PM, JuanFra Rodriguez Cardoso wrote: @Andrew: Yes, I knew theses great guides. I had Essex 2012.1.3 (EPEL 6.7) working ok on Centos 6.3, but with 2012.2 (EPEL 6.7) I'm getting errors with Django/Horizon. What release are your running? Essex or Folsom? Do you know if it's possible to install previous Openstack RPM packages from EPL 6.7 (i.e. openstack-nova-2012.1.3-...) Thanks for your support! JuanFa Ah, did you follow the migration guides? There is a migration required between Essex and Folsom. There is a preliminary guide: https://fedoraproject.org/wiki/Talk:Getting_started_with_OpenStack_EPEL Matthias 2012/12/14 Andrew Holway a.hol...@syseleven.de mailto:a.hol...@syseleven.de Hi, This worked perfectly on Centos 6.3. github.com/beloglazov/openstack-centos-kvm-glusterfs/ http://github.com/beloglazov/openstack-centos-kvm-glusterfs/ The hostname stuff can trip you up however. Watch out for the scripts creating user@controller users in the database for keystone, nova, glance et al. It seems user@localhost would be more sensible. Take care, Andrew On Dec 13, 2012, at 12:24 PM, JuanFra Rodriguez Cardoso wrote: Hi all: I'm installing OpenStack Dashboard 2012.2 on CentOS 6.3 and I got next error related to css/js compression: File /usr/lib/python2.6/site-packages/django/template/base.py, line 837, in render_node [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return node.render(context) [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] File /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py, line 147, in render [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return self.render_compressed(context, self.kind, self.mode, forced=forced) [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] File /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py, line 88, in render_compressed [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] cached_offline = self.render_offline(context, forced=forced) [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] File /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py, line 72, in render_offline [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] 'You may need to run python manage.py compress.' % key) [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] OfflineGenerationError: You have offline compression enabled but key 1056718f92f8d4204721bac759b3871a is missing from offline manifest. You may need to run python manage.py compress. [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] File does not exist: /var/www/html/favicon.ico any idea for solving it? Thanks, JuanFra. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net mailto: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 - OfflineGenerationError
On 12/13/2012 12:24 PM, JuanFra Rodriguez Cardoso wrote: Hi all: I'm installing OpenStack Dashboard 2012.2 on CentOS 6.3 and I got next error related to css/js compression: Yes, I bet, it's not related with Dashboard, although the error message tells you so. Which version are you installing from where? Do you see other issues with your openstack-installation? Please note, the minimum required set of OpenStack services running includes the following: + Nova (compute, api, scheduler, network, and volume services) + Glance + Keystone Instead of nova volume, you could also use cinder volume. Did you install there and are they working ok? Matthias File /usr/lib/python2.6/site-packages/django/template/base.py, line 837, in render_node [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return node.render(context) [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] File /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py, line 147, in render [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return self.render_compressed(context, self.kind, self.mode, forced=forced) [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] File /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py, line 88, in render_compressed [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] cached_offline = self.render_offline(context, forced=forced) [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] File /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py, line 72, in render_offline [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] 'You may need to run python manage.py compress.' % key) [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] OfflineGenerationError: You have offline compression enabled but key 1056718f92f8d4204721bac759b3871a is missing from offline manifest. You may need to run python manage.py compress. [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] File does not exist: /var/www/html/favicon.ico any idea for solving it? Thanks, JuanFra. ___ 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] [devstack] How to purge, remove and wipe out devstack?
Hello, if I would like to wipe, remove and purge everything devstack installed and configured what should I do? rm -rf /opt/stack rm -rf /usr/local/bin/ what else? thanks in advance! :) -- * guilherme* \n \t *maluf* ___ You might take a look onto the extensive list, Daniel Berrange posted in his blog: http://berrange.com/posts/2012/11/20/what-devstack-does-to-your-host-when-setting-up-openstack-on-fedora-17/ Matthias ___ 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] Error in Horizon or misconfiguration?
On 09/19/2012 11:38 AM, Razique Mahroua wrote: Hi, I think it's a bug into the dash, since I've noticed myself the same trace, while all my roles are correct inside Keystone, and as I'm able to fully use it. As far as I recall, it's for Horizon the unability to retrieve the adminURL for all the services. Hi, thank you. it's good to know, it isn't just me. I guess, fixing that would be a good starter for beginning development here, right? -- Matthias Runge mru...@matthias-runge.de mru...@fedoraproject.org ___ 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] Error in Horizon or misconfiguration?
On 09/18/2012 06:24 PM, Gui Maluf wrote: Are you using keystone catalog ? check if api-paste keystone configs are correct. check if nova-api is running. check if endpoint is correctly created with # keystone endpoint-list I don't have any other clue. :/ Gui, Thank you for your hints! nova-api is running and keystone lists also configured endpoints. In fact, I didn't experience other issues during my tests using OpenStacks command line tools. Matthias On Tue, Sep 18, 2012 at 9:21 AM, Matthias Runge mru...@matthias-runge.de wrote: Hi, currently, I'm testing horizon-rc1. I'm logged in as admin, and click on any link in the project tab, e.g. on Overview calling the url http://localhost/dashboard/nova/ Then I'm getting an error in http-error-log: [Tue Sep 18 12:16:37 2012] [error] unable to retrieve service catalog with token [Tue Sep 18 12:16:37 2012] [error] Traceback (most recent call last): [Tue Sep 18 12:16:37 2012] [error] File /usr/lib/python2.7/site-packages/keystoneclient/v2_0/client.py, line 132, in _extract_service_catalog [Tue Sep 18 12:16:37 2012] [error] endpoint_type='adminURL') [Tue Sep 18 12:16:37 2012] [error] File /usr/lib/python2.7/site-packages/keystoneclient/service_catalog.py, line 62, in url_for [Tue Sep 18 12:16:37 2012] [error] raise exceptions.EndpointNotFound('Endpoint not found.') [Tue Sep 18 12:16:37 2012] [error] EndpointNotFound: Endpoint not found. By chance, has anybody a clue, what went wrong or how to debug this further? There's no error in keystones logs. Keystone answers and does not report an error. Thanks, Matthias -- Matthias Runge mru...@matthias-runge.de mru...@fedoraproject.org ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Matthias Runge mru...@matthias-runge.de mru...@fedoraproject.org ___ 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] Error in Horizon or misconfiguration?
Hi, currently, I'm testing horizon-rc1. I'm logged in as admin, and click on any link in the project tab, e.g. on Overview calling the url http://localhost/dashboard/nova/ Then I'm getting an error in http-error-log: [Tue Sep 18 12:16:37 2012] [error] unable to retrieve service catalog with token [Tue Sep 18 12:16:37 2012] [error] Traceback (most recent call last): [Tue Sep 18 12:16:37 2012] [error] File /usr/lib/python2.7/site-packages/keystoneclient/v2_0/client.py, line 132, in _extract_service_catalog [Tue Sep 18 12:16:37 2012] [error] endpoint_type='adminURL') [Tue Sep 18 12:16:37 2012] [error] File /usr/lib/python2.7/site-packages/keystoneclient/service_catalog.py, line 62, in url_for [Tue Sep 18 12:16:37 2012] [error] raise exceptions.EndpointNotFound('Endpoint not found.') [Tue Sep 18 12:16:37 2012] [error] EndpointNotFound: Endpoint not found. By chance, has anybody a clue, what went wrong or how to debug this further? There's no error in keystones logs. Keystone answers and does not report an error. Thanks, Matthias -- Matthias Runge mru...@matthias-runge.de mru...@fedoraproject.org ___ 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] Packaging Horizon
On 09/17/2012 07:50 PM, Clint Byrum wrote: Seems to me that packaging LESS would be pretty easy though, so I don't think this will be an issue in the long term. Including the compiled one is just a short-term solution. It's not less.js, but dependent node.js causing the problems. But as Gabriel wrote, including compressed css or .js (and the manifest.json) should do the job. -- Matthias Runge mru...@matthias-runge.de mru...@fedoraproject.org ___ 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] Packaging Horizon
On 09/14/2012 08:19 PM, Adam Gandelman wrote: We faced the same issue in Ubuntu [1]. Ended up compiling and compressing the CSS and JS at packaging time, shipping those + the manifest.json with the package and enabling COMPRESS_OFFLINE=True by default. Users who might want to make use of lessc and node later can just install node-less and set COMPRESS_OFFLINE=False. Thank you for your suggestion! It seems, it still does not work for me. Running ./manage.py compress compresses some sources, obviously, some are not compiled: OfflineGenerationError at /syspanel/ You have offline compression enabled but key 6c3f4b40154653aaf8dd6e0393186d0a is missing from offline manifest. You may need to run python manage.py compress. How Do I debug this further? -- Matthias Runge mru...@matthias-runge.de mru...@fedoraproject.org ___ 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] Packaging Horizon
On 09/15/2012 05:25 AM, Thomas Goirand wrote: On Sat Sep 15 2012 03:55:09 AM CST, Gabriel Hurley gabriel.hur...@nebula.com wrote: Either way works, you just have to compile the file once and ship it in the distro package. For at least Debian, this would make the package non-free. Everything has to be compiled from source. If you can't compile it yourself then you could perhaps use the one from Adam/Ubuntu, or I can do it and send you the final output file. IMHO, it still should be usable for debian as well, sources are still shipped; the step you do is pre-compressing stylesheets, and javascript so this hasn't be done during delivering files through your web server. But of course, I'm totally neglecting that less.js and node.js may not be available in your distro, like they are unavailable from official fedora repositories -- Matthias Runge mru...@matthias-runge.de mru...@fedoraproject.org ___ 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] Packaging Horizon
Hi, currently, I'm trying to package horizon RC1 for Fedora. Since, Fedora does not have node.js included, and also doesn't have LESS included, it won't work per default. Do you have suggestions for me? Thanks -- Matthias Runge mru...@matthias-runge.de mru...@fedoraproject.org ___ 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] Packaging Horizon
On 09/14/2012 02:29 PM, Ivan Kolodyazhny wrote: Hi Matthias, Did you see official node.js guide(https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager) to install it via package manager? Hi Ivan, thank you for your answer. yes, I saw that; sadly, those packages are built in a side repo, and thus not acceptable for me. Looking into node's source code, it seems to bundle several external libs. Bundling external libs is also not acceptable. I know, there's a way to compile less on client side via less-1.3.0.min.js IMHO that requires patching of several template files. How to proceed with js-files? Regards, Ivan Kolodyazhny, Web Developer, http://blog.e0ne.info/, http://notacash.com/, http://kharkivpy.org.ua/ -- Matthias Runge mru...@matthias-runge.de mru...@fedoraproject.org ___ 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] Fwd: Nodejs in horizon
On 28/05/12 16:21, Thierry Carrez wrote: John Postlethwait wrote: Sorry if I've missed anything below, this thread has become rather fragmented and messy (at least in my email clients) but I will try to address the main points I have seen so far: Sorry, if I jump in late in this thread, I may have skipped some basics. If I get it right, nodejs is just required to compile LESS to css, right? There is at least one alternative without requiring nodejs: https://github.com/leafo/lessphp -- Matthias Runge mru...@matthias-runge.de ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp