Friday, 2018-01-12

*** andreas_s has joined #openstack-dib00:03
*** andreas_s has quit IRC00:09
*** dhill__ has quit IRC01:41
*** pmannidi has joined #openstack-dib02:15
*** dhill__ has joined #openstack-dib02:33
*** andreas_s has joined #openstack-dib03:02
*** andreas_s has quit IRC03:08
*** dhill__ has quit IRC03:24
*** chhavi__ has joined #openstack-dib04:00
*** chhavi__ has quit IRC04:37
*** chhavi has joined #openstack-dib04:37
*** pmannidi has quit IRC04:38
*** pmannidi has joined #openstack-dib05:00
*** andreas_s has joined #openstack-dib05:57
*** andreas_s has quit IRC06:03
*** chhavi has quit IRC06:35
*** pmannidi has quit IRC06:51
*** hrw has joined #openstack-dib07:34
hrwis list of supported distros up-to-date?07:35
hrwno Debian 9 'stretch' which is current stable, Fedora ancient only etc?07:36
*** gema has joined #openstack-dib08:12
hrwI see that adapting diskimage-builder to arm64 will be a bit of challenge.08:18
hrwall images use MBR partitioning while UEFI based systems (like arm64) expects GPT with EFI Boot Partition being present08:19
*** hashar has joined #openstack-dib08:21
openstackgerritMarcin Juszkiewicz proposed openstack/diskimage-builder master: provide names for arm64 grub packages  https://review.openstack.org/53312608:24
*** chhavi has joined #openstack-dib08:33
*** chhavi__ has joined #openstack-dib10:20
*** chhagarw has joined #openstack-dib10:28
*** chhavi has quit IRC10:29
*** chhavi__ has quit IRC10:29
*** chhavi has joined #openstack-dib10:29
*** chhavi__ has joined #openstack-dib10:39
*** chhavi has quit IRC10:41
*** chhagarw has quit IRC10:41
*** chhagarw has joined #openstack-dib10:41
*** vmlinuz has joined #openstack-dib12:27
*** hashar is now known as Camembert14:11
*** hwoarang has quit IRC14:27
*** hwoarang has joined #openstack-dib14:29
*** hwoarang_ has joined #openstack-dib14:37
*** hwoarang has quit IRC14:38
*** hashar has joined #openstack-dib14:44
*** hwoarang_ has quit IRC15:07
*** tacco has joined #openstack-dib15:08
*** tdriscoll has quit IRC15:11
taccowhats the best way to add a custom root certificate to a dib debian image?15:14
*** chhagarw has quit IRC15:29
*** chhavi__ has quit IRC15:33
*** hashar is now known as hasharELATER15:38
*** hwoarang has joined #openstack-dib15:40
*** tulivu has joined #openstack-dib15:55
*** tulivu has quit IRC15:56
*** r351574nc3 has joined #openstack-dib16:13
*** tdriscoll has joined #openstack-dib16:17
TheJuliahrw: There have been a few efforts over the years... :(16:24
r351574nc3Hey all. I'm trying to run an image created with diskimage-builder in qemu, but it produces a kernel panic16:26
*** cloudnull has quit IRC16:37
*** cloudnull has joined #openstack-dib16:38
hrwTheJulia: if you say so16:42
*** vmlinuz has quit IRC16:45
TheJuliahrw: 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
hrwI would kill whole MBR class ;d16:56
*** vmlinuz has joined #openstack-dib16:59
*** vmlinuz has joined #openstack-dib16:59
hrwand replace it with few calls to sfdisk/gdisk17:00
hrwlike cirros does17:00
*** tdriscoll has quit IRC17:03
hrwsgdisk -n 15:2048:+8M -t 15:ef00 -N 1 $file-with-disk-image17:03
hrwand you have EFI System Partition (8MB size) as part15 and part1 which takes rest of disk17:04
hrwx86 bios, x86 uefi, aarch64 uefi, arm uefi boot fine. Also without bootloader at all but with direct boot to kernel/initrd17:07
hrwetc.17:08
* hrw eod17:08
fungion 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
openstackbugzilla.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 yroblamo17:42
fungiwould be nice if those bz filings bubbled upstream to dib though17:43
TheJuliahrw: I thought cirros was a kernel appended with cpio data....17:44
TheJuliaI would love to see gpt and uefi in dib, fwiw.17:45
TheJuliahrw: although, truthfully, I've never dissected cirros17:45
fungithe 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
r351574nc3I am running into "cp: cannot stat '/usr/lib/shim/shim.efi.signed': No such file or directory"18:15
r351574nc3when I use iso element18:16
r351574nc3is there something I'm missing?18:16
r351574nc3Even 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 boot18:17
r351574nc3going to attempt installing shim on my host18:19
hrwTheJulia: cirros is simple rootfs + kernel + initrd. I did gpt/uefi support there. had to change almost half of code.18:40
r351574nc3That did not work :(18:52
r351574nc3Should I be using DIB installed from pip or should I be using the git master version?18:53
*** clarkb has joined #openstack-dib18:55
*** vmlinuz has quit IRC18:57
*** r351574nc3 has quit IRC19:02
*** dhill__ has joined #openstack-dib19:13
greghayneshrw: 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 implementations19:17
greghaynesso if youd like to implement something for GPT support (even using the sfdisk style we deprecated) it shouldnt be too hard19:18
greghaynesUEFI might be a bit tricker19:18
clarkbya 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
greghaynesalthough I do know theres previous work on UEFI, I dont really remember where it got to though19:19
*** hasharELATER is now known as hashar20:03
*** elyezer has quit IRC20:12
*** elyezer has joined #openstack-dib20:16
hrwgreghaynes: uefi support is easy. one more partition and let OS handle installation or call one/two commands in target os chroot20:18
hrwand let CHS rot in piece. 80s ended nearly 30 years ago20:19
*** openstack has joined #openstack-dib20:50
*** ChanServ sets mode: +o openstack20:50
*** dhill__ has quit IRC21:19
*** elyezer has quit IRC22:06
*** hashar has quit IRC22:07
*** elyezer has joined #openstack-dib22:08
*** owalsh has quit IRC23:12
*** owalsh has joined #openstack-dib23:12

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