Think this isn't a bug but was related to SELinux. This issue happend when I upgraded nova on our compute node and then this occured. So I removed the @db.select_db_reader_mode decorator usage in nova/objects/service.py to make it start.
I then proceeded to upgrade Neutron and Ceilometer on the compute nodes, Neutron requires the following SELinux packages to be updated in order for it to work:
When I upgraded that, neutron and ceilometer I didn't bother testing again.
I removed the commented decorators now and restart nova-compute and it worked.
Think this isn't a bug but was related to SELinux. This issue happend when I upgraded nova on our compute node and then this occured. So I removed the @db.select_ db_reader_ mode decorator usage in nova/objects/ service. py to make it start.
I then proceeded to upgrade Neutron and Ceilometer on the compute nodes, Neutron requires the following SELinux packages to be updated in order for it to work:
libselinux libselinux-python libselinux-utils selinux-policy selinux- policy- targeted
When I upgraded that, neutron and ceilometer I didn't bother testing again.
I removed the commented decorators now and restart nova-compute and it worked.
This is the install log:
Mar 31 17:22:07 Installed: 1:python2- nova-20. 1.1-1.el7. noarch nova-common- 20.1.1- 1.el7.noarch nova-compute- 20.1.1- 1.el7.noarch dogpile- cache-0. 6.2-1.el7. noarch nova-18. 2.3-1.el7. noarch dogpile- core-0. 4.1-2.el7. noarch os-traits- 0.16.0- 1.el7.noarch os-ken- 0.4.1-1. el7.noarch neutron- lib-1.29. 1-1.el7. noarch pyroute2- 0.5.6-1. el7.noarch neutron- 15.0.2- 1.el7.noarch neutron- common- 15.0.2- 1.el7.noarch neutron- openvswitch- 15.0.2- 1.el7.noarch neutron- 15.0.2- 1.el7.noarch neutron- 13.0.6- 1.el7.noarch zaqarclient- 1.12.0- 1.el7.noarch ceilometer- 13.1.0- 1.el7.noarch ceilometer- common- 13.1.0- 1.el7.noarch ceilometer- polling- 13.1.0- 1.el7.noarch ceilometer- 11.0.1- 1.el7.noarch
Mar 31 17:22:08 Updated: 1:openstack-
Mar 31 17:22:09 Updated: 1:openstack-
Mar 31 17:22:09 Erased: python-
Mar 31 17:22:11 Erased: 1:python-
Mar 31 17:22:11 Erased: python-
Apr 01 11:49:46 Updated: python2-
Apr 01 11:55:16 Installed: python2-
Apr 01 11:55:17 Updated: python2-
Apr 01 11:55:17 Updated: python2-
Apr 01 11:55:19 Installed: 1:python2-
Apr 01 11:55:20 Updated: 1:openstack-
Apr 01 11:55:21 Updated: 1:openstack-
Apr 01 11:55:22 Updated: 1:openstack-
Apr 01 11:55:25 Erased: 1:python-
Apr 01 11:55:44 Installed: python2-
Apr 01 11:55:45 Installed: 1:python2-
Apr 01 11:55:46 Updated: 1:openstack-
Apr 01 11:55:46 Updated: 1:openstack-
Apr 01 11:55:48 Erased: 1:python-
The possibility of any of the additional packages after nova-compute there fixed it is very low.
The only thing I did manually except for that was to upgrade the SELinux packages mentioned above because that's required by Neutron.