yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #25534
[Bug 1402474] [NEW] Devstack install_pip.py failed the installation
Public bug reported:
I was Installing devstack on ubuntu12.04, when I ran the ./stack.sh
command, got this error:
*************************************************************
+ install_get_pip
+ [[ ! -r /opt/devstack/files/get-pip.py ]]
+ curl -o /opt/devstack/files/get-pip.py https://bootstrap.pypa.io/get-pip.py
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 1309k 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Failed to create the file /opt/devstack/files/get-pip.py: Permission
Warning: denied
0 1309k 0 7130 0 0 7755 0 0:02:52 --:--:-- 0:02:52 10378
curl: (23) Failed writing body (0 != 7130)
+ die 47 'Download of get-pip.py failed'
+ local exitcode=23
+ set +o xtrace
[Call Trace]
/opt/devstack/tools/install_pip.sh:80:install_get_pip
/opt/devstack/tools/install_pip.sh:47:die
[ERROR] /opt/devstack/tools/install_pip.sh:47 Download of get-pip.py failed
++ err_trap
++ local r=23
++ set +o xtrace
stack.sh failed
Error on exit
World dumping... see ./worlddump-2014-12-15-024037.txt for details
df: `/root/.gvfs': Permission denied
*************************************************************
This is a permission issue. The get-pip.py file cannot be created. When
we git clone the devstack dir in opt, we have to use sudo git clone,
because opt is a root dir. As a result, the devstack becomes a root
owner dir. We should user
chown to get the ownership of the devstack dir for stack user as the following command:
chown stack * -R
This command should be added to the official tutorial.
** Affects: cloud-init
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1402474
Title:
Devstack install_pip.py failed the installation
Status in Init scripts for use on cloud images:
New
Bug description:
I was Installing devstack on ubuntu12.04, when I ran the ./stack.sh
command, got this error:
*************************************************************
+ install_get_pip
+ [[ ! -r /opt/devstack/files/get-pip.py ]]
+ curl -o /opt/devstack/files/get-pip.py https://bootstrap.pypa.io/get-pip.py
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 1309k 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Failed to create the file /opt/devstack/files/get-pip.py: Permission
Warning: denied
0 1309k 0 7130 0 0 7755 0 0:02:52 --:--:-- 0:02:52 10378
curl: (23) Failed writing body (0 != 7130)
+ die 47 'Download of get-pip.py failed'
+ local exitcode=23
+ set +o xtrace
[Call Trace]
/opt/devstack/tools/install_pip.sh:80:install_get_pip
/opt/devstack/tools/install_pip.sh:47:die
[ERROR] /opt/devstack/tools/install_pip.sh:47 Download of get-pip.py failed
++ err_trap
++ local r=23
++ set +o xtrace
stack.sh failed
Error on exit
World dumping... see ./worlddump-2014-12-15-024037.txt for details
df: `/root/.gvfs': Permission denied
*************************************************************
This is a permission issue. The get-pip.py file cannot be created.
When we git clone the devstack dir in opt, we have to use sudo git
clone, because opt is a root dir. As a result, the devstack becomes a
root owner dir. We should user
chown to get the ownership of the devstack dir for stack user as the following command:
chown stack * -R
This command should be added to the official tutorial.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1402474/+subscriptions
Follow ups
References