I've encountered the same error while installing openstack with devstack.

It seems to be caused by an issue in vitrage dashboard plugin.

The relative link in dagre-d3 demo pages can not be resolved in django
compressor.

<script src="../build/dagre-d3.js"></script>

https://github.com/openstack/vitrage-dashboard/blob/master/vitragedashboard/static/vendor/dagre-d3/demo/arrows.html#L8

Currently we can make a work around by removing the demo pages from the
python lib.

$ sudo mv
/opt/stack/vitrage-dashboard/vitragedashboard/static/vendor/dagre-d3/demo/
dagre-d3-demo.backup

Could vitrage and devstack team have a look at it?

--
Yujun Zhang

On Fri, Jul 22, 2016 at 11:04 AM <[email protected]> wrote:

>
> Hi all,
>
> When i use devstack to deploy a OS env, it raise the error.
> The log is as follows.
> Does anybody know how to resolve this problem? Thank you!~
>
> 12 static files copied to '/opt/stack/horizon/static', 1708 unmodified.
> +lib/horizon:init_horizon:152
>  DJANGO_SETTINGS_MODULE=openstack_dashboard.settings
> +lib/horizon:init_horizon:152              django-admin compress --force
> Found 'compress' tags in:
>
> /opt/stack/horizon/openstack_dashboard/templates/horizon/_scripts.html
>         /opt/stack/horizon/openstack_dashboard/templates/horizon/_conf.html
>         /opt/stack/horizon/openstack_dashboard/templates/_stylesheets.html
> Compressing... CommandError: An error occurred during rendering
> /opt/stack/horizon/openstack_dashboard/templates/horizon/_scripts.html:
> '\"../build/dagre-d3.js\"' isn't accessible via COMPRESS_URL
> ('/dashboard/static/') and can't be compressed
> +lib/horizon:init_horizon:1                exit_trap
> +./stack.sh:exit_trap:480                  local r=1
>
>
> BR,
> dwj
>
>
>
> --------------------------------------------------------
> ZTE Information Security Notice: The information contained in this mail (and 
> any attachment transmitted herewith) is privileged and confidential and is 
> intended for the exclusive use of the addressee(s).  If you are not an 
> intended recipient, any disclosure, reproduction, distribution or other 
> dissemination or use of the information contained is strictly prohibited.  If 
> you have received this mail in error, please delete it and notify us 
> immediately.
>
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: [email protected]?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to