Commit a3370d5
committed
terraform: Add fixed storage pathnames for all providers
Now that all cloud providers have consistent device pathnames for
the extra volumes created by terraform, we can make setting the
"data" and "sparse" device names consistent as well.
These symbolic constants can then be used by the volume_group and
devconfig playbooks and the fstests workflow to reliably locate
their block device resources on test runners in the cloud.
Follow the design of the OCI provider and expose the device
pathnames for the data and sparse device so these pathnames can
be used reliably by other kdevops subsystems.
Note that the AWS data volume default, which was hidden in the
Kconfig menu, changes from "/dev/nvme1n1" to
"/dev/disk/kdevops/extra-volume-00." Existing AWS configurations
might break if they depend on the old pathname. Also, "make
menuconfig" by itself does not change the existing value of
TERRAFORM_AWS_DATA_VOLUME_DEVICE_FILE_NAME to the new string.
Users must make that adjustment manually in existing defconfig
files.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>1 parent 0b84294 commit a3370d5
4 files changed
Lines changed: 46 additions & 8 deletions
File tree
- terraform
- aws/kconfigs
- azure/kconfigs
- gce/kconfigs
- oci/kconfigs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
207 | | - | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
| 215 | + | |
| 216 | + | |
216 | 217 | | |
217 | 218 | | |
218 | | - | |
219 | | - | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
262 | | - | |
| 262 | + | |
| 263 | + | |
263 | 264 | | |
264 | 265 | | |
265 | 266 | | |
266 | 267 | | |
267 | 268 | | |
268 | 269 | | |
269 | | - | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
0 commit comments