Thursday, 2017-10-26

*** chhavi has joined #openstack-powervm00:14
*** tjakobs has quit IRC00:18
*** chhavi has quit IRC00:18
*** k0da has quit IRC00:34
*** esberglu has joined #openstack-powervm01:20
*** esberglu has quit IRC01:20
*** esberglu has joined #openstack-powervm01:30
openstackgerritEric Berglund proposed openstack/nova-powervm master: Move host cpu stats to pypowervm  https://review.openstack.org/51286401:41
*** esberglu has quit IRC01:46
*** AlexeyAbashkin has joined #openstack-powervm01:51
*** AlexeyAbashkin has quit IRC01:55
*** zerick has quit IRC02:26
*** zerick has joined #openstack-powervm02:27
*** zerick has quit IRC02:43
*** zerick has joined #openstack-powervm02:43
*** AlexeyAbashkin has joined #openstack-powervm02:51
*** AlexeyAbashkin has quit IRC02:55
*** thorst has joined #openstack-powervm03:35
*** thorst has quit IRC03:41
*** AlexeyAbashkin has joined #openstack-powervm03:51
*** AlexeyAbashkin has quit IRC03:55
*** chhavi has joined #openstack-powervm05:29
*** thorst has joined #openstack-powervm05:37
*** thorst has quit IRC05:41
*** AlexeyAbashkin has joined #openstack-powervm06:03
*** AlexeyAbashkin has quit IRC06:19
*** k0da has joined #openstack-powervm07:49
*** AlexeyAbashkin has joined #openstack-powervm08:03
*** AlexeyAbashkin has quit IRC09:02
*** AlexeyAbashkin has joined #openstack-powervm09:06
*** AlexeyAbashkin has quit IRC09:37
*** thorst has joined #openstack-powervm09:39
*** thorst has quit IRC09:43
*** AlexeyAbashkin has joined #openstack-powervm09:46
*** AlexeyAbashkin has quit IRC09:53
*** k0da has quit IRC10:22
*** AlexeyAbashkin has joined #openstack-powervm11:07
*** edmondsw has joined #openstack-powervm11:50
*** chhavi has quit IRC11:58
openstackgerritMatthew Edmonds proposed openstack/ceilometer-powervm master: update translations  https://review.openstack.org/51440512:00
*** thorst has joined #openstack-powervm12:01
openstackgerritEric Fried proposed openstack/ceilometer-powervm master: update translations  https://review.openstack.org/51440512:04
efriededmondsw In case you hadn't noticed, I'm taking on the burden of risk of editing those translation files when I find something that's clearly wrong.12:04
edmondswefried yep, I saw that... tx12:04
edmondswI wouldn't ask you to do that, but I won't object, either... I was tempted to do it myself12:05
efriedOtherwise there seems no point in bothering with a "review" of translation patches.12:06
efriededmondsw Have there been zero changes to translated messages since we cut pike?12:41
efriedI.e. are these backports legit?12:41
efriedOr possibly more to the point: at what stage did we send stuff off for translation?  Maybe the master ones were bogus.12:41
edmondswefried my understanding is that the files that were sent off for translation were pulled from pike12:41
efriededmondsw Okay, so if we've updated anything in master since then, it would be out of sync there.  But I guess them's the breaks anyway.12:42
edmondswefried yeah... using pike translations in master is better than using ocata translations in master :)12:42
efriedright12:42
*** miltonm has joined #openstack-powervm12:49
*** chhavi has joined #openstack-powervm12:53
*** k0da has joined #openstack-powervm13:30
*** esberglu has joined #openstack-powervm14:07
openstackgerritMerged openstack/ceilometer-powervm master: update translations  https://review.openstack.org/51440514:36
edmondswefried what do you think of the comment I just added on 6049?14:44
efried...14:44
*** burgerk has joined #openstack-powervm14:51
efriededmondsw Replied.  esberglu opinion?14:52
edmondswguess it could be a dict instead of a class14:54
edmondswthat simplifies it somewhat14:54
edmondswefried ^14:54
efriededmondsw Meh, could be.  That kinda gets back to being pretty close to making it nova-specific.14:55
efriededmondsw Makes it weirder if we're converting from one dict format to another.14:56
edmondswefried not really... dict doesn't have to align with nova's dict keys14:56
edmondsweh14:56
efriedI know14:56
edmondswI don't mind converting from one dict format to another any more than converting from a class to a dict14:57
edmondswconversion has to happen either way14:57
efriedshrug14:57
edmondswmore to the point is what's best for pypowervm14:57
esbergluefried: edmondsw: Catching up15:01
efriedsee also slack15:02
esbergluI like the dict better than another class I think, I'll see where we land in slack15:11
*** tjakobs has joined #openstack-powervm15:24
*** AlexeyAbashkin has quit IRC15:29
esbergluedmondsw: I'm not clear on why we need the extra class at all, perhaps I'm missing something15:38
esbergluWon't this new get_latest method still essentially be a shim for _refresh_if_needed?15:38
edmondswesberglu sort of15:39
edmondswone way or the other, the caller needs to do something that will trigger a refresh15:39
edmondswget_latest makes more sense from a client perspective... they're not worrying about caching, they're just saying "I want the latest"15:40
edmondswwhereas _refresh_if_needed implies that the caller knows there's caching and a refresh may or may not be needed15:40
esbergluYeah I get that from a naming standpoint. But why can't we just call it get_latest, make it a shim for _refresh_if_needed, and keep the total cycles count where they are?15:41
edmondswbecause "get_latest" needs to return something15:41
edmondswif you don't have a new class, what would it return?15:41
efriedIt's a usage model thing.  I get what edmondsw is saying.  It makes sense.  The refresh would ideally happen automagically when you access the properties.  Then we could get around all of this crapola.15:43
efriedJust looked at _refresh_if_needed, and it's actually really cheap when you don't need to refresh.  It just compares the current time to the last-updated datestamp.15:43
efriedSo we could make each of the public instance attrs a @property that does _refresh_if_needed.  Bam, one class, and one less consumer call.15:44
efried(not cpu_freq - that should still get set once in init and stay an instance attr since it's static (for now))15:45
efriedesberglu edmondsw Thoughts? ^15:45
edmondswefried we could... but cheap or not I don't love calling that 4 times (today... could grow) when once should be enough15:47
esbergluedmondsw: Why does get_latest() need to return anything?15:47
edmondswesberglu semantics... a "get" needs to return something15:48
esbergluedmondsw: gather_latest() ;)15:51
esbergluI guess this just seems like adding extra complexity to me15:51
efriedPersonally I don't think it's awful to call refresh() on a thing called "Cache" before you access its data.15:51
edmondswefried esberglu ok, nevermind... just add a refresh method16:12
efriedesberglu But rename the thing to ...Cache16:12
esbergluefried: edmondsw: Sounds good16:13
*** kjw3 has joined #openstack-powervm16:23
*** AlexeyAbashkin has joined #openstack-powervm16:53
*** AlexeyAbashkin has quit IRC16:57
openstackgerritEric Berglund proposed openstack/nova-powervm master: Get host-level cpu metrics from pypowervm metric cache  https://review.openstack.org/51286417:12
*** AlexeyAbashkin has joined #openstack-powervm17:48
*** AlexeyAbashkin has quit IRC17:52
efriedesberglu Minor tweaks on the pypowervm side18:23
*** AlexeyAbashkin has joined #openstack-powervm18:30
*** AlexeyAbashkin has quit IRC18:34
*** chhavi has quit IRC18:37
*** AlexeyAbashkin has joined #openstack-powervm18:47
mdrabeesberglu: CI alright? Can I recheck https://review.openstack.org/#/c/514858/?18:50
esberglumdrabe: Yeah recheck18:51
mdrabethnx18:51
*** AlexeyAbashkin has quit IRC18:52
*** AlexeyAbashkin has joined #openstack-powervm20:31
*** burgerk has quit IRC20:34
*** AlexeyAbashkin has quit IRC20:35
*** AlexeyAbashkin has joined #openstack-powervm20:47
*** thorst has quit IRC20:50
*** AlexeyAbashkin has quit IRC20:52
*** thorst has joined #openstack-powervm22:00
*** thorst has quit IRC22:06
openstackgerritTaylor Jakobson proposed openstack/nova-powervm master: ISCSI volume attachment fixes  https://review.openstack.org/46759922:07
*** esberglu has quit IRC22:07
*** k0da has quit IRC22:08
*** k0da has joined #openstack-powervm22:15
*** tjakobs has quit IRC22:41
*** AlexeyAbashkin has joined #openstack-powervm22:46
*** AlexeyAbashkin has quit IRC22:50
*** k0da has quit IRC23:05
*** AlexeyAbashkin has joined #openstack-powervm23:07
*** AlexeyAbashkin has quit IRC23:11
*** AlexeyAbashkin has joined #openstack-powervm23:27
*** thorst has joined #openstack-powervm23:29
*** AlexeyAbashkin has quit IRC23:32
*** thorst has quit IRC23:43

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