Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We've had an lvm_type=thin for quite some time, and we've wanted to make it Cinders default for a while, but there's no clean way to migrate on upgrades. So, we have a compromise, detect if the deployment has volumes (including the thin pool). If there are no LVs or if the thin pool exists, use thin. Otherwise, use the old thick lvm-default. This patch makes the default setting "auto" instead of "default" (which is actually thick). DocImpact: Need to update docs to reflect the default setting for new deployments is auto (thin) Change-Id: If25e814eb6282fef9a1dd30d17c80eab6860e275
- Loading branch information
1 parent
9769c6c
commit 8c57c6d
Showing
3 changed files
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
releasenotes/notes/lvm-type-default-to-auto-a2ad554fc8bb25f2.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
other: | ||
- | | ||
Modify default lvm_type setting from thick to auto. This will result in | ||
Cinder preferring thin on init, if there are no LV's in the VG it will | ||
create a thin-pool and use thin. If there are LV's and no thin-pool | ||
it will continue using thick. |