Friday, 2018-07-06

*** edmondsw has joined #openstack-placement00:07
*** edmondsw has quit IRC00:12
openstackgerritMerged openstack/nova master: Use valid UUID in the placement gabbits  https://review.openstack.org/58035700:55
openstackgerritMerged openstack/nova master: cover migration cases with functional tests  https://review.openstack.org/49386500:55
*** ttsiouts has quit IRC00:55
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (5)  https://review.openstack.org/57411000:56
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (6)  https://review.openstack.org/57411300:57
openstackgerritMerged openstack/nova master: VMware: save VC reads for information that is static  https://review.openstack.org/57455201:17
*** edmondsw has joined #openstack-placement01:55
*** edmondsw has quit IRC02:00
openstackgerritGhanshyam Mann proposed openstack/nova master: WIP Support Relative URL for version API  https://review.openstack.org/58054402:35
openstackgerritGhanshyam Mann proposed openstack/nova master: WIP Support Relative URL for version API  https://review.openstack.org/58054402:36
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (7)  https://review.openstack.org/57497402:42
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (8)  https://review.openstack.org/57531102:43
openstackgerritGhanshyam Mann proposed openstack/nova master: WIP: Stop redirect of '' to '/' for version API  https://review.openstack.org/58054402:47
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (9)  https://review.openstack.org/57558103:40
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (10)  https://review.openstack.org/57601703:40
*** edmondsw has joined #openstack-placement03:43
*** edmondsw has quit IRC03:48
openstackgerritTetsuro Nakamura proposed openstack/nova master: Update root providers in same tree  https://review.openstack.org/58024604:20
openstackgerritShilpa Devharakar proposed openstack/nova master: WIP: Consistency_Groups assignment"  https://review.openstack.org/58055704:51
*** edmondsw has joined #openstack-placement05:31
*** edmondsw has quit IRC05:36
*** nicolasbock has joined #openstack-placement06:08
openstackgerritOpenStack Proposal Bot proposed openstack/nova master: Imported Translations from Zanata  https://review.openstack.org/57801906:44
*** tssurya has joined #openstack-placement06:47
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (11)  https://review.openstack.org/57601806:49
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (12)  https://review.openstack.org/57601906:50
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (13)  https://review.openstack.org/57602006:50
openstackgerritTakashi NATSUME proposed openstack/nova master: Transform metrics.update notification  https://review.openstack.org/58056707:05
openstackgerritTakashi NATSUME proposed openstack/nova master: Transform metrics.update notification  https://review.openstack.org/58056707:08
*** edmondsw has joined #openstack-placement07:20
*** gibi is now known as gibilet07:22
*** edmondsw has quit IRC07:24
*** gibilet is now known as giblet07:33
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (14)  https://review.openstack.org/57602707:35
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (15)  https://review.openstack.org/57603107:35
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (16)  https://review.openstack.org/57629907:35
*** ttsiouts has joined #openstack-placement07:53
*** ttsiouts has quit IRC07:54
*** ttsiouts has joined #openstack-placement07:54
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (17)  https://review.openstack.org/57634408:03
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (18)  https://review.openstack.org/57667308:04
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (19)  https://review.openstack.org/57667608:04
*** takashin has left #openstack-placement08:04
openstackgerritYikun Jiang (Kero) proposed openstack/nova master: Add InstanceGroupPolicy object  https://review.openstack.org/57362808:10
*** nicolasbock has quit IRC08:15
*** nicolasbock has joined #openstack-placement08:15
*** nicolasbock_ has joined #openstack-placement08:23
*** nicolasbock has quit IRC08:25
*** nicolasbock_ has quit IRC08:36
*** nicolasbock_ has joined #openstack-placement08:43
openstackgerritYikun Jiang (Kero) proposed openstack/nova master: Add InstanceGroupPolicy object  https://review.openstack.org/57362808:48
openstackgerritYikun Jiang (Kero) proposed openstack/nova master: Refactor policies to policy in InstanceGroup DB model  https://review.openstack.org/57911308:48
*** edmondsw has joined #openstack-placement09:08
*** edmondsw has quit IRC09:12
openstackgerritChris Dent proposed openstack/nova master: Use nova.db.api directly  https://review.openstack.org/54326209:28
*** cdent has joined #openstack-placement09:28
deepak_mouryacdent: Hi09:29
cdenthi deepak_mourya09:30
deepak_mouryacdent:  As discussed yesterday with the jaypipe  i have to create placement_resource_provider_inuse09:32
deepak_mourya but i am encountered  some error09:32
* cdent nods09:32
cdentcan you point me at the code?09:33
deepak_mourya i am showing you the pseudo code09:33
deepak_mourya- name: put an allocation09:33
deepak_mourya  PUT: /allocations/599ffd2d-526a-4b2e-8683-f13ad25f995809:33
deepak_mourya  request_headers:09:33
deepak_mourya      content-type: application/json09:33
deepak_mourya  data:09:33
deepak_mourya      allocations:09:33
deepak_mourya          - resource_provider:09:33
deepak_mourya                uuid: $ENVIRON['RP_UUID']09:33
deepak_mourya            resources:09:33
deepak_mourya                DISK_GB: 1009:33
deepak_mourya  status: 20409:33
deepak_mourya- name: Delete inuse resource provider09:33
deepak_mourya  DELETE: /resource_providers/$ENVIRON['RP_UUID']09:33
deepak_mourya  request_headers:09:33
deepak_mouryaI did this  here https://github.com/openstack/nova/blob/master/nova/tests/functional/api/openstack/placement/gabbits/allocations.yaml#L13509:34
* cdent nods09:34
cdentand the error?09:35
deepak_mouryaencountered error is  :09:35
deepak_mouryaAssertionError: json path $.errors[0].code cannot match {u'errors': [{u'status': 409, u'title': u'Conflict', u'detail': u'There was a conflict when trying to complete your request.\n\n Unable to delete resource provider fa7aad4d-e18e-4381-877c-5c4c2a86dbca: Resource provider has allocations.  ', u'request_id': u'req-91e40592-b476-4849-9e3e-2bd3b83879cf'}]}09:35
deepak_mouryaIn my understanding  here is  already one conflict test  https://github.com/openstack/nova/blob/master/nova/tests/functional/api/openstack/placement/gabbits/with-allocations.yaml#L3209:36
cdentthat error will be because the comment=errors.THE_CODE is not in place for the exception that is causing the HTTPConflict reponse09:37
cdentthe error response body has no 'code' attribute09:37
deepak_mourya- name: Delete inuse resource provider09:38
deepak_mourya  DELETE: /resource_providers/$ENVIRON['RP_UUID']09:38
deepak_mourya  request_headers:09:38
deepak_mourya      content-type: application/json09:38
deepak_mourya  status: 40909:38
deepak_mourya  response_strings:09:38
deepak_mourya       - "Unable to delete resource provider $ENVIRON['RP_UUID']"09:38
deepak_mourya  response_json_paths:09:38
deepak_mourya      errors[0].code: placement.resource_provider.inuse09:38
deepak_mouryayes but i have  got the same when i use error code , after removing error code test will be successfull09:38
cdentdeepak_mourya: I'm struggling to understand what is going on. Can you push the code you have now up to gerrit so I can look at it there and try how it is failing myself?09:40
deepak_mouryaok wait09:40
deepak_mouryahttps://review.openstack.org/#/c/579423/09:40
cdentthanks, let me take a look09:41
deepak_mouryaok sure09:41
cdentoh, I mean the code that you currently have in progress that is not working as you expect, can you push it up to that review09:42
deepak_mouryaactually i could not understand the flow of my code and the actual error09:43
cdentlet me try something, one moment09:44
deepak_mouryaok , Thanks09:44
cdentdeepak_mourya: I figured it out. The error codes only show up with microversion 1.23 and beyond, and that file was defaulting to an earlier one. This works: http://paste.openstack.org/show/725222/09:55
deepak_mouryacdent:  oh i couldn't have that idea of using microversion here09:57
cdentdeepak_mourya: yeah, it's not particularly obvious is it? but if you look at the json_error_formatter code you'll see that it controls when codes are presented based on microversion10:07
openstackgerritDeepak Mourya proposed openstack/nova master: Resource_provider API handler does not return specific error codes  https://review.openstack.org/57942310:09
deepak_mouryacdent:  ok  thanks for explaining  all these things and your help :)10:10
cdentno problem, thank you for helping out10:10
deepak_mouryacdent:  I am also curious to work these kinds of patches if you encounter in the future :)10:12
cdentI'll try to remember to point things out when they come up10:13
deepak_mouryasure :)10:13
*** edmondsw has joined #openstack-placement10:56
*** edmondsw has quit IRC11:00
*** cdent has quit IRC11:34
*** cdent has joined #openstack-placement11:38
*** edmondsw has joined #openstack-placement11:44
*** cdent has quit IRC11:48
*** rubasov has quit IRC11:51
*** cdent has joined #openstack-placement11:52
openstackgerritYikun Jiang (Kero) proposed openstack/nova master: Add InstanceGroupPolicy object  https://review.openstack.org/57362812:28
openstackgerritYikun Jiang (Kero) proposed openstack/nova master: Refactor policies to policy in InstanceGroup DB model  https://review.openstack.org/57911312:28
openstackgerritYikun Jiang (Kero) proposed openstack/nova master: Add policy to InstanceGroup object  https://review.openstack.org/56337512:28
gibletcdent, jaypipes: does anybody started (or planning to start) bumping the placement version in the scheduler report clinet used for allocation_candidates query to support nested RPs?12:33
jaypipesgiblet: I think we need to complete the reshaper stuff before that is plausible, right?12:34
cdentgiblet: i'm not aware of anyone doing that yet. efried_off and I were discussing earlier this week that things like migration handling is not prepared to deal with the allocations with more than one provider (either shared or nested)12:34
openstackgerritYikun Jiang (Kero) proposed openstack/nova master: Add policy field to ServerGroup notification object  https://review.openstack.org/56340112:34
gibletjaypipes: do you mean reshaper is needed as we have GPU RPs we need to move to nested?12:42
gibletcdent: thanks.12:42
jaypipesgiblet: not just GPU RPs, but the NUMA stuff that bauzas is doing relies on the reshaper being in place so that we can safely migrate the modeling of single-compute-node providers to nested providers.12:56
cdentgiblet: that thing you just wrote about nested working by chance before 1.29 was likey the result of the incremental way in which the functionality was added. There's a bit of discussion on https://review.openstack.org/#/c/565487/ and related patches12:57
gibletjaypipes: ahh yes, NUMA as ell12:59
gibletwell12:59
*** edleafe is now known as figleaf12:59
bauzasgiblet: jaypipes: sorry if you see me a bit off, but I'll need to have a surgery next week for 2 weeks13:00
gibletcdent: I guessed that this was the case13:00
figleafbauzas: wow, that's a long operation!13:02
jaypipesbauzas: no worries, hope all goes well with that!13:03
* figleaf couldn't resist13:03
gibletbauzas: take care for your health13:03
bauzasfigleaf: no, sorry, I will be on the hospital for one day, but then I'll need to take 2 weeks off13:03
figleafbauzas: heh, I figured that. Just wanted to lighten your spirits13:04
figleafbauzas: take good care of yourself13:04
bauzasthnaks13:04
stephenfinwhoops13:10
*** stephenfin is now known as finucannot13:10
finucannotHow rude of me13:10
*** mriedem has joined #openstack-placement13:18
openstackgerritsahid proposed openstack/nova master: hardware: fix memory check usage for small/large pages  https://review.openstack.org/53216813:21
openstackgerritsahid proposed openstack/nova master: hardware: fix hugepages memory usage per intances  https://review.openstack.org/58065713:21
gibletcdent: I'm wondering how can I help you and efried_off with the fixing the migration allocations with nested RPs13:39
cdentgiblet: I suppose one useful thing is that thing you often do: write some failing functional tests?13:40
gibletcdent: I could write functional tests where the flavor asks for ...13:40
giblet:)13:40
cdent:)13:40
cdent\o/13:41
gibletI talked with the author of https://review.openstack.org/#/c/527728/ before he left for vacation so I think I will take over that patch13:42
cdentone thing I'm not clear on is how much stuff is half enabled. That is: how much functionality is exposed on the nova side that is currently broken, and how much is not exposed at all, and thus not broken13:42
cdentthat patch looks like a great place to start13:42
gibletcdent: I think after 1.29 merged in placement, the allocation_candidates query response will be empty for nested requests13:43
gibletcdent: that is not broken per se as 1.29 is not used in the schedule report client yet13:43
cdentI was more thinking in terms of flavor to query string translation13:43
gibletcdent: I can verify that!13:44
gibletcdent: and I feel that most of it is OK based on my trials in the bandwidth series13:45
cdentif it is already okay, that means we have half-exposed the functionality13:45
gibletcdent: you can ask for resources in the flavor that might or might not coming from a nested RP13:46
gibletcdent: if it is coming from the compute RP it works today, but if it coming from a nested then it will fail with no valid host13:46
gibletcdent: at least this is my current expectation13:46
* cdent nods13:47
*** edmondsw has quit IRC14:23
*** edmondsw has joined #openstack-placement14:24
*** edmondsw has quit IRC14:27
*** edmondsw has joined #openstack-placement14:32
*** purplerbot has quit IRC14:49
*** purplerbot has joined #openstack-placement14:49
cdentmriedem: you happy if I or you mark https://bugs.launchpad.net/nova/+bug/1765376 as wontfix (was reviewing old bugs and that one is kind of stale)14:52
openstackLaunchpad bug 1765376 in OpenStack Compute (nova) "nova scheduler log contains html" [Low,Confirmed]14:52
cdent(i'm asking you because you confirmed it)14:52
mriedemcdent: sure, sounds like it's no longer a problem since https://review.openstack.org/#/c/518223/14:54
cdentthanks14:55
cdentdone14:56
efried_offcdent, jaypipes: We should close https://bugs.launchpad.net/nova/+bug/1731072 as it mentioned half a dozen related-but-separate buggish things.  Some of them have been fixed for sure, but not positive whether all of them have.  So we should kill it and then open individual issues as/if we see them.14:57
openstackLaunchpad bug 1731072 in OpenStack Compute (nova) "AllocationCandidates.get_by_filters returns garbage with multiple aggregates" [Medium,Confirmed]14:57
cdentefried_off: roger that. if you are really off, please be off14:58
efried_offcdent: Wife went to the store for an hour, so I'm sneaking in some time :)14:58
cdentyou have an illness14:59
efried_offYou know how it is.  For one thing I don't want to come back on Monday and have like 900 emails to paw through.  Rather keep it trimmed.15:00
*** deepak_mourya has quit IRC15:03
openstackgerritChen proposed openstack/nova master: Fix server_group_members quota check  https://review.openstack.org/58068415:07
openstackgerritClaudiu Belu proposed openstack/nova master: WIP: replace spec with autospec  https://review.openstack.org/55729915:10
openstackgerritMerged openstack/nova master: Fix whitespace damage  https://review.openstack.org/58037015:10
*** openstackgerrit has quit IRC15:19
*** ttsiouts has quit IRC15:19
*** tssurya has quit IRC15:22
*** openstackgerrit has joined #openstack-placement15:25
openstackgerritStephen Finucane proposed openstack/nova master: objects: Add NUMATopologyLimits.networks  https://review.openstack.org/57548615:25
openstackgerritStephen Finucane proposed openstack/nova master: hardware: Start accounting for networks in NUMA fitting  https://review.openstack.org/56444815:25
openstackgerritStephen Finucane proposed openstack/nova master: objects: Add RequestSpec.network_metadata  https://review.openstack.org/56444215:25
openstackgerritStephen Finucane proposed openstack/nova master: scheduler: Start utilizing RequestSpec.network_metadata  https://review.openstack.org/56445215:25
openstackgerritStephen Finucane proposed openstack/nova master: conf: Add '[neutron] physnets' and related options  https://review.openstack.org/56444015:25
openstackgerritStephen Finucane proposed openstack/nova master: libvirt: Start populating NUMACell.network_metadata field  https://review.openstack.org/56444115:25
*** mriedem is now known as mriedem_away15:45
openstackgerritMatt Riedemann proposed openstack/nova master: Handle compare in test_pre_live_migration_volume_backed* directly  https://review.openstack.org/58070215:46
openstackgerritBalazs Gibizer proposed openstack/nova master: Functional test for booting with nested resources  https://review.openstack.org/52772816:04
gibletcdent, efried_off: ^^ my first stab for using nested RPs from nova16:05
cdentcool, will look soon16:05
gibletcdent: nothing fancy but the logs at least shows (if you for self.fail() the test) that the allocation_candidates query generation is OK16:07
giblets/for self.fail()/force self.fail()/16:07
openstackgerritBalazs Gibizer proposed openstack/nova master: Functional test for booting with nested resources  https://review.openstack.org/52772816:13
*** ttsiouts has joined #openstack-placement16:45
*** ttsiouts has quit IRC16:47
openstackgerritDan Smith proposed openstack/nova master: Avoid requesting DISK_GB allocation for root_gb on BFV instances  https://review.openstack.org/58072016:54
*** smcginnis is now known as smcginnis_afk17:08
*** mriedem_away is now known as mriedem17:10
*** e0ne has joined #openstack-placement17:44
*** cdent has quit IRC17:51
*** e0ne has quit IRC17:56
*** e0ne has joined #openstack-placement18:04
*** tssurya has joined #openstack-placement18:20
*** e0ne has quit IRC18:24
openstackgerritMathieu Gagné proposed openstack/nova master: Add support for multiple fixed-ips in metadata  https://review.openstack.org/58074219:20
openstackgerritDan Smith proposed openstack/nova master: Avoid requesting DISK_GB allocation for root_gb on BFV instances  https://review.openstack.org/58072019:43
*** edmondsw_ has joined #openstack-placement20:09
*** edmondsw has quit IRC20:11
openstackgerritMatt Riedemann proposed openstack/nova master: WIP: Fix server_group_members quota check  https://review.openstack.org/58068420:36
openstackgerritMatt Riedemann proposed openstack/nova master: Add functional regressions tests for server_group_members OverQuota  https://review.openstack.org/58075520:36
openstackgerritMatt Riedemann proposed openstack/nova master: Add functional regressions tests for server_group_members OverQuota  https://review.openstack.org/58075520:57
openstackgerritMatt Riedemann proposed openstack/nova master: Fix server_group_members quota check  https://review.openstack.org/58068420:57
openstackgerritMatt Riedemann proposed openstack/nova master: Avoid joins in _server_group_count_members_by_user  https://review.openstack.org/58076421:06
*** nicolasbock_ has quit IRC21:15
openstackgerritMatt Riedemann proposed openstack/nova stable/pike: cleanup mapping/reqspec after archive instance  https://review.openstack.org/58077521:52
*** edmondsw_ has quit IRC21:53
openstackgerritEric Fried proposed openstack/nova master: WIP: Tighten up ReportClient use of generation  https://review.openstack.org/55666921:54
*** mriedem has quit IRC22:12
*** tssurya has quit IRC22:27
openstackgerritRick Bartra proposed openstack/nova master: Add granularity to os-services API  https://review.openstack.org/57855322:40
*** figleaf is now known as edleafe22:46
*** edmondsw has joined #openstack-placement22:49
*** edmondsw has quit IRC22:54
openstackgerritKen'ichi Ohmichi proposed openstack/nova master: Remove unnecessary TODO on ubuntu installation  https://review.openstack.org/58077923:14

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