Running horizon/dashboard from git (round 2)

Derek Higgins derekh at redhat.com
Mon Jan 16 14:15:56 UTC 2012


Hi Cole,
   I gave this a whirl to see how it would go and managed to get a
running Horizon but have these two error messages in red on the main
screen

Error: Unable to get service info: This error may be caused by a
misconfigured Nova url in keystone's service catalog, or by missing
openstackx extensions in Nova. See the Horizon README.

Error: Unable to get usage info: This error may be caused by a
misconfigured Nova url in keystone's service catalog, or by missing
openstackx extensions in Nova. See the Horizon README.

so maybe it didn't install right at all.... if you want me to try
anything out let me know and I'll give it a go.

see some comments below

Thanks,
Derek.

On 01/13/2012 06:00 PM, Cole Robinson wrote:
> Again, as a precursor, set selinux to permissive and disable the firewall :)

I also had to install the following packages with yum

python-virtualenv libxml2-devel libxslt-devel openldap-devel
rabbitmq-server libvirt libvirt-python qemu qemu-kvm euca2ools

> # Set up keystone configuration (doesn't require daemon running)
> sudo bin/keystone-manage database sync
This (for my environment) should have been
sudo ./tools/with_venv.sh bin/keystone-manage database sync

and the same with the other keystone-manage commands


> # Run glance
sudo mkdir /var/log/glance # I needed to make this directory

> sudo ./tools/with_venv.sh bin/nova-api
> sudo ./tools/with_venv.sh bin/nova-network
> sudo ./tools/with_venv.sh bin/nova-objectstore
> sudo ./tools/with_venv.sh bin/nova-compute
> sudo ./tools/with_venv.sh bin/nova-scheduler
> sudo ./tools/with_venv.sh bin/nova-volume

I needed to start libvirtd and rabbitmq-server before these

Also you can use the command below to start these together, its good
for devel work, although I usually comment out nova-vncproxy and
nova-vsa from the script

sudo ./tools/with_venv.sh bin/nova-all

> ./tools/with_venv.sh python openstack-dashboard/manage.py runserver:9000
I changed this slightly so that It listened to all interfaces

./tools/with_venv.sh python openstack-dashboard/manage.py runserver
0.0.0.0:9000

One more thing, I did have some kind of authentication error trying to
install images for the Nova install, I don't have it any more but if you
want it I can redo the steps to see if I can get it again.



More information about the cloud mailing list