*** openstackgerrit has joined #openstack-dib | 01:33 | |
openstackgerrit | Ian Wienand proposed openstack/diskimage-builder master: [WIP] GPT partitioning support https://review.openstack.org/533490 | 01:33 |
---|---|---|
*** jaianshu has joined #openstack-dib | 03:57 | |
*** andreas_s has joined #openstack-dib | 04:49 | |
*** andreas_s has quit IRC | 04:53 | |
ianw | tonyb: thanks ... i think partitioning support at least is close | 04:54 |
ianw | i'm fiddling with installing grub-efi packages on x86_64 builds ... | 04:54 |
ianw | current problem is that the install phase of the package seems to run grub-install with no args, which probes for which support to install, which finds the host system as a standard mbr/bios, so tries to call into the normal setup stuff which isn't there | 04:55 |
ianw | this might be a problem "cross building" efi images on non-efi systems ... | 04:55 |
tonyb | Oh thats ... sub-optimal ;P | 04:55 |
ianw | but it might work ok on native things that are already using efi | 04:55 |
tonyb | ianw: I don't really know anything about efi | 04:56 |
*** chhagarw has joined #openstack-dib | 04:56 | |
*** chhavi has joined #openstack-dib | 04:56 | |
tonyb | the few systems that I have that have it "just work" so it's magic AFAICT ;P | 04:56 |
ianw | yeah, i've been dealing with it since itanium days, but it's still mostly magic | 04:59 |
ianw | maybe i can convince grub via debconf to not try and run grub-install | 05:03 |
tonyb | ianw: perhaps? | 05:12 |
ianw | i think the conclusion from https://anonscm.debian.org/cgit/pkg-grub/grub.git/tree/debian/postinst.in is that it is ... non-trivial | 05:18 |
*** pmannidi has quit IRC | 06:16 | |
*** pmannidi has joined #openstack-dib | 06:33 | |
ianw | it seems to not want to install in a container (good idea) ... i wonder if we can fool it | 06:37 |
*** pmannidi has quit IRC | 06:38 | |
ianw | hrw: one minor issue in 533490 that we try to fstrim vfat partitions which i have a fix for, and will cleanup and send out tomorrow my time | 06:41 |
ianw | otherwise, i think it's creating gpt labels and efi partition correctly | 06:41 |
ianw | as described above, there seems to be a bit of an issue installing efi grub into a chroot on an non-efi system ... | 06:42 |
ianw | so this might be the point we need to move to the arm environment and see what we can do in the bootloader element | 06:43 |
ianw | anyway, when i have things in that state, i'll ping/email you again and hopefully we can move on from there | 06:44 |
*** pmannidi has joined #openstack-dib | 06:50 | |
*** andreas_s has joined #openstack-dib | 07:14 | |
hrw | ianw: ok | 08:18 |
*** pmannidi has quit IRC | 08:41 | |
*** chhagarw has quit IRC | 09:16 | |
*** chhavi has quit IRC | 09:16 | |
hrw | ianw: I have GPT partitioned disk image with EFI and rootfs partitions | 09:39 |
ianw | hrw: thanks for looking; i'll look at those type issues | 10:34 |
hrw | ianw: I hope that comments in gerrit are readable | 10:35 |
hrw | and why python lacks dumping of variable ;( | 10:35 |
ianw | hrw: yes, thanks. | 10:36 |
hrw | if not self.type == 'vfat': # will work or explode | 10:36 |
hrw | exploded | 10:37 |
hrw | 2018-01-17 10:37:01.648 | AttributeError: 'MountPointNode' object has no attribute 'type' | 10:37 |
ianw | right, i think that's probably only kept in the mkfs layers | 10:38 |
hrw | will for now work with disabled fstrim | 10:38 |
ianw | right | 10:39 |
ianw | locally i have | 10:40 |
ianw | if self.state['filesys'][self.base]['fstype'] != 'vfat': | 10:40 |
ianw | as we do keep that in the state | 10:40 |
ianw | but a) wonder if it's the right place and b) unit tests need fixing with that | 10:40 |
hrw | looks wrong | 10:40 |
hrw | it is clean way of saying "fstype" should be here but we forgot to add it | 10:40 |
ianw | we could maybe do the fstrim in the mkfs cleanup, rather than the mountpoint cleanup | 10:41 |
hrw | but does not mkfs just create FS and exit? | 10:43 |
hrw | 2018-01-17 10:43:40.747 | Installing for x86_64-efi platform. | 10:45 |
hrw | 2018-01-17 10:43:40.798 | /usr/sbin/grub-install: error: cannot open `/usr/lib/grub/x86_64-efi/biosdisk.mod': No such file or directory. | 10:45 |
hrw | this is next step to fix. will look | 10:45 |
ianw | the cleanup phase; in https://git.openstack.org/cgit/openstack/diskimage-builder/tree/diskimage_builder/block_device/plugin.py#n134 | 10:45 |
ianw | yes, that's about where i got to as well i think | 10:46 |
ianw | the grub-efi-amd64 post-install tries to call grub-install , which i think probes the underlying host system and then tries to install mbr/bios based grub | 10:47 |
ianw | (it doesn't have --target set) | 10:47 |
hrw | my host system is x86-64/uefi and it still goes for bios | 10:48 |
ianw | hmm, ok | 10:48 |
ianw | https://anonscm.debian.org/cgit/pkg-grub/grub.git/tree/debian/postinst.in#n466 i hoped we could trigger somehow | 10:49 |
ianw | hrw: i have to go now ... thanks for looking and any further input welcome. i think we're closer than a few days ago, so that's good | 10:51 |
hrw | ianw: have a nice evening | 10:51 |
hrw | ianw: and thanks for staying so late | 10:52 |
*** andreas_s has quit IRC | 11:01 | |
*** andreas_s has joined #openstack-dib | 11:01 | |
*** hrw has quit IRC | 11:08 | |
*** andreas_s has quit IRC | 11:10 | |
*** andreas_s has joined #openstack-dib | 11:16 | |
*** vmlinuz has joined #openstack-dib | 11:22 | |
*** andreas_s has quit IRC | 11:25 | |
*** andreas_s has joined #openstack-dib | 11:26 | |
*** andreas_s has quit IRC | 11:30 | |
*** andreas_s has joined #openstack-dib | 11:31 | |
*** vmlinuz has quit IRC | 11:36 | |
*** vmlinuz has joined #openstack-dib | 11:38 | |
*** pmannidi has joined #openstack-dib | 13:04 | |
*** jaianshu has quit IRC | 13:35 | |
*** hrw has joined #openstack-dib | 13:37 | |
*** pmannidi has quit IRC | 13:46 | |
*** andreas_s has quit IRC | 13:56 | |
*** andreas_s has joined #openstack-dib | 13:56 | |
*** andreas_s has quit IRC | 14:05 | |
*** andreas_s has joined #openstack-dib | 14:05 | |
*** hashar is now known as hasharAway | 14:06 | |
*** dhill_ has joined #openstack-dib | 14:43 | |
*** andreas_s has quit IRC | 14:54 | |
*** andreas_s has joined #openstack-dib | 14:54 | |
*** andreas_s has quit IRC | 15:03 | |
*** andreas_s has joined #openstack-dib | 15:17 | |
*** andreas_s has quit IRC | 15:25 | |
*** andreas_s has joined #openstack-dib | 15:26 | |
*** dhill_ has quit IRC | 15:48 | |
*** dhill_ has joined #openstack-dib | 15:52 | |
*** andreas_s has quit IRC | 15:59 | |
*** vmlinuz has quit IRC | 19:29 | |
*** dhill_ has quit IRC | 19:37 | |
*** dhill_ has joined #openstack-dib | 19:39 | |
*** dhill_ has quit IRC | 19:39 | |
*** vmlinuz has joined #openstack-dib | 19:45 | |
*** vmlinuz has joined #openstack-dib | 19:45 | |
*** hasharAway is now known as hashar | 20:04 | |
*** dhill_ has joined #openstack-dib | 20:05 | |
*** vmlinuz has quit IRC | 20:12 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/diskimage-builder master: Updated from global requirements https://review.openstack.org/533958 | 20:31 |
*** dhill_ has quit IRC | 21:01 | |
*** dhill_ has joined #openstack-dib | 21:02 | |
*** hashar has quit IRC | 21:16 | |
*** hashar has joined #openstack-dib | 21:27 | |
*** pmannidi has joined #openstack-dib | 21:33 | |
*** pmannidi has quit IRC | 21:33 | |
*** hashar has quit IRC | 21:44 | |
*** vizo has joined #openstack-dib | 21:54 | |
*** vizo has left #openstack-dib | 22:07 | |
openstackgerrit | Ian Wienand proposed openstack/diskimage-builder master: [WIP] GPT partitioning support https://review.openstack.org/533490 | 23:11 |
openstackgerrit | Ian Wienand proposed openstack/diskimage-builder master: Don't fstrim vfat partitions https://review.openstack.org/534969 | 23:11 |
*** dhill_ has quit IRC | 23:43 | |
*** pmannidi has joined #openstack-dib | 23:52 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!