openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #19538
Re: Horizon - OfflineGenerationError
-
To:
openstack@xxxxxxxxxxxxxxxxxxx
-
From:
Matthias Runge <mrunge@xxxxxxxxxx>
-
Date:
Tue, 18 Dec 2012 08:54:03 +0100
-
In-reply-to:
<CA+KYVfiSh6q4LiX=YLy9dveTdi-hr2X0cmRSx4stiLKLhSpmMw@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0
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.cardoso@xxxxxxxxx
> <mailto:juanfra.rodriguez.cardoso@xxxxxxxxx>> 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.holway@xxxxxxxxxxxx
> <mailto:a.holway@xxxxxxxxxxxx>>
>
> 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.cardoso@xxxxxxxxx
> <mailto:juanfra.rodriguez.cardoso@xxxxxxxxx>>
> > Ok. I will continue trying to solve these errors with your
> suggestions.
> > I'll tell you any result.
> >
> > Thanks @Matthias @Andres for you support.
> >
> > Regards!
> > JuanFra
> >
> >
> > 2012/12/14 Andrew Holway <a.holway@xxxxxxxxxxxx
> <mailto:a.holway@xxxxxxxxxxxx>>
> >
> > On Dec 14, 2012, at 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.
> >
> > Mine is working alright. I expect you have some silly
> misconfiguration somewhere. It took me 4 times to make a working
> install and it worked only when I followed the install guide
> letter by letter.
> >
> >
> > >
> > > 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-...)
> >
> > Folsom. Why would you want to install previous Openstack
> packages? I think you might have to use a different EPEL repo
> for earlier versions. openstack-nova-2012.2-2 seems to be the
> only available version.
> >
> > Ta
> >
> > Andrew
> >
> >
> > >
> > > Thanks for your support!
> > > JuanFa
> > >
> > > 2012/12/14 Andrew Holway <a.holway@xxxxxxxxxxxx
> <mailto:a.holway@xxxxxxxxxxxx>>
> > > 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@xxxxxxxxxxxxxxxxxxx
> <mailto:openstack@xxxxxxxxxxxxxxxxxxx>
> > > > Unsubscribe : https://launchpad.net/~openstack
> > > > More help : https://help.launchpad.net/ListHelp
> > >
> > >
> > >
> >
> >
> >
> >
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx
> <mailto:openstack@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References