[14:37] <CatKiller> smoser: Hi Scott, I've got a patch for cloud-image-callback to grow an image
[14:37] <CatKiller> it's fairly simple: if --grow is specified, we try to grow the image first, then when the image is mounted we try to grow the filesystem
[14:38] <CatKiller> (running an fsck right before)
[14:38] <CatKiller> if that's all OK, we continue the script "as usual"
[14:38] <CatKiller> it doesn't support growing raw images and will exit in error if attempted
[14:38] <CatKiller> Do you want me to send you that patch?
[15:08] <CatKiller> smoser: My bad I made a really bad error in it, it's not quite there yet ;)
[20:31] <mnaser> I have added "resize_rootfs: noblock" in my cloud.cfg
[20:31] <mnaser> but it looks like it's still blocking there
[20:32] <mnaser> this is a vm with a 1.2tb disk.. seems like its taking ages to resize
[21:01] <mgagne> mnaser: which OS and which version of cloud-init?
[21:01] <mnaser> mgagne
[21:01] <mnaser> oops early enter
[21:02] <mnaser> el6 + 0.7.4
[21:02] <mnaser> from epel
[21:04] <mgagne> mnaser: ok, I used to patch cloud-init<0.7.2 to add support for the noblock option. but since you have 0.7.4... it should work
[21:05] <mnaser> mgagne: strange .. because i checked the source of it and it seems there as well.. :\
[21:07] <mgagne> mnaser: in fact, noblock was broken before 0.7.2: https://github.com/number5/cloud-init/commit/4401877324de10e7d15d9631f9799bfbb54cdf8d#diff-0cbbb4c8c15d47a0e5aebccda88fd9fb
[21:08] <mgagne> mnaser: sorry I can't help you more on that one
[21:48] <mnaser> mgagne: think i found my issue
[21:48] <mnaser> Jul  2 21:45:59 localhost [CLOUDINIT] util.py[WARNING]: Failed forking and calling callback NoneType
[21:48] <mnaser> Jul  2 21:45:59 localhost [CLOUDINIT] util.py[DEBUG]: Failed forking and calling callback NoneType#012Traceback (most recent call last):#012  File "/usr/lib/python2.6/site-packages/cloudinit/util.py", line 220, in fork_cb#012    child_cb(*args)#012TypeError: 'NoneType' object is not callable
[21:52] <mnaser> cloud-init --debug single --name resizefs is failing too, good now i can easily debug