3.39.4. Log disabled service information

 
MethodURIDescription
PUT/v2/{tenant_id}/os-services/disable-log-reason

Logs information to the service table about why a service was disabled.

Normal response codes: 200

 3.39.4.1. Request

This table shows the URI parameters for the log disabled service information request:

NameTypeDescription

{tenant_id}

​String

The ID for the tenant or account in a multi-tenancy cloud.

 

Example 3.326. Log disabled service information: JSON request

{
    "host": "host1",
    "binary": "nova-compute",
    "disabled_reason": "test2"
}

 

Example 3.327. Log disabled service information: XML request

<?xml version='1.0' encoding='UTF-8'?>
<service host="host1" binary="nova-compute" disabled_reason="test2"/>

This operation does not require a request body.

 3.39.4.2. Response

 

Example 3.328. Log disabled service information: JSON response

{
    "service": {
        "binary": "nova-compute",
        "host": "host1",
        "disabled_reason": "test2",
        "status": "disabled"
    }
}

 

Example 3.329. Log disabled service information: XML response

<?xml version='1.0' encoding='UTF-8'?>
<service host="host1" binary="nova-compute" status="disabled" disabled_reason="test2" />

This operation does not return a response body.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page


loading table of contents...