Wednesday, 2018-01-17

*** openstackgerrit has joined #openstack-dib01:33
openstackgerritIan Wienand proposed openstack/diskimage-builder master: [WIP] GPT partitioning support  https://review.openstack.org/53349001:33
*** jaianshu has joined #openstack-dib03:57
*** andreas_s has joined #openstack-dib04:49
*** andreas_s has quit IRC04:53
ianwtonyb: thanks ... i think partitioning support at least is close04:54
ianwi'm fiddling with installing grub-efi packages on x86_64 builds ...04:54
ianwcurrent 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 there04:55
ianwthis might be a problem "cross building" efi images on non-efi systems ...04:55
tonybOh thats ... sub-optimal ;P04:55
ianwbut it might work ok on native things that are already using efi04:55
tonybianw: I don't really know anything about efi04:56
*** chhagarw has joined #openstack-dib04:56
*** chhavi has joined #openstack-dib04:56
tonybthe few systems that I have that have it "just work" so it's magic AFAICT ;P04:56
ianwyeah, i've been dealing with it since itanium days, but it's still mostly magic04:59
ianwmaybe i can convince grub via debconf to not try and run grub-install05:03
tonybianw: perhaps?05:12
ianwi think the conclusion from https://anonscm.debian.org/cgit/pkg-grub/grub.git/tree/debian/postinst.in is that it is ... non-trivial05:18
*** pmannidi has quit IRC06:16
*** pmannidi has joined #openstack-dib06:33
ianwit seems to not want to install in a container (good idea) ... i wonder if we can fool it06:37
*** pmannidi has quit IRC06:38
ianwhrw: 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 time06:41
ianwotherwise, i think it's creating gpt labels and efi partition correctly06:41
ianwas described above, there seems to be a bit of an issue installing efi grub into a chroot on an non-efi system ...06:42
ianwso this might be the point we need to move to the arm environment and see what we can do in the bootloader element06:43
ianwanyway, when i have things in that state, i'll ping/email you again and hopefully we can move on from there06:44
*** pmannidi has joined #openstack-dib06:50
*** andreas_s has joined #openstack-dib07:14
hrwianw: ok08:18
*** pmannidi has quit IRC08:41
*** chhagarw has quit IRC09:16
*** chhavi has quit IRC09:16
hrwianw: I have GPT partitioned disk image with EFI and rootfs partitions09:39
ianwhrw: thanks for looking; i'll look at those type issues10:34
hrwianw: I hope that comments in gerrit are readable10:35
hrwand why python lacks dumping of variable ;(10:35
ianwhrw: yes, thanks.10:36
hrwif not self.type == 'vfat': # will work or explode10:36
hrwexploded10:37
hrw2018-01-17 10:37:01.648 | AttributeError: 'MountPointNode' object has no attribute 'type'10:37
ianwright, i think that's probably only kept in the mkfs layers10:38
hrwwill for now work with disabled fstrim10:38
ianwright10:39
ianwlocally i have10:40
ianw if self.state['filesys'][self.base]['fstype'] != 'vfat':10:40
ianwas we do keep that in the state10:40
ianwbut a) wonder if it's the right place and b) unit tests need fixing with that10:40
hrwlooks wrong10:40
hrwit is clean way of saying "fstype" should be here but we forgot to add it10:40
ianwwe could maybe do the fstrim in the mkfs cleanup, rather than the mountpoint cleanup10:41
hrwbut does not mkfs just create FS and exit?10:43
hrw2018-01-17 10:43:40.747 | Installing for x86_64-efi platform.10:45
hrw2018-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
hrwthis is next step to fix. will look10:45
ianwthe cleanup phase; in https://git.openstack.org/cgit/openstack/diskimage-builder/tree/diskimage_builder/block_device/plugin.py#n13410:45
ianwyes, that's about where i got to as well i think10:46
ianwthe 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 grub10:47
ianw(it doesn't have --target set)10:47
hrwmy host system is x86-64/uefi and it still goes for bios10:48
ianwhmm, ok10:48
ianwhttps://anonscm.debian.org/cgit/pkg-grub/grub.git/tree/debian/postinst.in#n466 i hoped we could trigger somehow10:49
ianwhrw: 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 good10:51
hrwianw: have a nice evening10:51
hrwianw: and thanks for staying so late10:52
*** andreas_s has quit IRC11:01
*** andreas_s has joined #openstack-dib11:01
*** hrw has quit IRC11:08
*** andreas_s has quit IRC11:10
*** andreas_s has joined #openstack-dib11:16
*** vmlinuz has joined #openstack-dib11:22
*** andreas_s has quit IRC11:25
*** andreas_s has joined #openstack-dib11:26
*** andreas_s has quit IRC11:30
*** andreas_s has joined #openstack-dib11:31
*** vmlinuz has quit IRC11:36
*** vmlinuz has joined #openstack-dib11:38
*** pmannidi has joined #openstack-dib13:04
*** jaianshu has quit IRC13:35
*** hrw has joined #openstack-dib13:37
*** pmannidi has quit IRC13:46
*** andreas_s has quit IRC13:56
*** andreas_s has joined #openstack-dib13:56
*** andreas_s has quit IRC14:05
*** andreas_s has joined #openstack-dib14:05
*** hashar is now known as hasharAway14:06
*** dhill_ has joined #openstack-dib14:43
*** andreas_s has quit IRC14:54
*** andreas_s has joined #openstack-dib14:54
*** andreas_s has quit IRC15:03
*** andreas_s has joined #openstack-dib15:17
*** andreas_s has quit IRC15:25
*** andreas_s has joined #openstack-dib15:26
*** dhill_ has quit IRC15:48
*** dhill_ has joined #openstack-dib15:52
*** andreas_s has quit IRC15:59
*** vmlinuz has quit IRC19:29
*** dhill_ has quit IRC19:37
*** dhill_ has joined #openstack-dib19:39
*** dhill_ has quit IRC19:39
*** vmlinuz has joined #openstack-dib19:45
*** vmlinuz has joined #openstack-dib19:45
*** hasharAway is now known as hashar20:04
*** dhill_ has joined #openstack-dib20:05
*** vmlinuz has quit IRC20:12
openstackgerritOpenStack Proposal Bot proposed openstack/diskimage-builder master: Updated from global requirements  https://review.openstack.org/53395820:31
*** dhill_ has quit IRC21:01
*** dhill_ has joined #openstack-dib21:02
*** hashar has quit IRC21:16
*** hashar has joined #openstack-dib21:27
*** pmannidi has joined #openstack-dib21:33
*** pmannidi has quit IRC21:33
*** hashar has quit IRC21:44
*** vizo has joined #openstack-dib21:54
*** vizo has left #openstack-dib22:07
openstackgerritIan Wienand proposed openstack/diskimage-builder master: [WIP] GPT partitioning support  https://review.openstack.org/53349023:11
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Don't fstrim vfat partitions  https://review.openstack.org/53496923:11
*** dhill_ has quit IRC23:43
*** pmannidi has joined #openstack-dib23:52

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