Friday, 2017-01-13

*** k0da has quit IRC00:07
*** kylek3h has joined #openstack-powervm00:29
*** thorst_ has joined #openstack-powervm00:38
*** thorst_ has quit IRC00:43
*** thorst_ has joined #openstack-powervm00:59
*** thorst_ has quit IRC01:03
*** thorst_ has joined #openstack-powervm01:04
*** thorst_ has quit IRC01:04
*** seroyer has joined #openstack-powervm01:29
*** svenkat has joined #openstack-powervm01:40
*** svenkat has quit IRC01:48
*** seroyer has quit IRC01:59
*** seroyer has joined #openstack-powervm02:05
*** thorst_ has joined #openstack-powervm02:05
*** thorst_ has quit IRC02:08
*** smatzek has joined #openstack-powervm02:30
*** smatzek has quit IRC02:49
*** thorst_ has joined #openstack-powervm03:35
*** thorst_ has quit IRC03:37
*** seroyer has joined #openstack-powervm03:47
*** seroyer has quit IRC03:48
*** tjakobs has joined #openstack-powervm04:39
*** tjakobs has quit IRC04:44
*** tlian has quit IRC05:10
*** thorst_ has joined #openstack-powervm05:37
*** thorst_ has quit IRC05:42
*** jwcroppe has quit IRC06:23
*** kairo has joined #openstack-powervm06:45
*** thorst_ has joined #openstack-powervm07:39
*** AlexeyAbashkin has joined #openstack-powervm07:39
*** kairo has quit IRC07:40
*** kairo has joined #openstack-powervm07:42
*** thorst_ has quit IRC07:43
*** kairo_ has joined #openstack-powervm07:54
*** k0da has joined #openstack-powervm07:57
*** kairo_ has quit IRC07:58
*** Sujeet_ has joined #openstack-powervm09:04
*** kairo has quit IRC09:05
*** kairo has joined #openstack-powervm09:05
*** openstackgerrit has quit IRC10:18
*** smatzek has joined #openstack-powervm11:26
*** Sujeet_ has quit IRC11:28
*** thorst_ has joined #openstack-powervm11:40
*** thorst_ has quit IRC11:45
*** seroyer has joined #openstack-powervm12:17
*** thorst_ has joined #openstack-powervm12:41
*** k0da has quit IRC12:48
*** seroyer has quit IRC12:59
*** seroyer has joined #openstack-powervm13:00
*** k0da has joined #openstack-powervm13:04
*** thorst_ has quit IRC13:05
*** thorst_ has joined #openstack-powervm13:09
*** k0da has quit IRC13:11
*** svenkat has joined #openstack-powervm13:16
*** AlexeyAbashkin has quit IRC13:37
*** AlexeyAbashkin has joined #openstack-powervm13:40
*** edmondsw has joined #openstack-powervm13:45
*** nbante has joined #openstack-powervm13:55
*** mdrabe has joined #openstack-powervm14:01
*** BorD__ has joined #openstack-powervm14:02
*** smatzek has quit IRC14:30
*** tlian has joined #openstack-powervm14:39
thorst_efried: sorry about all those RTC e-mails  :-)14:44
*** seroyer has quit IRC14:47
efriedthorst_: swhat the Delete key is for.14:49
thorst_efried: good - that was the intention14:50
*** apearson has joined #openstack-powervm14:53
*** seroyer has joined #openstack-powervm15:02
*** tblakes has joined #openstack-powervm15:11
*** kairo has quit IRC15:15
*** jwcroppe has joined #openstack-powervm15:17
*** smatzek has joined #openstack-powervm15:20
*** apearson has quit IRC15:37
*** nbante has quit IRC15:38
*** tjakobs has joined #openstack-powervm15:48
*** mdrabe has quit IRC15:50
*** tjakobs has quit IRC15:52
*** tjakobs has joined #openstack-powervm15:55
*** mdrabe has joined #openstack-powervm16:00
efriedadreznec: any progress on having 1.0.0.4 in pypi?16:07
adreznecYeah, I'm fixing the job right now efried16:07
adreznecHad to get Julio to fix the build environment first16:07
efriedadreznec: noyce.  Was about to update the spawn change set, wanted to know whether I could bump the level in requirements.16:07
adreznecOnce this fix merges in the future anyone will be able to push a new version by just going to the neo jenkins and triggering the job with the appropriate git tag16:08
efriedlemme know when ready.16:08
adreznecFYI thorst_ ^16:08
tjakobsefried: it sounds like you want a config option, to specify the cache volume group? Then pass the baseImage name & VG to rest instead of just name?16:22
efriedtjakobs: I'd at least like to discuss the implications of the current design.  thorst_, you around?16:22
efriedtjakobs: while we wait for thorst_ - Was it your intention that the cache LV would live in the same VG as the VM's disk?16:34
tjakobsefried: yeah, I think that was his intention too (not sure if he is open to the conf idea or not). (see https://review.openstack.org/#/c/371946/)16:36
efriedohh, it's all coming together now.  I guess I should read that blueprint.16:37
efriedtjakobs: is there a nova change set for the nova/virt/imagecache.py work?16:39
thorst_I'd prefer a single volume group...I don't see too much benefit in having two other than 'we could'16:39
thorst_in a call, so slow to read/type16:39
tjakobsefried: just nova-powervm work that implements the nova imagecache https://review.openstack.org/#/c/40875816:40
efriedthorst_: okeydokey.  I want to make sure we don't paint ourselves into a corner in case we want to make the cache VG separate at some point in the future, but I think the current implementation could easily be expanded to accomodate that if desired.16:42
thorst_we can expand later if needed16:42
thorst_can never pull back, can always expand16:42
efriedI share your concerns about the naming convention.16:42
thorst_well, so I was looking at nova-powervm earlier16:43
thorst_and it looks like the way it was written adds IMAGE_ or something to the front?16:43
thorst_BOOT_16:44
thorst_so, it kinda looks like there is a precedent for this...16:44
thorst_I wanted to loop back and look more16:44
*** AlexeyAbashkin has quit IRC16:49
efriedthorst_: got it.  It looks like we're actually using single-character prefixes for VDisks because of the VDisk name limit (15c)16:49
efriedSo I think tjakobs has the right idea.16:50
thorst_efried: it still concerns me.  I kind of wonder if going to UUID's would be better though?16:50
thorst_because UUIDs won't really overlap.16:50
efriedWe would be limited to the first 15c of the UUID.16:50
efriedwhich is probably fine.16:50
thorst_they *could*...but the probability would be much less than before16:50
thorst_OK - that'd be OK16:50
tjakobswould we still want some identifier up front? or just the first 15 of uuid16:51
adreznecYeah, the issue there was totally with the VIOS name limit16:51
efriedI think consistency with the existing model is best.16:51
thorst_so a g_<UUID> is fine with me16:51
thorst_though I kinda want it as a constant rather than just inlined everywhere16:51
efriedIn fact, I would say we shouldn't even have a new prefix.16:51
efriedWe should just use the existing 'image' one.16:51
tjakobswill switch to i_, using constants16:52
efriedYeah, I was going to say that.  We have methods in the disk driver base to generate the name - I assume you're using that on the creation end.16:52
efriedNot sure if we have equivalent getter-type methods.  But if not, we should make 'em.16:53
efriedAt the very least, use '%s_' % disk_type[0] rather than hardcoding the prefix.16:53
efriedSee nova_powervm.virt.powervm.disk.driver.DiskAdapter#_get_disk_name16:53
tjakobsshould i make a new method that only uses uuid?16:54
efriedWell, I need to talk through this a little more, if only for my understanding.16:54
efriedA spawn request comes in with a glance image descriptor.  You need to transform that somehow into a cache image name.  Then you check whether that cache image exists in the localdisk VG.  If not, you create it.  Then you feed that cache image name to the VDisk.bld as its 'base'.  So far correct?16:57
tjakobscorrect16:57
thorst_tjakobs: that image can't be attached to another VM, right?16:59
thorst_it has to be the pure, checksum equivalent glance image.16:59
efriedthorst_: that has to be true, yes.  And matches the paradigm we have for IMAGE type disks elsewhere.16:59
efried...And when you need to clean up, you get all the instances' boot disks, grab their 'base' property, and subtract that set from the set of all cache images.  Anything that's left can be whacked.17:00
tjakobsyup17:00
efriedOkay, so your method that generates the set of all cache image names - using the 'i_' prefix to find 'em is copacetic.  I do want you to use the const to generate that prefix, though, and I see a potential circular import problem there.17:02
efriedmebbe not, help me think it through.17:03
efriedThe consts live in driver.  imagecache would have to import driver.  localdisk imports imagecache and driver.  Mm, that might be okay, right?  Or we may want to consider moving those consts (disk/const.py?)17:05
efriedAnyway, I think we're on the right track here.  tjakobs - want me to dig into the review now, or wait for your next patch set?17:06
tjakobscould be move the consts and the _get_disk_name and _get_image_name into the const.py?17:07
thorst_don't know that I want methods in const.py17:07
efriedIf it's gonna have methods, it should be called something other than const.  Maybe base.py or util.py17:07
tjakobsso consts, and usage of the consts into a disk/util.py?17:08
efriedI'm on board with that idea - but only if needed to resolve circular imports.  Otherwise, I'm okay leaving the base stuff in driver.py.  Unless thorst_ thinks otherwise?17:08
thorst_I'm ok leaving stuff in driver.py, but find with that refactor if it helps circular dependencies (like efried said)17:09
efriedcoo17:09
tjakobssounds good. efried go ahead and review it if you have time. the only things changing in the next patchset will be this naming stuff17:10
efriedk, then many of my comments will be reiterating what we've discussed above.17:11
efriedthorst_: is there a corresponding blueprint template in launchpad?17:17
efriedI'm not really up to speed on how blueprint cross-references are supposed to work.17:19
efriedaha, found it.17:19
*** kairo has joined #openstack-powervm17:34
*** apearson has joined #openstack-powervm17:35
*** kairo has quit IRC17:41
*** jwcroppe has quit IRC17:56
*** jwcroppe has joined #openstack-powervm17:59
*** nil_ has joined #openstack-powervm18:09
*** nil_ has quit IRC18:16
*** nil_ has joined #openstack-powervm18:17
*** apearson has quit IRC18:35
*** apearson has joined #openstack-powervm18:36
*** newbie has joined #openstack-powervm18:40
*** newbie has quit IRC18:40
*** nbante has joined #openstack-powervm18:45
*** nil_ has quit IRC18:46
*** jwcroppe has quit IRC18:48
*** nbante has quit IRC18:53
*** jwcroppe has joined #openstack-powervm18:53
*** nbante has joined #openstack-powervm18:53
*** openstack has joined #openstack-powervm19:00
*** apearson has quit IRC19:03
*** apearson has joined #openstack-powervm19:24
*** apearson has quit IRC19:40
*** apearson has joined #openstack-powervm19:56
*** openstackstatus has quit IRC19:57
*** openstack has joined #openstack-powervm19:59
*** k0da has joined #openstack-powervm20:09
*** openstackgerrit has joined #openstack-powervm20:15
openstackgerritTaylor Jakobson proposed openstack/nova-powervm: WIP First pass at imagecache  https://review.openstack.org/40875820:15
*** openstackstatus has quit IRC20:27
*** openstack has joined #openstack-powervm20:29
*** smatzek has quit IRC21:54
*** svenkat has quit IRC21:59
*** thorst_ has quit IRC22:02
*** thorst has joined #openstack-powervm22:03
*** thorst has quit IRC22:07
*** seroyer has quit IRC22:24
*** thorst has joined #openstack-powervm22:28
*** thorst has quit IRC22:31
*** smatzek has joined #openstack-powervm22:34
*** smatzek has quit IRC22:35
*** smatzek has joined #openstack-powervm22:35
*** smatzek has quit IRC23:01
*** tblakes has quit IRC23:05
*** tjakobs has quit IRC23:05
*** mdrabe has quit IRC23:10
*** edmondsw has quit IRC23:29
*** thorst has joined #openstack-powervm23:32
*** edmondsw has joined #openstack-powervm23:36
*** thorst has quit IRC23:37
*** edmondsw_ has joined #openstack-powervm23:38
*** edmonds__ has joined #openstack-powervm23:40
*** edmondsw has quit IRC23:41
*** edmondsw_ has quit IRC23:43
*** edmonds__ has quit IRC23:47
*** jwcroppe has quit IRC23:47

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