The "PUT /os-services/disable" API is just for a compute service (nova-compute). It says that "Disables scheduling for a Compute service." in the compute API reference.
https://developer.openstack.org/api-ref/compute/?expanded=disable-scheduling-for-a-compute-service-detail#disable-scheduling-for-a-compute-service
But the error message is confusing and there are no checks whether the 'binary' is nova-compute or not. It had better be fixed.
The "PUT /os-services/ disable" API is just for a compute service (nova-compute).
It says that "Disables scheduling for a Compute service." in the compute API reference.
https:/ /developer. openstack. org/api- ref/compute/ ?expanded= disable- scheduling- for-a-compute- service- detail# disable- scheduling- for-a-compute- service
But the error message is confusing and there are no checks whether the 'binary' is nova-compute or not.
It had better be fixed.