How to create customized Horizon Page
Hi,
I tried following the steps on to customise our own Horizon page.
- I cloned the latest source from git [horizon-master]
mkdir openstack_dashboard/dashboards/mydashboard
./run_tests.sh -m startdash mydashboard --target openstack_dashboard/dashboards/mydashboard
This step gave me error as:
root@ubuntu:/home/sudharsan/horizon-master# ./run_tests.sh -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 https://pypi.python.org/simple/
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/with_venv.sh pip install --upgrade pip>=1.4" failed.
None
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.
Home-page: https://pip.pypa.io/
Author: The pip developers
Author-email: python-virtualenv@groups.google.com
License: MIT
Location: /usr/local/lib/python2.7/dist-packages/pip-7.0.3-py2.7.egg
Requires:
Entry-points:
[console_scripts]
pip = pip:main
pip2.7 = pip:main
pip2 = pip:main
root@ubuntu:/home/sudharsan/horizon-master#
Can you please try this workaround as given here