manila/releasenotes/notes/fix-share-manager-shrinking-data-loss-state-edc87ba2fd7e32d8.yaml
danielarthurt 7aeed39ba9 Update share-manager behavior for shrink share operation
This patch updates the share-manager to handle with the
"ShareShrinkingPossibleDataLoss" driver exception in an appropriate way
by setting the status to "available", and sending to the user an error
message warning that the shrink operation was not completed.

Change-Id: Ie1e7fcbf116d3fd831e550aa70f02a3aa60291b8
Related-Bug: #1858328
Depends-On: Idf34a149e5a975d5fbced0ec78d102c5d90b87c6
2020-04-22 15:30:08 +00:00

8 lines
301 B
YAML

---
fixes:
- |
When attempting to shrink a share to a size smaller than the current used
space, the share status will remain as ``available`` instead of
``shrinking_possible_data_loss_error``. The user will receive warning
message saying that the shrink operation was not completed.