Problems in debian wheezy

Asked by Roman Gorodeckij

Just wondering if debian wheezy supported in devstack? I've got problems with installing openstack.

I'm using this guide, and already 3 times reinstalled the whole OS, and I've got same problems all over again..

The guide: http://devstack.org/guides/single-machine.html

$ uname -a
stack@hp:~$ uname -a
Linux hp 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 GNU/Linux

I'm using HP proliant DL380 G4 rack server at home.

Last time I've stucked with this..

2013-07-30 17:10:00 130730 17:09:48 InnoDB: Completed initialization of buffer pool
2013-07-30 17:10:00 130730 17:09:48 InnoDB: highest supported file format is Barracuda.
2013-07-30 17:10:00 130730 17:09:48 InnoDB: Waiting for the background threads to start
2013-07-30 17:10:00 130730 17:09:49 InnoDB: 5.5.31 started; log sequence number 1595675
2013-07-30 17:10:00 130730 17:09:49 InnoDB: Starting shutdown...
2013-07-30 17:10:00 130730 17:09:50 InnoDB: Shutdown completed; log sequence number 1595675
[ ok 07-30 17:10:00 [....] Starting MySQL database server: mysqld ..
2013-07-30 17:10:00 [info] Checking for tables which need an upgrade, are corrupt or were
2013-07-30 17:10:00 not closed cleanly..
2013-07-30 17:10:00 Setting up libhtml-template-perl (2.91-1) ...
2013-07-30 17:10:00 Setting up mysql-server (5.5.31+dfsg-0+wheezy1) ...
2013-07-30 17:10:00 + is_service_enabled neutron
2013-07-30 17:10:00 + services=neutron
2013-07-30 17:10:00 + for service in '${services}'
2013-07-30 17:10:00 + [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql, =~ ,neutron, ]]
2013-07-30 17:10:00 + [[ neutron == n-cell-* ]]
2013-07-30 17:10:00 + [[ neutron == \n\o\v\a ]]
2013-07-30 17:10:00 + [[ neutron == \c\i\n\d\e\r ]]
2013-07-30 17:10:00 + [[ neutron == \c\e\i\l\o\m\e\t\e\r ]]
2013-07-30 17:10:00 + [[ neutron == \g\l\a\n\c\e ]]
2013-07-30 17:10:00 + [[ neutron == \n\e\u\t\r\o\n ]]
2013-07-30 17:10:00 + [[ g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql =~ q- ]]
2013-07-30 17:10:00 + [[ neutron == \s\w\i\f\t ]]
2013-07-30 17:10:00 + [[ neutron == s-* ]]
2013-07-30 17:10:00 + return 1
2013-07-30 17:10:00 + [[ -n is_fedora ]]
2013-07-30 17:10:00 + [[ wheezy =~ (rhel6) ]]
2013-07-30 17:10:00 + TRACK_DEPENDS=False

in htop we can see it's stucked again on pip install line.. http://i.imgur.com/sa0snFz.png

Canceled installation with ctrl+z. Launching again, now it's stucked on this line:

2013-07-30 17:28:15 + sudo PIP_DOWNLOAD_CACHE=/var/cache/pip HTTP_PROXY= HTTPS_PROXY= NO_PROXY= /usr/bin/pip install --build=/tmp/pip-build.894aW --use-mirrors -r /opt/stack/pbr/requirements.txt

Canceled installation, tried to install by hand packages from /opt/stack/pbr/requirements.txt

stack@hp:~/devstack$ cat /opt/stack/pbr/requirements.txt
setuptools_git>=0.4
pip>=1.0
stack@hp:~/devstack$ sudo pip install -r /opt/stack/pbr/requirements.txt

and now setup continues..

stucked on:

Again stucked on same pip install command.. and here's a hack I've found here: https://bugs.launchpad.net/devstack/+bug/1069309

in devstack/functions file I've removed this line:

# $PIP_MIRROR_OPT $@ \

and now setup continues..

