Cloud-init service starts and will run growpart, etc
Feb 06 00:37:26 ubuntu systemd[1]: Starting Initial cloud-init job (pre-networking)...
Feb 06 00:37:37 test-xrdpdnvfctsofyygmzan systemd[1]: Starting Initial cloud-init job (metadata service crawler)...
Something has modified sdb1 (growpart/sgdisk) so we see a change event, and removal of symlink
Feb 06 00:37:42 test-xrdpdnvfctsofyygmzan systemd-udevd[265]: sdb1: Device (SEQNUM=3353, ACTION=change) is queued
Feb 06 00:37:42 test-xrdpdnvfctsofyygmzan systemd-udevd[556]: sdb1: Updating old name, '/dev/disk/by-partuuid/5e01dd62-6f50-4cd7-8f62-30bb372b58ea' no longer belonging to '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:07/VMBUS:01/00000000-0000-8899-0000-000000000000/host0/target0:0:0/0:0:0:0/block/sdb/sdb1'
Feb 06 00:37:42 test-xrdpdnvfctsofyygmzan systemd-udevd[556]: read: off=2244476928 len=26214
Feb 06 00:37:42 test-xrdpdnvfctsofyygmzan systemd-udevd[556]: sdb1: No reference left, removing '/dev/disk/by-partuuid/5e01dd62-6f50-4cd7-8f62-30bb372b58ea'
cc_growpart attempts to check if the block device has been resized and fails
Feb 06 00:37:42 test-xrdpdnvfctsofyygmzan cloud-init[570]: 2020-02-06 00:37:42,658 - util.py[WARNING]: Running module growpart (<module 'cloudinit.config.cc_growpart' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_growpart.py'>) failed
cloud-init now runs resizefs on sdb1
Feb 06 00:37:43 test-xrdpdnvfctsofyygmzan kernel: EXT4-fs (sdb1): resizing filesystem from 548091 to 7836155 blocks
Feb 06 00:37:44 test-xrdpdnvfctsofyygmzan kernel: EXT4-fs (sdb1): resized filesystem to 7836155
Almost a minute later, something triggers a rescan and we see the link return (looks like walinuxagent poking)
Feb 06 00:38:14 test-xrdpdnvfctsofyygmzan systemd-udevd[1482]: sdb1: /usr/lib/udev/rules.d/60-persistent-storage.rules:106 LINK 'disk/by-partuuid/5e01dd62-6f50-4cd7-8f62-30bb372b58ea'
Feb 06 00:38:14 test-xrdpdnvfctsofyygmzan systemd-udevd[1482]: sdb1: Creating symlink '/dev/disk/by-partuuid/5e01dd62-6f50-4cd7-8f62-30bb372b58ea' to '../../sdb1'
Cloud-init service starts and will run growpart, etc
Feb 06 00:37:26 ubuntu systemd[1]: Starting Initial cloud-init job (pre-networking)... sofyygmzan systemd[1]: Starting Initial cloud-init job (metadata service crawler)...
Feb 06 00:37:37 test-xrdpdnvfct
Something has modified sdb1 (growpart/sgdisk) so we see a change event, and removal of symlink sofyygmzan systemd-udevd[265]: sdb1: Device (SEQNUM=3353, ACTION=change) is queued sofyygmzan systemd-udevd[556]: sdb1: Updating old name, '/dev/disk/ by-partuuid/ 5e01dd62- 6f50-4cd7- 8f62-30bb372b58 ea' no longer belonging to '/devices/ LNXSYSTM: 00/LNXSYBUS: 00/PNP0A03: 00/device: 07/VMBUS: 01/00000000- 0000-8899- 0000-0000000000 00/host0/ target0: 0:0/0:0: 0:0/block/ sdb/sdb1' sofyygmzan systemd-udevd[556]: read: off=2244476928 len=26214 sofyygmzan systemd-udevd[556]: sdb1: No reference left, removing '/dev/disk/ by-partuuid/ 5e01dd62- 6f50-4cd7- 8f62-30bb372b58 ea'
Feb 06 00:37:42 test-xrdpdnvfct
Feb 06 00:37:42 test-xrdpdnvfct
Feb 06 00:37:42 test-xrdpdnvfct
Feb 06 00:37:42 test-xrdpdnvfct
cc_growpart attempts to check if the block device has been resized and fails sofyygmzan cloud-init[570]: 2020-02-06 00:37:42,658 - util.py[WARNING]: Running module growpart (<module 'cloudinit. config. cc_growpart' from '/usr/lib/ python3/ dist-packages/ cloudinit/ config/ cc_growpart. py'>) failed
Feb 06 00:37:42 test-xrdpdnvfct
cloud-init now runs resizefs on sdb1 sofyygmzan kernel: EXT4-fs (sdb1): resizing filesystem from 548091 to 7836155 blocks sofyygmzan kernel: EXT4-fs (sdb1): resized filesystem to 7836155
Feb 06 00:37:43 test-xrdpdnvfct
Feb 06 00:37:44 test-xrdpdnvfct
Almost a minute later, something triggers a rescan and we see the link return (looks like walinuxagent poking)
Feb 06 00:38:14 test-xrdpdnvfct sofyygmzan systemd- udevd[1482] : sdb1: /usr/lib/ udev/rules. d/60-persistent -storage. rules:106 LINK 'disk/by- partuuid/ 5e01dd62- 6f50-4cd7- 8f62-30bb372b58 ea' sofyygmzan systemd- udevd[1482] : sdb1: Creating symlink '/dev/disk/ by-partuuid/ 5e01dd62- 6f50-4cd7- 8f62-30bb372b58 ea' to '../../sdb1'
Feb 06 00:38:14 test-xrdpdnvfct