Wednesday, 2020-05-27

*** xiaolin has joined #openstack-dib00:59
openstackgerritMerged openstack/diskimage-builder master: dib-lint: use yamllint to parse YAML files  https://review.opendev.org/73069004:48
openstackgerritMerged openstack/diskimage-builder master: package-installs : allow a list of parameters  https://review.opendev.org/73069104:48
openstackgerritMerged openstack/diskimage-builder master: Revert "Revert "ubuntu-minimal : only install 16.04 HWE kernel on xenial""  https://review.opendev.org/73069204:50
*** TheJulia_ has joined #openstack-dib08:12
*** TheJulia has quit IRC08:20
*** TheJulia_ is now known as TheJulia08:20
*** rpittau|afk is now known as rpittau08:22
*** dtantsur|afk is now known as dtantsur08:32
*** xiaolin has quit IRC08:40
*** xiaolin has joined #openstack-dib09:01
*** rpittau is now known as rpittau|bbl10:07
*** xiaolin has quit IRC10:38
*** rpittau|bbl is now known as rpittau12:06
*** benj_ has quit IRC12:36
*** priteau has joined #openstack-dib15:07
openstackgerritMonty Taylor proposed openstack/diskimage-builder master: Add dependency on yamllint  https://review.opendev.org/73124515:28
*** priteau has quit IRC15:42
*** rpittau is now known as rpittau|afk16:19
*** dtantsur is now known as dtantsur|afk16:26
*** yolanda has quit IRC16:53
openstackgerritColleen Murphy proposed openstack/diskimage-builder master: Pre-install xz package in opensuse chroot  https://review.opendev.org/73099217:45
donnydianw: is there a correct way to use DIB to build images that are used as the base for other DIB images21:13
donnydso say I wanted to build an image that would be a functional baseline for others. I am thinking DIB is capable of this function21:13
prometheanfire2020-05-27 21:49:22.677411 | ubuntu-bionic | + FAILURE_REASON='Root partition of test-image does not appear to have grown: 3348496384 < 5000000000'21:53
prometheanfirehmm, that's new21:53
prometheanfirelooks like a missing dep?22:31
prometheanfirehttps://gist.github.com/prometheanfire/15a6c9aa580b280d4b95e97f13ecd92a22:31
ianwhrm, we saw that on tumbleweed too22:56
ianwprometheanfire: which change did you see this on?22:56
ianwline 5: unsupported command22:59
prometheanfiresgdisk23:02
prometheanfiresfdisk is spitting it out23:02
ianwi feel like i've definitely debugged something like this before and even sent fixes to util-linux23:03
prometheanfireianw: https://gist.github.com/prometheanfire/13a7c7294b55ff2bac9e01995035194f23:03
prometheanfiregentoo is on util-linux 2.35.123:04
prometheanfirewith 3 patches23:04
prometheanfire  3   "${FILESDIR}"/util-linux-2.35.1-include_sys_types-header.patch23:04
prometheanfire  2   "${FILESDIR}"/util-linux-2.35.1-cleanup-pidfd-include.patch23:04
prometheanfire  1   "${FILESDIR}"/util-linux-2.35.1-hwclock-glibc-2.31.patch23:04
prometheanfireI don't think there's a problem with the file construction, more likely a util-linux thing, as you mention23:07
prometheanfirethat would suck, but we could install 2.35.2 if you think it'd help23:07
prometheanfireI'm actually going to try to upgrade that in my test VM now23:08
ianwlooks like focal is 2.3423:09
ianwi bet tumbleweed is 2.3523:09
prometheanfiremaybe related23:10
prometheanfirehttps://gitlab.alpinelinux.org/alpine/aports/issues/1120023:10
prometheanfirethis isn't using musl, just might be related for other reasons23:11
prometheanfiresystemd doesn't even support musl :(23:12
ianwhttps://github.com/karelzak/util-linux/issues/656 is probably what i was thinking of, where " messed up util-linux23:12
ianwhttps://bugzilla.redhat.com/show_bug.cgi?id=1371761 is another one23:13
openstackbugzilla.redhat.com bug 1371761 in util-linux "sfdisk return code breaks growpart" [Unspecified,Closed: errata] - Assigned to kzak23:13
ianwno wonder it feels familiar :)23:13
ianwetrieving: util-linux-2.35.1-1.1.x86_64.rpm [done]23:15
prometheanfireheh23:15
prometheanfirejust need to find that patch23:15
prometheanfirewe could actually fix it in dib itself, insert the patch as a file to /etc/portage/patches/sys-apps/util-linux/foo.patch23:16
prometheanfirenot really fail forwardable though, I'll check .2 first23:18
prometheanfireheh rsync: write failed on "/var/db/repos/gentoo/metadata/md5-cache/sec-policy/selinux-djbdns-2.20190201-r1": No space left on device (28)23:19
ianwfeels like either a util-linux bug or a growpart bug ... i feel like util-linux because why does it need to stop accepting what was previously valid input23:21
prometheanfireI'd agree with that23:22
prometheanfirethe stage3 patch only fails on this now23:23
prometheanfirewould you say that the redhat bug is the right one for this?23:23
prometheanfireno, that's too old23:24
ianwyeah, it's something fresh but similar i'd say23:24
ianwwe know it fails to 2.35.1,  there's a week old 2.35.223:25
ianwi can't figure out how to see what changes are there via github ui, let me pull it23:26
prometheanfireI'm testing 2.35.2 now23:27
prometheanfirehttps://github.com/karelzak/util-linux/compare/v2.35.1...v2.35.223:27
prometheanfirenot sure if that helps23:28
prometheanfiremaybe something in https://github.com/karelzak/util-linux/compare/v2.35.1...v2.35.2#diff-78540eee865812fd1373a2cde7e21d42 specifically23:30
ianwhttps://github.com/karelzak/util-linux/issues/949 looks possibly related23:30
prometheanfirequite a few sfdisk commits23:31
prometheanfireya23:31
ianwcan probably  git  bisect this23:32
prometheanfireI should have only expanded to 10G in my test (so I could run growpart to grow to 20G23:32
prometheanfiregonna rebuild the image, expand to 10G manually, upgrade util-linux then growpart23:32
prometheanfireianw: yep, 'fixed' it23:46
prometheanfiremax_end=41943007 tot=41943040 pt_end=20973568 pt_start=2048 pt_size=2097152023:46
prometheanfireresize of /dev/vda returned 0.23:46
prometheanfireCHANGED: partition=1 start=2048 old: size=20971520 end=20973568 new: size=41940959,end=4194300723:46
prometheanfireianw: so, mind if I include that keyword?23:46
prometheanfirein my review23:46
ianwso basically 2.35 & 2.35.1 are incompatible with growroot?23:47
prometheanfireI think so23:47
prometheanfire2.35.1 was for me23:47
prometheanfirethat's all that I tested and all that failed23:47
prometheanfire2.35.2 worked23:47
ianwyeah, tumbleweed has 2.35.1 too23:49
prometheanfiremight have the patch backported?23:50
openstackgerritMatthew Thode proposed openstack/diskimage-builder master: use stage3 instead of stage4 for gentoo builds  https://review.opendev.org/71717723:50
prometheanfireadded the keyword23:50
ianwi mean tumbleweed fails and has 2.35.1, so i don't think we've tested 2.3523:53
prometheanfirecorrect23:53
ianwbut anyway, it doesn't seem like any distro will settle on 2.35.1 so i guess it's just one of those things23:53
ianwthanks for helping narrow that down23:55
prometheanfirelol, gentoo has 2.35.1 stable :P23:58
prometheanfireit's how I hit it23:58
prometheanfireno true scotsman23:58

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!