Libvirt: enable error_policy option for instances

Registered by Chris St. Pierre

By default, when a libvirt VM encounters a disk error reported from the underlying disk subsystem, it reports this error through to the guest OS in the VM. As a result of this the guest OS usually encounters an error and enters a bad state. This could be a crash, or it could be the file systems inside the guest VM going into read only.

libvirt provides an option, 'error_policy', to configure how to handle these types of errors. We should be able to configure the error policy to do other actions as desired by users. The most obviously useful is error_policy="stop", which makes the VM go into a paused state. In some cases, it may be preferable to pause VMs with I/O errors until the error condition can be resolved, rather than sending them all into an error state.

Blueprint information

Status:
Not started
Approver:
John Garbutt
Priority:
Undefined
Drafter:
Chris St. Pierre
Direction:
Needs approval
Assignee:
Chris St. Pierre
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/libvirt-enable-error-policy-option,n,z

Addressed by: https://review.openstack.org/258144
    Libvirt: enable error_policy option for instances

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.