Just some changes I did to got stack.sh working behind a proxy: devstack/stackrc: Changed all https to http.
devstack/files/pip/*: The same, https to http (-e git+http:// ...) devstack/stack.sh: in the line with PIP INSTALL, I included the --proxy=http://proxy.url:port/ ... (like the lines you showed) in the tests of running services, "while ! wget ....", I added to wget the "--no-proxy" option. And, in /etc/sudoers, added the line: Defaults env_keep += "http_proxy https_proxy no_proxy HTTP_PROXY HTTPS_PROXY NO_PROXY" to keep these variables when sudo is called. In your case the problem seems to be in "origin/master" ... check devstack/stackrc for the correct versions. Here the keystone is stable/diablo and all other are master. Regards. On Sun, Jan 22, 2012 at 2:17 PM, Sagar Nikam <[email protected]>wrote: > Hi All, > > I am new to openstack and trying to install it using devstack. > On executing stack.sh, I am getting the following error > > ++ cat /home/sagar/devstack/files/pips/horizon > /home/sagar/devstack/files/pips/keystone > /home/sagar/devstack/files/pips/tempest > + pip_install django-nose-selenium pycrypto==2.3 -e git+ > https://github.com/jacobian/openstack.compute.git#egg=openstack PassLib > pika > + [[ False = \T\r\u\e ]] > + sudo PIP_DOWNLOAD_CACHE=/var/cache/pip HTTP_PROXY= > http://myproxy.com:8080/ HTTPS_PROXY=https://myproxy.com:8080/ pip > install --use-mirrors django-nose-selenium pycrypto==2.3 -e git+ > https://github.com/jacobian/openstack.compute.git#egg=openstack PassLib > pika > fatal: ambiguous argument 'origin/master': unknown revision or path not in > the working tree. > Use '--' to separate paths from revisions > Downloading/unpacking django-nose-selenium > Running setup.py egg_info for package django-nose-selenium > > Requirement already satisfied (use --upgrade to upgrade): pycrypto==2.3 in > /usr/lib/python2.7/dist-packages > Downloading/unpacking PassLib > Running setup.py egg_info for package PassLib > > no previously-included directories found matching 'docs/_build' > no previously-included directories found matching '*.komodoproject' > Downloading/unpacking pika > Running setup.py egg_info for package pika > > Obtaining openstack from git+ > https://github.com/jacobian/openstack.compute.git#egg=openstack > Updating ./src/openstack clone > Could not find a tag or branch 'origin/master', assuming commit. > Complete output from command /usr/bin/git reset --hard -q origin/master: > > ---------------------------------------- > Command /usr/bin/git reset --hard -q origin/master failed with error code > 128 > Storing complete log in /home/sagar/.pip/pip.log > ++ failed > ++ local r=1 > ++ set +o xtrace > > Attached is the log file. I am running this on a VM within my office > network. > I have set the proxies and then executing stack.sh > http_proxy=http://myproxy.com:8080/ > https_proxy=http://myproxy.com:8080/./stack.sh > > Am I missing something ? > > Regards, > Sagar > > _______________________________________________ > Mailing list: https://launchpad.net/~openstack > Post to : [email protected] > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp > > -- - MSc. Correa, J.L.
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : [email protected] Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp

