change_node_power_state action can be used to make a host offline. set_host_offline never be used and the Nova os-hosts API is deprecated. So remove it https://developer.openstack.org/api-ref/compute/?expanded=update-host-status-detail#hosts-os-hosts-deprecated Change-Id: I5f81fc9e2189db39b143d2935540d637bd2d88cc