背景
CentOS7.3でOpenStack NewtonをRDOでインストールした際に、パッケージ(python-tinyrpc)不足で失敗します。
これは必要なリポジトリ設定に不具合がある様子。
日本語情報が少ないので参考情報として投稿してます。
エラー発生状況
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
回避方法
追加の修正パッケージを手動でインストールします。
順番としては、
All-in-one quickstart
https://www.rdoproject.org/install/quickstart/
のStep3のpackstackを実行する手前になります。
# yum -y install yum-plugin-priorities
# curl -o /etc/yum.repos.d/delorean-newton.repo https://buildlogs.centos.org/centos/7/cloud/x86_64/rdo-trunk-newton-tested/delorean.repo
# curl -o /etc/yum.repos.d/delorean-deps-newton.repo https://trunk.rdoproject.org/centos7-newton/delorean-deps.repo
参考情報
RDO Newton (packstack) Set up for three Nodes (Controller+Network+Compute) ML2&OVS&VXLAN on CentOS 7.3
http://dbaxps.blogspot.jp/2016/12/rdo-newton-packstack-set-up-for-three.html
Packstack: Requirement for python-tinyrpc breaks installation
https://ask.openstack.org/en/question/103016/packstack-requirement-for-python-tinyrpc-breaks-installation/