python setup.py install hangs during Openstack heat installation -
the server gnu/linux - 2.6.39-400.264.5.el5uek #1 smp tue nov 3 18:17:36 pst 2015 x86_64 x86_64 x86_64 gnu/linux
i downloaded heat-8.0.0.tar linux openstack. did gunzip , tar -xvf. first attempt gave below output -
[root@824s heat-8.0.0]# ./install.sh installing api-paste.ini in /etc/heat installing default.yaml in /etc/heat/environment.d installing policy.json in /etc/heat installing readme-heat.conf.txt in /etc/heat installing aws_cloudwatch_alarm.yaml in /etc/heat/templates installing aws_rds_dbinstance.yaml in /etc/heat/templates traceback (most recent call last): file "setup.py", line 17, in ? import setuptools importerror: no module named setuptools [root@824s heat-8.0.0]# then, below command ran install setuptools module sudo apt-get install python-setuptools
after that, line of 'python setup.py install > /dev/null' present in install.sh seems hung forever, indicated no output after first 6 lines.
[root@824s heat-8.0.0]# ./install.sh not replacing existing config file /etc/heat/api-paste.ini not replacing existing config file /etc/heat/environment.d/default.yaml not replacing existing config file /etc/heat/policy.json not replacing existing config file /etc/heat/readme-heat.conf.txt not replacing existing config file /etc/heat/templates/aws_cloudwatch_alarm.yaml not replacing existing config file /etc/heat/templates/aws_rds_dbinstance.yaml even if line 'python setup.py install' ran separately, still hangs.
python version - python 2.4.3 (#1, jan 9 2013, 01:38:41) [gcc 4.1.2 20080704 (red hat 4.1.2-54)] on linux2
contents of setup.py
# copyright (c) 2013 hewlett-packard development company, l.p. # # licensed under apache license, version 2.0 (the "license"); # may not use file except in compliance license. # may obtain copy of license @ # # http://www.apache.org/licenses/license-2.0 # # unless required applicable law or agreed in writing, software # distributed under license distributed on "as is" basis, # without warranties or conditions of kind, either express or # implied. # see license specific language governing permissions , # limitations under license. # file managed global requirements repo - not edit import setuptools # in python < 2.7.4, lazy loading of package `pbr` break # setuptools if other modules registered functions in `atexit`. # solution from: http://bugs.python.org/issue15881#msg170215 try: import multiprocessing # noqa except importerror: pass setuptools.setup( setup_requires=['pbr>=1.8'], pbr=true) can please me how can complete heat installation ?
Comments
Post a Comment