Thursday, 2019-03-14

*** tetsuro has joined #openstack-placement00:08
*** dklyle has quit IRC00:31
*** dklyle has joined #openstack-placement00:31
*** takashin has joined #openstack-placement00:42
*** dklyle has quit IRC00:46
*** mriedem_afk has quit IRC01:11
*** rubasov has quit IRC02:24
*** rubasov has joined #openstack-placement02:31
*** alex_xu has quit IRC03:32
*** alex_xu has joined #openstack-placement03:36
openstackgerritMerged openstack/placement master: Link to install docs from deployment overview  https://review.openstack.org/64312304:06
openstackgerritMerged openstack/placement master: Indicate existince of `sync_on_startup` option  https://review.openstack.org/64312404:06
openstackgerritMerged openstack/placement master: Clean up around links to database migrations scripts  https://review.openstack.org/64312504:06
openstackgerritMerged openstack/placement master: Clean up the intro to the REST API section  https://review.openstack.org/64312604:06
*** alex_xu has quit IRC06:06
*** alex_xu has joined #openstack-placement06:07
*** e0ne has joined #openstack-placement07:45
egonzalezFYI, kolla patches for placement extraction are being merged. hopefully we have everything in tree today08:00
*** takashin has left #openstack-placement08:01
*** tssurya has joined #openstack-placement08:12
*** ttsiouts has joined #openstack-placement08:37
*** helenafm has joined #openstack-placement08:44
*** e0ne has quit IRC09:43
*** e0ne has joined #openstack-placement09:46
*** cdent has joined #openstack-placement10:11
openstackgerritChris Dent proposed openstack/placement master: WIP: Optionally run a wsgi profiler when asked  https://review.openstack.org/64326910:42
openstackgerritTetsuro Nakamura proposed openstack/placement master: Trivial: Update doc for _set_traits()  https://review.openstack.org/64328610:59
*** ttsiouts has quit IRC11:44
cdenttetsuro: if you're inclined to approve https://review.openstack.org/#/c/641500/ instead of -1 it, I can move those tests in a follow up. No worries if you would prefer it change now, but if you're okay with it, that stack can start falling in11:59
cdent(I left a comment on the review saying the same thing)12:00
tetsurocdent: +W'ed the patch at the bottom. I'd like to start from https://review.openstack.org/#/c/642111 tomorrow if I have time and it is still open tomorrow.12:16
cdentGreat, thanks. I'm starting that fup patch now.12:16
cdentassuming jay doesn't come round, I assume it will still be open12:17
*** ttsiouts has joined #openstack-placement12:17
*** helenafm has quit IRC12:30
*** e0ne has quit IRC12:31
openstackgerritChris Dent proposed openstack/placement master: Move set_traits tests back to test_resource_provider  https://review.openstack.org/64331312:32
openstackgerritChris Dent proposed openstack/placement master: Remove unused table constants from allocation_candiate.py  https://review.openstack.org/64331412:32
tetsuroHave a fabulous Thursday.12:32
*** tetsuro has quit IRC12:32
efriedegonzalez: That's great news, thanks for the heads up12:39
efriedcdent: not sure how this works... [eRxT]12:39
efried[eRxT]12:39
cdentefried: [t eRxt]12:40
efriedokay. and...12:40
cdenthmmm12:40
efriedwhy no link?12:40
efriedhttp://p.anticdent.org/eRxT12:40
efriedalso, when I tried to browse the logs, I had to manually twiddle the querystring to find that message. "earlier" and "later" skipped around too far.12:41
cdent[t eRxT]12:41
purplerbot<egonzalez> FYI, kolla patches for placement extraction are being merged. hopefully we have everything in tree today [2019-03-14 08:00:03.410675] [n eRxT]12:41
cdentit's case sensitive12:41
efrieddid I do the wrong case?12:41
cdentyes, earlier and later are broken: https://github.com/cdent/purpler/issues/1112:41
efriedokay.12:41
cdentI did the wrong case, but you didn't do the initial t12:41
cdentthere's also12:41
cdent[l eRxT]12:41
purplerbothttp://p.anticdent.org/eRxT12:41
efriedall of which to say: kolla patches for ...12:42
cdentI haven't bothered to fix earlier and later because other things seemed to be more important and nobody was clamouring. patches accepted etc, but also: meh12:42
cdentyay! to the kolla changes12:43
*** dklyle has joined #openstack-placement13:01
*** mriedem has joined #openstack-placement13:08
*** e0ne has joined #openstack-placement13:32
openstackgerritMerged openstack/placement master: Move Trait and TraitList to own module  https://review.openstack.org/64150013:45
openstackgerritMerged openstack/placement master: Update get trait and traits calls that were writers to reader  https://review.openstack.org/64150114:04
*** helenafm has joined #openstack-placement14:16
dansmithI hesitate to start a holy war about this, but...14:46
* cdent girds loins14:47
dansmithhas there been any discussion about compute node capabilities for image type support being exposed in traits?14:47
dansmithmeaning,14:47
dansmithcertain configurations of libvirt can't support qcow images, and I assume vmware or hyperv can't either14:47
dansmithso having a compute node expose "I can do qcow" and "I can do raw" and "i can do vmdk" so we can filter on them would be nice14:48
cdentyes, that does sound nice and does seem like a trait-like thing14:48
dansmithotherwise you schedule to a compute, it downloads an image, decides it can't work and fails14:48
dansmithokay, seemed reasonable to me, but, you know :)14:48
cdentikr.14:48
cdentI think where that would run into trouble is if someone started talking about manipulating those traits on the fly in some wacky way14:49
dansmithmriedem: as a virt capabilities kinda guy, have any thoughts on that?14:49
dansmithcdent: sure, but that probably goes for most everything14:49
* cdent nods14:50
*** ttsiouts has quit IRC14:50
*** ttsiouts has joined #openstack-placement14:51
*** ttsiouts has quit IRC14:51
*** ttsiouts has joined #openstack-placement14:52
cdentdansmith: who/what is the authority on whether the virt can do that thing? Would it require yet-more-config, or is it something virt driver can determine?14:53
dansmithcdent: in the libvirt qcow case, it's totes determinable from existing setup, and I assume vmware can say "no" across the board14:54
cdent"determinable from existing setup" makes my heart sing14:54
dansmithyeah, it would be better to do it a different way if not14:55
dansmithso, as an example of how bad this currently is,14:55
dansmithlibvirt nodes that use ceph can't use qcow images,a14:55
dansmithand the advice is to configure glance to automatically flatten any uploaded image to raw across the board globally to prevent an image from being available which is not usable14:56
dansmithwhich is pretty crazy, and means you can't have two types of compute nodes without a lot of extra work, and presumably would also be done by mixed-hypervisor people for similar reasons14:56
* cdent nods14:57
dansmithso really, libvirt just needs to say "yes to qcow" unless it's configured for ceph14:57
cdentthat would be much tidier14:57
efriedcdent, dansmith: sorry I haven't been following this, but I'm +1 on the idea, and it sounds totally doable with information the virt driver already knows.15:06
efriedWe did things in powervm to dynamically set the "can imagecache" virt driver capability based on which disk driver was in play.15:06
efriedand the virt driver capability dict is one-line-of-code-per-trait away from mapping directly to compute RP traits.15:06
dansmithright15:07
dansmithand we can pre-filter for max optimization since we know the image details early15:07
efriedbecause https://review.openstack.org/#/c/538498/15:07
efriedyup15:07
dansmithrogjt15:07
dansmith*right15:07
dansmithif I can get mriedem here to not shit on it, I shall plan to execute15:08
mriedemwhat now? sorry was out trying to unclog drains since my sump pump is running every 30 seconds15:10
dansmithsnow melting?15:11
mriedemyeah, plus off and on rain for 2+ days15:11
mriedemso you're talking about something like this yeah? https://review.openstack.org/#/c/640271/15:11
mriedemor a problem like ^15:12
dansmithwell,15:12
dansmithprobably for a similar reason yeah15:12
mriedemso you want to just expose a virt capability via traits as something like COMPUTE_SUPPORTS_QCOW right?15:13
mriedemand then a placement request filter in nova to pre-filter based on the image type15:14
openstackgerritChris Dent proposed openstack/placement master: Extract user and endpoint creation install doc  https://review.openstack.org/64336315:14
dansmithyes15:14
dansmithexactly that15:14
mriedemthat seems totally fine to me, and if the config on the virt changes from cow to raw, then you sighup the service which wipes the provider tree cache and we rebuild the traits on the next upt periodic15:15
mriedemgranted ^ would f any existing instances on that node for rebuild...15:15
mriedembut it's probably a corner case anyway15:15
dansmithyeah15:16
mriedemi think that's at least a nova blueprint to wrangle the trait in compute and placement request filter stuff15:16
mriedemif you're going to ask about...process15:16
dansmithI'll write a spec anyway15:16
mriedemok15:16
*** mriedem is now known as mriedem_away15:24
*** gibi has quit IRC16:38
*** gibi has joined #openstack-placement16:38
*** e0ne has quit IRC16:38
*** tssurya has quit IRC16:45
*** mriedem_away is now known as mriedem16:54
*** cdent has quit IRC17:32
openstackgerritKashyap Chamarthy proposed openstack/nova-specs master: WIP: Gracefully handle QEMU machine types for guests  https://review.openstack.org/63115417:37
*** cdent has joined #openstack-placement17:46
*** e0ne has joined #openstack-placement17:46
*** ttsiouts has quit IRC17:55
*** ttsiouts has joined #openstack-placement17:56
*** ttsiouts has quit IRC18:00
*** e0ne has quit IRC18:33
*** e0ne has joined #openstack-placement18:40
* cdent is out of mental capacity18:48
cdentgood night18:48
*** cdent has quit IRC18:48
openstackgerritMerged openstack/placement master: Remove the TraitList class  https://review.openstack.org/64166319:08
openstackgerritMerged openstack/placement master: Trivial: Update doc for _set_traits()  https://review.openstack.org/64328619:08
openstackgerritEric Fried proposed openstack/placement master: Extract user and endpoint creation install doc  https://review.openstack.org/64336319:18
openstackgerritMerged openstack/placement master: Move allocation candidate classes and methods  https://review.openstack.org/64178819:28
openstackgerritMerged openstack/placement master: Reorder classes and methods in allocation_candidate  https://review.openstack.org/64178919:28
*** takashin has joined #openstack-placement20:47
*** helenafm has quit IRC20:53
mriedemfyi, i've invalidated this nova bug since it should be reported in storyboard https://bugs.launchpad.net/nova/+bug/181745821:22
openstackLaunchpad bug 1817458 in OpenStack Compute (nova) "duplicate allocation candidates with granular request" [Undecided,Invalid]21:22
*** mriedem is now known as mriedem_away21:27
*** e0ne has quit IRC22:28
*** mriedem_away has quit IRC23:23

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