/srv/irclogs.ubuntu.com/2014/07/02/#cloud-init.txt

=== harlowja is now known as harlowja_away
=== praneshp_ is now known as praneshp
=== evilissimo|afk is now known as evilissimo
=== zz_gondoi is now known as gondoi
CatKillersmoser: Hi Scott, I've got a patch for cloud-image-callback to grow an image14:37
CatKillerit'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 filesystem14:37
CatKiller(running an fsck right before)14:38
CatKillerif that's all OK, we continue the script "as usual"14:38
CatKillerit doesn't support growing raw images and will exit in error if attempted14:38
CatKillerDo you want me to send you that patch?14:38
CatKillersmoser: My bad I made a really bad error in it, it's not quite there yet ;)15:08
=== evilissimo is now known as evilissimo|afk
=== gondoi is now known as zz_gondoi
=== zz_gondoi is now known as gondoi
=== harlowja_away is now known as harlowja
=== gondoi is now known as zz_gondoi
=== zz_gondoi is now known as gondoi
=== gondoi is now known as zz_gondoi
=== harlowja is now known as harlowja_away
=== harlowja_away is now known as harlowja
=== harlowja is now known as harlowja_away
mnaserI have added "resize_rootfs: noblock" in my cloud.cfg20:31
mnaserbut it looks like it's still blocking there20:31
mnaserthis is a vm with a 1.2tb disk.. seems like its taking ages to resize20:32
=== harlowja_away is now known as harlowja
=== zz_gondoi is now known as gondoi
mgagnemnaser: which OS and which version of cloud-init?21:01
mnasermgagne21:01
mnaseroops early enter21:01
mnaserel6 + 0.7.421:02
mnaserfrom epel21:02
mgagnemnaser: 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 work21:04
mnasermgagne: strange .. because i checked the source of it and it seems there as well.. :\21:05
mgagnemnaser: in fact, noblock was broken before 0.7.2: https://github.com/number5/cloud-init/commit/4401877324de10e7d15d9631f9799bfbb54cdf8d#diff-0cbbb4c8c15d47a0e5aebccda88fd9fb21:07
mgagnemnaser: sorry I can't help you more on that one21:08
mnasermgagne: think i found my issue21:48
mnaserJul  2 21:45:59 localhost [CLOUDINIT] util.py[WARNING]: Failed forking and calling callback NoneType21:48
mnaserJul  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 callable21:48
mnasercloud-init --debug single --name resizefs is failing too, good now i can easily debug21:52
=== gondoi is now known as zz_gondoi

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!