*** hasharAway has quit IRC | 00:23 | |
*** jaianshu has joined #openstack-dib | 03:47 | |
*** inc0 has joined #openstack-dib | 03:48 | |
inc0 | anyone around? can someone please test disk-image-create ubuntu baremetal bootloader grub2? | 04:06 |
---|---|---|
inc0 | it seems grub-probe fails because chrooted system doesn't have original /dev | 04:07 |
clarkb | inc0: have you tried ubuntu-minimal? I wonder if the upstream images that ubuntu use have broken something | 04:07 |
inc0 | well it seems to be this: https://askubuntu.com/questions/110911/how-can-i-run-update-grub-on-a-chroot-filesystem | 04:08 |
ianw | inc0: we should be testing that in ci ... | 04:09 |
inc0 | tried on 2 different machines | 04:10 |
inc0 | disk-image-create ubuntu baremetal dhcp-all-interfaces bootloader grub2 -o /data/xenial.raw -t raw -x | 04:10 |
ianw | http://logs.openstack.org/51/523251/3/check/dib-dsvm-functests-python3-image/c12c3fe/job-output.txt.gz#_2017-11-28_04_49_42_538992 | 04:10 |
ianw | if you can post the full logs somewhere that would help | 04:11 |
inc0 | http://paste.ubuntu.com/26069293/ | 04:12 |
ianw | inc0: ok, yeah that's not well tested in ci at all | 04:16 |
inc0 | that being...? | 04:16 |
inc0 | grub2 element? | 04:16 |
ianw | ubuntu, baremetal, grub2 ... you've hit a trifecta :) | 04:17 |
inc0 | lol | 04:17 |
inc0 | I tried running without grub2 but image is no booty | 04:17 |
clarkb | iirc you can use the vm element and boot that on baremetal | 04:18 |
clarkb | its a poorly named element and means something more along the lines of "not a container"? | 04:18 |
inc0 | well I think it's all the MBR things | 04:19 |
clarkb | ya I think vm does that for you | 04:20 |
clarkb | baremetal readme says it does "extracts the kernel and initial ramdisk of the built image." | 04:20 |
ianw | vm implies bootloader and should install grub | 04:20 |
ianw | i'm not even really sure what grub2 does | 04:21 |
inc0 | so remove grub element and baremetal element | 04:21 |
inc0 | (no need for vmlinuz) | 04:21 |
inc0 | and replace with vm? | 04:21 |
clarkb | inc0: I think it is worth a try yes | 04:21 |
ianw | inc0: what are you trying to get out of it? | 04:21 |
inc0 | lightweight ironic | 04:22 |
inc0 | or rather | 04:22 |
inc0 | something thats super lightweight that installs stuff | 04:22 |
inc0 | kinda like ironic but much simpler | 04:23 |
ianw | well the "-minimal" images are a) what infra uses so tested and b) designed to be the smallest | 04:24 |
ianw | (not quite docker micro image small, but smallest bootable sort of thing) | 04:24 |
inc0 | I'd keep to fully featured ones | 04:24 |
inc0 | I don't care about size that much, it's something to quickly bootstrap baremetal envs | 04:24 |
clarkb | I think the baremetal element is specifically related to how ironic wants to boot baremetal | 04:25 |
inc0 | ok, so this succeeded | 04:25 |
inc0 | maybe | 04:25 |
clarkb | it pxe's the kernel then dd's the image or something | 04:25 |
inc0 | I just need something to dd to disk | 04:25 |
clarkb | its not necessary if you aren't ironicing and I don't think its necessary if you ipa with ironic | 04:25 |
inc0 | right | 04:25 |
ianw | i'm not 100% sure but i think you'll get cloud-init with ubuntu and the dhcp-all-interfaces won't be required | 04:27 |
clarkb | ianw: I think we can probably ask spamaps or devananda if my memory is correct there about why the baremetal element exists | 04:27 |
clarkb | ianw: that sounds right | 04:27 |
ianw | basically "ubuntu vm" should do it, i'd think | 04:27 |
inc0 | well, bad news is image is still borked | 04:28 |
ianw | we just basically never use the image-based builds, so other than it at least passing ci they don't get much love | 04:28 |
ianw | i'm at the point that i think i'll remove the fedora one at least | 04:29 |
inc0 | I think I need to run grub-configure https://bugs.launchpad.net/cloud-images/+bug/1573095 | 04:30 |
openstack | Launchpad bug 1573095 in Ubuntu "16.04 cloud image hangs at first boot" [Undecided,Confirmed] | 04:30 |
inc0 | this thing | 04:30 |
clarkb | ianw: 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 modify | 04:30 |
* inc0 just wants image to dd to disk.. | 04:30 | |
inc0 | centos is fine, ubuntu is not:( | 04:30 |
ianw | inc0: hmm, i'd be suspecting initramfs and label boot | 04:31 |
ianw | can you edit the grub command line? does it try booting to a label? | 04:31 |
ianw | you 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 console | 04:32 |
ianw | points to issues with the initramfs i mean | 04:32 |
inc0 | let me try manually running grub-configure from initramfs | 04:33 |
inc0 | I do something strange out there with it | 04:34 |
ianw | what are you dd'ing to? like an iscsi target or something that a host boots from? | 04:36 |
inc0 | /dev/sda | 04:40 |
inc0 | I'm runnning a kickstart script that wgets image and dds it locally | 04:40 |
*** pmannidi has quit IRC | 07:07 | |
*** hashar has joined #openstack-dib | 08:14 | |
*** jaianshu has quit IRC | 10:03 | |
*** hashar is now known as hasharAway | 10:50 | |
*** openstack has joined #openstack-dib | 13:46 | |
*** ChanServ sets mode: +o openstack | 13:46 | |
*** andreas_s has joined #openstack-dib | 14:39 | |
*** openstack has quit IRC | 14:46 | |
*** openstack has joined #openstack-dib | 14:52 | |
*** ChanServ sets mode: +o openstack | 14:52 | |
*** andreas_s has joined #openstack-dib | 14:52 | |
*** andreas__ has joined #openstack-dib | 14:54 | |
*** andrea___ has joined #openstack-dib | 14:56 | |
*** andreas_s has quit IRC | 14:56 | |
*** andreas__ has quit IRC | 14:59 | |
*** andreas_s has joined #openstack-dib | 14:59 | |
*** andrea___ has quit IRC | 15:01 | |
*** andreas_s has quit IRC | 15:04 | |
*** andreas_s has joined #openstack-dib | 15:06 | |
*** andreas_s has quit IRC | 15:11 | |
*** Sukhdev has joined #openstack-dib | 15:47 | |
*** Sukhdev has quit IRC | 17:06 | |
*** dhill_ has quit IRC | 18:36 | |
*** Sukhdev has joined #openstack-dib | 18:59 | |
*** dhill_ has joined #openstack-dib | 19:04 | |
*** hasharAway is now known as hashar | 19:56 | |
*** Sukhdev has quit IRC | 20:26 | |
*** hashar has quit IRC | 22:07 | |
*** hashar has joined #openstack-dib | 22:11 | |
*** hashar has quit IRC | 22:29 | |
*** pmannidi has joined #openstack-dib | 22:36 | |
ianw | promethenafire: what's the deal with the musl stuff? i'm presuming containers? | 22:46 |
ianw | prometheanfire: even | 22:46 |
prometheanfire | ianw: just another profile/libc | 22:56 |
prometheanfire | it boots faster and has lower overhead in general | 22:57 |
ianw | heh, well an init of main() { while (1) { } } also boots pretty fast, at the expense of some compatibility issues :) | 22:58 |
ianw | is it a build-it-and-they-will come approach, or do you have something in mind where it's an advantage? | 22:59 |
ianw | inc0: did you get things working -- https://review.openstack.org/#/c/480671/ i just noticed in review queue | 23:12 |
*** openstackgerrit has joined #openstack-dib | 23:16 | |
openstackgerrit | Ian Wienand proposed openstack/diskimage-builder master: Revert "Fix #1627402: fix grub2 element for ubuntu xenial" https://review.openstack.org/524019 | 23:16 |
openstackgerrit | Merged openstack/diskimage-builder master: Fix grub2 dependency on arm64 https://review.openstack.org/512174 | 23:47 |
openstackgerrit | Merged openstack/diskimage-builder master: Add debian minimal requirement for arm64 https://review.openstack.org/512175 | 23:47 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!