Wednesday, 2017-10-11

*** thorst has joined #openstack-powervm00:53
*** thorst has quit IRC00:54
*** AlexeyAbashkin has joined #openstack-powervm00:55
*** AlexeyAbashkin has quit IRC00:59
*** jwcroppe has joined #openstack-powervm01:32
*** jwcroppe has quit IRC01:54
*** thorst has joined #openstack-powervm02:17
*** thorst has quit IRC02:18
*** thorst has joined #openstack-powervm02:33
*** thorst has quit IRC02:38
*** jwcroppe has joined #openstack-powervm03:57
*** thorst has joined #openstack-powervm04:39
*** thorst has quit IRC04:44
*** jwcroppe has quit IRC05:59
*** thorst has joined #openstack-powervm06:40
*** thorst has quit IRC06:44
*** AlexeyAbashkin has joined #openstack-powervm07:37
*** thorst has joined #openstack-powervm07:41
*** thorst has quit IRC07:45
*** thorst has joined #openstack-powervm09:42
*** thorst has quit IRC09:48
-openstackstatus- NOTICE: The CI system will be offline starting at 11:00 UTC (in just under an hour) for Zuul v3 rollout: http://lists.openstack.org/pipermail/openstack-dev/2017-October/123337.html10:08
*** AlexeyAbashkin has quit IRC11:00
*** AlexeyAbashkin has joined #openstack-powervm11:01
*** efried has joined #openstack-powervm11:32
*** edmondsw has joined #openstack-powervm12:04
*** thorst has joined #openstack-powervm12:06
*** thorst_ has joined #openstack-powervm12:38
*** esberglu has quit IRC12:38
*** thorst has quit IRC12:39
*** esberglu has joined #openstack-powervm12:57
-openstackstatus- NOTICE: Due to unrelated emergencies, the Zuul v3 rollout has not started yet; stay tuned for further updates13:06
esbergluHas anyone stacked with OVS lately? Looking for an OVS local.conf to start with, no big deal if not13:24
*** jwcroppe has joined #openstack-powervm14:07
efriednot I14:10
*** tjakobs has joined #openstack-powervm15:09
*** jwcroppe has quit IRC15:15
*** jwcroppe has joined #openstack-powervm15:16
*** kylek3h has joined #openstack-powervm15:20
*** jwcroppe has quit IRC15:20
*** tjakobs has quit IRC15:38
*** tjakobs has joined #openstack-powervm15:41
*** tjakobs has quit IRC15:50
*** AlexeyAbashkin has quit IRC15:53
*** kylek3h has quit IRC16:01
*** kylek3h has joined #openstack-powervm16:02
*** kylek3h has quit IRC16:06
*** kylek3h has joined #openstack-powervm16:09
*** kylek3h has quit IRC16:09
*** kylek3h has joined #openstack-powervm16:15
*** kylek3h has quit IRC16:25
*** kylek3h has joined #openstack-powervm16:25
*** kylek3h has quit IRC16:29
*** AlexeyAbashkin has joined #openstack-powervm17:21
*** AlexeyAbashkin has quit IRC17:26
*** AlexeyAbashkin has joined #openstack-powervm17:29
*** AlexeyAbashkin has quit IRC17:34
*** kylek3h has joined #openstack-powervm17:59
*** jwcroppe has joined #openstack-powervm18:10
*** kylek3h has quit IRC18:12
*** efried is now known as efried_nomnom18:17
*** efried_nomnom is now known as efried18:58
*** jwcroppe has quit IRC19:31
*** edmondsw_ has joined #openstack-powervm20:08
*** edmondsw has quit IRC20:08
*** edmondsw_ is now known as edmondsw20:12
*** thorst_ has quit IRC20:55
*** thorst has joined #openstack-powervm20:58
*** esberglu has quit IRC21:03
*** thorst has quit IRC21:03
*** edmondsw has quit IRC21:07
*** edmondsw has joined #openstack-powervm21:14
*** edmondsw has quit IRC21:19
*** esberglu has joined #openstack-powervm21:34
*** openstackgerrit has joined #openstack-powervm21:39
openstackgerritMatt Rabe proposed openstack/nova-powervm master: Persist the max virtio slots number when resizing instances  https://review.openstack.org/51134321:39
openstackgerritMatt Rabe proposed openstack/nova-powervm master: Persist the max virtio slots number when resizing instances  https://review.openstack.org/51134321:39
mdrabeefried: ^21:39
*** thorst has joined #openstack-powervm21:40
efriedmdrabe Oh, ew, ew, ew.  Special-casing that one field?  We *must* be able to fix this in pypowervm.21:40
mdrabeIt's ultimately nova-powervm's fault though21:41
efriedmdrabe Oh, ew, ew, ew, we were *already* special-casing that one field.21:41
openstackgerritMatt Rabe proposed openstack/nova-powervm master: Persist the max virtio slots number when resizing instances  https://review.openstack.org/51134321:42
efriedmdrabe But not that ickily.21:42
mdrabeI stared at it in pypowervm for the past hour21:42
efriedmdrabe Okay, I'm gonna need you to convince me that we absolutely can't fix this in pypowervm.21:42
efriedCause I don't think this is nova-powervm's fault.21:42
mdrabeProblem is that pypowervm doesn't have context to know if it's a resize or create21:43
efriedI don't think it's unreasonable for nova-powervm to use DefaultStandardize and assume that any already-set fields otherwise not mentioned will be untouched.21:43
mdrabeBut the DefaultStandardize object doesn't know if it's gonna be used for creating a wrapper or updating one21:44
mdrabeSo you have to tell it "hey use these values"21:44
efriedThen we're gonna have this same problem with DEF_PROC_UNIT_FACT = 0.521:46
efriedDEF_MAX_SLOT = 6421:46
efriedDEF_UNCAPPED_WT = 6421:46
efriedDEF_SPP = 021:46
efriedDEF_AVAIL_PRI = 12721:46
efriedDEF_SRR = 'false'21:46
efriedDEF_LPAR_METRIC = False21:46
mdrabeI'm pretty darn sure we don't have those problems but I'm struggling to figure out why21:49
efriedmdrabe Well, I can't imagine a scenario where we would ever want to change those values.21:49
mdrabeIcan21:50
efriedSo I bet we have the problem, but would never have noticed it.21:50
mdrabeOh ah okay21:51
mdrabeno I see why it doesn't happen for those parameters21:51
mdrabegod this is confusing21:51
efriedproc units factor and uncapped weight we won't change; those are always coming from the conf.21:51
efriedI would think we could write a teensy test program to exercise this on a real system.21:51
mdrabeThose other params aren't always defaulted because they come from _format_flavor and are built into that attrs dictionary21:51
efriedwhee21:52
mdrabeAnd the values from the attrs dictionary in turn gets set in the DefaultStandardizer by the LPARBuilder21:52
mdrabehttps://github.com/powervm/pypowervm/blob/develop/pypowervm/utils/lpar_builder.py#L79421:52
mdrabeSo actually...21:53
efriedSo if we set max slots in format_flavor instead of init...21:54
mdrabeyea21:54
efriedIs max slots something we care to be able to configure via the flavor?21:54
efriedNot that we have to21:54
mdrabeRight it's like 1 step short of just exposing it in the flavor21:55
efriedit would just be prettier if we didn't have a hardcoded non-flavory thing in _format_flavor21:55
mdrabeI feel like somebody asked me about it before21:55
efriedBut with appropriate commenting, I'm good with it.21:55
mdrabeI'll just add it as an extra spec in the flavor21:56
mdrabeGive it the full seal21:56
efriedBut even so...21:56
efriedIf they omit it from the flavor, it'll have the same behavior.21:57
mdrabeYep21:58
mdrabeI was assuming there was some magic that populated unchanged attributes into the instance.flavor21:59
efriedWhat happens if you say attrs['max_slots'] = None ?  Does it leave the cursed thing alone, or does it actually override it?21:59
efriedmdrabe Oh, pretty sure no freakin way.21:59
mdrabeWhen you say attrs['max_slots'] = None22:00
mdrabeDo you mean, what if the element was missing from the XML entirely?22:01
efriedIf the element is missing from the flavor extra specs and we include it in the loop there, we'll be not fixing the bug.22:02
efriedIf we hardcode a line that says attrs['max_slots'] = flavor.get('max_slots', None) - i.e. default it to None (rather than absent) in attrs if unspecified in the flavor...22:03
efried...then either lpar_builder will leave whatever value is already in the wrapper; or it'll actually "set" it to None, and I don't know what the latter would mean.22:03
mdrabeYea and now I don't understand how this isn't a problem for those other attributes22:05
efriedmdrabe As I said, I bet it is.22:06
mdrabeI think in our case we populate flavors with most of those fields, so we wouldn't see it22:06
efriedAnd we just never tried to change 'em.22:06
efriedor that22:06
mdrabeYea this'll probably need a greater fix, I'll stare at it more tomorrow with fresh eyes22:07
*** edmondsw has joined #openstack-powervm22:25
*** edmondsw has quit IRC22:30
*** AlexeyAbashkin has joined #openstack-powervm22:47
*** edmondsw has joined #openstack-powervm22:48
*** AlexeyAbashkin has quit IRC22:52
*** edmondsw has quit IRC22:54
*** thorst has quit IRC23:33

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