It seems that the problem my be related to running nova api under apache using wsgi.
Nova tries to discover version of nova api in https://github.com/openstack/nova/blame/master/nova/compute/api.py#L2264 by using the registered services. When running nova under apache, api service is not registered in services table so service_version is set to 0 so behavior is incorrect.
It seems that the problem my be related to running nova api under apache using wsgi.
Nova tries to discover version of nova api in https:/ /github. com/openstack/ nova/blame/ master/ nova/compute/ api.py# L2264 by using the registered services. When running nova under apache, api service is not registered in services table so service_version is set to 0 so behavior is incorrect.