SM centos kilo provision of contrail HA is failing at openstack-started due to failed dependency of contrail-openstack on build12 of R3.2.
The setup is in failed state:
Control Nodes : [u'nodec28', u'nodeg37', u'nodec10']
Compute Nodes : [u'nodei17', u'nodei19', u'nodei20']
Openstack Node : [u'nodec28']
WebUI Node : [nodec28, nodeg37, nodec10 ]
Analytics Nodes : [u'nodec28', u'nodeg37', u'nodec10']
Database Nodes : [u'nodec28', u'nodeg37', u'nodec10']
SM: nodej3.englab.juniper.net
root@nodej3:~# server-manager status server --cluster_id cluster5sanity
{
"server": [
{
"id": "nodec28",
"ip_address": "10.204.217.13",
"mac_address": "00:25:90:C3:08:82",
"status": "openstack_started" <<<<<<<
},
{
"id": "nodeg37",
"ip_address": "10.204.217.77",
"mac_address": "00:25:90:C5:60:E0",
"status": "database_completed"
},
{
"id": "nodec10",
"ip_address": "10.204.217.176",
"mac_address": "00:25:90:C4:83:E4",
"status": "database_completed"
},
{
"id": "nodei17",
"ip_address": "10.204.217.129",
"mac_address": "00:25:90:E7:82:5A",
"status": "provision_started"
},
{
"id": "nodei19",
"ip_address": "10.204.217.131",
"mac_address": "00:25:90:E7:7E:74",
"status": "provision_started"
},
{
"id": "nodei20",
"ip_address": "10.204.217.132",
"mac_address": "00:25:90:E7:7F:B0",
"status": "provision_started"
}
]
}
root@nodej3:~#
log info from syslog:
Dec 13 04:45:31 nodec28 puppet-agent[19095]: Could not update: Execution of '/usr/bin/yum -d 0 -e 0 -y install contrail-openstack' returned 1: Error: Package: python2-cryptography-1.3.1-3.el7.x86_64 (base)
Dec 13 04:45:31 nodec28 puppet-agent[19095]: Requires: python-cffi >= 1.4.1
Dec 13 04:45:31 nodec28 puppet-agent[19095]: Available: python-cffi-0.8.6-1.el7.x86_64 (centos71kilo12)
Dec 13 04:45:31 nodec28 puppet-agent[19095]: python-cffi = 0.8.6-1.el7
Dec 13 04:45:31 nodec28 puppet-agent[19095]: You could try using --skip-broken to work around the problem
Dec 13 04:45:31 nodec28 puppet-agent[19095]: You could try running: rpm -Va --nofiles --nodigest
Dec 13 04:45:31 nodec28 puppet-agent[19095]: Wrapped exception:
Dec 13 04:45:31 nodec28 puppet-agent[19095]: Execution of '/usr/bin/yum -d 0 -e 0 -y install contrail-openstack' returned 1: Error: Package: python2-cryptography-1.3.1-3.el7.x86_64 (base)
Dec 13 04:45:31 nodec28 puppet-agent[19095]: Requires: python-cffi >= 1.4.1
Dec 13 04:45:31 nodec28 puppet-agent[19095]: Available: python-cffi-0.8.6-1.el7.x86_64 (centos71kilo12)
Dec 13 04:45:31 nodec28 puppet-agent[19095]: python-cffi = 0.8.6-1.el7
Dec 13 04:45:31 nodec28 puppet-agent[19095]: You could try using --skip-broken to work around the problem
Dec 13 04:45:31 nodec28 puppet-agent[19095]: You could try running: rpm -Va --nofiles --nodigest
Dec 13 04:45:31 nodec28 puppet-agent[19095]: (/Stage[openstack]/Contrail::Profile::Openstack_controller/Package[contrail-openstack]/ensure) change from absent to latest failed: Could not update: Execution of '/usr/bin/yum -d 0 -e 0 -y install contrail-openstack' returned 1: Error: Package: python2-cryptography-1.3.1-3.el7.x86_64 (base)
Dec 13 04:45:31 nodec28 puppet-agent[19095]: (/Stage[openstack]/Contrail::Profile::Openstack_controller/Package[contrail-openstack]/ensure) Requires: python-cffi >= 1.4.1
Dec 13 04:45:31 nodec28 puppet-agent[19095]: (/Stage[openstack]/Contrail::Profile::Openstack_controller/Package[contrail-openstack]/ensure) Available: python-cffi-0.8.6-1.el7.x86_64 (centos71kilo12)
Dec 13 04:45:31 nodec28 puppet-agent[19095]: (/Stage[openstack]/Contrail::Profile::Openstack_controller/Package[contrail-openstack]/ensure) python-cffi = 0.8.6-1.el7
Dec 13 04:45:31 nodec28 puppet-agent[19095]: (/Stage[openstack]/Contrail::Profile::Openstack_controller/Package[contrail-openstack]/ensure) You could try using --skip-broken to work around the problem
Dec 13 04:45:31 nodec28 puppet-agent[19095]: (/Stage[openstack]/Contrail::Profile::Openstack_controller/Package[contrail-openstack]/ensure) You could try running: rpm -Va --nofiles --nodigest
Dec 13 04:45:31 nodec28 puppet-agent[19095]: (/Stage[openstack]/Memcached/Package[memcached]) Dependency Package[contrail-openstack] has failures: true
Dec 13 04:45:31 nodec28 puppet-agent[19095]: (/Stage[openstack]/Memcached/Package[memcached]) Skipping because of failed dependencies
Dec 13 04:45:31 nodec28 puppet-agent[19095]: (/Stage[openstack]/Memcached/File[/etc/sysconfig/memcached]) Dependency Package[contrail-openstack] has failures: true
Dec 13 04:45:31 nodec28 puppet-agent[19095]: (/Stage[openstack]/Memcached/File[/etc/sysconfig/memcached]) Skipping because of failed dependencies
Dec 13 04:45:31 nodec28 puppet-agent[19095]: (/Stage[openstack]/Memcached/Service[memcached]) Dependency Package[contrail-openstack] has failures: true
Dec 13 04:45:31 nodec28 puppet-agent[19095]: (/Stage[openstack]/Memcached/Service[memcached]) Skipping because of failed dependencies
Dec 13 04:45:31 nodec28 puppet-agent[19095]: (/Stage[openstack]/Mysql::Server/Anchor[mysql::server::start]) Dependency Package[contrail-openstack] has failures: true
Dec 13 04:45:31 nodec28 puppet-agent[19095]: (/Stage[openstack]/Mysql::Server/Anchor[mysql::server::start]) Skipping because of failed dependencies
Dec 13 04:45:31 nodec28 puppet-agent[19095]: (/Stage[openstack]/Mysql::Server::Config/File[mysql-config-file]) Dependency Package[contrail-openstack] has failures: true
Dec 13 04:45:31 nodec28 puppet-agent[19095]: (/Stage[openstack]/Mysql::Server::Config/File[mysql-config-file]) Skipping because of failed dependencies
Review in progress for https:/ /review. opencontrail. org/27229
Submitter: kamlesh parmar (<email address hidden>)