Ask Your Question
0

CommandError: An error occurred during rendering /opt/stack/horizon/openstack_dashboard/templates/_stylesheets.html

asked 2017-01-18 10:21:47 -0500

SyCode7 gravatar image

This is an issue I have been unable to resolve in the last three days. While installing devstack on ubuntu 14.04 using newton reelease of openstack, the configuration fails . The error displayed is as follows :

 CommandError: An error occurred during rendering /opt/stack/horizon/openstack_dashboard/templates/_stylesheets.html: Couldn't find anything to import: /horizon/lib/roboto_fontface/css/roboto-fontface.scss

I have no idea of causes this error, efforts to resolve it have failed even after applying several solution found online.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-01-18 12:47:22 -0500

thomas.oneill gravatar image

updated 2017-01-18 12:48:30 -0500

Is this your problem? https://github.com/openstack-dev/devstack/blob/master/stack.sh#L92-L95 (https://github.com/openstack-dev/devs...)

Have you followed the steps here properly? http://docs.openstack.org/developer/devstack/ (http://docs.openstack.org/developer/d...)

It looks like you're trying to run stack.sh as root. You need to run as the stack user and also configure sudoers so you can sudo from the stack user without a password.

edit flag offensive delete link more

Comments

@des_consolado i do appreciate your response. I was running as stack user having followed all the instructions in the devstack installation guide. I am not sure why the error appeared. The error disappeared after I changed branch to stable/newton and re-stacked..

SyCode7 gravatar imageSyCode7 ( 2017-01-21 17:13:23 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-01-18 10:21:47 -0500

Seen: 390 times

Last updated: Jan 18 '17