Ask Your Question

manishsehgal's profile - activity

2017-04-20 12:13:58 -0600 received badge  Nice Question (source)
2017-01-17 11:39:04 -0600 received badge  Famous Question (source)
2017-01-17 11:39:04 -0600 received badge  Notable Question (source)
2016-10-23 23:18:50 -0600 received badge  Self-Learner (source)
2016-10-23 23:18:50 -0600 received badge  Teacher (source)
2016-06-07 04:14:49 -0600 received badge  Student (source)
2015-12-16 11:49:29 -0600 received badge  Famous Question (source)
2015-09-23 05:01:46 -0600 received badge  Notable Question (source)
2015-09-18 14:07:43 -0600 received badge  Enthusiast
2015-09-18 10:45:59 -0600 received badge  Popular Question (source)
2015-09-18 00:06:57 -0600 received badge  Popular Question (source)
2015-09-16 19:59:14 -0600 asked a question Devstack installation error: python: can't open file '/opt/stack/devstack/files/get-pip.py': [Errno 2] No such file or directory

Hi There,

I am trying to install openstack on Ubuntu 14.04. I am following the steps mentioned on devstack for multinode installation. Controller installation is failing with following error:

2015-09-16 23:16:52.495 | Reading package lists...
2015-09-16 23:16:52.708 | Building dependency tree...
2015-09-16 23:16:52.709 | Reading state information...
2015-09-16 23:16:52.878 | Package 'python-pip' is not installed, so not removed
2015-09-16 23:16:52.878 | The following packages were automatically installed and are no longer required:
2015-09-16 23:16:52.878 |   python-chardet-whl python-colorama python-colorama-whl python-distlib
2015-09-16 23:16:52.878 |   python-distlib-whl python-html5lib python-html5lib-whl python-pip-whl
2015-09-16 23:16:52.878 |   python-requests-whl python-setuptools-whl python-six-whl python-urllib3-whl
2015-09-16 23:16:52.878 |   python-wheel python3-pkg-resources
2015-09-16 23:16:52.878 | Use 'apt-get autoremove' to remove them.
2015-09-16 23:16:52.918 | 0 upgraded, 0 newly installed, 0 to remove and 115 not upgraded.
2015-09-16 23:16:52.920 | + install_get_pip
2015-09-16 23:16:52.920 | + [[ ! -r /opt/stack/devstack/files/get-pip.py ]]
2015-09-16 23:16:52.920 | + curl --retry 6 --retry-delay 5 -o /opt/stack/devstack/files/get-pip.py http://bootstrap.pypa.io/get-pip.py
2015-09-16 23:16:52.925 |   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
2015-09-16 23:16:52.925 |                                  Dload  Upload   Total   Spent    Left  Speed
2015-09-16 23:16:52.983 | 
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
2015-09-16 23:16:52.985 | + touch /opt/stack/devstack/files/get-pip.py.downloaded
2015-09-16 23:16:52.986 | + sudo -H -E python /opt/stack/devstack/files/get-pip.py
2015-09-16 23:16:53.001 | python: can't open file '/opt/stack/devstack/files/get-pip.py': [Errno 2] No such file or directory
2015-09-16 23:16:53.003 | ++ err_trap
2015-09-16 23:16:53.003 | ++ local r=2
2015-09-16 23:16:53.003 | stack.sh failed: full log in /opt/stack/logs/stack.sh.log.2015-09-16-191644
2015-09-16 23:16:53.004 | Error on exit

I tried to work around the issue by doing following:

  1. sudo apt-get install python.pip
  2. curl command with http instead of https.

But still getting same error. Any pointers are appreciated.

Thanks,

2015-09-16 19:54:27 -0600 received badge  Famous Question (source)
2015-09-16 19:52:35 -0600 asked a question Error during openstak installation

Hi There,

I am trying to install openstack on Ubuntu 14.04. I am following the steps mentioned on devstack for multinode installation. Controller installation is failing with following error:

