The ID for the tenant or
account in a multi-tenancy
cloud.
Lists running services.
{
"services": [
{
"binary": "nova-scheduler",
"host": "host1",
"state": "up",
"status": "disabled",
"updated_at": "2012-10-29T13:42:02.000000",
"zone": "internal"
},
{
"binary": "nova-compute",
"host": "host1",
"state": "up",
"status": "disabled",
"updated_at": "2012-10-29T13:42:05.000000",
"zone": "nova"
},
{
"binary": "nova-scheduler",
"host": "host2",
"state": "down",
"status": "enabled",
"updated_at": "2012-09-19T06:55:34.000000",
"zone": "internal"
},
{
"binary": "nova-compute",
"host": "host2",
"state": "down",
"status": "disabled",
"updated_at": "2012-09-18T08:03:38.000000",
"zone": "nova"
}
]
}
The ID for the tenant or
account in a multi-tenancy
cloud.
Enables scheduling for a
service.
{
"host": "host1",
"binary": "nova-compute"
}
{
"service": {
"host": "host1",
"binary": "nova-compute",
"status": "enabled"
}
}
The ID for the tenant or
account in a multi-tenancy
cloud.
Disables scheduling for a
service.
{
"host": "host1",
"binary": "nova-compute"
}
{
"service": {
"host": "host1",
"binary": "nova-compute",
"status": "disabled"
}
}
The ID for the tenant or
account in a multi-tenancy
cloud.
Logs information to the service
table about why a service was disabled.
{
"host": "host1",
"binary": "nova-compute",
"disabled_reason": "test2"
}
<?xml version='1.0' encoding='UTF-8'?>
<service host="host1" binary="nova-compute" disabled_reason="test2"/>
The host
name.
The service
name.
The reason the service was
disabled.
{
"service": {
"binary": "nova-compute",
"host": "host1",
"disabled_reason": "test2",
"status": "disabled"
}
}
<?xml version='1.0' encoding='UTF-8'?>
<service host="host1" binary="nova-compute" status="disabled" disabled_reason="test2" />
The ID for the tenant or
account in a multi-tenancy
cloud.
Lists disabled services. If
information exists, includes reasons why services were
disabled.
{
"services": [
{
"binary": "nova-scheduler",
"host": "host1",
"state": "up",
"status": "disabled",
"updated_at": "2012-10-29T13:42:02.000000",
"zone": "internal",
"disabled_reason": "test1"
},
{
"binary": "nova-compute",
"host": "host1",
"state": "up",
"status": "disabled",
"updated_at": "2012-10-29T13:42:05.000000",
"zone": "nova",
"disabled_reason": "test2"
},
{
"binary": "nova-scheduler",
"host": "host2",
"state": "down",
"status": "enabled",
"updated_at": "2012-09-19T06:55:34.000000",
"zone": "internal",
"disabled_reason": ""
},
{
"binary": "nova-compute",
"host": "host2",
"state": "down",
"status": "disabled",
"updated_at": "2012-09-18T08:03:38.000000",
"zone": "nova",
"disabled_reason": "test4"
}
]
}
<services>
<service status="disabled" binary="nova-scheduler" zone="internal" state="up" host="host1" updated_at="2012-10-29T13:42:02.000000" disabled_reason="test1"/>
<service status="disabled" binary="nova-compute" zone="nova" state="up" host="host1" updated_at="2012-10-29T13:42:05.000000" disabled_reason="test2"/>
<service status="enabled" binary="nova-scheduler" zone="internal" state="down" host="host2" updated_at="2012-09-19T06:55:34.000000" disabled_reason=""/>
<service status="disabled" binary="nova-compute" zone="nova" state="down" host="host2" updated_at="2012-09-18T08:03:38.000000" disabled_reason="test4"/>
</services>