yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #92469
[Bug 2023078] [NEW] Wrong discard value after online volume migration
Public bug reported:
Nova incorrectly sets the libvirt XML after an online volume migration
when the source is a backend that doesn’t support discard (Cinder
doesn't return `discard: true` in the connection dictionary) to one that
does.
It seem like Nova doesn't rebuild the disk XML, so it's missing the
discard=unmap that should have for the new volume.
This bug results in the trimming/unmapping commands not working on the
new volume until the next time Nova connects the volume.
For example an instance reboot will not be enough, but a shelve and
unshelve will do the trick and fstrim will work again.
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/2023078
Title:
Wrong discard value after online volume migration
Status in OpenStack Compute (nova):
New
Bug description:
Nova incorrectly sets the libvirt XML after an online volume migration
when the source is a backend that doesn’t support discard (Cinder
doesn't return `discard: true` in the connection dictionary) to one
that does.
It seem like Nova doesn't rebuild the disk XML, so it's missing the
discard=unmap that should have for the new volume.
This bug results in the trimming/unmapping commands not working on the
new volume until the next time Nova connects the volume.
For example an instance reboot will not be enough, but a shelve and
unshelve will do the trick and fstrim will work again.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/2023078/+subscriptions