Mailing List Archive

Horizon - OfflineGenerationError
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.
Re: Horizon - OfflineGenerationError [ In reply to ]
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: Horizon - OfflineGenerationError [ In reply to ]
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?

Thanks!

2012/12/13 Matthias Runge <mrunge@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
> > 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: Horizon - OfflineGenerationError [ In reply to ]
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.com@lists.launchpad.net [mailto:openstack-bounces+gabriel.hurley=nebula.com@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?

Thanks!
2012/12/13 Matthias Runge <mrunge@redhat.com<mailto:mrunge@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
Re: Horizon - OfflineGenerationError [ In reply to ]
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.com@lists.launchpad.net
> [mailto:openstack-bounces+gabriel.hurley=nebula.com@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 <mrunge@redhat.com <mailto:mrunge@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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp
Re: Horizon - OfflineGenerationError [ In reply to ]
Hi,

This worked perfectly on Centos 6.3.

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
> 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: Horizon - OfflineGenerationError [ In reply to ]
@Matthias: This is the current error traceback (after your suggestions)

[Fri Dec 14 12:34:49 2012] [error] Exception KeyError:
KeyError(140230402213856,) in <module 'threading' from
'/usr/lib64/python2.6/threading.pyc'> ignored
[Fri Dec 14 12:34:49 2012] [error] Exception KeyError:
KeyError(140230402213856,) in <module 'threading' from
'/usr/lib64/python2.6/threading.pyc'> ignored
[Fri Dec 14 12:34:49 2012] [notice] caught SIGTERM, shutting down
[Fri Dec 14 12:34:49 2012] [notice] SELinux policy enabled; httpd running
as context unconfined_u:system_r:httpd_t:s0
[Fri Dec 14 12:34:49 2012] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Fri Dec 14 12:34:49 2012] [notice] Digest: generating secret for digest
authentication ...
[Fri Dec 14 12:34:49 2012] [notice] Digest: done
[Fri Dec 14 12:34:49 2012] [warn] mod_wsgi: Compiled for Python/2.6.2.
[Fri Dec 14 12:34:49 2012] [warn] mod_wsgi: Runtime using Python/2.6.6.
[Fri Dec 14 12:34:49 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_wsgi/3.2
Python/2.6.6 configured -- resuming normal operations
[Fri Dec 14 12:35:09 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.
[Fri Dec 14 12:35:09 2012] [error] "use STATIC_URL instead.",
DeprecationWarning)
[Fri Dec 14 12:35:09 2012] [error]
/usr/lib/python2.6/site-packages/django/conf/__init__.py:110:
DeprecationWarning: The SECRET_KEY setting must not be empty.
[Fri Dec 14 12:35:09 2012] [error] warnings.warn("The SECRET_KEY setting
must not be empty.", DeprecationWarning)
[Fri Dec 14 12:35:09 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.
[Fri Dec 14 12:35:09 2012] [error] DeprecationWarning)
[Fri Dec 14 12:35:10 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.
[Fri Dec 14 12:35:10 2012] [error] category=DeprecationWarning)
[Fri Dec 14 12:35:15 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'>.
[Fri Dec 14 12:35:15 2012] [error] DeprecationWarning)
[Fri Dec 14 12:35:15 2012] [error] Authorization Failed.
[Fri Dec 14 12:35:15 2012] [error] Traceback (most recent call last):
[Fri Dec 14 12:35:15 2012] [error] File
"/usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py", line 105,
in authenticate
[Fri Dec 14 12:35:15 2012] [error] return_raw=True)
[Fri Dec 14 12:35:15 2012] [error] File
"/usr/lib/python2.6/site-packages/keystoneclient/v2_0/tokens.py", line 37,
in authenticate
[Fri Dec 14 12:35:15 2012] [error] return self._create('/tokens',
params, "access", return_raw=return_raw)
[Fri Dec 14 12:35:15 2012] [error] File
"/usr/lib/python2.6/site-packages/keystoneclient/base.py", line 82, in
_create
[Fri Dec 14 12:35:15 2012] [error] resp, body = self.api.post(url,
body=body)
[Fri Dec 14 12:35:15 2012] [error] File
"/usr/lib/python2.6/site-packages/keystoneclient/client.py", line 179, in
post
[Fri Dec 14 12:35:15 2012] [error] return self._cs_request(url, 'POST',
**kwargs)
[Fri Dec 14 12:35:15 2012] [error] File
"/usr/lib/python2.6/site-packages/keystoneclient/client.py", line 160, in
_cs_request
[Fri Dec 14 12:35:15 2012] [error] **kwargs)
[Fri Dec 14 12:35:15 2012] [error] File
"/usr/lib/python2.6/site-packages/keystoneclient/client.py", line 140, in
request
[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
Re: Horizon - OfflineGenerationError [ In reply to ]
@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

2012/12/14 Andrew Holway <a.holway@syseleven.de>

> Hi,
>
> This worked perfectly on Centos 6.3.
>
> 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
> > Unsubscribe : https://launchpad.net/~openstack
> > More help : https://help.launchpad.net/ListHelp
>
>
>
Re: Horizon - OfflineGenerationError [ In reply to ]
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: Horizon - OfflineGenerationError [ In reply to ]
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.holway@syseleven.de
> <mailto:a.holway@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: Horizon - OfflineGenerationError [ In reply to ]
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@syseleven.de>
> Hi,
>
> This worked perfectly on Centos 6.3.
>
> 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
> > 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: Horizon - OfflineGenerationError [ In reply to ]
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@syseleven.de>

>
> 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@syseleven.de>
> > Hi,
> >
> > This worked perfectly on Centos 6.3.
> >
> > 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
> > > Unsubscribe : https://launchpad.net/~openstack
> > > More help : https://help.launchpad.net/ListHelp
> >
> >
> >
>
>
>
Re: Horizon - OfflineGenerationError [ In reply to ]
Hi guys:

I've re-installed and re-configured again my deployment according to
suggested guide 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@gmail.com>

> 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@syseleven.de>
>
>>
>> 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@syseleven.de>
>> > Hi,
>> >
>> > This worked perfectly on Centos 6.3.
>> >
>> > 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
>> > > Unsubscribe : https://launchpad.net/~openstack
>> > > More help : https://help.launchpad.net/ListHelp
>> >
>> >
>> >
>>
>>
>>
>
Re: Horizon - OfflineGenerationError [ In reply to ]
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/. 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@gmail.com>
> 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@syseleven.de>
>
> 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@syseleven.de>
> > Hi,
> >
> > This worked perfectly on Centos 6.3.
> >
> > 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
> > > 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: Horizon - OfflineGenerationError [ In reply to ]
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@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/.
> 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@gmail.com>
> > 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@syseleven.de>
> >
> > 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@syseleven.de>
> > > Hi,
> > >
> > > This worked perfectly on Centos 6.3.
> > >
> > > 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
> > > > Unsubscribe : https://launchpad.net/~openstack
> > > > More help : https://help.launchpad.net/ListHelp
> > >
> > >
> > >
> >
> >
> >
> >
>
>
>
Re: Horizon - OfflineGenerationError [ In reply to ]
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.


On Mon, Dec 17, 2012 at 7:02 PM, JuanFra Rodriguez Cardoso <
juanfra.rodriguez.cardoso@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.holway@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/.
>> 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@gmail.com>
>> > 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@syseleven.de>
>> >
>> > 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@syseleven.de>
>> > > Hi,
>> > >
>> > > This worked perfectly on Centos 6.3.
>> > >
>> > > 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
>> > > > 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: Horizon - OfflineGenerationError [ In reply to ]
>
> 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?

AFAIK You will need to have the keystone and nova-api processes running in order to use the WebUI.

Cheers,

Andrew


>
> Thanks!
> JuanFra
>
> 2012/12/17 Andrew Holway <a.holway@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/. 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@gmail.com>
> > 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@syseleven.de>
> >
> > 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@syseleven.de>
> > > Hi,
> > >
> > > This worked perfectly on Centos 6.3.
> > >
> > > 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
> > > > 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: Horizon - OfflineGenerationError [ In reply to ]
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@gmail.com
> <mailto:juanfra.rodriguez.cardoso@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.holway@syseleven.de
> <mailto:a.holway@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.cardoso@gmail.com
> <mailto:juanfra.rodriguez.cardoso@gmail.com>>
> > 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@syseleven.de
> <mailto:a.holway@syseleven.de>>
> >
> > 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@syseleven.de
> <mailto:a.holway@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
> <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
>


_______________________________________________
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: Horizon - OfflineGenerationError [ In reply to ]
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.


2012/12/18 Matthias Runge <mrunge@redhat.com>

> 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@gmail.com
> > <mailto:juanfra.rodriguez.cardoso@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.holway@syseleven.de
> > <mailto:a.holway@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.cardoso@gmail.com
> > <mailto:juanfra.rodriguez.cardoso@gmail.com>>
> > > 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@syseleven.de
> > <mailto:a.holway@syseleven.de>>
> > >
> > > 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@syseleven.de
> > <mailto:a.holway@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
> > <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
> >
>
>
> _______________________________________________
> 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: Horizon - OfflineGenerationError [ In reply to ]
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: Horizon - OfflineGenerationError [ In reply to ]
Ok, Matthias. Sorry for confusion, I decided to re-install Folsom 2012.2 in
a parallel testbed. In this way, I avoided any incompatibility with
migration from Essex.
I continue researching and I will report us, ok?

Thanks! ;)

2012/12/18 Matthias Runge <mrunge@redhat.com>

> 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
>
>
>
Re: Horizon - OfflineGenerationError [ In reply to ]
On 12/18/2012 10:11 AM, JuanFra Rodriguez Cardoso wrote:
> Ok, Matthias. Sorry for confusion, I decided to re-install Folsom 2012.2
> in a parallel testbed. In this way, I avoided any incompatibility with
> migration from Essex.
> I continue researching and I will report us, ok?
>
> Thanks! ;)

Great! Thanks for the clarification.

Any feedback is appreciated.

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: Horizon - OfflineGenerationError [ In reply to ]
Hi all:

After multiple attempts, thanks to Matthias Runge's suggestions, I got
Horizon works fine.
It needs nova-* services like nova-volume are running. I chose to not use
volume service, so that I had to create a virtual vg 'nova-volumes' to get
Horizon works. Here I attach code for creation and deletion of a volume
group (100M) over an loop device:

-- Create --
if [ "$(vgscan | grep -i nova-volumes)" == "" ]
then
[ -f PATH/nova-volumes.disk ] || touch PATH/nova-volumes.disk
dd if=/dev/zero of=PATH/nova-volumes.disk bs=4k count=25600
losetup /dev/loop0 PATH/nova-volumes.disk
mke2fs /dev/loop0
pvcreate /dev/loop0
vgcreate nova-volumes /dev/loop0
fi

-- Delete --
[ -f PATH/nova-volumes.disk ] && losetup -d /dev/loop0
rm -rf PATH/nova-volumes.disk



Hope it's useful!

Best,
JuanFra





2012/12/13 JuanFra Rodriguez Cardoso <juanfra.rodriguez.cardoso@gmail.com>

> 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.
>