Thursday, 2017-05-11

*** pmannidi has joined #openstack-dib00:28
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Move blockdevicesetupexception.py into blockdevice.py  https://review.openstack.org/46163300:45
openstackgerritIan Wienand proposed openstack/diskimage-builder master: block_device: reorder imports  https://review.openstack.org/46163200:45
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Refactor: block-device filesystem creation, mount and fstab  https://review.openstack.org/44458600:45
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Refactor: block-device filesystem creation, mount and fstab  https://review.openstack.org/44458600:53
openstackgerritMerged openstack/diskimage-builder master: exec_sudo: check cmd for str, log output and raise exception  https://review.openstack.org/46342701:25
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Remove unused val_else_none  https://review.openstack.org/46163401:53
openstackgerritMerged openstack/diskimage-builder master: Remove unused val_else_none  https://review.openstack.org/46163403:24
*** aparnav has joined #openstack-dib04:13
*** andreas-f has joined #openstack-dib04:27
*** jamielennox has quit IRC04:34
*** jamielennox has joined #openstack-dib04:34
openstackgerritMerged openstack/diskimage-builder master: block_device: reorder imports  https://review.openstack.org/46163204:53
*** chhavi has joined #openstack-dib05:00
*** pmannidi has quit IRC05:07
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Move dib-block-device implementation into cmd.py  https://review.openstack.org/46163505:18
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Refactor: block-device filesystem creation, mount and fstab  https://review.openstack.org/44458605:18
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Move YAML parsing into cmd.py; default to env  https://review.openstack.org/46163605:23
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Move blockdevicesetupexception.py into blockdevice.py  https://review.openstack.org/46163305:23
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Move dib-block-device implementation into cmd.py  https://review.openstack.org/46163505:23
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Refactor: block-device filesystem creation, mount and fstab  https://review.openstack.org/44458605:23
*** pmannidi has joined #openstack-dib05:24
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Create BlockDeviceCmd object  https://review.openstack.org/46163805:49
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Refactor: block-device filesystem creation, mount and fstab  https://review.openstack.org/44458605:49
yolandahi ianw , good morning05:50
ianwyolanda: hey05:50
ianwso after you guys had a look at those patches, i've been swizzling, squashing and putting several of them underneath the bd refactor05:51
yolandaso you need to abandon some of them?05:52
yolandaabout the suse failure, see our comments above, is due to a bad call to dib-block-device, because it's not getting it inside the chroot05:53
openstackgerritzgdeng proposed openstack/diskimage-builder master: WIP: Add zip element as s390 architecture bootloader  https://review.openstack.org/44354805:53
ianwyolanda: things are merging05:56
*** appu103 has joined #openstack-dib05:56
ianwsorry it's taken much longer to merge than i'd hoped05:58
*** aparnav has quit IRC05:59
ianwyolanda: i think the most practical thing to do will be to just pass env vars in06:00
ianwi mean, i thought we could do something like install diskimage_builder inside the chroot, and have dib-python find it from sys.path06:00
ianwi don't know if we want to do that06:01
yolandai need to have this available as well, for enumerating the mount points in my patch06:01
yolandahttps://review.openstack.org/44707606:01
ianwyeah ... or some sort of rpc mechanism?06:03
ianwone of the bind-mounts could have a socket, we have a listener ...06:04
ianwurgh06:04
ianwi think it would be best to work on this as a follow-on to the bd refactor06:06
ianweven if we squash the changes in after, we should consider the solution separately i think06:07
*** pmannidi has quit IRC06:07
yolandayes, it's a complex one06:19
*** appu103 has quit IRC06:20
*** appu103 has joined #openstack-dib06:20
*** pmannidi has joined #openstack-dib06:21
*** appu103 has quit IRC06:38
*** appu103 has joined #openstack-dib06:38
openstackgerritMerged openstack/diskimage-builder master: Move blockdevicesetupexception.py into blockdevice.py  https://review.openstack.org/46163306:52
openstackgerritMerged openstack/diskimage-builder master: Move dib-block-device implementation into cmd.py  https://review.openstack.org/46163507:04
*** appu103 has quit IRC07:22
openstackgerritMerged openstack/diskimage-builder master: Move YAML parsing into cmd.py; default to env  https://review.openstack.org/46163607:26
openstackgerritMerged openstack/diskimage-builder master: Create BlockDeviceCmd object  https://review.openstack.org/46163807:27
yolandathings are moving07:30
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Take --params from environment  https://review.openstack.org/46163707:39
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Move to subparsers  https://review.openstack.org/46163907:39
ianwyolanda: ^ those two will conflict with the bd refactor.  i'll rebase it on them.  both were approved last night, as follow-ons07:40
yolandaso main issue now seems to be the usage of dib-block-device command07:44
yolandamaybe we can find some workaround for suse, then work on it later07:44
ianwyolanda: i'd support just using env variables at this point?07:48
ianwa comma separated list?07:48
yolandaianw, not sure if i follow you. You mean exporting the generated vars?07:50
ianwin https://review.openstack.org/#/c/444586/52/diskimage_builder/elements/zypper/post-install.d/10-mkinitrd07:52
ianwisn't FS_TYPE set?  or we can set it outside?07:53
ianwquite honestly i have no idea what's happening in there :)07:53
yolandaso, that's also one of the problems i reported in one of my comments07:53
yolandaFS_TYPE still seems to be used and needs to be exported07:54
yolandabut then it's conflicting with the mkfs type option07:54
yolandaso you could set mkfs-> type=xfs for example, but if FS_TYPE is not set to xfs, it still continues picking ext407:54
ianwbut FS_TYPE doesn't make sense in a multiple partition world?07:54
yolandaindeed07:54
ianwsort of what i got to in https://review.openstack.org/46324307:55
yolandaalso see my comments on https://review.openstack.org/#/c/444586/, patchset 3607:56
ianwwhy, xfs doesn't understand "-m"?07:57
yolandait fails on older versions, works with the latest updated package on centos707:57
yolandabut i mean, in that situation, it was trying to set optiosn for ext4 because i didn't export FS_TYPE=xfs, although in my block-device.yaml i was setting / to xfs07:58
ianwooohhh07:58
ianwyolanda: so that should just be gated?08:00
ianw"if DIB_BLOCK_DEVICE_CONFIG; then don't set fs options at all from FS_TYPE"08:00
ianwi think we might actually need the checking like in https://review.openstack.org/#/c/463243/08:01
yolandabut then we need a way to extract the FS_TYPE that was set on root, then it's where dib-block-device is needed08:01
ianwright, but we could just do that, and set DIB_ROOT_FSTYPE08:01
ianwor something ... even if it's hackish08:01
ianwas long as it's documented ...08:02
ianwand, we could replace it with a better more generic way for elements to get info inside the chroot later on08:02
yolandathat will work for our need. At the point we need to use FS_TYPE on the image create, it's outside the chroot, so dib-block-device shall work08:03
openstackgerrityolanda.robla proposed openstack/diskimage-builder master: Refactor: block-device filesystem creation, mount and fstab  https://review.openstack.org/44458608:11
openstackgerritAndreas Florath proposed openstack/diskimage-builder master: Make python entry points accessible from elements  https://review.openstack.org/46393408:22
andreas-fThis can be the base for the fix for suse (and later on for bootloader refactoring).08:24
andreas-fBut I'm not sure about... Some hackish things were needed here.08:25
andreas-fwaiting for the CI results.08:27
*** hashar has joined #openstack-dib08:29
openstackgerritAndreas Florath proposed openstack/diskimage-builder master: Make python entry points accessible from elements  https://review.openstack.org/46393408:31
yolandaandreas-f, i'm also trying to collect FS_TYPE from the block device instead of the exported FS_TYPE var, but still WIP08:42
ianwandreas-f: that is ... quite a hack08:43
ianwi can't see it will work without a source tree?08:43
ianwwhere's the pip install coming from?08:43
ianwand it will require all sorts of dependencies inside the chroot08:44
andreas-fUps: your are right: a source tree is needed.08:44
andreas-fDo you have any other idea?08:44
andreas-f(IMHO just copying things around will not work.)08:44
ianwno08:45
ianwi feel like maybe some sort of socket rpc mechanism might work08:45
ianwif dib-block-device was setup to listen as a daemon on a common socket before the chroot08:45
ianwinside the chroot, we could make a simple request/response08:46
andreas-fYes - that would be a possibility.08:47
ianwbut, i also think just env vars we need for now is probably the KISS approach08:47
andreas-fBut would need major changes / extensions for the dib-block-device..08:47
ianwwe have so much new stuff going on, writing daemons etc is not worth it at this point08:47
andreas-fYes - env vars would work for the suse problem - But I'm not convinced that this is enough for the bootstrap.08:48
*** aparnav has joined #openstack-dib08:51
*** isaacb has joined #openstack-dib08:52
ianwi think we want to keep dib dependencies running in the chroot to a minimum08:53
ianwsee greg's work on busybox systems etc08:53
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Clear __init__.py from cmd move  https://review.openstack.org/46394308:53
yolandamm, is root-fstype not a valid symbol?08:53
yolandamm, seems that no... i'll work a bit more on this08:55
*** appu103 has joined #openstack-dib09:04
*** hashar has quit IRC09:07
*** aparnav has quit IRC09:07
yolandaandreas-f, so i'm thinking in implementing a root-fs-type symbol in getval, and that could parse the mkfs->type from the config yaml. We could use it to get FS_TYPE instead of relying on the env var, what do you think?09:18
yolandawill not fix the suse issue, because it's on chroot, but will fix the issues i have with the disk-image-create and the MKFS_OPTIONS09:19
*** appu103 has quit IRC09:25
*** aparnav has joined #openstack-dib09:25
openstackgerrityolanda.robla proposed openstack/diskimage-builder master: Refactor: block-device filesystem creation, mount and fstab  https://review.openstack.org/44458609:30
openstackgerrityolanda.robla proposed openstack/diskimage-builder master: Refactor: block-device filesystem creation, mount and fstab  https://review.openstack.org/44458609:31
openstackgerritMerged openstack/diskimage-builder master: Take --params from environment  https://review.openstack.org/46163709:37
*** brault|away is now known as brault09:40
openstackgerrityolanda.robla proposed openstack/diskimage-builder master: Refactor: block-device filesystem creation, mount and fstab  https://review.openstack.org/44458609:42
yolandamm, this seems to have worked, but i'm getting a different error now on unmount09:55
yolandai can create xfs images properly now, without having to export the FS_TYPE10:07
yolandaand didn't give any error, don't know why the IBM test failed10:08
ianwyolanda: the ibm test is failing always10:28
ianwwe need to fix up the bootloader, but i'm waiting till we get this in to work on it! :)10:29
yolandaah good to know then10:30
yolandabut i remember having seen +1 from that test, is a new issue?10:30
openstackgerrityolanda.robla proposed openstack/diskimage-builder master: Refactor: block-device filesystem creation, mount and fstab  https://review.openstack.org/44458610:34
openstackgerritMerged openstack/diskimage-builder master: Clear __init__.py from cmd move  https://review.openstack.org/46394310:35
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Move to subparsers  https://review.openstack.org/46163910:50
openstackgerrityolanda.robla proposed openstack/diskimage-builder master: Refactor: block-device filesystem creation, mount and fstab  https://review.openstack.org/44458610:55
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Move to subparsers  https://review.openstack.org/46163911:04
*** aparnav has quit IRC11:20
yolandai see the green in the tests finally!11:35
openstackgerrityolanda.robla proposed openstack/diskimage-builder master: Apply setfiles on all mountpoints  https://review.openstack.org/44707611:40
*** LiCeUser1 has joined #openstack-dib11:43
openstackgerrityolanda.robla proposed openstack/diskimage-builder master: Apply setfiles on all mountpoints  https://review.openstack.org/44707611:44
*** LiCeUser1 is now known as abarbaneld11:59
*** abarbaneld has left #openstack-dib12:00
*** abarbaneld has joined #openstack-dib12:00
openstackgerrityolanda.robla proposed openstack/diskimage-builder master: Apply setfiles on all mountpoints  https://review.openstack.org/44707612:34
openstackgerrityolanda.robla proposed openstack/diskimage-builder master: Add lvm management to diskimage-builder  https://review.openstack.org/44440312:44
*** chhavi_ has joined #openstack-dib13:10
*** chhavi has quit IRC13:12
openstackgerrityolanda.robla proposed openstack/diskimage-builder master: Add lvm management to diskimage-builder  https://review.openstack.org/44440313:16
openstackgerrityolanda.robla proposed openstack/diskimage-builder master: Apply setfiles on all mountpoints  https://review.openstack.org/44707614:08
*** yolanda has quit IRC14:14
*** yolanda has joined #openstack-dib14:16
*** isaacb has quit IRC14:56
*** isaacb has joined #openstack-dib15:16
*** chhavi_ has quit IRC15:37
*** isaacb has quit IRC16:09
*** chhavi_ has joined #openstack-dib16:24
*** andreas-f has quit IRC19:01
*** chhavi_ has quit IRC19:06
openstackgerrityolanda.robla proposed openstack/diskimage-builder master: Add lvm management to diskimage-builder  https://review.openstack.org/44440319:37
*** andreas-f has joined #openstack-dib20:00
*** abarbaneld has quit IRC21:22
*** jamielennox is now known as jamielennox|away22:42
openstackgerritMerged openstack/diskimage-builder master: Move to subparsers  https://review.openstack.org/46163923:02
*** jamielennox|away is now known as jamielennox23:22
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Remove args from BlockDevice() init  https://review.openstack.org/46164023:36
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Move config out of parameter YAML file  https://review.openstack.org/46324223:40
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Refactor: block-device filesystem creation, mount and fstab  https://review.openstack.org/44458623:44

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