Friday, 2017-05-19

*** radez has quit IRC01:03
*** Sukhdev has quit IRC01:12
*** Sukhdev has joined #openstack-dib01:22
*** Sukhdev has quit IRC01:22
*** Sukhdev has joined #openstack-dib02:36
*** xinliang has quit IRC02:49
*** xinliang has joined #openstack-dib03:01
*** owalsh_ has joined #openstack-dib03:19
*** owalsh has quit IRC03:23
*** Sukhdev has quit IRC03:40
*** jamielennox is now known as jamielennox|away03:46
*** aparnav has joined #openstack-dib03:48
*** jamielennox|away is now known as jamielennox03:53
*** aparnav has quit IRC04:15
*** chhavi has joined #openstack-dib04:34
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Switch to using "partition" objects  https://review.openstack.org/46591605:08
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Move exception to it's own file (again)  https://review.openstack.org/46612905:08
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Move parts of Partition creation into object  https://review.openstack.org/46583805:08
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Split partition into it's own file  https://review.openstack.org/46583705:08
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Move to generic configuration parsing  https://review.openstack.org/46541705:08
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Switch debian to deb.debian.org  https://review.openstack.org/46618205:08
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Remove tree config parser from plugins  https://review.openstack.org/46618305:08
ianwyolanda: ^ stack ready for review!05:09
ianwi'd really like you to test with multiple partitions.  as called out, we have lots of options for ordering.  i'd like to get suggestions05:10
ianwcouple of mirror failures, but looks like CI is otherwise good with that stack05:52
ianwwhich is good for the simple case at least05:52
andreas-fianw: just commented your partition objects patch. What do you think?05:54
ianwandreas-f: so i don't think we need pre/post phases?05:55
ianwthe "partitioning" object just does the partitioning when it's create() gets called05:56
ianwit just needs to know how to walk to the partition objects attached to it to get them in the right order?05:56
ianwi'm fine with the "partition" objects being essentially no-ops ... their create() does nothing because they're created by their parent node05:56
ianwso it's something like05:57
ianw  pre steps05:57
ianw  for node in sorted_partitions_list: partitions.append(node)05:57
ianw  do partitioning magic05:57
ianw  post steps05:57
andreas-fYes - the order is the problem: when we use your proposal we need an 'additional ordering' that has to be implemented in the partitioning (any maybe other) objects.05:58
andreas-fWhen we use a more generic way (adding weights) this is solved once for all.05:58
ianwright, so one simple way would be to just put a int() in each partition that is the order05:58
ianwthen, you walk the partitions, do a sort by that number, and you've got them in order05:58
andreas-fExactly.05:59
ianwalthough, i'm not sure if it's not deterministic that when attaching a node, when you walk, do you get them back in the same order anyway?05:59
ianwis it stable?05:59
ianwit's not based on a hash?05:59
andreas-fNo - exactly this is the problem - which can be solved using weights (i.e. numbers).06:00
andreas-fInstead of having the 'number' in the node - we put it into the edge.06:00
andreas-fThen the algorithms using the graph can use this number to order them.06:01
ianwhow do we express that in the config?06:01
andreas-fThe config will only chance for partitions: the number has to be added.06:01
andreas-fFor all other (where the order is not important) we could use a default '0'.06:02
ianwit seems the only change required here will be in line 163 of https://review.openstack.org/#/c/465916/4/diskimage_builder/block_device/level1/partitioning.py06:02
ianwinstead of using get_iter_outgoing() it can use something else, to get the weighted values in the right order?06:02
andreas-fNot even this: the get_iter_outgoing() knows about weights (because they have to be implemented in the digraph level).06:04
andreas-fand returns the outgoing nides in the correct way.06:04
andreas-fThe Interface for the create_edge() must change: an additional (defaulted) weight parameter must be added.06:05
ianwandreas-f: ok, i'm pretty much out of time for today.  i think we're pretty close to the same idea on this.  if you have time to implement something like this i'd appreciate it as a follow-on to 46591606:07
ianwotherwise i'll get into it more next week my time06:07
ianwwe can always squash changes, etc, once we've reviewed them, but let's try to keep thing in very digestible chunks06:07
andreas-fI also have to leave; I try to do something during the weekend.06:07
andreas-fYes - understand: only small changes ;-)06:08
ianwandreas-f: ok, thanks.  are you broadly ok with the idea of centralising the config like this?  i feel like it results in much more consistent behaviour06:08
ianwespecially when we start adding on the lvm/pv/ etc etc stuff06:08
andreas-fYes - I'm find with this: it sounds really good.06:08
ianwandreas-f: ok, great, well let's sync up later. cheers06:09
andreas-fBye.06:09
yolandahi ianw , looking at the conversation now06:22
yolandafor sure i can test it06:22
*** andreas-f has quit IRC06:57
*** adam_g has quit IRC07:00
*** adam_g has joined #openstack-dib07:01
*** adam_g has quit IRC07:12
*** adam_g has joined #openstack-dib07:13
*** adam_g has quit IRC07:21
*** adam_g has joined #openstack-dib07:22
ianwyolanda: thanks ... as discussed we might need the edge weighting stuff for multiple partitions ... or maybe it just happens to work too.  i dunno :)  some of the earlier bits are probably ok as is, they're just code movement with no changes07:42
openstackgerrityolanda.robla proposed openstack/diskimage-builder master: Add dracut-regenerate elements  https://review.openstack.org/44704707:43
yolandaso if the elements are on a list, they will likely preserve the order. The problem i was hitting before, that Andreas fixed, is that they were stored on a dictionary, so the order was random07:44
ianwyeah, i'm not sure about the digraph implementation in the background07:45
ianwthat was why i suggested it might "just work" anyway if the list ordering is preserved, even if that's actually unintentional07:45
*** makowals_ has quit IRC08:34
*** xinliang has quit IRC09:00
*** xinliang has joined #openstack-dib09:11
*** hashar has joined #openstack-dib09:17
*** openstack has joined #openstack-dib09:57
*** hashar has quit IRC09:57
*** owalsh_ is now known as owalsh09:59
*** hashar has joined #openstack-dib10:03
*** makowals has joined #openstack-dib10:20
*** chhavi has quit IRC10:24
*** hashar has quit IRC11:19
*** brault has joined #openstack-dib11:31
*** pmannidi has quit IRC11:37
*** pmannidi has joined #openstack-dib11:37
*** pmannidi has quit IRC12:07
*** hashar has joined #openstack-dib12:29
*** hashar has quit IRC12:35
*** hashar has joined #openstack-dib12:35
*** makowals has quit IRC12:55
*** makowals has joined #openstack-dib12:56
*** makowals has quit IRC13:12
*** makowals has joined #openstack-dib13:22
*** hashar has quit IRC13:40
*** makowals has quit IRC14:06
*** makowals has joined #openstack-dib14:14
*** hashar has joined #openstack-dib14:41
openstackgerritAndreas Scheuring proposed openstack/diskimage-builder master: WIP: Add zipl support for s390 architecture with SCSI boot  https://review.openstack.org/46630814:46
*** hashar has quit IRC15:13
*** brault has quit IRC16:42
*** sauloaislan has quit IRC16:48
*** Sukhdev has joined #openstack-dib17:47
*** brault has joined #openstack-dib17:59
*** brault has quit IRC18:03
*** andreas-f has joined #openstack-dib18:16
*** Sukhdev has quit IRC19:37
openstackgerritJesse Keating proposed openstack/diskimage-builder master: Remove use of 'which'.  https://review.openstack.org/46606319:43
openstackgerritAndreas Florath proposed openstack/diskimage-builder master: Switch to using "partition" objects  https://review.openstack.org/46591620:15
openstackgerritAndreas Florath proposed openstack/diskimage-builder master: Move exception to it's own file (again)  https://review.openstack.org/46612920:15
openstackgerritAndreas Florath proposed openstack/diskimage-builder master: Move parts of Partition creation into object  https://review.openstack.org/46583820:15
openstackgerritAndreas Florath proposed openstack/diskimage-builder master: Split partition into it's own file  https://review.openstack.org/46583720:15
openstackgerritAndreas Florath proposed openstack/diskimage-builder master: Switch debian to deb.debian.org  https://review.openstack.org/46618220:15
openstackgerritAndreas Florath proposed openstack/diskimage-builder master: Remove tree config parser from plugins  https://review.openstack.org/46618320:15
openstackgerritAndreas Florath proposed openstack/diskimage-builder master: Move to generic configuration parsing  https://review.openstack.org/46541720:15
*** andreas-f has quit IRC20:51
*** andreas-f has joined #openstack-dib20:52
*** andreas-f has quit IRC20:53
*** Sukhdev has joined #openstack-dib21:14
*** yolanda has quit IRC21:18
*** yolanda has joined #openstack-dib21:20
*** jamielennox is now known as jamielennox|away23:00
*** Sukhdev has quit IRC23:22
*** jamielennox|away is now known as jamielennox23:40

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