Skip to content

Instantly share code, notes, and snippets.

@r1chardj0n3s
Last active March 16, 2016 06:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save r1chardj0n3s/6956d0bc374285a4aff4 to your computer and use it in GitHub Desktop.
Save r1chardj0n3s/6956d0bc374285a4aff4 to your computer and use it in GitHub Desktop.

Install Horizon with the Ironic UI Plugin

Prerequisites need to be installed if you're doing this on a brand new, empty VM. See:

http://docs.openstack.org/developer/horizon/quickstart.html

Install Horizon (note: this is in developer mode) first:

% git clone https://github.com/openstack/horizon.git
% cd horizon
% cp openstack_dashboard/local/local_settings.py.example openstack_dashboard/local/local_settings.py

Edit openstack_dashboard/local/local_settings.py to set OPENSTACK_HOST to the IP of your keystone server.

% ./run_tests.sh --runserver
% ^C

This will install Horizon's dependencies (in .venv) and bring up Horizon in foreground, ^C kills it. Verify it's worked by logging in as admin at http://<IP address>:8000/ where the IP address is whatever host you're currently on.

Now, to install the ironic ui:

% source .venv/bin/activate
% cd ..
% git clone https://git.openstack.org/openstack/ironic-ui
% cd ironic-ui
% pip install -e .
% cp ironic_ui/enabled/_2200_ironic.py ../horizon/openstack_dashboard/local/enabled
% cd ../horizon
% ./run_tests.sh --runserver

The Ironic Bare Metal Provisioning plugin should now be visible in the Horizon navigation in the Admin section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment