How to create customized Horizon Page

asked 2015-06-11 04:10:28 -0600

sudharsan gravatar image

updated 2015-06-11 04:20:38 -0600

uts9 gravatar image


I tried following the steps on to customise our own Horizon page.

  1. I cloned the latest source from git [horizon-master]
  2. mkdir openstack_dashboard/dashboards/mydashboard
  3. ./ -m startdash mydashboard --target openstack_dashboard/dashboards/mydashboard

This step gave me error as:

root@ubuntu:/home/sudharsan/horizon-master# ./ -m startdash mydashboard --target openstack_dashboard/dashboards/mydashboard
Checking environment.
Your environment appears to be out of date. Update? (Y/n) y
Fetching new src packages...
venv already exists...
Installing dependencies with pip (this can take a while)...
--use-mirrors has been deprecated and will be removed in the future. Explicit uses of --index-url and/or --extra-index-url is suggested.
Cannot fetch index base URL
Could not find any downloads that satisfy the requirement pip>=1.4 in ./.venv/lib/python2.7/site-packages
Downloading/unpacking pip>=1.4
Cleaning up...
No distributions at all found for pip>=1.4 in ./.venv/lib/python2.7/site-packages
Storing debug log for failure in /root/.pip/pip.log
Command "tools/ pip install --upgrade pip>=1.4" failed.

Though I have pip of latest version.

root@ubuntu:/home/sudharsan/horizon-master# pip show pip
Metadata-Version: 1.1
Name: pip
Version: 7.0.3
Summary: The PyPA recommended tool for installing Python packages.
Author: The pip developers
License: MIT
Location: /usr/local/lib/python2.7/dist-packages/pip-7.0.3-py2.7.egg
  pip = pip:main
  pip2.7 = pip:main
  pip2 = pip:main
edit retag flag offensive close merge delete


Can you please try this workaround as given here

sunnyarora gravatar imagesunnyarora ( 2015-06-11 07:21:41 -0600 )edit