Comment 7 for bug 1677376

Revision history for this message
Steve Langasek (vorlon) wrote :

Here's for yakkety. Image with cloud-init 0.7.9-48-g1c795b9-0ubuntu1~16.10.1:

2017-04-19 20:35:34,470 - cc_growpart.py[DEBUG]: No 'growpart' entry in cfg. Using default: {'devices': ['/'], 'mode': 'auto', 'ignore_growroot_disabled': False}
2017-04-19 20:35:34,470 - util.py[DEBUG]: Running command ['growpart', '--help'] with allowed return codes [0] (shell=False, capture=True)
2017-04-19 20:35:34,502 - util.py[DEBUG]: Reading from /proc/1112/mountinfo (quiet=False)
2017-04-19 20:35:34,502 - util.py[DEBUG]: Read 2661 bytes from /proc/1112/mountinfo
2017-04-19 20:35:34,503 - util.py[DEBUG]: resize_devices took 0.001 seconds
2017-04-19 20:35:34,503 - cc_growpart.py[DEBUG]: '/' SKIPPED: stat of '/dev/root' failed: [Errno 2] No such file or directory: '/dev/root'
[...]
2017-04-19 20:35:34,504 - cc_resizefs.py[DEBUG]: resize_info: dev=/dev/root mnt_point=/ path=/
[...]
2017-04-19 20:35:34,509 - cc_resizefs.py[DEBUG]: Converted /dev/root to '/dev/PARTUUID=19fa8722-01' per kernel cmdline
2017-04-19 20:35:34,509 - cc_resizefs.py[WARNING]: Device '/dev/PARTUUID=19fa8722-01' did not exist. cannot resize: dev=/dev/root mnt_point=/ path=/

Image with cloud-init 0.7.9-90-g61eb03fe-0ubuntu1~16.10.1:

2017-04-19 21:41:21,850 - cc_growpart.py[DEBUG]: No 'growpart' entry in cfg. Using default: {'ignore_growroot_disabled': False, 'devices': ['/'], 'mode': 'auto'}
2017-04-19 21:41:21,850 - util.py[DEBUG]: Running command ['growpart', '--help'] with allowed return codes [0] (shell=False, capture=True)
2017-04-19 21:41:21,888 - util.py[DEBUG]: Reading from /proc/1113/mountinfo (quiet=False)
2017-04-19 21:41:21,888 - util.py[DEBUG]: Read 2661 bytes from /proc/1113/mountinfo
[...]
2017-04-19 21:41:21,897 - util.py[DEBUG]: Running command ['growpart', '--dry-run', '/dev/sda', '1'] with allowed return codes [0] (shell=False, capture=True)
2017-04-19 21:41:22,105 - util.py[DEBUG]: Running command ['growpart', '/dev/sda', '1'] with allowed return codes [0] (shell=False, capture=True)
2017-04-19 21:41:22,139 - util.py[DEBUG]: resize_devices took 0.251 seconds
2017-04-19 21:41:22,139 - cc_growpart.py[INFO]: '/' resized: changed (/dev/sda, 1) from 2359296000 to 10736352768
[...]
2017-04-19 21:41:22,140 - cc_resizefs.py[DEBUG]: resize_info: dev=/dev/root mnt_point=/ path=/
[...]
2017-04-19 21:41:22,149 - cc_resizefs.py[DEBUG]: Converted /dev/root to '/dev/disk/by-partuuid/a5711545-01' per kernel cmdline
2017-04-19 21:41:22,149 - cc_resizefs.py[DEBUG]: Resizing / (ext4) using resize2fs /dev/disk/by-partuuid/a5711545-01
2017-04-19 21:41:22,149 - util.py[DEBUG]: Running command ('resize2fs', '/dev/disk/by-partuuid/a5711545-01') with allowed return codes [0] (shell=False, capture=True)
2017-04-19 21:41:22,253 - util.py[DEBUG]: Resizing took 0.104 seconds
2017-04-19 21:41:22,254 - cc_resizefs.py[DEBUG]: Resized root filesystem (type=ext4, val=True)