From b8bbe74818f5a3d402a3acb8da4c7f5df9e357e8 Mon Sep 17 00:00:00 2001 From: ramonskie Date: Fri, 20 Dec 2024 13:19:47 +0100 Subject: [PATCH 01/13] add diskIdTransform rules --- .../stages/bosh_alicloud_agent_settings/assets/agent.json | 5 ++++- .../stages/bosh_aws_agent_settings/assets/agent.json | 4 +++- .../stages/bosh_google_agent_settings/assets/agent.json | 4 +++- .../stages/bosh_openstack_agent_settings/assets/agent.json | 4 +++- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/stemcell_builder/stages/bosh_alicloud_agent_settings/assets/agent.json b/stemcell_builder/stages/bosh_alicloud_agent_settings/assets/agent.json index 43e4cf737..b94e416da 100644 --- a/stemcell_builder/stages/bosh_alicloud_agent_settings/assets/agent.json +++ b/stemcell_builder/stages/bosh_alicloud_agent_settings/assets/agent.json @@ -3,7 +3,10 @@ "Linux": { "PartitionerType": "parted", "CreatePartitionIfNoEphemeralDisk": true, - "DevicePathResolutionType": "virtio" + "DevicePathResolutionType": "virtio", + "ServiceManager": "systemd", + "DiskIDTransformPattern": "^d-(.+)$", + "DiskIDTransformReplacement": "virtio-${1}" } }, "Infrastructure": { diff --git a/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.json b/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.json index 1bcdf1171..f3b34e846 100644 --- a/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.json +++ b/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.json @@ -4,7 +4,9 @@ "PartitionerType": "parted", "DevicePathResolutionType": "virtio", "CreatePartitionIfNoEphemeralDisk": true, - "ServiceManager": "systemd" + "ServiceManager": "systemd", + "DiskIDTransformPattern": "^(vol-(.+))$", + "DiskIDTransformReplacement": "nvme-Amazon_Elastic_Block_Store_vol${2}" } }, "Infrastructure": { diff --git a/stemcell_builder/stages/bosh_google_agent_settings/assets/agent.json b/stemcell_builder/stages/bosh_google_agent_settings/assets/agent.json index 4927e7370..ca2721745 100644 --- a/stemcell_builder/stages/bosh_google_agent_settings/assets/agent.json +++ b/stemcell_builder/stages/bosh_google_agent_settings/assets/agent.json @@ -5,7 +5,9 @@ "PartitionerType": "parted", "DevicePathResolutionType": "virtio", "VirtioDevicePrefix": "google", - "ServiceManager": "systemd" + "ServiceManager": "systemd", + "DiskIDTransformPattern": "^(disk-.+)$", + "DiskIDTransformReplacement": "google-${1}" } }, "Infrastructure": { diff --git a/stemcell_builder/stages/bosh_openstack_agent_settings/assets/agent.json b/stemcell_builder/stages/bosh_openstack_agent_settings/assets/agent.json index 30ce5d9c8..a6e17ce01 100644 --- a/stemcell_builder/stages/bosh_openstack_agent_settings/assets/agent.json +++ b/stemcell_builder/stages/bosh_openstack_agent_settings/assets/agent.json @@ -4,7 +4,9 @@ "PartitionerType": "parted", "CreatePartitionIfNoEphemeralDisk": true, "DevicePathResolutionType": "virtio", - "ServiceManager": "systemd" + "ServiceManager": "systemd", + "DiskIDTransformPattern": "^([0-9a-f]{8})-([0-9a-f]{4})-([0-9a-f]{4})-([0-9a-f]{4})-([0-9a-f]{12})$", + "DiskIDTransformReplacement": "scsi-${1}${2}${3}${4}${5}" } }, "Infrastructure": { From a6b83df4735c2c3a989c677dd915cc8fd4ab92ec Mon Sep 17 00:00:00 2001 From: ramonskie Date: Thu, 9 Jan 2025 17:33:50 +0100 Subject: [PATCH 02/13] add agent.json documentation --- .../bosh_aws_agent_settings/assets/agent.md | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.md diff --git a/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.md b/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.md new file mode 100644 index 000000000..b2db5714e --- /dev/null +++ b/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.md @@ -0,0 +1,61 @@ +# Disk ID transform rules +the following 2 json entries +``` +"DiskIDTransformPattern": "^(vol-(.+))$", +"DiskIDTransformReplacement": "nvme-Amazon_Elastic_Block_Store_vol${2}" +``` + +## what it does +the `DiskIDTransformPattern` will match `vol-04b2a40747d7e9625` in to 2 groups `vol-` and `04b2a40747d7e9625` + +the `DiskIDTransformReplacement` will match and replace `04b2a40747d7e9625` with `nvme-Amazon_Elastic_Block_Store_vol04b2a40747d7e9625` + +## related information + +contents of persistent_disk_hints.json +``` +{ + "vol-04b2a40747d7e9625": { + "ID": "vol-04b2a40747d7e9625", + "DeviceID": "", + "VolumeID": "/dev/disk/by-id/nvme-Amazon_Elastic_Block_Store_vol04b2a40747d7e9625", + "Lun": "", + "HostDeviceID": "", + "Path": "/dev/disk/by-id/nvme-Amazon_Elastic_Block_Store_vol04b2a40747d7e9625", + "ISCSISettings": { + "InitiatorName": "", + "Username": "", + "Target": "", + "Password": "" + }, + "FileSystemType": "", + "MountOptions": null, + "Partitioner": "" + } +} +``` + +files listed in `/dev/disk/by-id` +``` +nvme-Amazon_Elastic_Block_Store_vol04b2a40747d7e9625 +nvme-Amazon_Elastic_Block_Store_vol04b2a40747d7e9625_1 +nvme-Amazon_Elastic_Block_Store_vol04b2a40747d7e9625_1-part1 +nvme-Amazon_Elastic_Block_Store_vol04b2a40747d7e9625-part1 +nvme-Amazon_Elastic_Block_Store_vol0c2ee6da5d33b8f8b +nvme-Amazon_Elastic_Block_Store_vol0c2ee6da5d33b8f8b_1 +nvme-Amazon_Elastic_Block_Store_vol0c2ee6da5d33b8f8b_1-part1 +nvme-Amazon_Elastic_Block_Store_vol0c2ee6da5d33b8f8b_1-part2 +nvme-Amazon_Elastic_Block_Store_vol0c2ee6da5d33b8f8b-part1 +nvme-Amazon_Elastic_Block_Store_vol0c2ee6da5d33b8f8b-part2 +nvme-Amazon_Elastic_Block_Store_vol0c67d3300b92fe851 +nvme-Amazon_Elastic_Block_Store_vol0c67d3300b92fe851_1 +nvme-Amazon_Elastic_Block_Store_vol0c67d3300b92fe851_1-part1 +nvme-Amazon_Elastic_Block_Store_vol0c67d3300b92fe851-part1 +nvme-nvme.1d0f-766f6c3034623261343037343764376539363235-416d617a6f6e20456c617374696320426c6f636b2053746f7265-00000001 +nvme-nvme.1d0f-766f6c3034623261343037343764376539363235-416d617a6f6e20456c617374696320426c6f636b2053746f7265-00000001-part1 +nvme-nvme.1d0f-766f6c3063326565366461356433336238663862-416d617a6f6e20456c617374696320426c6f636b2053746f7265-00000001 +nvme-nvme.1d0f-766f6c3063326565366461356433336238663862-416d617a6f6e20456c617374696320426c6f636b2053746f7265-00000001-part1 +nvme-nvme.1d0f-766f6c3063326565366461356433336238663862-416d617a6f6e20456c617374696320426c6f636b2053746f7265-00000001-part2 +nvme-nvme.1d0f-766f6c3063363764333330306239326665383531-416d617a6f6e20456c617374696320426c6f636b2053746f7265-00000001 +nvme-nvme.1d0f-766f6c3063363764333330306239326665383531-416d617a6f6e20456c617374696320426c6f636b2053746f7265-00000001-part1 +``` \ No newline at end of file From 8b1e6f631c8c76d824857b14e692a1e92c23dc0f Mon Sep 17 00:00:00 2001 From: ramonskie Date: Fri, 10 Jan 2025 10:13:10 +0100 Subject: [PATCH 03/13] add agent.json documentation for diskidtransformation rules --- .../assets/agent.md | 53 ++++++++++++++++ .../bosh_aws_agent_settings/assets/agent.md | 13 +++- .../assets/agent.md | 62 +++++++++++++++++++ .../assets/agent.md | 59 ++++++++++++++++++ 4 files changed, 184 insertions(+), 3 deletions(-) create mode 100644 stemcell_builder/stages/bosh_alicloud_agent_settings/assets/agent.md create mode 100644 stemcell_builder/stages/bosh_google_agent_settings/assets/agent.md create mode 100644 stemcell_builder/stages/bosh_openstack_agent_settings/assets/agent.md diff --git a/stemcell_builder/stages/bosh_alicloud_agent_settings/assets/agent.md b/stemcell_builder/stages/bosh_alicloud_agent_settings/assets/agent.md new file mode 100644 index 000000000..2f32984b6 --- /dev/null +++ b/stemcell_builder/stages/bosh_alicloud_agent_settings/assets/agent.md @@ -0,0 +1,53 @@ +# Introduction +the problem that we have is that the diskID provided by the IAAS does not correspond with the diskID on the vm +as you can see in the related information part. +therefore we are trying to mitigate this issue by diskIdTransformation as you can see in the example below + +do not that if this fails. it will always fallback to other means of mounting the disk + +## Disk ID transform rules +the following 2 json entries +``` +"DiskIDTransformPattern": "^d-(.+)$", +"DiskIDTransformReplacement": "virtio-${1}" +``` + +## what it does +the `DiskIDTransformPattern` will match `d-gw8ibkvqdrmdqzwpo4rk` in to 2 groups `d-` and `gw8ibkvqdrmdqzwpo4rk` +the `DiskIDTransformReplacement` will match and replace `gw8ibkvqdrmdqzwpo4rk` with `virtio-gw8a1q0dqyqmcjrnetpj` + +the agent will then glob and mount `/dev/disk/by-id/virtio-gw8a1q0dqyqmcjrnetpj` + +## related information +contents of `persistent_disk_hints.json` +``` +{ + "d-gw8ibkvqdrmdqzwpo4rk": { + "ID": "d-gw8ibkvqdrmdqzwpo4rk", + "DeviceID": "", + "VolumeID": "/dev/disk/by-id/virtio-gw8ibkvqdrmdqzwpo4rk", + "Lun": "", + "HostDeviceID": "", + "Path": "/dev/disk/by-id/virtio-gw8ibkvqdrmdqzwpo4rk", + "ISCSISettings": { + "InitiatorName": "", + "Username": "", + "Target": "", + "Password": "" + }, + "FileSystemType": "", + "MountOptions": null, + "Partitioner": "" + } +} +``` +files listed in `/dev/disk/by-id` +``` +virtio-gw8a1q0dqyqmcjrnetpj +virtio-gw8a1q0dqyqmcjrnetpj-part1 +virtio-gw8a1q0dqyqmcjrnetpj-part2 +virtio-gw8au7up14j66ge6u4vs +virtio-gw8au7up14j66ge6u4vs-part1 +virtio-gw8ibkvqdrmdqzwpo4rk +virtio-gw8ibkvqdrmdqzwpo4rk-part1 +``` \ No newline at end of file diff --git a/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.md b/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.md index b2db5714e..d8ce9be47 100644 --- a/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.md +++ b/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.md @@ -1,4 +1,11 @@ -# Disk ID transform rules +# Introduction +the problem that we have is that the diskID provided by the IAAS does not correspond with the diskID on the vm +as you can see in the related information part. +therefore we are trying to mitigate this issue by diskIdTransformation as you can see in the example below + +do not that if this fails. it will always fallback to other means of mounting the disk + +## Disk ID transform rules the following 2 json entries ``` "DiskIDTransformPattern": "^(vol-(.+))$", @@ -7,11 +14,11 @@ the following 2 json entries ## what it does the `DiskIDTransformPattern` will match `vol-04b2a40747d7e9625` in to 2 groups `vol-` and `04b2a40747d7e9625` - the `DiskIDTransformReplacement` will match and replace `04b2a40747d7e9625` with `nvme-Amazon_Elastic_Block_Store_vol04b2a40747d7e9625` -## related information +the agent will then glob and mount `/dev/disk/by-id/nvme-Amazon_Elastic_Block_Store_vol04b2a40747d7e9625` +## related information contents of persistent_disk_hints.json ``` { diff --git a/stemcell_builder/stages/bosh_google_agent_settings/assets/agent.md b/stemcell_builder/stages/bosh_google_agent_settings/assets/agent.md new file mode 100644 index 000000000..23a8fae61 --- /dev/null +++ b/stemcell_builder/stages/bosh_google_agent_settings/assets/agent.md @@ -0,0 +1,62 @@ +# Introduction +the problem that we have is that the diskID provided by the IAAS does not correspond with the diskID on the vm +as you can see in the related information part. +therefore we are trying to mitigate this issue by diskIdTransformation as you can see in the example below + +do not that if this fails. it will always fallback to other means of mounting the disk + +## Disk ID transform rules +the following 2 json entries +``` +"DiskIDTransformPattern": "^(disk-.+)$", +"DiskIDTransformReplacement": "google-${1}" +``` + +## what it does +the `DiskIDTransformPattern` will match `disk-69e53b13-76b3-4400-4437-633782a5cbb5` in to 1 group `disk-69e53b13-76b3-4400-4437-633782a5cbb5` +the `DiskIDTransformReplacement` will match and replace ``disk-69e53b13-76b3-4400-4437-633782a5cbb5` with `google-disk-69e53b13-76b3-4400-4437-633782a5cbb5` + +the agent will then glob and mount `/dev/disk/by-id/google-disk-69e53b13-76b3-4400-4437-633782a5cbb5` + +## related information +contents of `persistent_disk_hints.json` +``` +{ + "disk-69e53b13-76b3-4400-4437-633782a5cbb5": { + "ID": "disk-69e53b13-76b3-4400-4437-633782a5cbb5", + "DeviceID": "", + "VolumeID": "/dev/sdb", + "Lun": "", + "HostDeviceID": "", + "Path": "/dev/sdb", + "ISCSISettings": { + "InitiatorName": "", + "Username": "", + "Target": "", + "Password": "" + }, + "FileSystemType": "", + "MountOptions": null, + "Partitioner": "" + } +} +``` + +files listed in `/dev/disk/by-id` +``` +google-disk-69e53b13-76b3-4400-4437-633782a5cbb5 +google-disk-69e53b13-76b3-4400-4437-633782a5cbb5-part1 +google-persistent-disk-0 +google-persistent-disk-0-part1 +google-persistent-disk-0-part2 +google-persistent-disk-0-part3 +google-persistent-disk-0-part4 +scsi-0Google_PersistentDisk_disk-69e53b13-76b3-4400-4437-633782a5cbb5 +scsi-0Google_PersistentDisk_disk-69e53b13-76b3-4400-4437-633782a5cbb5-part1 +scsi-0Google_PersistentDisk_persistent-disk-0 +scsi-0Google_PersistentDisk_persistent-disk-0-part1 +scsi-0Google_PersistentDisk_persistent-disk-0-part2 +scsi-0Google_PersistentDisk_persistent-disk-0-part3 +scsi-0Google_PersistentDisk_persistent-disk-0-part4 +```nvme.1d0f-766f6c3063363764333330306239326665383531-416d617a6f6e20456c617374696320426c6f636b2053746f7265-00000001-part1 +``` \ No newline at end of file diff --git a/stemcell_builder/stages/bosh_openstack_agent_settings/assets/agent.md b/stemcell_builder/stages/bosh_openstack_agent_settings/assets/agent.md new file mode 100644 index 000000000..fdadd70a2 --- /dev/null +++ b/stemcell_builder/stages/bosh_openstack_agent_settings/assets/agent.md @@ -0,0 +1,59 @@ +# Introduction +the problem that we have is that the diskID provided by the IAAS does not correspond with the diskID on the vm +as you can see in the related information part. +therefore we are trying to mitigate this issue by diskIdTransformation as you can see in the example below + +do not that if this fails. it will always fallback to other means of mounting the disk + +## Disk ID transform rules +the following 2 json entries +``` +"DiskIDTransformPattern": "^([0-9a-f]{8})-([0-9a-f]{4})-([0-9a-f]{4})-([0-9a-f]{4})-([0-9a-f]{12})$", +"DiskIDTransformReplacement": "scsi-${1}${2}${3}${4}${5}" +``` + +## what it does +the `DiskIDTransformPattern` will match `05c185c6-e8a3-4216-ab30-1f5cf7d17f0d` in to 5 groups `05c185c6`, `e8a3`, `4216`, `ab30`, `1f5cf7d17f0d` +the `DiskIDTransformReplacement` will match and replace `scsi-` with the 5 groups `scsi-305c185c6e8a34216ab301f5cf7d17f0d` + +the agent will then glob and mount `/dev/disk/by-id/scsi-305c185c6e8a34216ab301f5cf7d17f0d` + +## related information +contents of `persistent_disk_hints.json` +``` +{ + "05c185c6-e8a3-4216-ab30-1f5cf7d17f0d": { + "ID": "05c185c6-e8a3-4216-ab30-1f5cf7d17f0d", + "DeviceID": "", + "VolumeID": "/dev/sdb", + "Lun": "", + "HostDeviceID": "", + "Path": "/dev/sdb", + "ISCSISettings": { + "InitiatorName": "", + "Username": "", + "Target": "", + "Password": "" + }, + "FileSystemType": "", + "MountOptions": null, + "Partitioner": "" + } +} +``` + +files listed in `/dev/disk/by-id` +``` +scsi-305c185c6e8a34216ab301f5cf7d17f0d +scsi-305c185c6e8a34216ab301f5cf7d17f0d-part1 +scsi-36000c295e04c2c9a4b447d59632b887b +scsi-36000c295e04c2c9a4b447d59632b887b-part1 +scsi-36000c295e04c2c9a4b447d59632b887b-part2 +scsi-36000c295e04c2c9a4b447d59632b887b-part3 +wwn-0x05c185c6e8a34216ab301f5cf7d17f0d +wwn-0x05c185c6e8a34216ab301f5cf7d17f0d-part1 +wwn-0x6000c295e04c2c9a4b447d59632b887b +wwn-0x6000c295e04c2c9a4b447d59632b887b-part1 +wwn-0x6000c295e04c2c9a4b447d59632b887b-part2 +wwn-0x6000c295e04c2c9a4b447d59632b887b-part3 +``` \ No newline at end of file From 31e17ed8480125962e4d8a40c1b5722609c20c51 Mon Sep 17 00:00:00 2001 From: ramonskie Date: Fri, 10 Jan 2025 10:33:34 +0100 Subject: [PATCH 04/13] aws only uses 1 capture group --- .../stages/bosh_aws_agent_settings/assets/agent.json | 4 ++-- .../stages/bosh_aws_agent_settings/assets/agent.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.json b/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.json index f3b34e846..2a0f10a3b 100644 --- a/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.json +++ b/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.json @@ -5,8 +5,8 @@ "DevicePathResolutionType": "virtio", "CreatePartitionIfNoEphemeralDisk": true, "ServiceManager": "systemd", - "DiskIDTransformPattern": "^(vol-(.+))$", - "DiskIDTransformReplacement": "nvme-Amazon_Elastic_Block_Store_vol${2}" + "DiskIDTransformPattern": "^vol-(.+)$", + "DiskIDTransformReplacement": "nvme-Amazon_Elastic_Block_Store_vol${1}" } }, "Infrastructure": { diff --git a/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.md b/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.md index d8ce9be47..378e8f6c0 100644 --- a/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.md +++ b/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.md @@ -8,12 +8,12 @@ do not that if this fails. it will always fallback to other means of mounting th ## Disk ID transform rules the following 2 json entries ``` -"DiskIDTransformPattern": "^(vol-(.+))$", -"DiskIDTransformReplacement": "nvme-Amazon_Elastic_Block_Store_vol${2}" +"DiskIDTransformPattern": "^vol-(.+)$", +"DiskIDTransformReplacement": "nvme-Amazon_Elastic_Block_Store_vol${1}" ``` ## what it does -the `DiskIDTransformPattern` will match `vol-04b2a40747d7e9625` in to 2 groups `vol-` and `04b2a40747d7e9625` +the `DiskIDTransformPattern` will match `vol-04b2a40747d7e9625` in to 1 group `04b2a40747d7e9625` the `DiskIDTransformReplacement` will match and replace `04b2a40747d7e9625` with `nvme-Amazon_Elastic_Block_Store_vol04b2a40747d7e9625` the agent will then glob and mount `/dev/disk/by-id/nvme-Amazon_Elastic_Block_Store_vol04b2a40747d7e9625` From 52ece7c60298cc802d53b3f972b6db6cc91a264e Mon Sep 17 00:00:00 2001 From: ramonskie Date: Fri, 10 Jan 2025 10:37:11 +0100 Subject: [PATCH 05/13] fix typo --- .../stages/bosh_alicloud_agent_settings/assets/agent.md | 6 +++--- .../stages/bosh_aws_agent_settings/assets/agent.md | 6 +++--- .../stages/bosh_google_agent_settings/assets/agent.md | 6 +++--- .../stages/bosh_openstack_agent_settings/assets/agent.md | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/stemcell_builder/stages/bosh_alicloud_agent_settings/assets/agent.md b/stemcell_builder/stages/bosh_alicloud_agent_settings/assets/agent.md index 2f32984b6..6e3df05ef 100644 --- a/stemcell_builder/stages/bosh_alicloud_agent_settings/assets/agent.md +++ b/stemcell_builder/stages/bosh_alicloud_agent_settings/assets/agent.md @@ -1,9 +1,9 @@ # Introduction -the problem that we have is that the diskID provided by the IAAS does not correspond with the diskID on the vm +The problem that we have is that the diskID provided by the IAAS does not correspond with the diskID on the vm as you can see in the related information part. -therefore we are trying to mitigate this issue by diskIdTransformation as you can see in the example below +Therefore we are trying to mitigate this issue by using diskIdTransformation as you can see in the example below -do not that if this fails. it will always fallback to other means of mounting the disk +Do note that if this fails it will always fallback to other means of mounting the disk ## Disk ID transform rules the following 2 json entries diff --git a/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.md b/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.md index 378e8f6c0..a14594d29 100644 --- a/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.md +++ b/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.md @@ -1,9 +1,9 @@ # Introduction -the problem that we have is that the diskID provided by the IAAS does not correspond with the diskID on the vm +The problem that we have is that the diskID provided by the IAAS does not correspond with the diskID on the vm as you can see in the related information part. -therefore we are trying to mitigate this issue by diskIdTransformation as you can see in the example below +Therefore we are trying to mitigate this issue by using diskIdTransformation as you can see in the example below -do not that if this fails. it will always fallback to other means of mounting the disk +Do note that if this fails it will always fallback to other means of mounting the disk ## Disk ID transform rules the following 2 json entries diff --git a/stemcell_builder/stages/bosh_google_agent_settings/assets/agent.md b/stemcell_builder/stages/bosh_google_agent_settings/assets/agent.md index 23a8fae61..84c69973d 100644 --- a/stemcell_builder/stages/bosh_google_agent_settings/assets/agent.md +++ b/stemcell_builder/stages/bosh_google_agent_settings/assets/agent.md @@ -1,9 +1,9 @@ # Introduction -the problem that we have is that the diskID provided by the IAAS does not correspond with the diskID on the vm +The problem that we have is that the diskID provided by the IAAS does not correspond with the diskID on the vm as you can see in the related information part. -therefore we are trying to mitigate this issue by diskIdTransformation as you can see in the example below +Therefore we are trying to mitigate this issue by using diskIdTransformation as you can see in the example below -do not that if this fails. it will always fallback to other means of mounting the disk +Do note that if this fails it will always fallback to other means of mounting the disk ## Disk ID transform rules the following 2 json entries diff --git a/stemcell_builder/stages/bosh_openstack_agent_settings/assets/agent.md b/stemcell_builder/stages/bosh_openstack_agent_settings/assets/agent.md index fdadd70a2..15de26ef8 100644 --- a/stemcell_builder/stages/bosh_openstack_agent_settings/assets/agent.md +++ b/stemcell_builder/stages/bosh_openstack_agent_settings/assets/agent.md @@ -1,9 +1,9 @@ # Introduction -the problem that we have is that the diskID provided by the IAAS does not correspond with the diskID on the vm +The problem that we have is that the diskID provided by the IAAS does not correspond with the diskID on the vm as you can see in the related information part. -therefore we are trying to mitigate this issue by diskIdTransformation as you can see in the example below +Therefore we are trying to mitigate this issue by using diskIdTransformation as you can see in the example below -do not that if this fails. it will always fallback to other means of mounting the disk +Do note that if this fails it will always fallback to other means of mounting the disk ## Disk ID transform rules the following 2 json entries From 7b7ab6c0254c47e9695e5664bb4e62e8c950814f Mon Sep 17 00:00:00 2001 From: Beyhan Veli Date: Thu, 16 Jan 2025 16:51:23 +0100 Subject: [PATCH 06/13] Update stemcell_builder/stages/bosh_alicloud_agent_settings/assets/agent.md Co-authored-by: Benjamin Guttmann --- .../stages/bosh_alicloud_agent_settings/assets/agent.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stemcell_builder/stages/bosh_alicloud_agent_settings/assets/agent.md b/stemcell_builder/stages/bosh_alicloud_agent_settings/assets/agent.md index 6e3df05ef..a9fa514d7 100644 --- a/stemcell_builder/stages/bosh_alicloud_agent_settings/assets/agent.md +++ b/stemcell_builder/stages/bosh_alicloud_agent_settings/assets/agent.md @@ -1,6 +1,5 @@ # Introduction -The problem that we have is that the diskID provided by the IAAS does not correspond with the diskID on the vm -as you can see in the related information part. +The problem that we have is that the diskID provided by the IAAS does not correspond with the diskID on the vm as you can see in the related information part. Therefore we are trying to mitigate this issue by using diskIdTransformation as you can see in the example below Do note that if this fails it will always fallback to other means of mounting the disk From b3d03018ba5a29998bce110dd63de602bfc3e30b Mon Sep 17 00:00:00 2001 From: Beyhan Veli Date: Thu, 16 Jan 2025 16:51:33 +0100 Subject: [PATCH 07/13] Update stemcell_builder/stages/bosh_alicloud_agent_settings/assets/agent.md Co-authored-by: Benjamin Guttmann --- .../stages/bosh_alicloud_agent_settings/assets/agent.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stemcell_builder/stages/bosh_alicloud_agent_settings/assets/agent.md b/stemcell_builder/stages/bosh_alicloud_agent_settings/assets/agent.md index a9fa514d7..107443111 100644 --- a/stemcell_builder/stages/bosh_alicloud_agent_settings/assets/agent.md +++ b/stemcell_builder/stages/bosh_alicloud_agent_settings/assets/agent.md @@ -1,6 +1,6 @@ # Introduction The problem that we have is that the diskID provided by the IAAS does not correspond with the diskID on the vm as you can see in the related information part. -Therefore we are trying to mitigate this issue by using diskIdTransformation as you can see in the example below +Therefore, we are trying to mitigate this issue by using diskIdTransformation as you can see in the example below Do note that if this fails it will always fallback to other means of mounting the disk From a55563533732ff3c65c6fb4fd32a0c14e139be63 Mon Sep 17 00:00:00 2001 From: Beyhan Veli Date: Thu, 16 Jan 2025 16:51:41 +0100 Subject: [PATCH 08/13] Update stemcell_builder/stages/bosh_google_agent_settings/assets/agent.md Co-authored-by: Benjamin Guttmann --- .../stages/bosh_google_agent_settings/assets/agent.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stemcell_builder/stages/bosh_google_agent_settings/assets/agent.md b/stemcell_builder/stages/bosh_google_agent_settings/assets/agent.md index 84c69973d..7c8f5d668 100644 --- a/stemcell_builder/stages/bosh_google_agent_settings/assets/agent.md +++ b/stemcell_builder/stages/bosh_google_agent_settings/assets/agent.md @@ -1,6 +1,5 @@ # Introduction -The problem that we have is that the diskID provided by the IAAS does not correspond with the diskID on the vm -as you can see in the related information part. +The problem that we have is that the diskID provided by the IAAS does not correspond with the diskID on the vm as you can see in the related information part. Therefore we are trying to mitigate this issue by using diskIdTransformation as you can see in the example below Do note that if this fails it will always fallback to other means of mounting the disk From e936205c77c836cad08c56ea3df3a72878e4f5c4 Mon Sep 17 00:00:00 2001 From: Beyhan Veli Date: Thu, 16 Jan 2025 16:51:51 +0100 Subject: [PATCH 09/13] Update stemcell_builder/stages/bosh_openstack_agent_settings/assets/agent.md Co-authored-by: Benjamin Guttmann --- .../stages/bosh_openstack_agent_settings/assets/agent.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stemcell_builder/stages/bosh_openstack_agent_settings/assets/agent.md b/stemcell_builder/stages/bosh_openstack_agent_settings/assets/agent.md index 15de26ef8..93b298ee0 100644 --- a/stemcell_builder/stages/bosh_openstack_agent_settings/assets/agent.md +++ b/stemcell_builder/stages/bosh_openstack_agent_settings/assets/agent.md @@ -1,6 +1,5 @@ # Introduction -The problem that we have is that the diskID provided by the IAAS does not correspond with the diskID on the vm -as you can see in the related information part. +The problem that we have is that the diskID provided by the IAAS does not correspond with the diskID on the vm as you can see in the related information part. Therefore we are trying to mitigate this issue by using diskIdTransformation as you can see in the example below Do note that if this fails it will always fallback to other means of mounting the disk From ad6043f1703fa2bb88b4bcdc8baa1cb0ccc7fd3b Mon Sep 17 00:00:00 2001 From: Beyhan Veli Date: Thu, 16 Jan 2025 16:52:01 +0100 Subject: [PATCH 10/13] Update stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.md Co-authored-by: Benjamin Guttmann --- .../stages/bosh_aws_agent_settings/assets/agent.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.md b/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.md index a14594d29..b33b2356a 100644 --- a/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.md +++ b/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.md @@ -1,6 +1,5 @@ # Introduction -The problem that we have is that the diskID provided by the IAAS does not correspond with the diskID on the vm -as you can see in the related information part. +The problem that we have is that the diskID provided by the IAAS does not correspond with the diskID on the vm as you can see in the related information part. Therefore we are trying to mitigate this issue by using diskIdTransformation as you can see in the example below Do note that if this fails it will always fallback to other means of mounting the disk From 973c7dfb98f6ecc9738a1b258707e143644ebe40 Mon Sep 17 00:00:00 2001 From: Beyhan Veli Date: Thu, 16 Jan 2025 16:52:08 +0100 Subject: [PATCH 11/13] Update stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.md Co-authored-by: Benjamin Guttmann --- stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.md b/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.md index b33b2356a..645d18deb 100644 --- a/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.md +++ b/stemcell_builder/stages/bosh_aws_agent_settings/assets/agent.md @@ -1,6 +1,6 @@ # Introduction The problem that we have is that the diskID provided by the IAAS does not correspond with the diskID on the vm as you can see in the related information part. -Therefore we are trying to mitigate this issue by using diskIdTransformation as you can see in the example below +Therefore, we are trying to mitigate this issue by using diskIdTransformation as you can see in the example below Do note that if this fails it will always fallback to other means of mounting the disk From 2a79f65dce471150af2bc9ec33505fcdf84fccfc Mon Sep 17 00:00:00 2001 From: Beyhan Veli Date: Thu, 16 Jan 2025 16:52:19 +0100 Subject: [PATCH 12/13] Update stemcell_builder/stages/bosh_google_agent_settings/assets/agent.md Co-authored-by: Benjamin Guttmann --- .../stages/bosh_google_agent_settings/assets/agent.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stemcell_builder/stages/bosh_google_agent_settings/assets/agent.md b/stemcell_builder/stages/bosh_google_agent_settings/assets/agent.md index 7c8f5d668..1e8e78ae5 100644 --- a/stemcell_builder/stages/bosh_google_agent_settings/assets/agent.md +++ b/stemcell_builder/stages/bosh_google_agent_settings/assets/agent.md @@ -1,6 +1,6 @@ # Introduction The problem that we have is that the diskID provided by the IAAS does not correspond with the diskID on the vm as you can see in the related information part. -Therefore we are trying to mitigate this issue by using diskIdTransformation as you can see in the example below +Therefore, we are trying to mitigate this issue by using diskIdTransformation as you can see in the example below Do note that if this fails it will always fallback to other means of mounting the disk From 13c2e938b746022edbd541e0bf14c2be4583af5c Mon Sep 17 00:00:00 2001 From: Beyhan Veli Date: Thu, 16 Jan 2025 16:52:27 +0100 Subject: [PATCH 13/13] Update stemcell_builder/stages/bosh_openstack_agent_settings/assets/agent.md Co-authored-by: Benjamin Guttmann --- .../stages/bosh_openstack_agent_settings/assets/agent.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stemcell_builder/stages/bosh_openstack_agent_settings/assets/agent.md b/stemcell_builder/stages/bosh_openstack_agent_settings/assets/agent.md index 93b298ee0..7a79c538c 100644 --- a/stemcell_builder/stages/bosh_openstack_agent_settings/assets/agent.md +++ b/stemcell_builder/stages/bosh_openstack_agent_settings/assets/agent.md @@ -1,6 +1,6 @@ # Introduction The problem that we have is that the diskID provided by the IAAS does not correspond with the diskID on the vm as you can see in the related information part. -Therefore we are trying to mitigate this issue by using diskIdTransformation as you can see in the example below +Therefore, we are trying to mitigate this issue by using diskIdTransformation as you can see in the example below Do note that if this fails it will always fallback to other means of mounting the disk