← Back to team overview

openstack team mailing list archive

Re: Horizon - OfflineGenerationError

 

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@xxxxxxxxx>

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

References