Ask Your Question

Packstack: Requirement for python-tinyrpc breaks installation

asked 2017-02-20 18:49:17 -0500

Bernd Bausch gravatar image

I successfully set up an all-in-one packstack yesterday. Today, I fail adding a compute node. The log file contains:

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 (centos-openstack-newton)
           Requires: python-tinyrpc
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Also, yum update on the all-in-one node generates the same error. This is suspiciously similar to an error that recently occurred at a Kolla deployment.

  • Should I just wait until the packaging is fixed?
  • Are there ways to work around this - how do I add the skip-broken option, for example?
edit retag flag offensive close merge delete


I found a tinyrpc source RPM at, 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.

Bernd Bausch gravatar imageBernd Bausch ( 2017-02-20 19:14:53 -0500 )edit

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:

ZMQError: Address already in use

No RPM is generated. At this point I give up and hope for knowledgeable people to help here.

Bernd Bausch gravatar imageBernd Bausch ( 2017-02-20 19:33:07 -0500 )edit

4 answers

Sort by » oldest newest most voted

answered 2017-02-21 01:55:22 -0500

dbaxps gravatar image

updated 2017-02-21 06:11:19 -0500

UPDATE 02/21/17 14:30 MSK
Addressing your issue with adding (comments )
See "RDO Newton Set up for three Nodes on CentOS 7.3"

 Work with packstack via properly written answer file and setup delorean repos via the most recent Newton "current-passed-ci" trunk on each node involved in deployment.

Try packstack install only using Newton the most recent delorean "current-passed-ci" trunk
Detials here
The only RDO repos been set up for packstack

# yum -y install yum-plugin-priorities
# curl -o /etc/yum.repos.d/delorean-newton.repo
# curl -o /etc/yum.repos.d/delorean-deps-newton.repo

Test right now :-

    [alan@fedora24wks ~]$ echo "Testing Curl"
    Testing Curl
    [alan@fedora24wks ~]$ date
    Tue Feb 21 14:55:49 MSK 2017
    [alan@fedora24wks ~]$ curl -o delorean-newton.repo
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100   220  100   220    0     0    464      0 --:--:-- --:--:-- --:--:--   465
    [alan@fedora24wks ~]$ cat delorean-newton.repo
  [alan@fedora24wks ~]$ curl -o delorean-deps-newton.repo
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   449  100   449    0     0    190      0  0:00:02  0:00:02 --:--:--   190
[alan@fedora24wks ~]$ cat delorean-deps-newton.repo


name=RDO CentOS-$releasever - QEMU EV
edit flag offensive delete link more


Thanks, trying it now. A few corrections: The Delorean repo file is now at, and you need to change https to http in delorean-newton.repo to avoid an expired certificate.

Bernd Bausch gravatar imageBernd Bausch ( 2017-02-21 04:01:03 -0500 )edit

The allinone node installs fine, but addition of the compute node fails. I guess that the "normal" repos are used at this point; perhaps it would have worked if I had prepared the compute node as you suggested. I will now try adding tinyrpc manually as suggested by Javier Peña.

Bernd Bausch gravatar imageBernd Bausch ( 2017-02-21 04:27:43 -0500 )edit

Well, see for now
No adding. Just use packstack as it is supposed to work on multi-node deploymennts

dbaxps gravatar imagedbaxps ( 2017-02-21 05:30:48 -0500 )edit

I replaced "http" by "https" per your notice in answer field

dbaxps gravatar imagedbaxps ( 2017-02-21 05:45:34 -0500 )edit

What makes me so sure that mentioned trunk would work ? TripleO QuickStart undercloud node set up does it all the time. Pre-built images
used by TripleO QS are always in sync with this trunk

dbaxps gravatar imagedbaxps ( 2017-02-21 06:27:17 -0500 )edit

answered 2017-02-21 03:31:16 -0500

jpena-c gravatar image

This is a mistake in our repos, we should have added python-tinyrpc when adding python2-ryu-4.9-2.

As a quick workaround while we fix the repo, you can install the missing package from

edit flag offensive delete link more


Yes this worked. In the end, I created the all-in-one controller node using the other repos (first answer), and deployed the compute node after installing the tinyrpc RPM. Thanks both!

Bernd Bausch gravatar imageBernd Bausch ( 2017-02-21 05:06:41 -0500 )edit

How long time fixed it?

niceysj gravatar imageniceysj ( 2017-02-21 20:20:05 -0500 )edit

Thanks jpena-c, is there an ETA for the update in the repo?

alexpilotti gravatar imagealexpilotti ( 2017-02-22 06:15:43 -0500 )edit

The package is now correctly tagged, so I think it should be updated pretty soon.

jpena-c gravatar imagejpena-c ( 2017-02-22 12:23:39 -0500 )edit

answered 2017-02-21 03:50:30 -0500

Rupesh Chowdary gravatar image

Even yum update also not working on nodes means there is some issue on repos. Check the repos are reaching from the nodes or not.

Also try the following,

1.dpkg -l | grep python-tinyrpc (or) dpkg -l | grep python

from the above check python-tinyrpc installed or not . Also check version of the dependency.

  1. apt-cache policy python-tinyrpc Verify the latest version of package and install on the node, apt-get install python-tinyXXXXXXXX
edit flag offensive delete link more


python-tinyrpc is not installed because it doesn't exist in the normal repos. It's a packaging or repo config error as Javier Peña commented a bit earlier. Bad timing for me.

Bernd Bausch gravatar imageBernd Bausch ( 2017-02-21 04:28:54 -0500 )edit

answered 2017-02-22 09:52:07 -0500

fire00m gravatar image

*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/", line 1013, in main
    _main(options, confFile, logFile)
  File "/usr/lib/python2.7/site-packages/packstack/installer/", line 660, in _main
  File "/usr/lib/python2.7/site-packages/packstack/installer/", line 627, in runSequences
  File "/usr/lib/python2.7/site-packages/packstack/installer/", line 81, in runAllSequences, messages=self.MESSAGES)
  File "/usr/lib/python2.7/site-packages/packstack/installer/core/", line 109, in run, messages=messages)
  File "/usr/lib/python2.7/site-packages/packstack/installer/core/", line 50, in run
    self.function(config, messages)
  File "/usr/lib/python2.7/site-packages/packstack/plugins/", line 214, in apply_puppet_manifest
    wait_for_puppet(currently_running, messages)
  File "/usr/lib/python2.7/site-packages/packstack/plugins/", line 128, in wait_for_puppet
  File "/usr/lib/python2.7/site-packages/packstack/modules/", line 107, in validate_logfile
    raise PuppetError(message)
PuppetError: Error appeared during Puppet run:
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/

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 is needed by python2-gevent-1.1.2-2.el7.x86_64 is needed by python2-gevent-1.1.2-2.el7.x86_64

thanks for your answers.

edit flag offensive delete link more



Use yum localinstall python2-tinyrpc.....rpm to install dependencies. Alternatively, try again from the beginning, since the repo should be fixed soon.

Bernd Bausch gravatar imageBernd Bausch ( 2017-02-22 20:48:37 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2017-02-20 18:49:17 -0500

Seen: 922 times

Last updated: Feb 21