*** andreas_s has joined #openstack-dib | 00:03 | |
*** andreas_s has quit IRC | 00:09 | |
*** dhill__ has quit IRC | 01:41 | |
*** pmannidi has joined #openstack-dib | 02:15 | |
*** dhill__ has joined #openstack-dib | 02:33 | |
*** andreas_s has joined #openstack-dib | 03:02 | |
*** andreas_s has quit IRC | 03:08 | |
*** dhill__ has quit IRC | 03:24 | |
*** chhavi__ has joined #openstack-dib | 04:00 | |
*** chhavi__ has quit IRC | 04:37 | |
*** chhavi has joined #openstack-dib | 04:37 | |
*** pmannidi has quit IRC | 04:38 | |
*** pmannidi has joined #openstack-dib | 05:00 | |
*** andreas_s has joined #openstack-dib | 05:57 | |
*** andreas_s has quit IRC | 06:03 | |
*** chhavi has quit IRC | 06:35 | |
*** pmannidi has quit IRC | 06:51 | |
*** hrw has joined #openstack-dib | 07:34 | |
hrw | is list of supported distros up-to-date? | 07:35 |
---|---|---|
hrw | no Debian 9 'stretch' which is current stable, Fedora ancient only etc? | 07:36 |
*** gema has joined #openstack-dib | 08:12 | |
hrw | I see that adapting diskimage-builder to arm64 will be a bit of challenge. | 08:18 |
hrw | all images use MBR partitioning while UEFI based systems (like arm64) expects GPT with EFI Boot Partition being present | 08:19 |
*** hashar has joined #openstack-dib | 08:21 | |
openstackgerrit | Marcin Juszkiewicz proposed openstack/diskimage-builder master: provide names for arm64 grub packages https://review.openstack.org/533126 | 08:24 |
*** chhavi has joined #openstack-dib | 08:33 | |
*** chhavi__ has joined #openstack-dib | 10:20 | |
*** chhagarw has joined #openstack-dib | 10:28 | |
*** chhavi has quit IRC | 10:29 | |
*** chhavi__ has quit IRC | 10:29 | |
*** chhavi has joined #openstack-dib | 10:29 | |
*** chhavi__ has joined #openstack-dib | 10:39 | |
*** chhavi has quit IRC | 10:41 | |
*** chhagarw has quit IRC | 10:41 | |
*** chhagarw has joined #openstack-dib | 10:41 | |
*** vmlinuz has joined #openstack-dib | 12:27 | |
*** hashar is now known as Camembert | 14:11 | |
*** hwoarang has quit IRC | 14:27 | |
*** hwoarang has joined #openstack-dib | 14:29 | |
*** hwoarang_ has joined #openstack-dib | 14:37 | |
*** hwoarang has quit IRC | 14:38 | |
*** hashar has joined #openstack-dib | 14:44 | |
*** hwoarang_ has quit IRC | 15:07 | |
*** tacco has joined #openstack-dib | 15:08 | |
*** tdriscoll has quit IRC | 15:11 | |
tacco | whats the best way to add a custom root certificate to a dib debian image? | 15:14 |
*** chhagarw has quit IRC | 15:29 | |
*** chhavi__ has quit IRC | 15:33 | |
*** hashar is now known as hasharELATER | 15:38 | |
*** hwoarang has joined #openstack-dib | 15:40 | |
*** tulivu has joined #openstack-dib | 15:55 | |
*** tulivu has quit IRC | 15:56 | |
*** r351574nc3 has joined #openstack-dib | 16:13 | |
*** tdriscoll has joined #openstack-dib | 16:17 | |
TheJulia | hrw: There have been a few efforts over the years... :( | 16:24 |
r351574nc3 | Hey all. I'm trying to run an image created with diskimage-builder in qemu, but it produces a kernel panic | 16:26 |
*** cloudnull has quit IRC | 16:37 | |
*** cloudnull has joined #openstack-dib | 16:38 | |
hrw | TheJulia: if you say so | 16:42 |
*** vmlinuz has quit IRC | 16:45 | |
TheJulia | hrw: The common theme seems to be lack of traction, but arm64 support seems to make sense as a driver to help... above and beyond the deprecation of legacy boot in a few years... | 16:55 |
hrw | I would kill whole MBR class ;d | 16:56 |
*** vmlinuz has joined #openstack-dib | 16:59 | |
*** vmlinuz has joined #openstack-dib | 16:59 | |
hrw | and replace it with few calls to sfdisk/gdisk | 17:00 |
hrw | like cirros does | 17:00 |
*** tdriscoll has quit IRC | 17:03 | |
hrw | sgdisk -n 15:2048:+8M -t 15:ef00 -N 1 $file-with-disk-image | 17:03 |
hrw | and you have EFI System Partition (8MB size) as part15 and part1 which takes rest of disk | 17:04 |
hrw | x86 bios, x86 uefi, aarch64 uefi, arm uefi boot fine. Also without bootloader at all but with direct boot to kernel/initrd | 17:07 |
hrw | etc. | 17:08 |
* hrw eod | 17:08 | |
fungi | on a related note (hrw's questions are an upshot of the current arm64 nodepool integration thread on the infra ml), i also found https://bugzilla.redhat.com/show_bug.cgi?id=1488557 indicating that there may be renewed interest in redhatland for getting gpt support into dib? | 17:42 |
openstack | bugzilla.redhat.com bug 1488557 in diskimage-builder "[RFE] diskimage-builder support whole disk images with UEFI whole disk image support for overcloud nodes" [Unspecified,New] - Assigned to yroblamo | 17:42 |
fungi | would be nice if those bz filings bubbled upstream to dib though | 17:43 |
TheJulia | hrw: I thought cirros was a kernel appended with cpio data.... | 17:44 |
TheJulia | I would love to see gpt and uefi in dib, fwiw. | 17:45 |
TheJulia | hrw: although, truthfully, I've never dissected cirros | 17:45 |
fungi | the comments in diskimage_builder/block_device/level1/mbr.py try to explain why gparted and sfdisk were insufficient in this case and make some sense, though i can't personally speak to the research behind the implementation nor why upstreaming fixes for the defects in those tools wasn't the solution (or maybe it was and this is merely a stop-gap until supported distros have fixed versions of them?) | 17:53 |
r351574nc3 | I am running into "cp: cannot stat '/usr/lib/shim/shim.efi.signed': No such file or directory" | 18:15 |
r351574nc3 | when I use iso element | 18:16 |
r351574nc3 | is there something I'm missing? | 18:16 |
r351574nc3 | Even when I try to follow instructions here https://docs.openstack.org/diskimage-builder/latest/user_guide/building_an_image.html, I cannot seem to build an image with diskimage-builder that will boot | 18:17 |
r351574nc3 | going to attempt installing shim on my host | 18:19 |
hrw | TheJulia: cirros is simple rootfs + kernel + initrd. I did gpt/uefi support there. had to change almost half of code. | 18:40 |
r351574nc3 | That did not work :( | 18:52 |
r351574nc3 | Should I be using DIB installed from pip or should I be using the git master version? | 18:53 |
*** clarkb has joined #openstack-dib | 18:55 | |
*** vmlinuz has quit IRC | 18:57 | |
*** r351574nc3 has quit IRC | 19:02 | |
*** dhill__ has joined #openstack-dib | 19:13 | |
greghaynes | hrw: The design of the block device system is such that it should be straightforward to plug. Theres a couple of things in diskimage_builder/block_device/level1/partitioning.py which assert mbr but they should all be superficial checks while we had no other implementations | 19:17 |
greghaynes | so if youd like to implement something for GPT support (even using the sfdisk style we deprecated) it shouldnt be too hard | 19:18 |
greghaynes | UEFI might be a bit tricker | 19:18 |
clarkb | ya reading it we probably want an ABC class for MBR/GPT/whatever to inherit from that defines the interface currently defined by the MBR class then just impleent that for GPT and switch on that based on the partitional label value. | 19:18 |
greghaynes | although I do know theres previous work on UEFI, I dont really remember where it got to though | 19:19 |
*** hasharELATER is now known as hashar | 20:03 | |
*** elyezer has quit IRC | 20:12 | |
*** elyezer has joined #openstack-dib | 20:16 | |
hrw | greghaynes: uefi support is easy. one more partition and let OS handle installation or call one/two commands in target os chroot | 20:18 |
hrw | and let CHS rot in piece. 80s ended nearly 30 years ago | 20:19 |
*** openstack has joined #openstack-dib | 20:50 | |
*** ChanServ sets mode: +o openstack | 20:50 | |
*** dhill__ has quit IRC | 21:19 | |
*** elyezer has quit IRC | 22:06 | |
*** hashar has quit IRC | 22:07 | |
*** elyezer has joined #openstack-dib | 22:08 | |
*** owalsh has quit IRC | 23:12 | |
*** owalsh has joined #openstack-dib | 23:12 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!