*hi all
i also have the similar error but i dont have the requires: python-tinyrpc
2017-02-22 00:31:50::ERROR::run_setup::1018::root:: Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 1013, in main
_main(options, confFile, logFile)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 660, in _main
runSequences()
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 627, in runSequences
controller.runAllSequences()
File "/usr/lib/python2.7/site-packages/packstack/installer/setup_controller.py", line 81, in runAllSequences
sequence.run(config=self.CONF, messages=self.MESSAGES)
File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 109, in run
step.run(config=config, messages=messages)
File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 50, in run
self.function(config, messages)
File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py", line 214, in apply_puppet_manifest
wait_for_puppet(currently_running, messages)
File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py", line 128, in wait_for_puppet
validate_logfile(log)
File "/usr/lib/python2.7/site-packages/packstack/modules/puppet.py", line 107, in validate_logfile
raise PuppetError(message)
PuppetError: Error appeared during Puppet run: 10.0.40.2_controller.pp
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install openstack-neutron' returned 1: Error: Package: python2-ryu-4.9-2.el7.noarch (openstack-newton)
You will find full trace in log /var/tmp/packstack/20170221-235024-LxFxK3/manifests/10.0.40.2_controller.pp.log
i tried the workaround of jpena-c but when i try to install the rpm file is missing dependencies*
[root@cloud tech5]# rpm -iv python2-tinyrpc-0.5-2.el7.noarch.rpm
error: Failed dependencies:
python-gevent is needed by python2-tinyrpc-0.5-2.el7.noarch
python-zmq is needed by python2-tinyrpc-0.5-2.el7.noarch
i tried to install the firt python-gevent dependences and that was the output:
[root@cloud tech5]# rpm -iv python2-tinyrpc-0.5-2.el7.noarch.rpm python2-gevent-1.1.2-2.el7.x86_64.rpm
error: Failed dependencies:
python-zmq is needed by python2-tinyrpc-0.5-2.el7.noarch
libcares.so.2()(64bit) is needed by python2-gevent-1.1.2-2.el7.x86_64
libev.so.4()(64bit) is needed by python2-gevent-1.1.2-2.el7.x86_64
thanks for your answers.
I found a tinyrpc source RPM at https://cbs.centos.org/koji/buildinfo..., but it doesn't build (the SPECS file contains a line %py2_build, which is interpreted as a job control command, which fails). For now, I don't know enough about building RPMs to solve this.
It turns out the py2_build is a macro I can get from the EPEL package epel-rpm-macros. I can build now until I hit this problem in the test phase of the build:
No RPM is generated. At this point I give up and hope for knowledgeable people to help here.