cdocutils.nodes
document
q)q}q(U nametypesq}q(X problem descriptionqNX documentation impactqNX data model impactqNX4 report host fault to update server state immediatelyq NX security impactq
NX implementationqNX assignee(s)qNX testingq
NX alternativesqNX
work itemsqNX notifications impactqNX other end user impactqNX proposed changeqNX dependenciesqNX developer impactqNX use casesqNX other deployer impactqNX
referencesqNX performance impactqNX project priorityqNX rest api impactqNuUsubstitution_defsq}qUparse_messagesq]q(cdocutils.nodes
system_message
q)q }q!(U rawsourceq"U U
attributesq#}q$(Udupnamesq%]UlevelKUidsq&]Ubackrefsq']UsourceX /opt/jenkins-ci/jobs/opnfv-docs-merge-colorado/workspace/docs_build/_src/design/report-host-fault-to-update-server-state-immediately.rstq(Uclassesq)]Unamesq*]UlineKUtypeUINFOq+uUparentq,cdocutils.nodes
list_item
q-)q.}q/(h"X8 Update Compute API to report host is down:
/v2.1/{tenant_id}/os-hosts/{host_name}
Normal response codes: 200
Request parameters
Parameter Style Type Description
host_name URI xsd:string The name of the host of interest to you.
{
"host": {
"status": "enable",
"maintenance_mode": "enable"
"host_down_reported": "true"
}
}
{
"host": {
"host": "65c5d5b7e3bd44308e67fc50f362aee6",
"maintenance_mode": "enabled",
"status": "enabled"
"host_down_reported": "true"
}
}
h,cdocutils.nodes
bullet_list
q0)q1}q2(h"U h,cdocutils.nodes
section
q3)q4}q5(h"U h,h3)q6}q7(h"U h,h3)q8}q9(h"U h,hUsourceq:h(Utagnameq;UsectionqU4report-host-fault-to-update-server-state-immediatelyq?ah*]q@h auUlineqAKUdocumentqBhUchildrenqC]qD(cdocutils.nodes
title
qE)qF}qG(h"X4 Report host fault to update server state immediatelyqHh,h8h:h(h;UtitleqIh#}qJ(h%]h)]h']h&]h*]uhAKhBhhC]qKcdocutils.nodes
Text
qLX4 Report host fault to update server state immediatelyqM qN}qO(h"hHh,hFubaubcdocutils.nodes
paragraph
qP)qQ}qR(h"XK https://blueprints.launchpad.net/nova/+spec/update-server-state-immediatelyqSh,h8h:h(h;U paragraphqTh#}qU(h%]h)]h']h&]h*]uhAKhBhhC]qVcdocutils.nodes
reference
qW)qX}qY(h"hSh#}qZ(UrefurihSh&]h']h%]h)]h*]uh,hQhC]q[hLXK https://blueprints.launchpad.net/nova/+spec/update-server-state-immediatelyq\ q]}q^(h"U h,hXubah;U referenceq_ubaubhP)q`}qa(h"XÏ A new API is needed to report a host fault to change the state of the
instances and compute node immediately. This allows usage of evacuate API
without a delay. The new API provides the possibility for external monitoring
system to detect any kind of host failure fast and reliably and inform
OpenStack about it. Nova updates the compute node state and states of the
instances. This way the states in the Nova DB will be in sync with the
real state of the system.qbh,h8h:h(h;hTh#}qc(h%]h)]h']h&]h*]uhAKhBhhC]qdhLXÏ A new API is needed to report a host fault to change the state of the
instances and compute node immediately. This allows usage of evacuate API
without a delay. The new API provides the possibility for external monitoring
system to detect any kind of host failure fast and reliably and inform
OpenStack about it. Nova updates the compute node state and states of the
instances. This way the states in the Nova DB will be in sync with the
real state of the system.qe qf}qg(h"hbh,h`ubaubh3)qh}qi(h"U h,h8h:h(h;h