/srv/irclogs.ubuntu.com/2015/05/21/#cloud-init.txt

=== rangerpb is now known as rangerpbzzzz
=== natorious is now known as zz_natorious
=== zz_natorious is now known as natorious
=== natorious is now known as zz_natorious
=== rangerpbzzzz is now known as rangerpb
=== zz_natorious is now known as natorious
=== natorious is now known as zz_natorious
=== zz_natorious is now known as natorious
dbuechlerHi All!  I've got a stupid question: How does resizing work in cloud-init? I built a custom image for CentOS 7 because the stock images weren't reading metadata correctly. However, it's not resizing correctly and I'm wondering if I built it wrong.  Anything I should avoid? LVM, xfs, etc?19:32
smoserdbuechler, kernel version?21:18
dbuechlerErrrr 3.10?21:18
smoserin a kernel > 3.8, cloud-init's "growpart" module calls growpart <root-device> <root-partition>21:18
smoserand then resize_root module calls resizefs /21:19
smoseror the equivalent.21:19
smoseryou need growpart to do it.21:19
dbuechlerSo, I need to have growpart installed... in CentOS, growpart is in cloud-utils-growpart (21:19
dbuechlerI think)21:19
smoserright.21:19
smoserso that has to be there.21:19
smoserand growpart only knows ow to resize mbr or gpt21:20
smoserit can't lvm grow 21:20
dbuechlerAH!21:20
smoserpatches will be welcome for that.21:20
dbuechlerOk.  No LVM.  Good to know.21:20
dbuechlerI appreciate the insight.21:20
smoseri dont knwo if xfs will work or not.21:21
smoseri'd have to look.21:21
smoseri think we would try21:21
smoserbut you'd then need xfs-utils21:21
dbuechlerI'm pretty sure xfs-utils is installed by default in "Minimal System" configuration, but I'll double-check.21:22
dbuechlerI'll let you know after I rebuild the VM this afternoon.21:22
dbuechlerThere is an issue with the stock version of python-six in CentOS 7.  I filed a bug report on it.21:23
=== rangerpb is now known as rangerpbzzzz
smoseryou filed bug in cloud-init ?21:27
dbuechlerYes. I'm not sure there's anything you can really do about it except update documentation.21:30
dbuechlerIt was mostly an FYI.21:30
smoserdbuechler, well, i'm guessing we could do something.21:36
dbuechlersmoser: I also filed another one regarding 'make rpm' on a tarball of 0.7.6 downloaded from cloud-init.  make-tarball bombs complaining that the directory is not a branch.21:37
smoserhm.. just use the bzr branch i guess.21:38
dbuechlersmoser: Re six - I included my workaround in the bug report... I used pip to upgrade six (it went to 1.9.0) and that solved my problem.21:39
dbuechlerCan you use bzr to get 0.7.6?  I'm new to bzr, so I hadn't figured that part out yet.21:40
smoseryeah.21:41
smoserbzr branch lp:cloud-init21:41
smosercd cloud-init21:41
smosercd ..21:41
smoserbzr branch -r 0.7.6 cloud-init 0.7.6 21:41
dbuechlerAh!  Good to know.  Thank you.21:42
dbuechlerI have to run. I'll let you know how that new image works out. Thank you for your time.21:44
=== natorious is now known as zz_natorious

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