2015-09-16 23:16:52.495 | Reading package lists...
2015-09-16 23:16:52.708 | Building dependency tree...
2015-09-16 23:16:52.709 | Reading state information...
2015-09-16 23:16:52.878 | Package 'python-pip' is not installed, so not removed
2015-09-16 23:16:52.878 | The following packages were automatically installed and are no longer required:
2015-09-16 23:16:52.878 |   python-chardet-whl python-colorama python-colorama-whl python-distlib
2015-09-16 23:16:52.878 |   python-distlib-whl python-html5lib python-html5lib-whl python-pip-whl
2015-09-16 23:16:52.878 |   python-requests-whl python-setuptools-whl python-six-whl python-urllib3-whl
2015-09-16 23:16:52.878 |   python-wheel python3-pkg-resources
2015-09-16 23:16:52.878 | Use 'apt-get autoremove' to remove them.
2015-09-16 23:16:52.918 | 0 upgraded, 0 newly installed, 0 to remove and 115 not upgraded.
2015-09-16 23:16:52.920 | + install_get_pip
2015-09-16 23:16:52.920 | + [[ ! -r /opt/stack/devstack/files/get-pip.py ]]
2015-09-16 23:16:52.920 | + curl --retry 6 --retry-delay 5 -o /opt/stack/devstack/files/get-pip.py http://bootstrap.pypa.io/get-pip.py
2015-09-16 23:16:52.925 |   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
2015-09-16 23:16:52.925 |                                  Dload  Upload   Total   Spent    Left  Speed
2015-09-16 23:16:52.983 | 
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
2015-09-16 23:16:52.985 | + touch /opt/stack/devstack/files/get-pip.py.downloaded
2015-09-16 23:16:52.986 | + sudo -H -E python /opt/stack/devstack/files/get-pip.py
2015-09-16 23:16:53.001 | python: can't open file '/opt/stack/devstack/files/get-pip.py': [Errno 2] No such file or directory
2015-09-16 23:16:53.003 | ++ err_trap
2015-09-16 23:16:53.003 | ++ local r=2
2015-09-16 23:16:53.003 | stack.sh failed: full log in /opt/stack/logs/stack.sh.log.2015-09-16-191644
2015-09-16 23:16:53.004 | Error on exit

I tried to work around the issue by doing following:

  1. sudo apt-get install python.pip
  2. curl command with http instead of https.

But still getting same error. Any pointers are appreciated.

Thanks,

2015-08-28 01:15:49 -0600 received badge  Notable Question (source)
2015-07-30 05:14:29 -0600 received badge  Popular Question (source)
2015-07-10 04:30:58 -0600 received badge  Famous Question (source)
2015-07-09 21:19:03 -0600 answered a question how to determine my Openstack release name

Well above answers did not work. Finally an expert help came and here is their answer (that worked). Use the command "git branch -la". It will show a * in front of the release that is running on the system. Below is output from my machine.

stack@Selm:~/devstack$ git branch -la
* master
  remotes/origin/HEAD -> origin/master
  remotes/origin/master
  remotes/origin/stable/juno
  remotes/origin/stable/kilo
stack@Selm:~/devstack$

In above output * is in front of master. This means that my system is running the current release that was on devstack, which is liberty. Because I followed the following command during installation:

git clone https://git.openstack.org/openstack-dev/devstack

So my system got latest release i.e. liberty. liberty is currently master release so * is in front of master instead of juno or kilo. If some other stable release is required then use following command:

git clone https://git.openstack.org/openstack-dev/devstack  -b stable/juno
cd devstack
./stack.sh

It will install juno. And after that if we execute "git branch -la" then * will be in front of juno

2015-07-09 21:07:22 -0600 received badge  Notable Question (source)
2015-07-09 12:01:03 -0600 received badge  Popular Question (source)
2015-07-09 11:59:19 -0600 commented question how to determine my Openstack release name

Nothing printed from that command: stack@Selm:/opt/stack/nova$ which nova-common stack@Selm:/opt/stack/nova$

stack@Selma-vRR:/opt/stack/nova$ git branch -la * master remotes/origin/HEAD -> origin/master remotes/origin/master remotes/origin/stable/juno remotes/origin/stable/kilo

2015-07-09 09:40:47 -0600 commented question how to determine my Openstack release name

I am running ubuntu 14.4. dpkg -l |grep nova-common did not provide any ouput. Here is output

stack@Selm:~$ dpkg -l | grep nova-common
stack@Selm:~$ 

stack@Selma-vRR:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.2 LTS
R
2015-07-08 18:28:25 -0600 asked a question how to determine my Openstack release name

Hi There,

I am not able to determine the name of Openstack release running on my machine. I tried to match the output of nova package version with webpage listing release name and versions. But my nova package version does not have a match on that site.

stack@Selm:~$  nova-manage  --version

12.0.0

This package is not listed on following release site: https://wiki.openstack.org/wiki/Releases

Could someone please tell me how can I determine the release name running on my machine?

Thanks, Manish

2015-07-07 16:58:43 -0600 answered a question devstack installation failed. ERROR: openstack Gateway Timeout (HTTP 504)

Worked after editing no_proxy variable.

./unstack.sh

export no_proxy=127.0.0.1,<your-ip>

./stack.sh

Regards

2015-07-07 13:33:25 -0600 received badge  Editor (source)
2015-07-07 13:08:17 -0600 asked a question devstack installation failed. ERROR: openstack Gateway Timeout (HTTP 504)

I am using stack.sh from devstack site to install openstack all-in-one machine. After starting keystone, installation is failing at following step:

++ get_or_create_project admin default +++ openstack --os-url=http://10.122.12.145:5000/v3 --os-identity-api-version=3 project create admin --domain=default --or-show -f value -c id ERROR: openstack Gateway Timeout (HTTP 504) ++ local project_id= ++ echo + local admin_tenant=

I am using Ubuntu 14.04.2 LTS. Could you please let me know if anyone has run in to this issue and possible solutions?

Thanks, Manish