Wednesday, 2017-11-29

*** hasharAway has quit IRC00:23
*** jaianshu has joined #openstack-dib03:47
*** inc0 has joined #openstack-dib03:48
inc0anyone around? can someone please test disk-image-create ubuntu baremetal bootloader grub2?04:06
inc0it seems grub-probe fails because chrooted system doesn't have original /dev04:07
clarkbinc0: have you tried ubuntu-minimal? I wonder if the upstream images that ubuntu use have broken something04:07
inc0well it seems to be this: https://askubuntu.com/questions/110911/how-can-i-run-update-grub-on-a-chroot-filesystem04:08
ianwinc0: we should be testing that in ci ...04:09
inc0tried on 2 different machines04:10
inc0disk-image-create ubuntu baremetal dhcp-all-interfaces bootloader grub2 -o /data/xenial.raw -t raw -x04:10
ianwhttp://logs.openstack.org/51/523251/3/check/dib-dsvm-functests-python3-image/c12c3fe/job-output.txt.gz#_2017-11-28_04_49_42_53899204:10
ianwif you can post the full logs somewhere that would help04:11
inc0http://paste.ubuntu.com/26069293/04:12
ianwinc0: ok, yeah that's not well tested in ci at all04:16
inc0that being...?04:16
inc0grub2 element?04:16
ianwubuntu, baremetal, grub2 ... you've hit a trifecta :)04:17
inc0lol04:17
inc0I tried running without grub2 but image is no booty04:17
clarkbiirc you can use the vm element and boot that on baremetal04:18
clarkbits a poorly named element and means something more along the lines of "not a container"?04:18
inc0well I think it's all the MBR things04:19
clarkbya I think vm does that for you04:20
clarkbbaremetal readme says it does "extracts the kernel and initial ramdisk of the built image."04:20
ianwvm implies bootloader and should install grub04:20
ianwi'm not even really sure what grub2 does04:21
inc0so remove grub element and baremetal element04:21
inc0(no need for vmlinuz)04:21
inc0and replace with vm?04:21
clarkbinc0: I think it is worth a try yes04:21
ianwinc0: what are you trying to get out of it?04:21
inc0lightweight ironic04:22
inc0or rather04:22
inc0something thats super lightweight that installs stuff04:22
inc0kinda like ironic but much simpler04:23
ianwwell the "-minimal" images are a) what infra uses so tested and b) designed to be the smallest04:24
ianw(not quite docker micro image small, but smallest bootable sort of thing)04:24
inc0I'd keep to fully featured ones04:24
inc0I don't care about size that much, it's something to quickly bootstrap baremetal envs04:24
clarkbI think the baremetal element is specifically related to how ironic wants to boot baremetal04:25
inc0ok, so this succeeded04:25
inc0maybe04:25
clarkbit pxe's the kernel then dd's the image or something04:25
inc0I just need something to dd to disk04:25
clarkbits not necessary if you aren't ironicing and I don't think its necessary if you ipa with ironic04:25
inc0right04:25
ianwi'm not 100% sure but i think you'll get cloud-init with ubuntu and the dhcp-all-interfaces won't be required04:27
clarkbianw: I think we can probably ask spamaps or devananda if my memory is correct there about why the baremetal element exists04:27
clarkbianw: that sounds right04:27
ianwbasically "ubuntu vm" should do it, i'd think04:27
inc0well, bad news is image is still borked04:28
ianwwe just basically never use the image-based builds, so other than it at least passing ci they don't get much love04:28
ianwi'm at the point that i think i'll remove the fedora one at least04:29
inc0I think I need to run grub-configure https://bugs.launchpad.net/cloud-images/+bug/157309504:30
openstackLaunchpad bug 1573095 in Ubuntu "16.04 cloud image hangs at first boot" [Undecided,Confirmed]04:30
inc0this thing04:30
clarkbianw: I think they are useful as "you can use dib to modify images" examples but building from scratch with -minimal is just so much better for that base image you might want to modify04:30
* inc0 just wants image to dd to disk..04:30
inc0centos is fine, ubuntu is not:(04:30
ianwinc0: hmm, i'd be suspecting initramfs and label boot04:31
ianwcan you edit the grub command line?  does it try booting to a label?04:31
ianwyou may find if you modify that to be /dev/sda1 or something it works.  that then points to the initramfs.  you often get basically nothing useful on the console04:32
ianwpoints to issues with the initramfs i mean04:32
inc0let me try manually running grub-configure from initramfs04:33
inc0I do something strange out there with it04:34
ianwwhat are you dd'ing to?  like an iscsi target or something that a host boots from?04:36
inc0/dev/sda04:40
inc0I'm runnning a kickstart script that wgets image and dds it locally04:40
*** pmannidi has quit IRC07:07
*** hashar has joined #openstack-dib08:14
*** jaianshu has quit IRC10:03
*** hashar is now known as hasharAway10:50
*** openstack has joined #openstack-dib13:46
*** ChanServ sets mode: +o openstack13:46
*** andreas_s has joined #openstack-dib14:39
*** openstack has quit IRC14:46
*** openstack has joined #openstack-dib14:52
*** ChanServ sets mode: +o openstack14:52
*** andreas_s has joined #openstack-dib14:52
*** andreas__ has joined #openstack-dib14:54
*** andrea___ has joined #openstack-dib14:56
*** andreas_s has quit IRC14:56
*** andreas__ has quit IRC14:59
*** andreas_s has joined #openstack-dib14:59
*** andrea___ has quit IRC15:01
*** andreas_s has quit IRC15:04
*** andreas_s has joined #openstack-dib15:06
*** andreas_s has quit IRC15:11
*** Sukhdev has joined #openstack-dib15:47
*** Sukhdev has quit IRC17:06
*** dhill_ has quit IRC18:36
*** Sukhdev has joined #openstack-dib18:59
*** dhill_ has joined #openstack-dib19:04
*** hasharAway is now known as hashar19:56
*** Sukhdev has quit IRC20:26
*** hashar has quit IRC22:07
*** hashar has joined #openstack-dib22:11
*** hashar has quit IRC22:29
*** pmannidi has joined #openstack-dib22:36
ianwpromethenafire: what's the deal with the musl stuff?  i'm presuming containers?22:46
ianwprometheanfire: even22:46
prometheanfireianw: just another profile/libc22:56
prometheanfireit boots faster and has lower overhead in general22:57
ianwheh, well an init of main() { while (1) { } } also boots pretty fast, at the expense of some compatibility issues :)22:58
ianwis it a build-it-and-they-will come approach, or do you have something in mind where it's an advantage?22:59
ianwinc0: did you get things working -- https://review.openstack.org/#/c/480671/ i just noticed in review queue23:12
*** openstackgerrit has joined #openstack-dib23:16
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Revert "Fix #1627402: fix grub2 element for ubuntu xenial"  https://review.openstack.org/52401923:16
openstackgerritMerged openstack/diskimage-builder master: Fix grub2 dependency on arm64  https://review.openstack.org/51217423:47
openstackgerritMerged openstack/diskimage-builder master: Add debian minimal requirement for arm64  https://review.openstack.org/51217523:47

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