Rebuild detaches block devices when instance is still powered on

Bug #1474278 reported by Roman Podoliaka on 2015-07-14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Roman Podoliaka
Roman Podoliaka
Roman Podoliaka

Bug Description

Upstream bug:

Due to the fact that rebuild detaches block devices when instance is still powered on, data written to attached volumes can possibly be lost, if it hasn't been fsynced yet.

We can prevent this by allowing instance to shut down gracefully before detaching block devices during rebuild.

Changed in mos:
status: Triaged → In Progress

Fix proposed to branch: openstack-ci/fuel-7.0/2015.1.0
Change author: Roman Podoliaka <email address hidden>

Submitter: mos-infra-ci <>
Branch: openstack-ci/fuel-7.0/2015.1.0

Commit: 5add8985f0823d8baa35fb08e95c0634049a8c1d
Author: Roman Podoliaka <email address hidden>
Date: Thu Jul 16 08:22:30 2015

rebuild: make sure server is shut down before volumes are detached

Currently, we detach block devices before an instance is shut down,
which means all the data, which hasn't been fsynced yet, will possibly
be lost.

A tempest test is added in I1158719cb906309a29ea83460e7e35d753ad1081

Closes-Bug: #1474278

Change-Id: I4846418c4dbdae5b1ac1c08e8b9ac8cea5cb2990
Counter: #1

Alexander Gubanov (ogubanov) wrote :

Verified on mos 7.0 (build 257)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers