openstackgerrit | Ian Wienand proposed openstack/diskimage-builder master: [WIP] Add block-device defaults https://review.openstack.org/539375 | 00:01 |
---|---|---|
ianw | tonyb: still fleshing it out, but ^ would include your GPT config | 00:01 |
ianw | for power | 00:01 |
ianw | what i'm thinking is you do "disk-image-create block-device-[mbr|gpt|efi] vm ..." | 00:02 |
tonyb | ianw: Looks cool. Is there a "nice" way we can default to block-device-mbr so $users dont *have* to update tooling? | 00:05 |
ianw | i'm just working on that now :) | 00:05 |
tonyb | ianw: Ahh okay | 00:05 |
tonyb | Aww man you ruined my yaml with *comments* :D | 00:06 |
tonyb | ianw: so block-device-gpt doesn't make sense on x86 ? (it doesn't have a -default config) | 00:08 |
ianw | oh, that's a git add issue there, will fix | 00:10 |
tonyb | ianw: ok | 00:21 |
*** owalsh has quit IRC | 01:05 | |
*** owalsh_ has joined #openstack-dib | 01:05 | |
*** owalsh_ is now known as owalsh | 01:06 | |
openstackgerrit | Ian Wienand proposed openstack/diskimage-builder master: Fail if two elements provide the same thing https://review.openstack.org/539401 | 02:24 |
*** andreas_s has joined #openstack-dib | 02:59 | |
openstackgerrit | Ian Wienand proposed openstack/diskimage-builder master: GPT partitioning support https://review.openstack.org/533490 | 03:02 |
openstackgerrit | Ian Wienand proposed openstack/diskimage-builder master: Fail if two elements provide the same thing https://review.openstack.org/539401 | 03:02 |
openstackgerrit | Ian Wienand proposed openstack/diskimage-builder master: [WIP] Add block-device defaults https://review.openstack.org/539375 | 03:02 |
*** andreas_s has quit IRC | 03:03 | |
*** mgagne has quit IRC | 03:22 | |
*** mgagne has joined #openstack-dib | 03:24 | |
*** mgagne is now known as Guest87240 | 03:24 | |
openstackgerrit | Ian Wienand proposed openstack/diskimage-builder master: [WIP] Add block-device defaults https://review.openstack.org/539375 | 03:29 |
ianw | hrw / tonyb : ^ so my thought is that each one of those can set an environment var, which can be picked up by the bootloader element? | 03:31 |
ianw | so you'd do "vm block-device-mbr" for just what we have now | 03:32 |
ianw | vm block-device-efi would create the partitions, and install uefi bootloader | 03:32 |
ianw | and would also be invalid on power, say (could error nicely) | 03:32 |
ianw | vm block-device-gpt would be valid there, along with block-device-mbr | 03:32 |
tonyb | Looks good. the hack in common-functions covers the backwards compate case I was worries about. I think you forgot the git add ...gpt/block-device-defaul.yaml | 03:38 |
openstackgerrit | Ian Wienand proposed openstack/diskimage-builder master: [WIP] Add block-device defaults https://review.openstack.org/539375 | 03:43 |
ianw | tonyb: thanks. yeah it's super hacky. i thought about something more generic, like elements declaring their own defaults ... | 03:43 |
ianw | but it's a bunch of work for one case, and probably someone we don't want to encourage | 03:43 |
tonyb | ianw: Yeah at this point I think 'functionally correct' is the minimum viable solution with the correct design stuff to follow | 03:45 |
tonyb | (if required) | 03:45 |
tonyb | ianw: I'd +1 it when the [WIP] prefix comes off ;P | 03:48 |
ianw | yeah, i'd like to validate it with the uefi patch on top | 03:50 |
ianw | but ... progress i think | 03:50 |
tonyb | ianw: it certainly *looks* like progress :) | 03:53 |
openstackgerrit | Ian Wienand proposed openstack/diskimage-builder master: Fail if two elements provide the same thing https://review.openstack.org/539401 | 05:20 |
openstackgerrit | Ian Wienand proposed openstack/diskimage-builder master: [WIP] Add block-device defaults https://review.openstack.org/539375 | 05:20 |
*** brault has joined #openstack-dib | 06:06 | |
*** brault has quit IRC | 06:10 | |
*** pmannidi has quit IRC | 07:19 | |
*** andreas_s has joined #openstack-dib | 07:30 | |
*** brault has joined #openstack-dib | 07:39 | |
openstackgerrit | lei zhang proposed openstack/diskimage-builder master: Remove some redundant indents https://review.openstack.org/539479 | 09:51 |
*** andreas_s has quit IRC | 10:52 | |
*** andreas_s has joined #openstack-dib | 10:56 | |
*** andreas_s has quit IRC | 11:06 | |
*** andreas_s has joined #openstack-dib | 11:07 | |
*** andreas_s has quit IRC | 11:11 | |
*** andreas_s has joined #openstack-dib | 11:17 | |
*** andreas_s has quit IRC | 11:22 | |
*** andreas_s has joined #openstack-dib | 11:27 | |
*** andreas_s has quit IRC | 11:36 | |
*** andreas_s has joined #openstack-dib | 11:42 | |
*** owalsh is now known as owalsh_afk | 12:01 | |
*** yolanda has quit IRC | 14:01 | |
*** yolanda has joined #openstack-dib | 14:03 | |
*** andreas_s has quit IRC | 14:07 | |
*** dhill_ has joined #openstack-dib | 14:28 | |
*** andreas_s has joined #openstack-dib | 14:31 | |
*** andreas_s has quit IRC | 14:31 | |
*** andreas_s has joined #openstack-dib | 14:32 | |
*** andreas_s has quit IRC | 14:46 | |
*** snasir has quit IRC | 15:24 | |
*** snasir has joined #openstack-dib | 15:24 | |
*** Guest87240 is now known as mgagne | 15:27 | |
*** mgagne has joined #openstack-dib | 15:27 | |
*** andreas_s has joined #openstack-dib | 16:42 | |
*** andreas_s has quit IRC | 16:56 | |
*** brault has quit IRC | 17:15 | |
*** brault has joined #openstack-dib | 17:16 | |
*** calebb has quit IRC | 19:57 | |
*** calebb has joined #openstack-dib | 20:00 | |
*** calebb is now known as squid | 20:02 | |
*** squid is now known as calebb | 20:02 | |
*** brault has quit IRC | 21:58 | |
ianw | hrw: if around, have you been setting ARCH=arm64 or aarch64 or ... none of hte above? | 22:27 |
ianw | clarkb: suse right? do you have a "grub-efi" package, or just grub? | 22:45 |
clarkb | ianw: http://paste.openstack.org/show/658247/ | 22:46 |
ianw | hmm, the trick's in all the dependencies i guess | 22:47 |
*** andreas_s has joined #openstack-dib | 22:54 | |
*** andreas_s has quit IRC | 22:58 | |
*** r351574nc3 has joined #openstack-dib | 23:08 | |
r351574nc3 | Hello? | 23:09 |
r351574nc3 | Anyone in here familiar with building images with dib? | 23:09 |
clarkb | r351574nc3: yes there are a few of us | 23:09 |
r351574nc3 | I am trying to use the iso elment | 23:11 |
r351574nc3 | and it always creates a separate image instead of just one image | 23:11 |
r351574nc3 | is there a way to get just one image? | 23:11 |
clarkb | you get a raw and an iso? | 23:11 |
r351574nc3 | yes | 23:11 |
r351574nc3 | image-boot.iso and image.raw | 23:12 |
clarkb | I think that may be a side effect of having an element produce the image | 23:15 |
clarkb | because the main builder process is going to produce the type of image you've told it to produce | 23:15 |
clarkb | to work around that iso support would likely have to be added into the main builder process itself | 23:16 |
r351574nc3 | ok, that makes sense | 23:17 |
r351574nc3 | Would it be possible for the ISO element to know where the main builder image contents are located? | 23:18 |
clarkb | yes I think it must because it is making an iso of that image content | 23:19 |
clarkb | I want to say its a global variable for the location of the loopback mounted device | 23:19 |
ianw | r351574nc3: there is a "no-final-image" element | 23:28 |
ianw | which is probably very lightly tested ... i forget exactly the details but it was for docker, etc images | 23:29 |
ianw | the iso element should maybe depend on it, but you could just add it | 23:29 |
r351574nc3 | Cool. I will try that. Thanks | 23:31 |
openstackgerrit | Ian Wienand proposed openstack/diskimage-builder master: [WIP] Choose appropriate bootloader for block-device https://review.openstack.org/539731 | 23:39 |
openstackgerrit | Ian Wienand proposed openstack/diskimage-builder master: [WIP] Add block-device defaults https://review.openstack.org/539375 | 23:48 |
openstackgerrit | Ian Wienand proposed openstack/diskimage-builder master: [WIP] Choose appropriate bootloader for block-device https://review.openstack.org/539731 | 23:48 |
openstackgerrit | Ian Wienand proposed openstack/diskimage-builder master: [WIP] Add block-device defaults https://review.openstack.org/539375 | 23:50 |
openstackgerrit | Ian Wienand proposed openstack/diskimage-builder master: [WIP] Choose appropriate bootloader for block-device https://review.openstack.org/539731 | 23:50 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!