and although it continues.. it breaks once again here... same problem as I had before.. (that's why this question not only about pip command bug)

2013-07-30 17:47:50 Downloading https://pypi.python.org/packages/source/a/anyjson/anyjson-0.3.3.tar.gz#md5=2ea28d6ec311aeeebaf993cb3008b27c
2013-07-30 17:47:50 Processing anyjson-0.3.3.tar.gz
2013-07-30 17:47:50 Running anyjson-0.3.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-TTXVe3/anyjson-0.3.3/egg-dist-tmp-00b1Hc
2013-07-30 17:47:50 Adding anyjson 0.3.3 to easy-install.pth file
2013-07-30 17:47:50
2013-07-30 17:47:50 Installed /usr/local/lib/python2.7/dist-packages/anyjson-0.3.3-py2.7.egg
2013-07-30 17:47:50 error: Installed distribution requests 1.2.3 conflicts with requirement requests>=1.1,<1.2.3
2013-07-30 17:47:50 ++ failed
stack@hp:~/devstack$
stack@hp:~/devstack$ t2013-07-30 17:47:50 ++ local r=1
2013-07-30 17:47:50 +++ jobs -p
2013-07-30 17:47:50 ++ kill
2013-07-30 17:47:50 ++ set +o xtrace
2013-07-30 17:47:50 stack.sh failed: full log in /opt/stack/logs/stack.sh.log.2013-07-30-174522

Trying to fix:

stack@hp:~/devstack$ sudo pip uninstall requests
Uninstalling requests:
  /usr/local/lib/python2.7/dist-packages/requests
  /usr/local/lib/python2.7/dist-packages/requests-1.2.3.egg-info
Proceed (y/n)? y
  Successfully uninstalled requests

stack@hp:~/devstack$ sudo pip install -Iv requests==1.2.2

Now setup continues, breaks again here...

2013-07-30 17:59:00 + NL=$'\r'
'013-07-30 17:59:00 + screen -S stack -p n-api -X stuff 'cd /opt/stack/nova && /usr/local/bin/nova-api || touch "/opt/stack/status/stack/n-api.failure"
2013-07-30 17:59:00 + echo 'Waiting for nova-api to start...'
2013-07-30 17:59:00 Waiting for nova-api to start...
2013-07-30 17:59:00 + wait_for_service 60 http://192.168.1.5:8774
2013-07-30 17:59:00 + local timeout=60
2013-07-30 17:59:00 + local url=http://192.168.1.5:8774
2013-07-30 17:59:00 + timeout 60 sh -c 'while ! http_proxy= https_proxy= curl -s http://192.168.1.5:8774 >/dev/null; do sleep 1; done'
2013-07-30 18:00:00 + die 698 'nova-api did not start'
2013-07-30 18:00:00 + local exitcode=0
stack@hp:~/devstack$ 2013-07-30 18:00:00 + set +o xtrace
2013-07-30 18:00:00 [ERROR] ./stack.sh:698 nova-api did not start

Just asking for assistance, maybe some situations should be submitted as bugs, or they known already. I've did everything exactly as in manual.

Thank you.

Question information

Revision history for this message
Roman Gorodeckij (holms) said :
#1
Revision history for this message
zhangguoqing (474751729-o) said :
#2

+ services=n-api
+ for service in '${services}'
+ [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql, =~ ,n-api, ]]
+ return 0
+ screen_rc n-api 'cd /opt/stack/nova && /usr/local/bin/nova-api'
+ SCREEN_NAME=stack
+ SCREENRC=/opt/stack/devstack/stack-screenrc
+ [[ ! -e /opt/stack/devstack/stack-screenrc ]]
+ grep n-api /opt/stack/devstack/stack-screenrc
++ echo -ne '\015'
+ NL=$'\r'
+ echo 'screen -t n-api bash'
"'echo 'stuff "cd /opt/stack/nova && /usr/local/bin/nova-api
+ [[ True = \T\r\u\e ]]
+ screen -S stack -X screen -t n-api
+ [[ -n '' ]]
+ sleep 1.5
++ echo -ne '\015'
+ NL=$'\r'
+ screen -S stack -p n-api -X stuff 'cd /opt/stack/nova && /usr/local/bin/nova-api || touch "/opt/stack/status/stack/n'api.failure"
+ echo 'Waiting for nova-api to start...'
Waiting for nova-api to start...
+ wait_for_service 60 http://10.1.101.27:8774
+ local timeout=60
+ local url=http://10.1.101.27:8774
+ timeout 60 sh -c 'while ! http_proxy= https_proxy= curl -s http://10.1.101.27:8774 >/dev/null; do sleep 1; done'
+ die 698 'nova-api did not start'
+ local exitcode=0
+ set +o xtrace
[ERROR] stack.sh:698 nova-api did not start

=============================================================================================
The guide: http://devstack.org/guides/single-vm.html

I have try for more than three times, but like above error information......
That's not a chance, should be a bug.

Revision history for this message
Noorul Islam K M (noorul) said :
#3

Can you try screen -x stack and figure out something from nova log?

Can you help with this problem?

Provide an answer of your own, or ask Roman Gorodeckij for more information if necessary.

To post a message you must log in.