Monday, 2017-06-26

*** tonyb has joined #openstack-dib00:27
tonybWhat are the expectations of mount_mkfs_root with respect to the mount status of the buidldir (/tmp/dib_build.$random) ?  I'm seeing it fail because things like /tmp/dib2_build.../mnt/dev/pts is still mounted?  What shoudl be handling the unmount of them?00:28
tonybCOUld I be missing an element?00:29
tonybI'm tryign to verify 456055 works00:30
greghaynestonyb: that's likely not the actual fail. Usually I think that is cleanup after an error. Your real error is likely further up the log history00:37
greghaynesCould be related though00:37
tonybgreghaynes: Thanks I'll look further up ...00:43
tonybgreghaynes: Ahh okay I think I've found the root cause.  No idea how to fix it but I now have something to investigate :)01:00
greghaynestonyb: it'd be nice to also track down why cleanup was failing if you end up with some more info - those bugs can be particularly annoying for users01:01
tonybgreghaynes: I'll let you know.  I'm still very much finding my feet here.01:04
greghaynestonyb: np, if you get stuck and have any logs / etc I'm sure one of us can help01:06
tonybgreghaynes: what seems to be happening is that diskimage_builder/elements/bootloader/finalise.d/50-bootloader#126 is failing with an unbound variable and aborting that script but not triggering a failure, so no cleanup is being done01:09
tonybdos that sound even remotely plausible?01:09
greghaynesHrm, failure is signaled by any script exiting with non zero status, and we run everything with set -e. If that's the case it usually means something in that script errored and still had status 0 for some reason01:11
greghaynesWhich usually boils down to us using a subshell or a clie not properly setting error status01:13
tonybokay.  I'll look but I don't see a subshell.01:16
greghaynesIt also could be a red herring, grub tends to say things are bad when they still work01:25
ianwohh, suse has managed to build a .qcow2 on nodepool ... first in too long!01:29
ianwi think the gate should be in a better state now01:29
tonybgreghaynes: It isn't grub failing .... I'll get to a paste snippet RSN01:31
ianwtonyb: you ppc-ing?01:32
tonybianw: Yeah01:32
ianwcool ... definitely the road less traveled there :)01:33
ianwis it cross-build or native?01:33
tonyb:) I think the centos7 review and your work disagree on $somethign but I don't knwo what yet01:33
tonybianw: what diskimag-create command did you use?01:34
ianwtonyb: command for what sorry?01:34
tonybwhen you were buildin the images how did you create the image ? "diskimage-create ubuntu-minimal vm" ? or somethign else?01:35
ianwtonyb: I don't believe i ever have created a ppc image.  i did spend some time trying to get it working with qemu emulation, but it all started segfaulting.  but, "ubuntu-minimal vm" is what the ibm testing does01:37
tonybAhh okay.  that may explain some of it.01:38
tonybgreghaynes, ianw: http://paste.openstack.org/show/613672/  that shows the local patch I have and the log snippet01:42
ianw/tmp/in_target.d/finalise.d/50-bootloader: line 128: DEVICES[boot]: unbound variable01:43
ianwright, so that should be coming out of dib-block-device01:43
ianwppc is different in that it has a boot device and the root01:44
ianwwe should be using -> http://git.openstack.org/cgit/openstack/diskimage-builder/tree/diskimage_builder/elements/vm/block-device-ppc64el.yaml01:45
ianwas the config on ppc01:45
tonybAhhh okay clearly we're not as the yaml I have is different to that01:45
tonybso that's the root cause but the sympom is that that finalize.d/50-bootloader is gettign the unbound error but not cleaning up01:46
ianwwell the root cause is that "50-bootloader" is looking for the path to a "boot" partition and not finding it01:47
ianwthe cleanup path is then throwing more errors01:47
ianwthe list of devices should be set at http://git.openstack.org/cgit/openstack/diskimage-builder/tree/diskimage_builder/lib/disk-image-create#n42101:48
tonybianw: So I see what's going on ppc64el != ppc64le dib seems to be mixing distro architectures (ppc64el (.deb) and kernel architectures (ppc64el .deb and .rpm)01:48
tonybAHh so the cleanup is throwing theerrors my bad01:48
* tonyb really wishes there was only one architecture name .... how does DIB handle amd64 vs x86_64 ? it's basically the same issue01:51
ianwwait ... el and le isn't big and little endian?01:52
ianwi thought "le" was little-endian, and the "el" was a play on endian-ess and swapped around indicating "big endian"01:53
tonybianw: no01:53
tonybppc64 == Big Endian, ppc64el == .deb baseds arch, ppc64le == rpm based distro arch *and* the kernel arch for both ppc64el and ppc64le01:54
tonybI expect there's lots of confusion about that01:55
tonybthat'll be hard to untangle01:55
ianw!? well there you go, TIL ...01:56
openstackianw: Error: "?" is not a valid command.01:56
ianwopenstack: don't worry, we're all confused01:56
tonybfor testing01:57
tonybI just copies the ppc64el.yaml to ppc64le.yaml01:57
tonybHuzzah! that built an image I'll boot it after lunch01:59
ianwtonyb: it seems like it's probably right to just replace our tests with "=~ ppc64" ?01:59
ianwbah, although that's be as you say01:59
tonybYeah02:00
ianwppc64(le|el) or whatever regex works02:00
tonybI'll cook somethign up02:00
tonybianw: Can I just diskimage_builder/elements/vm/block-device-ppc64le.yaml and diskimage_builder/elements/vm/block-device-ppc64el.yaml a sumlinked pair?02:02
ianwtonyb: there's just a if statement in there that selects it, i think it would be better to just modify that02:04
ianwin diskimage_builder/lib/common-functions02:04
ianwat least we can put a comment in there ...02:04
openstackgerritMerged openstack/diskimage-builder master: Fix mkfs use wrong label option for vfat  https://review.openstack.org/47638202:41
tonybianw: something like: http://paste.openstack.org/show/613674/ ?03:12
ianwtonyb: yeah, ugly ... but the whole thing is03:28
ianwonly other thought is, maybe we "standardise" on ppc64le (or el) and just auto-convert where required for centos?03:28
ianwotherwise you have to build ARCH=ppc64le for centos and ARCH=ppc64el for debuntu?03:28
ianwis that more or less confusing?  I don't know :)03:29
tonybianw: Yeah I don't know.  I'm doing a small amount of auto correcting in the changes I have to get centos and rhel7 images working.  Once theat's reliable I'll spin up an ubuntu and test it there03:33
tonybianw: It isn't really any different to the amd64 vs x86_64 scenario IIUC03:36
ianwi guess.  much less cross-building of that though :)04:00
openstackgerritTony Breeds proposed openstack/diskimage-builder master: Support for Cloud Images on ppc64le for rhel7 and centos7  https://review.openstack.org/45605504:08
openstackgerritTony Breeds proposed openstack/diskimage-builder master: [doc] Add some notes about PowerPC ARchitecture names  https://review.openstack.org/47735904:08
openstackgerritTony Breeds proposed openstack/diskimage-builder master: As far as block-device layout is concerned ppc64le == ppc64el  https://review.openstack.org/47736004:08
tonybianw: ^^ means the building cloud images for Centos and RHEL work for me.  I need to double check that it still works for Ubuntu04:10
tonybianw: I'll tackle {centos,rhel}-minimal next04:11
tonybianw: Happy to take whatever re-works required04:11
ianwcool ... will check in a bit04:16
prometheanfiretonyb: starting work? :D05:50
tonybprometheanfire: ?05:50
openstackgerritTony Breeds proposed openstack/diskimage-builder master: Support for Cloud Images on ppc64le for rhel7 and centos7  https://review.openstack.org/45605505:58
openstackgerritTony Breeds proposed openstack/diskimage-builder master: [doc] Add some notes about PowerPC Architecture names  https://review.openstack.org/47735905:58
openstackgerritTony Breeds proposed openstack/diskimage-builder master: As far as block-device layout is concerned ppc64le == ppc64el  https://review.openstack.org/47736005:58
ianwheh, just looking05:59
tonybIt seems I messed up my vim config and didn't have expanttab set so I failed pep8 :(06:00
tonyb... and then I messed up the rebase ... not my best day :(06:09
*** andreas-f has quit IRC06:41
openstackgerritTony Breeds proposed openstack/diskimage-builder master: Support for Cloud Images on ppc64le for rhel7 and centos7  https://review.openstack.org/45605507:09
openstackgerritTony Breeds proposed openstack/diskimage-builder master: [doc] Add some notes about PowerPC Architecture names  https://review.openstack.org/47735907:09
openstackgerritTony Breeds proposed openstack/diskimage-builder master: As far as block-device layout is concerned ppc64le == ppc64el  https://review.openstack.org/47736007:09
*** andreas-f has joined #openstack-dib07:30
openstackgerritTuan Luong-Anh proposed openstack/diskimage-builder master: Replace new location of isolinux.bin for Ubuntu 16.04  https://review.openstack.org/47743707:54
openstackgerritTuan Luong-Anh proposed openstack/diskimage-builder master: Replace new location of isolinux.bin for Ubuntu 16.04  https://review.openstack.org/47743707:56
*** pmannidi_2 has joined #openstack-dib07:56
*** pmannidi has quit IRC07:56
openstackgerritTuan Luong-Anh proposed openstack/diskimage-builder master: Replace new location of isolinux.bin for Ubuntu 16.04  https://review.openstack.org/47743707:57
*** pmannidi_2 is now known as pmannidi07:59
*** andreas-f has quit IRC08:30
*** pmannidi has quit IRC08:40
*** pmannidi has joined #openstack-dib08:42
*** pmannidi has quit IRC08:47
*** andreas-f has joined #openstack-dib12:07
*** farosas has joined #openstack-dib12:10
*** rfolco has joined #openstack-dib12:34
*** isaacb has joined #openstack-dib13:04
*** andreas-f has quit IRC13:07
*** isaacb has quit IRC15:57
*** isaacb has joined #openstack-dib16:15
*** farosas_ has joined #openstack-dib16:26
*** farosas has quit IRC16:29
*** andreas-f has joined #openstack-dib16:49
*** isaacb has quit IRC17:04
openstackgerritMark Hamzy proposed openstack/diskimage-builder master: Support CentOS7 in 01-override-yum-arch  https://review.openstack.org/47761617:46
*** andreas-f has quit IRC17:48
*** andreas-f has joined #openstack-dib18:39
*** ChanServ has quit IRC19:30
*** ChanServ has joined #openstack-dib19:35
*** card.freenode.net sets mode: +o ChanServ19:35
*** andreas-f has quit IRC19:51
*** andreas-f has joined #openstack-dib20:51
*** andreas-f has quit IRC21:51
openstackgerritTony Breeds proposed openstack/diskimage-builder master: dib-lint: Ignore editor temp files for linting run  https://review.openstack.org/47771123:44
ianwtonyb: why don't we drop most of that, and just do a "git check-ignore" and skip if it should be23:57
tonybianw: Ummm sure, I didn't knwo that was a thing23:58
ianwno, me either, i just was thinking "we have this in .gitignore surely" :)23:58
tonybYeah it is23:59
tonybI'll respin after my meeting23:59

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