=== 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 | ||
dbuechler | Hi 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 |
---|---|---|
smoser | dbuechler, kernel version? | 21:18 |
dbuechler | Errrr 3.10? | 21:18 |
smoser | in a kernel > 3.8, cloud-init's "growpart" module calls growpart <root-device> <root-partition> | 21:18 |
smoser | and then resize_root module calls resizefs / | 21:19 |
smoser | or the equivalent. | 21:19 |
smoser | you need growpart to do it. | 21:19 |
dbuechler | So, I need to have growpart installed... in CentOS, growpart is in cloud-utils-growpart ( | 21:19 |
dbuechler | I think) | 21:19 |
smoser | right. | 21:19 |
smoser | so that has to be there. | 21:19 |
smoser | and growpart only knows ow to resize mbr or gpt | 21:20 |
smoser | it can't lvm grow | 21:20 |
dbuechler | AH! | 21:20 |
smoser | patches will be welcome for that. | 21:20 |
dbuechler | Ok. No LVM. Good to know. | 21:20 |
dbuechler | I appreciate the insight. | 21:20 |
smoser | i dont knwo if xfs will work or not. | 21:21 |
smoser | i'd have to look. | 21:21 |
smoser | i think we would try | 21:21 |
smoser | but you'd then need xfs-utils | 21:21 |
dbuechler | I'm pretty sure xfs-utils is installed by default in "Minimal System" configuration, but I'll double-check. | 21:22 |
dbuechler | I'll let you know after I rebuild the VM this afternoon. | 21:22 |
dbuechler | There 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 | ||
smoser | you filed bug in cloud-init ? | 21:27 |
dbuechler | Yes. I'm not sure there's anything you can really do about it except update documentation. | 21:30 |
dbuechler | It was mostly an FYI. | 21:30 |
smoser | dbuechler, well, i'm guessing we could do something. | 21:36 |
dbuechler | smoser: 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 |
smoser | hm.. just use the bzr branch i guess. | 21:38 |
dbuechler | smoser: 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 |
dbuechler | Can you use bzr to get 0.7.6? I'm new to bzr, so I hadn't figured that part out yet. | 21:40 |
smoser | yeah. | 21:41 |
smoser | bzr branch lp:cloud-init | 21:41 |
smoser | cd cloud-init | 21:41 |
smoser | cd .. | 21:41 |
smoser | bzr branch -r 0.7.6 cloud-init 0.7.6 | 21:41 |
dbuechler | Ah! Good to know. Thank you. | 21:42 |
dbuechler | I 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!