Wednesday, 2018-09-05

openstackgerritElancheran S proposed openstack/nova stable/pike: Add exact match aggregate image properties matcher/filter  https://review.openstack.org/59987000:13
openstackgerritElancheran S proposed openstack/nova master: Add exact match aggregate image properties matcher/filter  https://review.openstack.org/59316700:21
openstackgerritfupingxie proposed openstack/nova master: Delete allocations for instances that have been moved to another node  https://review.openstack.org/58289900:59
openstackgerritMatt Riedemann proposed openstack/nova master: Fix nova-status "_check_resource_providers" check  https://review.openstack.org/59987501:00
openstackgerritfupingxie proposed openstack/nova master: Add an example to add more pci devices in nova.conf  https://review.openstack.org/59224301:04
openstackgerritSam Morrison proposed openstack/nova master: Fix DB archiver AttributeError due to wrong table name attribute used  https://review.openstack.org/59987801:09
openstackgerritSam Morrison proposed openstack/nova stable/rocky: Fix DB archiver AttributeError due to wrong table name attribute used  https://review.openstack.org/59988101:23
openstackgerritSam Morrison proposed openstack/nova stable/queens: Fix DB archiver AttributeError due to wrong table name attribute used  https://review.openstack.org/59988201:24
openstackgerritSam Morrison proposed openstack/nova stable/pike: Fix DB archiver AttributeError due to wrong table name attribute used  https://review.openstack.org/59988301:26
openstackgerritSam Morrison proposed openstack/nova stable/ocata: Fix DB archiver AttributeError due to wrong table name attribute used  https://review.openstack.org/59988501:27
openstackgerritMatt Riedemann proposed openstack/nova master: Configure placement DB context manager for nova-manage/status  https://review.openstack.org/59974401:30
*** mriedem is now known as mriedem_afk01:35
openstackgerritMerged openstack/nova master: Other host allocs may appear in gafpt during evac  https://review.openstack.org/59730102:14
openstackgerritSam Morrison proposed openstack/nova master: Allow ability for non admin users to use all filters on server list.  https://review.openstack.org/52655802:17
*** lei-zh has joined #openstack-placement02:29
openstackgerritfupingxie proposed openstack/nova master: Delete allocations for instances that have been moved to another node  https://review.openstack.org/58289902:43
openstackgerrithuanhongda proposed openstack/nova-specs master: Return "deleted" and "estimated_reclaim" time of instance for admin  https://review.openstack.org/58163803:09
openstackgerrithuanhongda proposed openstack/nova-specs master: Return "deleted" and "estimated_reclaim" time of instance for admin  https://review.openstack.org/58163804:18
*** lei-zh has quit IRC04:23
*** edleafe has quit IRC04:31
*** lei-zh has joined #openstack-placement05:14
*** tssurya has joined #openstack-placement07:08
openstackgerritBrin Zhang proposed openstack/nova master: Resource retrieving: add changes-before filter  https://review.openstack.org/59927607:18
*** tetsuro has joined #openstack-placement07:35
*** e0ne has joined #openstack-placement07:46
openstackgerritTushar Patil proposed openstack/nova-specs master: Allow overcommit of dedicated CPU  https://review.openstack.org/59995708:01
*** alex_xu has quit IRC08:18
*** alex_xu has joined #openstack-placement08:20
*** cdent has joined #openstack-placement08:25
*** ttsiouts has joined #openstack-placement08:31
*** ttsiouts has quit IRC08:46
*** ttsiouts has joined #openstack-placement08:54
*** ttsiouts has quit IRC09:15
openstackgerritMerged openstack/placement master: Remove the import pathing for the old structure  https://review.openstack.org/59894809:21
openstackgerritMerged openstack/placement master: Replace the nova import paths with placement  https://review.openstack.org/59894909:23
openstackgerritMerged openstack/placement master: Update nova.db import paths  https://review.openstack.org/59895009:23
openstackgerritMerged openstack/placement master: Inspect and correct tox.ini, .stestr.conf and setup.cfg  https://review.openstack.org/59937709:23
*** tetsuro has quit IRC09:47
*** lei-zh has quit IRC09:51
*** tetsuro has joined #openstack-placement09:54
gibicdent: I'm still fighting with the patch that runs nova functional with the the separated placement code10:18
gibicdent: it seems that db_sync doesn't always run when it should be10:19
gibicdent: I will continue this during the PTG but with less focus obviously10:23
cdentgibi: what's different between what you're trying and what I did?10:33
gibicdent: yeah, that is a good point to look at10:35
gibione big difference is that I haven't tried to delete the placement tests from nova yet, but I do skip them10:38
openstackgerritMerged openstack/nova stable/rocky: Remove noisy DEBUG log  https://review.openstack.org/59626410:39
gibicdent: somehow your patch did not needed tweeking in trait cache on the placement side but my needs that10:41
cdentgibi: My guess is that you've got similar looking database context managers talking to two different in ram databases10:41
gibicdent: I feel I need similar tweaks on the db_sync side as well10:41
cdentbut that's simply a wild guess10:42
gibicdent: yeah, something like that. I've already made all the placemend db fixture creation explicit and separated from nova db fixture creation but I still see db errors in test.10:43
cdent:(10:43
gibicdent: interestingly test never fails separately just in sequence10:43
cdentdo you have a paste of one of the errors?10:44
gibicdent: http://paste.openstack.org/show/729502/10:46
gibicdent: but I really need to go pack for Denver now. So let's continue this either in Denver of after it10:47
gibithanks for the help10:47
cdentyes please, have fun, enjoy the mountains10:47
gibithanks :)10:47
gibisee you in Denver10:47
*** gibi is now known as gibi_off10:48
*** ttsiouts has joined #openstack-placement11:03
*** tetsuro has quit IRC11:05
*** tetsuro has joined #openstack-placement11:06
openstackgerritBrin Zhang proposed openstack/nova master: Resource retrieving: add changes-before filter  https://review.openstack.org/59927611:09
*** nicolasbock has joined #openstack-placement11:32
openstackgerritMerged openstack/nova master: Don't persist zero allocation ratios in ResourceTracker  https://review.openstack.org/59836511:50
openstackgerritMerged openstack/nova master: Document unset/reset wrinkle for *_allocation_ratio options  https://review.openstack.org/59967011:50
*** tetsuro has quit IRC11:55
*** e0ne has quit IRC12:03
*** ttsiouts has quit IRC12:09
*** ttsiouts has joined #openstack-placement12:10
openstackgerritChris Dent proposed openstack/nova-specs master: List resource providers having inventory  https://review.openstack.org/60001612:12
*** e0ne has joined #openstack-placement12:19
*** ttsiouts has quit IRC12:31
*** edleafe has joined #openstack-placement12:33
*** ttsiouts has joined #openstack-placement12:34
efriedō/12:36
cdentahoy hoy12:38
efriedI'm 42 today. I feel like, being a nerd, that's got to be a significant one.12:39
cdenta) happy birthday, b) do you feel like you've achieved any insight into the meaning of life? If so, then yes, it's significant. If not, you're a failure and need to start over.12:40
efriedSeems to me like I should be allowed to take the year to fully grok the Answer to the Ultimate Question of Life, the Universe, and Everything12:40
cdentat some point in this day you were 42.0. once that moment has passed you've lost12:41
efriedboo12:42
edleafeefried: cheers on your bday! Speaking of nerdy things, I once chose one house I was looking at buying over another similar one because the first house's address was 424212:42
efriedhah!12:42
efriedThat is true commitment to nerdiness.12:42
cdentI think in honor of efried's birthday we should merge 42 pending placement patches12:44
efriedgood plan, good plan.12:45
edleafeActually, I think that means we should merge all of them: https://community.spiceworks.com/topic/1977727-til-42-might-actually-mean-something12:46
openstackgerritJan Gutter proposed openstack/nova-specs master: Spec to implement vRouter HW offloads  https://review.openstack.org/56714812:48
cdentedleafe++12:49
*** tetsuro has joined #openstack-placement12:51
* cdent waves at tetsuro 12:52
* tetsuro waves back12:53
* tetsuro is in Dublin at DPDK Summit12:54
* cdent hopes DPDK will make "enhanced platform awareness" irrelevant12:55
cdentbut I know it won't12:55
tetsuroAgreed12:59
efriedcdent: oo, oslo.utils 3.7.0 (with uuidsentinel) is released13:00
* efried goes to punch it through u-c...13:01
cdenthuzzah13:02
efriedwait, does the u-c thing happen automatically?13:02
efriedI can never remember which are bot bits13:02
cdentone thing that needs to change is constraints in global-requirements, but the details never seem clear, so I always look at some other recent change13:03
cdentbut even that may have recently changed13:03
cdent /o]13:03
* cdent needs some lunch13:04
cdentbiab13:04
cdentefried: in case you hadn't already seen, edleafe and I have tried to start the trend of noting todos for extraction related cleanups for later at the bottom of https://etherpad.openstack.org/p/placement-extract-stein-313:14
efriedcdent: Okay. I've been using the trend of "propose a patch for it".13:14
efriedbut I can't do that for everything, so yeah, thanks.13:15
*** mriedem_afk is now known as mriedem13:15
cdentthat's fine too, but I find managing this super tall stacks to be a pain in the ass, so unless it can be based on master, it can be easier to wait for later13:15
cdentwhere later can be "really soon" if we fulfill our birthday plans13:16
cdentthat is super tall stacks with multiple contributors13:17
efriedunderstood.13:18
openstackgerritChris Dent proposed openstack/nova-specs master: List resource providers having inventory  https://review.openstack.org/60001613:46
*** ttsiouts has quit IRC13:59
openstackgerritEric Fried proposed openstack/nova master: Use uuidsentinel from oslo.utils  https://review.openstack.org/60007014:12
*** ttsiouts has joined #openstack-placement14:22
* cdent cuts the grass in a non-rain window before denver14:24
*** tetsuro has quit IRC14:32
*** tetsuro has joined #openstack-placement14:34
openstackgerritMatt Riedemann proposed openstack/nova master: Configure placement DB context manager for nova-manage/status  https://review.openstack.org/59974414:41
openstackgerritMatt Riedemann proposed openstack/nova master: Remove error-masking try/except from _run_migration  https://review.openstack.org/60008514:41
openstackgerritMerged openstack/placement master: Update i18n handling to be placement oriented.  https://review.openstack.org/59937815:14
openstackgerritMerged openstack/placement master: Mechanically correct import of functional base class  https://review.openstack.org/59937915:14
openstackgerritMerged openstack/placement master: Correct several nova.tests and nova.tests.functional imports  https://review.openstack.org/59938015:24
openstackgerritMerged openstack/placement master: Empty __init__.py files that should be empty  https://review.openstack.org/59938115:26
efriedcan we always have this gate performance for placement?15:26
openstackgerritMerged openstack/placement master: Remove some imports from test/fixtures that will not be used  https://review.openstack.org/59938215:28
cdentefried: would b enice15:31
*** tssurya has quit IRC15:36
mriedemefried: just get some dedicated mainframes from jichen15:36
mriedemi know how blue money works15:37
efriedclearly you do not15:37
openstackgerritMatt Riedemann proposed openstack/nova stable/rocky: Fix nova-status "_check_resource_providers" check  https://review.openstack.org/60009815:37
cdentwould be pretty interesting to have a shared idea for what is "too much" for a single unit or functional test run15:38
cdentand when we hit that, work out a way to fix it15:38
mriedemi thought you were supposed to be mowing?!15:39
cdenta big reason the placement unit tests are so fast (they are _very_ fast, all the gate time is spent on building the node) is because they avoid all the stuff that the base class in nova.test needs to do15:39
cdentI did the back "garden"15:39
mriedemthe 6'x6' patch?15:39
cdentnow I'm having a refreshing tall glass of water. next I will do the front. Do to the front, since I'm in britain, I have to pick up the mower and carry it through the house15:40
cdentthat is the norm, yes, but I'm very spoiled. it takes me about 20 minutes to do the back15:40
cdentthe front is a bit closer to 6x615:41
mriedemheh, i'm glad my house hunters international viewing has paid off15:41
openstackgerritMatt Riedemann proposed openstack/nova stable/queens: Fix nova-status "_check_resource_providers" check  https://review.openstack.org/60010115:42
openstackgerritMerged openstack/placement master: Remove unused db functionality and files  https://review.openstack.org/59938315:46
*** ttsiouts has quit IRC15:46
openstackgerritMerged openstack/placement master: Remove more unused imports from fixtures  https://review.openstack.org/59938415:47
openstackgerritMerged openstack/placement master: Remove the PlacementFixture from fixtures  https://review.openstack.org/59938515:49
openstackgerritMerged openstack/placement master: Use placement.uuidsentinel  https://review.openstack.org/59938615:52
openstackgerritEric Fried proposed openstack/placement master: Use uuidsentinel from oslo.utils  https://review.openstack.org/60010416:01
openstackgerritMerged openstack/placement master: Remove unused CheatingSerializer  https://review.openstack.org/59938716:04
openstackgerritMerged openstack/placement master: Tidy up use of policy_fixture  https://review.openstack.org/59938816:05
openstackgerritMerged openstack/placement master: Establish an importable 'conf' package  https://review.openstack.org/59938916:11
openstackgerritMatt Riedemann proposed openstack/nova stable/pike: Fix nova-status "_check_resource_providers" check  https://review.openstack.org/60011316:15
*** efried is now known as efried_rollin16:17
openstackgerritMatt Riedemann proposed openstack/nova stable/ocata: Fix nova-status "_check_resource_providers" check  https://review.openstack.org/60011916:23
cdentefried_rollin: i sincerely hope you were joking about shadow tables16:27
cdentHas anybody started on a wip to update devstack for the new code? If not, I'll make that this evening's project16:32
openstackgerritmelanie witt proposed openstack/nova stable/rocky: Make scheduler.utils.setup_instance_group query all cells  https://review.openstack.org/59973216:33
openstackgerritmelanie witt proposed openstack/nova stable/queens: Make scheduler.utils.setup_instance_group query all cells  https://review.openstack.org/59976616:37
openstackgerritMerged openstack/nova master: Fix nova-status "_check_resource_providers" check  https://review.openstack.org/59987516:51
openstackgerritMerged openstack/nova master: Fix DB archiver AttributeError due to wrong table name attribute used  https://review.openstack.org/59987816:51
*** tetsuro has quit IRC16:51
mriedemthe nova api (and thus the placement db) have never had shadow tables17:00
mriedemon purpose17:00
*** e0ne has quit IRC17:02
cdentmriedem: thank goodness for that17:07
openstackgerritElancheran S proposed openstack/nova master: Add exact match aggregate image properties matcher/filter  https://review.openstack.org/59316717:09
openstackgerritElancheran S proposed openstack/nova stable/pike: Add exact match aggregate image properties matcher/filter  https://review.openstack.org/59987017:11
openstackgerritmelanie witt proposed openstack/nova stable/pike: Add functional test for affinity with multiple cells  https://review.openstack.org/59984017:22
openstackgerritmelanie witt proposed openstack/nova stable/pike: Make scheduler.utils.setup_instance_group query all cells  https://review.openstack.org/59984117:22
melwittjaypipes: do we have a plan yet for exact matching aggregate image properties using request filtering + forbidden traits? similar things look to be getting proposed again https://review.openstack.org/59316717:36
jaypipesmelwitt: oh, look, it's a harlowj...17:44
jaypipesmelwitt: I'll take a gander in a bit.17:44
melwittI -1ed it because we've NACKed other proposals several times, saying that it should be solved in placement17:45
openstackgerritMatt Riedemann proposed openstack/nova master: Fix formatting in changes-since guide  https://review.openstack.org/60015017:47
mriedemmelwitt: https://review.openstack.org/#/c/593475/17:49
mriedemit's also on the ptg etherpad ~L115 https://etherpad.openstack.org/p/nova-ptg-stein17:49
melwittoh, that's new since I looked last17:49
melwittthanks17:49
jaypipesmelwitt: ack. it's very similar to something Oath needs as well.17:50
jaypipesmelwitt: I'm thinking I should just write up a spec for it. save Josh the time...17:50
melwittjaypipes: there's this spec mriedem just linked https://review.openstack.org/59347517:50
mriedembut https://review.openstack.org/#/c/593475/ is for the same thing17:50
melwittoh wait, you're already on there. haha. but is it not the same?17:51
mriedemrather than 20 different specs for the same problem,17:51
jaypipesmelwitt: yeah, I've reviewed Tushar's spec already :)17:51
mriedemmaybe we should just converge on the single spec17:51
jaypipesmelwitt: no, not really the same17:51
jaypipesmelwitt: probably need two different specs.17:51
jaypipesmelwitt: both would involve placement request filters17:51
melwittok. I don't quite understand the difference between them17:51
jaypipesmelwitt: but one would be the "check agg metadata key exists and if so, grab agg UUIDs and use that as filter" and the other would be "check agg metadata and if find these keys, find providers that *aren't* in these aggregates...17:52
jaypipesmelwitt: one is a matcher. one is an "isolater" :)17:53
jaypipesmelwitt: Josh's use case is "find me providers in aggregates that have this metadata key". Tushar's use case is "make sure instances without this image/flavor metadata item DON'T end up on my precious Windows host agg"17:54
melwittok. in the commit message of https://review.openstack.org/593167 I thought it's saying they want isolation, they don't want it to be "tolerant of missing image properties." maybe I'm reading the wrong meaning from that17:54
jaypipesmelwitt: maybe two different definitions of "isolation" :)17:55
melwittit also says "for example when you setup a windows only hypervisor set you do not want other images with various other properties to end up there"17:55
melwittso it sounded like the same thing tpatil wants17:55
jaypipesmaybe. not entirely sure, since one's a commit message and the other is a spec :)17:55
* melwitt nods17:56
jaypipesmelwitt: either way, I'll work on a spec tomorrow for this.17:56
melwittok17:56
mriedemtpatil is going to abandon https://review.openstack.org/#/c/593475/ and restore https://review.openstack.org/#/c/38191217:57
mriedemwhich is funny because i'm pretty sure he got to the former because we said rather than do the latter, do it in placement17:57
jaypipesno, we *don't* want to do the SPECIAL_ stuff in placement, definitely not.17:58
melwittwait, so we're going to go back to the filter solution?17:59
mriedemyeah the SPECIAL_ trait hack was a hack17:59
mriedemb/c kevin wanted then an EXLUSIVE_ trait hack hack18:00
melwittdangit, I just comment on the latest new filter patch to go review the spec that's about to be abandoned18:00
jaypipesmelwitt: to a placement request filter, not a filter scheduler filter :)18:00
melwittoh, ok ok18:00
melwittthank you18:00
*** openstackgerrit has quit IRC18:00
melwittI was like whaaaaat18:00
jaypipes:)18:00
cdentthere may very well be a placement way to do the thing he wants, but if takes a special trait name (of any sort) that has to be known in code, that's no good18:00
mriedemkevin just needs AggregateMultiTenancyIsolation to not suck18:00
jaypipeswhich Kevin?18:02
jaypipesmriedem: which Kevin? not that it matters, I'm just curious...18:04
mriedemKevin_Zheng18:04
mriedemhe's trying to solve for a dedicated host feature in public cloud18:04
jaypipesah, of course. gotcha.18:04
jaypipessorry :)18:04
mriedemsame as https://bugs.launchpad.net/openstack-publiccloud-wg/+bug/177152318:05
openstackLaunchpad bug 1771523 in OpenStack Public Cloud WG "Dedicated Host" [High,New] - Assigned to Tobias Rydberg (tobberydberg)18:05
*** openstackgerrit has joined #openstack-placement18:07
openstackgerritChris Dent proposed openstack/placement master: de-novify wsgi application to expect placement config  https://review.openstack.org/60015718:07
mriedemharlow isn't at godaddy anymore btw so not sure if he'll care about this18:08
melwittok. the patch has been updated today by a co-author, so they'll be the point of contact18:11
openstackgerritChris Dent proposed openstack/placement master: WIP: add a table create CLI  https://review.openstack.org/60016118:15
*** e0ne has joined #openstack-placement18:18
cdentmriedem: this ought to be fun watch blow up: devstack with openstack/placement: https://review.openstack.org/#/c/600162/18:18
mriedemcdent: what does the keypairs migration have to do with a database fixture in https://review.openstack.org/#/c/599390/ ?18:39
mriedemplacement doesn't care about host mappings or build requests and stuff like that18:40
mriedemseems very random to neuter the keypairs migration18:40
cdentmriedem: the other migrations don't have:18:40
cdentfrom nova.objects import keypair18:40
cdentso the fixture will still work18:41
cdentbut because keypairs has that, it fails to import18:41
cdentso that change moves this forward by simply saying "don't bother with keypairs"18:42
mriedemb/c of conn.connection.executescript(DB_SCHEMA[self.database]) ?18:42
mriedems/import/setup/?18:42
cdentI'm unable to parse what you're asking18:42
mriedemyou said "it fails to import"18:42
mriedembut i don't see how that migration script has anything to do with being able to import this DatabaseFixture,18:43
mriedemso maybe you meant "use" or "setup" rather than import18:43
mriedembecause as part of the fixture setup, it runs the schema migratoins18:43
mriedem*migratoins18:43
mriedemha18:43
cdenthas it clicked now?18:43
cdenti'm still struggling to follow your thought process a bit18:43
cdentprobably because of split attention18:44
cdentthe shema runs migrations, in order to run migrations it needs to import the files, and the keypairs migration imports nova code, so fails18:45
mriedemyes i got it18:46
mriedemmore to cleanup in there, but sounds like that's a known issue18:46
openstackgerritMerged openstack/placement master: Make a basic working DatabaseFixture  https://review.openstack.org/59939018:46
cdentyes18:46
openstackgerritMerged openstack/placement master: Import placement, not nova, in rp db tests  https://review.openstack.org/59939118:48
openstackgerritMerged openstack/placement master: Use absolute import in gabbi fixture  https://review.openstack.org/59939218:49
*** e0ne has quit IRC18:54
cdentaw, now that func tests are gating and mergin (thanks mriedem!) we have to wait for merges. such nontriumphant18:55
cdents/mergin/votin/18:55
openstackgerritMerged openstack/placement master: Make functional tests voting and gating  https://review.openstack.org/59941419:05
cdenthuzzah19:08
openstackgerritMerged openstack/placement master: Trim placement/utils.py to the single method used  https://review.openstack.org/59939719:14
*** e0ne has joined #openstack-placement19:18
mriedemcdent: do you know what in nova was making this request log test work without the mock? https://review.openstack.org/#/c/599399/19:20
cdentmriedem: just digging that up. I knew when I made that change but can't remember right now. Basically there's _loads_ of set up in nova/test.py and some of the fixtures that placement throws away as either unneeded or wanting to be explicit19:22
cdentlemme see if I can find it19:22
mriedembut this test isn't using the base nova test class19:22
mriedemit's using testtools19:22
cdentit happens as part of nova/tests/unit/conf_fixture, which calls nova.config.parse_args which sets logging defaults19:24
cdentwhich controls what's "enabled"19:24
cdentthe oslo config fixture doesn't do that19:24
cdentand the placement tests avoid establish generic config default is they can at all help it19:24
mriedemyeah but test_middleware_writes_logs in nova doesn't use the nova conf fixture19:24
mriedemas far as i can tell19:24
mriedemmaybe it works b/c of some global config?19:25
cdentthat's just where I was headed19:26
cdentthe nova conf fixture is very leaky19:26
cdentso too is setting of logging defaults19:26
cdent(which is what it would be in this case)19:26
cdentso, in isolation one would except that test to fail sometimes in nova, but only in real isolation, which doesn't happen much when using stestr19:27
* cdent tries it with testtools19:27
openstackgerritMerged openstack/placement master: Fix configuration handling in policy unit test  https://review.openstack.org/59939819:28
cdentmriedem: yup: AssertionError: Expected 'write_log' to be called once. Called 0 times.19:29
cdent(when using testtools)19:29
mriedemok19:30
*** efried_rollin is now known as efried19:31
efriedcdent: Yes, that was me being funny funny.19:32
cdentthank goodness19:32
cdentI might have to be sad sad otherwise19:32
cdentefried: you may be intrigued to know that I have a devstack running locally using openstack/placement instead of placement-from-nova19:33
cdentefried: also, mriedem here is being a trust stalwart trying to achieve your birthday goal19:33
cdents/trust/true/19:34
efriedI noticed much merged since I left for "lunch".19:34
efried15 more patches19:35
mriedemis today eric's big day?19:37
mriedemi left some comments in https://review.openstack.org/#/c/599406/ but didn't hold up on it19:37
cdenthe's 4219:38
mriedemnot everything in the base nova test class is bad19:38
cdentyeah, just looking at that now, I think much of it has been replaced by oslo stuff, but will look more closely19:38
mriedemespecially get_logging_handle_error_fixture19:39
mriedemwhich comes from oslo19:39
mriedembecause by default, at least in nova, debug logs weren't used,19:39
mriedemso the null handler was added to run shit through the null handler for debug logs,19:39
mriedemand the get_logging_handle_error_fixture would blow up if debug logs had formatting errors19:39
mriedemso if you've got a list of stuff to add back in later, at least candidates, i'd probably throw that in there19:40
mriedemotherwise you get weird runtime ValueErrors19:40
mriedemok i see placement has a variant of the null handler and logging fixture19:42
mriedemjust need to add get_logging_handle_error_fixture19:42
cdentmriedem: please add that (and anything else) at the end of https://etherpad.openstack.org/p/placement-extract-stein-319:44
cdentefried: see what I just added to the very end (and I think I also mentioned in a comment on a review)19:46
efriedbutbutbutbut19:48
efriedWe just spent a bunch of energy saying we *don't* want to import placement.anything from outside of placement.19:48
efriedShouldn't a PlacementFixture live in a lib somewhere?19:48
cdentPlacementFixture has existed for months now, as a separate class (from the nova placement fixture). Where it ends up living eventually, can be anywhere, but for now that's where it lives so it can't be wacked: it is used.19:49
efriedright, okay, I get that whatever happens to it needs to happen later.19:49
openstackgerritMerged openstack/placement master: Turn on logging for the request log test  https://review.openstack.org/59939919:50
openstackgerritMerged openstack/placement master: Make unit tests voting  https://review.openstack.org/59941519:50
cdentAnd, to be clear, I don't think the main thrust of the argument about "not import placment" was really all that substantiated, unless you are ten years in the past19:51
openstackgerritMerged openstack/placement master: Remove placement/test.py  https://review.openstack.org/59940619:52
mriedemso what was the goal for efried's birthday with this series?19:56
mriedembecause we've now hit divergent patches19:56
efriedmriedem: I think it was to merge 42 patches today.19:56
cdentin my head I was thinking: get all the way to pep8 voting, bonus for py36 voting19:57
efriedthose are all +A I think.19:57
efriedjup19:58
cdentat that point we then have a gating master on which it is makes reasonable sense to no longer be in a big stack19:58
cdentyay. thanks.19:58
cdentbig accomplishment19:58
efriedlong as the gate is kind, which it has been so far.19:58
cdentvera nice19:58
efriedI'll address edleafe's -1 on my "aesthetic" patch.19:59
efriedcdent: Do docs build at this point?19:59
cdentefried: I haven't looked at docs at all19:59
cdent(for sake of limiting focus)19:59
efriedight19:59
openstackgerritMerged openstack/placement master: Fix alpha-ordering of imports for pep8  https://review.openstack.org/59940720:00
openstackgerritMerged openstack/placement master: Remove unused imports as identified by pep8  https://review.openstack.org/59940820:00
cdentI _think_ it is a matter of running tox -edocs and fixing what breaks20:00
cdentwhich is probalby changes required in the conf.py in the docs dir20:01
cdentsimilar to the ones that gibi has done for api-ref20:01
openstackgerritEric Fried proposed openstack/placement master: Fix aesthetic issues from I4974a28de541aace043504f  https://review.openstack.org/59984620:02
openstackgerritMerged openstack/placement master: Fix line length and whitespace issues  https://review.openstack.org/59940920:02
efrieddoes the api-ref build?20:07
openstackgerritMerged openstack/placement master: Remove placement/db/api.py  https://review.openstack.org/59941020:08
openstackgerritMerged openstack/placement master: Remove unused fixtures in placement/tests/fixtures.py  https://review.openstack.org/59941120:08
efriedguess not https://review.openstack.org/#/c/599524/20:08
*** e0ne has quit IRC20:08
openstackgerritMerged openstack/placement master: Make pep8 tests voting  https://review.openstack.org/59941620:09
openstackgerritMerged openstack/placement master: Removing non-existent job from tox envlist  https://review.openstack.org/59944420:09
openstackgerritEric Fried proposed openstack/placement master: Add api-ref job  https://review.openstack.org/59952420:10
openstackgerritMerged openstack/placement master: Add python 3.6 test jobs  https://review.openstack.org/59955820:11
efriedWhat's the best way to scrub *requirements.txt?20:17
efriedcause dayum20:17
cdentthere's a WIP patch for that already: https://review.openstack.org/#/c/599443/ . I think the only way to make it complete is judicious grepping and experimenting with removing stuff.20:20
openstackgerritMatt Riedemann proposed openstack/nova master: Fix evacuate logging  https://review.openstack.org/59305520:20
cdentefried: I wasn't too sure how much it should _only_ be direct dependencies and no transitive. perhaps mriedem knows? (talking bout contents of *requirements.txt)20:22
efriedcdent: They tell me lower-constraints has to be transitive. But requirements.txt shouldn't need to be.20:22
mriedemi wouldn't worry about transitive deps20:25
mriedemthat's what we have upper-constraints for20:25
mriedemwrt requirements.txt20:26
cdentefried: I'm unlikely to do anything more tonight (at least outside of the devstack fiddling) so if you're inclined to pick up that WIP and finish it, go for it20:27
cdentor I'll just take off the wip20:27
cdentone sec20:27
cdentsmall repo so fast20:28
efriedcdent: Thode confirms non-transitive for [test-]requirements, transitive for lower-constraints20:29
openstackgerritChris Dent proposed openstack/placement master: Update requirements and test-requirements  https://review.openstack.org/59944320:31
cdentthere go efried20:31
efried+220:32
efriedand thanks20:32
efriedmy venvs were taking frever to build20:32
cdentah, that reminds, I wanted to time a tox -r20:33
openstackgerritEric Fried proposed openstack/placement master: Trivial: fix docs.o.o link in api-ref  https://review.openstack.org/60020620:36
cdentfor just py27 unit, functional and pep8: 3m13s20:38
* cdent tries py 3620:39
cdent(these times are without the requirments changes merged)20:40
efriedhm, I guess I shoulda squashed that --^20:41
efrieddidn't realize he had modded that line20:42
openstackgerritEric Fried proposed openstack/placement master: Add api-ref job  https://review.openstack.org/59952420:44
efriedcdent: fixed ^20:45
efriedbut now we're out of cores20:45
cdenttime tox -r -epy27,functional,pep8,py36,functional-py36: real 3m55s20:46
cdent(on the patch with fewer requirements. the unit and functionals sharing envs makes a bit difference too)20:47
cdent1m8s if the venvs are hot20:51
cdentnice20:51
cdentThis is awesome. I know there's a long long way to go, but it is great to see this.20:52
edleafecdent: I dunno. I usually used test runs to make some fresh coffee20:53
cdentwell now you can have the tests be done when you are back from the coffee, rather than halfway.20:53
cdentand, in any case: my awesome statement was about all the progress today. there's a working openstack/placement if you squint20:54
efried\o/20:59
efried*43* merged patches in placement as of now.21:00
efriedThat's, like, how birthday candles work. You know, one to grow on (which I never understood)21:00
edleafeMaybe your parents lied about the year you were born21:02
cdentmine did21:02
cdentI'm way younger than they said21:02
mriedem"This patch a voting doc api doc generation doc"21:14
mriedemwhat?21:14
mriedemdoc this doc that21:14
cdentmriedem: doesn't 'hacking' entry-point invade flake8 and is the reason why openstack's style is not pure flake8-ness?21:15
mriedemi think nova requires hacking b/c nova has custom hacking checks21:16
mriedemnova/hacking.py21:16
mriedemplacement doesn't21:16
mriedemsorry nova.hacking.checks21:16
cdenthacking itself has tweaks last I understood, and then nova.hacking has more on top of that21:17
mriedemyeah i think that's right,21:18
mriedembut i don't think that means we need to explicitly import hacking in placement's test-requirements21:18
cdentif we don't, the pep8 tests will not be to the standard set by the hacking tweaks`?21:19
* cdent tries it21:19
cdentyeah, huge failures all over the place21:23
cdentcompletely different attitude to import ordering, comments on doctring "moods", missing docstring21:23
openstackgerritMerged openstack/placement master: Update requirements and test-requirements  https://review.openstack.org/59944321:31
openstackgerritMatt Riedemann proposed openstack/nova master: Remove redundant image GET call in _do_rebuild_instance  https://review.openstack.org/60026021:40
openstackgerritEric Fried proposed openstack/placement master: Make docs build  https://review.openstack.org/60026822:09
efriedcdent: ^22:09
efriededleafe: ^22:09
*** mriedem has quit IRC22:18
cdenti've made a litte more progress on https://review.openstack.org/#/c/600162/ , gonna crash22:19
cdentsee you all tomorrow22:19
*** cdent has quit IRC22:19
openstackgerritEric Fried proposed openstack/placement master: Make docs build  https://review.openstack.org/60026822:21
openstackgerritElancheran S proposed openstack/nova stable/pike: Add exact match aggregate image properties matcher/filter  https://review.openstack.org/59987022:24
openstackgerritElancheran S proposed openstack/nova master: Add exact match aggregate image properties matcher/filter  https://review.openstack.org/59316722:25
*** gibi_off has quit IRC22:26
openstackgerritEric Fried proposed openstack/placement master: Use uuidsentinel from oslo.utils  https://review.openstack.org/60010422:30
openstackgerritJonte Watford proposed openstack/nova master: Modified version of 0027-Numa-object-string-representations.patch with some updates from the current numa files for nova: numa.py instance_numa_topology.py  https://review.openstack.org/60026922:31
openstackgerritEric Fried proposed openstack/placement master: Use uuidsentinel from oslo.utils  https://review.openstack.org/60010422:33
efriedō/22:40

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