计算节点QEMU使用2.12、libvirt使用4.5.0,控制节点无法找到该计算节点Neutron和Nova服务。
在计算节点中执行命令systemctl restart neutron-*或systemctl restart openstack-nova-*时,提示“Job for openstack-nova-compute.service failed because the control process exited with error code”.
相关组件不兼容。
yum install -y epel-release yum -y install python-pip pip install --upgrade urllib3 pip install requests pip install --upgrade requests
su -s /bin/sh -c "neutron-db-manage --config-file /etc/neutron/neutron.conf \ --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head" neutron su -s /bin/sh -c "nova-manage api_db sync" nova su -s /bin/sh -c "nova-manage cell_v2 map_cell0" nova su -s /bin/sh -c "nova-manage cell_v2 create_cell --name=cell1 --verbose" nova su -s /bin/sh -c "nova-manage db sync" nova su -s /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" nova nova-manage cell_v2 discover_hosts
systemctl restart neutron-* systemctl restart openstack-nova-*