Tuesday, 2019-08-13

openstackgerritDustin Cowles proposed openstack/nova master: Provider config file schema and loader  https://review.opendev.org/67334100:00
openstackgerritDustin Cowles proposed openstack/nova master: WIP: Load custom providers to Resource Tracker  https://review.opendev.org/67602900:00
*** macz has quit IRC00:00
*** macz has joined #openstack-nova00:01
*** tbachman has quit IRC00:01
*** macz has quit IRC00:04
openstackgerritDustin Cowles proposed openstack/nova master: Provider config file schema and loader  https://review.opendev.org/67334100:10
openstackgerritDustin Cowles proposed openstack/nova master: WIP: Load custom providers to Resource Tracker  https://review.opendev.org/67602900:10
*** macz has joined #openstack-nova00:15
*** macz has quit IRC00:18
*** spatel has joined #openstack-nova00:27
*** brinzhang has joined #openstack-nova00:32
*** brinzhang_ has quit IRC00:35
*** markvoelker has quit IRC00:39
openstackgerritTakashi NATSUME proposed openstack/nova master: Fix misuse of nova.objects.base.obj_equal_prims  https://review.opendev.org/67603000:40
*** gyee has quit IRC00:40
*** markvoelker has joined #openstack-nova00:44
openstackgerritFilippo Inzaghi proposed openstack/nova-specs master: Add Python 3 Train unit tests  https://review.opendev.org/67590800:45
openstackgerritMerged openstack/nova stable/ocata: Implement power_off/power_on for the FakeDriver  https://review.opendev.org/67490600:52
*** abaindur has quit IRC00:57
*** dave-mccowan has quit IRC00:58
*** yedongcan has joined #openstack-nova01:07
*** bhagyashris has joined #openstack-nova01:13
openstackgerritzhufl proposed openstack/nova master: [Trivial]Remove unused helper _get_instances_by_filters  https://review.opendev.org/67603601:30
*** factor has joined #openstack-nova01:39
*** yedongcan has quit IRC01:48
openstackgerritzhufl proposed openstack/nova master: [Trivial]Remove unused helper filter_and_format_resource_metadata  https://review.opendev.org/67603801:49
*** yedongcan has joined #openstack-nova01:51
*** bbowen has quit IRC01:51
*** spsurya has joined #openstack-nova02:11
*** igordc has quit IRC02:17
*** igordc has joined #openstack-nova02:39
openstackgerritMerged openstack/nova master: Multiple API cleanup changes  https://review.opendev.org/66688902:51
openstackgerritMerged openstack/nova master: DRY get_flavor in flavor manage tests  https://review.opendev.org/66828102:51
openstackgerritMerged openstack/nova master: Add InstanceAction/Event create() method  https://review.opendev.org/61403602:51
openstackgerritMerged openstack/nova master: Add Instance.hidden field  https://review.opendev.org/63112302:52
*** igordc has quit IRC02:55
*** hongbin has joined #openstack-nova03:00
*** spatel has quit IRC03:02
openstackgerritFilippo Inzaghi proposed openstack/nova-specs master: Add Python 3 Train unit tests  https://review.opendev.org/67590803:25
*** takashin has left #openstack-nova03:30
openstackgerritBrin Zhang proposed openstack/nova master: Specify availability_zone to unshelve  https://review.opendev.org/66385103:31
openstackgerritBrin Zhang proposed openstack/nova master: Add delete_on_termination to volume-attach API  https://review.opendev.org/67313303:43
*** macz has joined #openstack-nova03:51
*** macz has quit IRC03:55
*** macz has joined #openstack-nova03:56
*** macz has quit IRC03:57
*** macz has joined #openstack-nova03:57
*** ash2307 has joined #openstack-nova03:58
*** macz has quit IRC04:01
*** macz has joined #openstack-nova04:02
*** macz has quit IRC04:06
*** ash2307 has left #openstack-nova04:09
*** shilpasd has joined #openstack-nova04:13
openstackgerritBrin Zhang proposed openstack/python-novaclient master: Microversion 2.76: Support Specifying AZ to unshelve  https://review.opendev.org/66513604:14
*** hongbin has quit IRC04:17
*** whoami-rajat has joined #openstack-nova04:18
*** abaindur has joined #openstack-nova04:25
openstackgerritDustin Cowles proposed openstack/nova master: Introduces SDK to IronicDriver and uses for node.get  https://review.opendev.org/64289904:28
openstackgerritDustin Cowles proposed openstack/nova master: Use SDK for node.list  https://review.opendev.org/65602704:28
openstackgerritDustin Cowles proposed openstack/nova master: Use SDK for validating instance and node  https://review.opendev.org/65602804:28
openstackgerritDustin Cowles proposed openstack/nova master: Use SDK for setting instance id  https://review.opendev.org/65969004:28
openstackgerritDustin Cowles proposed openstack/nova master: Use SDK for add/remove instance info from node  https://review.opendev.org/65969104:28
openstackgerritDustin Cowles proposed openstack/nova master: Use SDK for getting network metadata from node  https://review.opendev.org/67021304:28
*** ociuhandu has joined #openstack-nova04:31
*** sapd1_x has joined #openstack-nova04:34
*** ociuhandu has quit IRC04:35
*** sapd1_x has quit IRC04:46
*** mkrai has joined #openstack-nova04:49
*** dave-mccowan has joined #openstack-nova04:56
*** dave-mccowan has quit IRC05:01
*** gryf has joined #openstack-nova05:05
*** dpawlik has joined #openstack-nova05:20
*** jaosorior has quit IRC05:24
*** igordc has joined #openstack-nova05:28
*** udesale has joined #openstack-nova05:33
*** ratailor has joined #openstack-nova05:36
*** pcaruana has joined #openstack-nova05:40
*** pcaruana has quit IRC05:49
openstackgerritBrin Zhang proposed openstack/nova master: Add user_id and project_id colume to Migration  https://review.opendev.org/67399005:54
*** shilpasd has quit IRC06:00
*** igordc has quit IRC06:02
openstackgerritLenny Verkhovsky proposed openstack/nova master: Revert "vif: Resolve a TODO and update another"  https://review.opendev.org/67577606:09
*** ksdean has quit IRC06:10
openstackgerritLenny Verkhovsky proposed openstack/nova master: Revert "vif: Resolve a TODO and update another"  https://review.opendev.org/67577606:11
*** epoojad1 has joined #openstack-nova06:12
openstackgerritBrin Zhang proposed openstack/nova master: Filter migrations by user_id/project_id  https://review.opendev.org/67424306:16
*** ivve has joined #openstack-nova06:43
*** mjozefcz has joined #openstack-nova06:48
*** dpawlik has quit IRC06:52
*** damien_r has joined #openstack-nova07:00
*** luksky has joined #openstack-nova07:01
*** abaindur has quit IRC07:01
*** slaweq has joined #openstack-nova07:05
*** psachin has joined #openstack-nova07:16
*** tssurya has joined #openstack-nova07:16
*** tesseract has joined #openstack-nova07:17
*** rcernin has quit IRC07:21
gibiefried: I felt the same about importing the real fixtures in https://review.opendev.org/#/c/675935 ;)07:28
*** rpittau|afk is now known as rpittau07:34
*** jangutter has joined #openstack-nova07:34
*** mjozefcz has quit IRC07:36
*** mjozefcz has joined #openstack-nova07:37
*** pcaruana has joined #openstack-nova07:45
*** macz has joined #openstack-nova07:46
*** helenafm has joined #openstack-nova07:46
*** macz has quit IRC07:50
*** xek has joined #openstack-nova07:53
*** macz has joined #openstack-nova07:57
*** macz has quit IRC07:59
*** dpawlik has joined #openstack-nova08:00
*** ccamacho has joined #openstack-nova08:03
*** ccamacho has quit IRC08:03
*** ccamacho has joined #openstack-nova08:03
*** priteau has joined #openstack-nova08:04
tssuryagood morning gmann, did you already propose a client side change for microversion 2.75 ? just asking so that I can rebase on client side change on that08:14
*** derekh has joined #openstack-nova08:24
*** cdent has joined #openstack-nova08:26
*** jaosorior has joined #openstack-nova08:26
*** ociuhandu has joined #openstack-nova08:30
*** ociuhandu has quit IRC08:35
*** dpawlik has quit IRC08:37
*** zhouyao has joined #openstack-nova08:42
zhouyaobauzas Can you tell me if nvram file can be stored in shared storage?08:46
gmanntssurya: not yet, I am planning for today or tomorrow.08:46
gmanni will ping the link.08:46
tssuryagmann: thanks ! :)08:46
*** ociuhandu has joined #openstack-nova08:47
*** ociuhandu has quit IRC08:53
*** trident has quit IRC08:54
openstackgerritBalazs Gibizer proposed openstack/nova master: allow getting resource request of every bound ports of an instance  https://review.opendev.org/65511009:01
openstackgerritBalazs Gibizer proposed openstack/nova master: Pass network API to the conducor's MigrationTask  https://review.opendev.org/65511109:01
openstackgerritBalazs Gibizer proposed openstack/nova master: Add request_spec to server move RPC calls  https://review.opendev.org/65572109:01
openstackgerritBalazs Gibizer proposed openstack/nova master: re-calculate provider mapping during migration  https://review.opendev.org/65511209:07
*** trident has joined #openstack-nova09:08
openstackgerritBalazs Gibizer proposed openstack/nova master: update allocation in binding profile during migrate  https://review.opendev.org/65642209:09
*** rpittau is now known as rpittau|bbl09:09
openstackgerritBalazs Gibizer proposed openstack/nova master: Extend NeutronFixture to handle migrations  https://review.opendev.org/65511409:11
*** ccamacho has quit IRC09:11
*** dpawlik has joined #openstack-nova09:11
openstackgerritBalazs Gibizer proposed openstack/nova master: prepare func test env for moving servers with bandwidth  https://review.opendev.org/65510909:12
openstackgerritBalazs Gibizer proposed openstack/nova master: func test for migrate server with ports having resource request  https://review.opendev.org/65511309:12
openstackgerritBalazs Gibizer proposed openstack/nova master: Make _rever_allocation nested allocation aware  https://review.opendev.org/67613809:17
*** psachin has quit IRC09:18
openstackgerritBalazs Gibizer proposed openstack/nova master: Func test for revert migration with bandwidth  https://review.opendev.org/67614009:19
*** priteau has quit IRC09:20
*** takamatsu has joined #openstack-nova09:23
*** trident has quit IRC09:25
*** ksdean has joined #openstack-nova09:26
*** ociuhandu has joined #openstack-nova09:27
openstackgerritStephen Finucane proposed openstack/nova master: Libvirt: add support for vPMU configuration.  https://review.opendev.org/67133809:29
*** ociuhandu has quit IRC09:32
*** trident has joined #openstack-nova09:32
*** mkrai has quit IRC09:34
*** xek has quit IRC09:41
*** xek has joined #openstack-nova09:42
*** zhouyao has quit IRC09:49
*** shilpasd has joined #openstack-nova09:50
*** sapd1_x has joined #openstack-nova09:56
lyarwoodredkrieg: Apologies for missing your ping yesterday re stable device rescue, it's dropped down to the the bottom of the pile for me recently.09:56
lyarwoodredkrieg: there appears to be growing interest again so I might kick it back to life for the U cycle but I can't really guarantee anything at this point.09:57
slaweqefried: hi09:57
slaweqefried: I just opened bug https://bugs.launchpad.net/nova/+bug/1839961 as I see that this test if failing quite often09:58
openstackLaunchpad bug 1839961 in OpenStack Compute (nova) "Test tempest.api.compute.servers.test_novnc.NoVNCConsoleTestJSON.test_novnc failing often" [Undecided,New]09:58
slaweqefried: please take a look at it if You will have few minutes, I opened it for nova but maybe it's e.g. tempest issue - I'm not 100% sure09:58
*** rcernin has joined #openstack-nova10:08
*** ksdean has quit IRC10:13
*** elod is now known as elod_off10:17
shilpasdstephenfin: thanks for review 'isolate_aggregate' pre-request filter patches10:30
shilpasdstephenfin: just small query on https://review.opendev.org/#/c/671075/6/nova/scheduler/request_filter.py@68 and @7210:30
shilpasd if we have only one ResourceRequest, then we can omit union, right?10:30
stephenfinshilpasd: Yeah, I think so. That's what we do in nova/scheduler/utils.py https://github.com/openstack/nova/blob/master/nova/scheduler/utils.py#L461-L48310:31
*** bhagyashris has quit IRC10:31
stephenfinIgnore the numbered_groups_from_flavor piece and I think you have exactly what you want10:32
stephenfinAlso, there's a check there to see if 'Flavor.extra_specs' exists. However, I assumed it always would so I don't know why that's there. Maybe just tests?10:33
*** ociuhandu has joined #openstack-nova10:35
shilpasdthanks for reference, will address accordingly, and in my changes will check do we need this check 'if 'Flavor.extra_specs' exists', then only add10:35
shilpasdstephenfin: and for https://review.opendev.org/#/c/671074/5/nova/objects/aggregate.py@54110:36
stephenfinMakes sense. To say everything is passing so far, I imagine you don't, but it would be no harm to trace the paths to see if the field is ever _not_ set10:36
shilpasdwill edit doc message10:36
shilpasdsure, will check if field is ever _not_ set, is any causing issue10:37
*** ociuhandu has quit IRC10:45
openstackgerritBoxiang Zhu proposed openstack/nova master: Make evacuation respects anti-affinity rule  https://review.opendev.org/64996311:01
openstackgerritBoxiang Zhu proposed openstack/nova master: Make evacuation respects anti-affinity rule  https://review.opendev.org/64996311:03
*** udesale has quit IRC11:03
*** jaosorior has quit IRC11:04
openstackgerritBoxiang Zhu proposed openstack/nova master: Fix live migration break group policy simultaneously  https://review.opendev.org/65196911:08
*** ociuhandu has joined #openstack-nova11:12
*** yedongcan has left #openstack-nova11:29
*** sapd1_x has quit IRC11:29
*** slaweq_ has joined #openstack-nova11:30
*** rcernin has quit IRC11:31
*** epoojad1 has quit IRC11:31
*** slaweq has quit IRC11:33
*** trident has quit IRC11:34
*** trident has joined #openstack-nova11:40
openstackgerritya.wang proposed openstack/nova master: Support report driver migrate feature  https://review.opendev.org/67452211:44
openstackgerritya.wang proposed openstack/nova master: Add property check when create/rebuild/resize.  https://review.opendev.org/67452311:44
openstackgerritya.wang proposed openstack/nova master: Scheduler translate properties to traits  https://review.opendev.org/67452411:44
openstackgerritya.wang proposed openstack/nova master: Change method: _live_migration_flags  https://review.opendev.org/67452511:44
openstackgerritya.wang proposed openstack/nova master: Add releasenote and update docs.  https://review.opendev.org/67452611:44
*** yaawang has quit IRC11:47
*** yaawang has joined #openstack-nova11:48
*** mriedem has joined #openstack-nova11:52
*** yaawang has quit IRC11:53
*** Alon_KS has joined #openstack-nova11:54
*** yaawang has joined #openstack-nova11:55
*** beagles is now known as beagles_pto11:57
mriedemstephenfin: replied in https://review.opendev.org/#/c/627892/11:59
*** ricolin has quit IRC12:01
openstackgerritPeter Penchev proposed openstack/nova master: libvirt: use native AIO mode for StorPool Cinder volumes.  https://review.opendev.org/67617212:02
*** artom has joined #openstack-nova12:04
*** bbowen has joined #openstack-nova12:08
*** ivve has quit IRC12:09
*** ociuhandu has quit IRC12:09
*** rpittau|bbl is now known as rpittau12:11
*** ociuhandu has joined #openstack-nova12:19
*** ociuhandu has quit IRC12:24
mriedemtssurya: i've informally reserved 2.76 for you12:26
tssuryamriedem: just saw the ML, thanks a lot Matt! :)12:37
*** eharney has quit IRC12:38
openstackgerritMatt Riedemann proposed openstack/nova master: Prevent init_host test to interfere with other tests  https://review.opendev.org/67555312:40
*** priteau has joined #openstack-nova12:41
*** slaweq_ has quit IRC12:45
*** slaweq__ has joined #openstack-nova12:45
*** nweinber_ has joined #openstack-nova12:45
*** jaosorior has joined #openstack-nova12:47
*** jangutter_ has joined #openstack-nova12:49
*** ratailor has quit IRC12:51
*** factor has quit IRC12:51
*** factor has joined #openstack-nova12:52
*** jangutter has quit IRC12:52
*** yonglihe has joined #openstack-nova12:52
yonglihemelwitt: I came up with some comment to the code you concerned, hope it address your problem.  glad to have you take a12:56
yonglihe look: https://review.opendev.org/#/c/627765/36/nova/compute/manager.py12:56
yonglihesean-k-mooney:  I bet you will be here again  -:) , so could you please take another round of review for  https://review.opendev.org/#/c/627765.12:58
sean-k-mooneyhehe i am, ill try an take a look again later today12:59
yongliheThanks13:01
yongliheHave a good review day, Sean, -:) .13:02
*** watersj has joined #openstack-nova13:12
*** watersj has left #openstack-nova13:15
*** priteau has quit IRC13:20
*** eharney has joined #openstack-nova13:21
*** artom has quit IRC13:21
*** pcaruana has quit IRC13:23
*** tinwood has quit IRC13:30
*** udesale has joined #openstack-nova13:30
*** tinwood has joined #openstack-nova13:31
*** lbragstad has joined #openstack-nova13:31
*** slaweq__ is now known as slaweq13:33
*** brinzhang has quit IRC13:35
*** brinzhang has joined #openstack-nova13:36
tssuryadansmith, mriedem: I opened this bug a few days ago : https://bugs.launchpad.net/nova/+bug/1839009 , would be could if someone could confirm it since I am not exactly sure if its a bug or if its intended to be that way.13:36
openstackLaunchpad bug 1839009 in OpenStack Compute (nova) "os-server-external-events does not behave correctly for failed single events" [Undecided,New]13:36
*** BjoernT has joined #openstack-nova13:36
*** ociuhandu has joined #openstack-nova13:37
dansmithtssurya: yeah, looks like maybe the assumption around "if accepted events" meaning "no instances" is too naive13:39
*** BjoernT_ has joined #openstack-nova13:39
tssuryadansmith: yea13:39
*** BjoernT has quit IRC13:39
*** ociuhandu has quit IRC13:41
dansmithI dunno what the api recommendation is here,13:42
dansmithbut I would think that just removing the else: raise bit there would be fine,13:42
dansmithsince we calculate the overall and per-event result regardless13:43
dansmithI think that else is left from my original code that didn't try to do per-event status13:43
*** BjoernT has joined #openstack-nova13:44
tssuryadansmith: yea we could, but wouldn't it change the existing api behaviour?13:45
*** BjoernT_ has quit IRC13:46
dansmithwell, obviously it would, but I think it falls under the "people don't write clients to depend on obviously broken behavior"13:47
dansmithwe could specifically check for "they provided a legit single-event but the instance just wasn't found, so do this special 404" I guess13:47
*** brinzhang has quit IRC13:49
tssuryadansmith: hmm yea I didn't do anything to the bug since I wasn't sure what was the right way out13:49
tssuryabut like you said as least for ironic the client assumes everything is done correctly on server side13:49
*** brinzhang has joined #openstack-nova13:49
*** mlavalle has joined #openstack-nova13:52
*** eharney has quit IRC13:57
*** whoami-rajat has quit IRC13:59
*** eharney has joined #openstack-nova13:59
*** pcaruana has joined #openstack-nova14:00
*** lbragstad has quit IRC14:02
redkrieglyarwood: thanks for getting back to me.  if there's anything I can do to help with stable device rescue, please let me know.  it would solve some big pain points for me and my clients.14:03
*** dpawlik has quit IRC14:06
efriedslaweq: I've seen https://bugs.launchpad.net/nova/+bug/1839961 quite a bit as well. mriedem is our resident bugmeister, though, perhaps he has insight.14:07
openstackLaunchpad bug 1669468 in devstack "duplicate for #1839961 tempest.api.compute.servers.test_novnc.NoVNCConsoleTestJSON.test_novnc fails intermittently in neutron multinode nv job" [Medium,Fix released] - Assigned to melanie witt (melwitt)14:07
slaweqefried: thx, yes, mriedem already marked it as duplicate of other bug14:08
slaweqsorry for noise than :)14:08
mriedemthe devstack patch was merged yesterday14:08
slaweqand thx for fix14:08
mriedemhttp://status.openstack.org/elastic-recheck/#166946814:08
mriedemif it's still hitting we might have other problems14:08
mriedemhttps://review.opendev.org/#/c/675721/14:08
* efried crosses off another one14:09
*** Tianhao_Hu has joined #openstack-nova14:09
efriednow the list is down to 16714:09
*** mjozefcz has quit IRC14:14
*** tbachman has joined #openstack-nova14:15
*** jaosorior has quit IRC14:15
openstackgerritBalazs Gibizer proposed openstack/nova master: Support reverting migration / resize with bandwidth  https://review.opendev.org/67614014:16
*** nweinber__ has joined #openstack-nova14:16
mriedemtssurya: when are you on vacation?14:17
*** ociuhandu has joined #openstack-nova14:17
*** nweinber_ has quit IRC14:19
*** ociuhandu has quit IRC14:22
*** whoami-rajat has joined #openstack-nova14:25
*** ociuhandu has joined #openstack-nova14:25
Tianhao_HuAbout this issue, there are files left after cold migration every time. But the directory left is empty and has no effect on cold migration. I'm wondering that if we can think this is not a bug? Can anyone give me some help on this?14:26
Tianhao_Huhttps://bugs.launchpad.net/starlingx/+bug/182485814:26
openstackLaunchpad bug 1824858 in StarlingX "nova instance remnant left behind after cold migration completes" [Low,Confirmed] - Assigned to hutianhao27 (hutianhao)14:26
*** ricolin has joined #openstack-nova14:28
mriedemtssurya: dansmith: efried: https://review.opendev.org/#/c/645611/14:30
mriedemi didn't compare to my last set of comments (PS7) because the diff is too large14:32
mriedemtssurya: if you're going to be on vacation soon, like leaving today/tomorrow, then i can take this over14:32
mriedemi think my main concern is whether or not operators can disable ironic sending the event until nova is completely upgraded14:33
efriedThey can, there's a conf option on the ironic side.14:33
efriedhttps://review.opendev.org/#/c/664842/19/ironic/conf/nova.py14:33
mriedemefried: you mean just to disalbe nova?14:33
dansmithand unless ironic really cares, it shouldn't be an issue14:33
mriedemah send_power_notifications14:34
mriedemyeah we should mentio nthat in the nova release note14:34
dansmithI expect ironic is sending these to be informative, but not depending on the result14:34
mriedemdansmith: that's not the issue,14:34
mriedemthe issue is if you're doing rolling upgrades of your computes, you've upgraded ironic before nova, then nova control plane, and you can be getting the events, the api sets the task_state on the instance and casts to an old compute that doesn't know how to handle this event and then your instance is stuck with a task_state that won't go back to None w/o admin intervention14:34
dansmithokay yeah, good point14:35
openstackgerritStephen Finucane proposed openstack/nova master: WIP! tox: Add mypy target  https://review.opendev.org/67620814:35
openstackgerritStephen Finucane proposed openstack/nova master: mypy: Add type annotations to 'nova.pci'  https://review.opendev.org/67620914:35
openstackgerritStephen Finucane proposed openstack/nova master: zuul: Add 'mypy' job  https://review.opendev.org/67621014:35
dansmitheven if we can disable the ironic side, the nova side needs to not do that14:35
*** tbachman has quit IRC14:36
dansmithtbh, the api setting the task state has kinda rubbed me the wrong way the whole time anyway,14:36
dansmithas it seems like we should just forward this down to the compute and let it do its thing if needed14:36
mriedemi mentioned in ealier review that the API could check the compute service version, but because volume-extended was merged w/o doing that and has the same issue, it was going to slide here as well14:36
dansmithsetting task state is to help with races to take action on events, and if we can't do the power state short-circuit because something else has started, it's fine to fail/log late14:37
stephenfinmriedem: Question on https://review.opendev.org/#/c/631581/44/nova/conductor/tasks/cross_cell_migrate.py14:37
mriedemdansmith: that was another thing i pointed out, the API code isn't handling UnexpectedTaskStateError if we lose a race so the API would 500 and fail for all events14:37
mriedem*all events in that request14:38
dansmithmriedem: yeah, so I think I'd use this as an argument to not make this something more complex on the api side14:39
mriedemstephenfin: replied14:41
mriedemstephenfin: i realized late that the cinder 3.44 check in there can be removed now https://review.opendev.org/#/c/649759/14:45
mriedemi wrote the cross-cell patch before we bumped the min required cinder,14:45
mriedemso i'll remove that in a follow up14:45
stephenfinI also missed that. Yeah, follow-up would be good (y)14:45
*** Tianhao_Hu has quit IRC14:52
*** dave-mccowan has joined #openstack-nova14:58
*** tbachman has joined #openstack-nova15:03
*** Tianhao_Hu has joined #openstack-nova15:04
*** dave-mccowan has quit IRC15:04
*** Tianhao_Hu has quit IRC15:07
dansmithmriedem: I commented on tssurya's patch about the api task_state involvement, and also thought of another problem with that15:09
*** liuyulong has joined #openstack-nova15:17
*** mjozefcz has joined #openstack-nova15:20
*** tssurya has quit IRC15:22
*** artom has joined #openstack-nova15:23
mriedemdansmith: i don't think the libvirt thing is an issue if you're compute is train+15:26
dansmithno?15:26
mriedemb/c the driver will raise NotImplementedError and @reverts_task_state will set the task_state to None15:26
dansmithis that a call?15:26
mriedemi commented on that in one of the unit tests - as in that scenario is not asserted15:26
mriedem@reverts_task_state is a decorator on the compute managermethod15:27
dansmithah15:27
mriedemso i think we're covered there, it's just not tested :(15:28
dansmithokay I see, she's got it on the helper method15:28
dansmithI was pretty sure it was not on the event handler function itself15:28
mriedemdansmith: efried: fyi i'll be out on friday, going camping up north in the bOuNdArY wAtErS; if i'm not back next monday it's either because a bear ate me or i illegally emigrated to canada15:32
efriedack15:33
efriedyou're going with someone you can outrun, right?15:33
mriedemuntil then i'll be planning on how to live w/o running water and on hot dogs for 6 straight meals15:33
mriedemoh of course15:33
*** helenafm has quit IRC15:36
*** yonglihe has quit IRC15:42
*** gyee has joined #openstack-nova15:44
openstackgerritMerged openstack/nova stable/ocata: fix unshelve notification test instability  https://review.opendev.org/67490715:51
*** mjozefcz has quit IRC15:52
*** macz has joined #openstack-nova15:52
openstackgerritMatt Riedemann proposed openstack/nova master: FUP to I30916d8d10d70ce25523fa4961007cedbdfe8ad7  https://review.opendev.org/67622815:52
*** KeithMnemonic has quit IRC15:52
openstackgerritShilpa Devharakar proposed openstack/nova master: Nova object changes for forbidden aggregates request filter  https://review.opendev.org/67107215:55
openstackgerritShilpa Devharakar proposed openstack/nova master: DB API changes to get non-matching aggregates from metadata  https://review.opendev.org/67107415:55
openstackgerritShilpa Devharakar proposed openstack/nova master: Add a new request filter to isolate aggregates  https://review.opendev.org/67107515:57
openstackgerritShilpa Devharakar proposed openstack/nova master: Enable request filter isolate_aggregates  https://review.opendev.org/66795215:58
*** vesper11 has quit IRC15:58
*** ociuhandu has quit IRC15:58
openstackgerritTakashi NATSUME proposed openstack/python-novaclient master: Microversion 2.75 - Multiple API cleanup changes  https://review.opendev.org/67623015:59
*** vesper11 has joined #openstack-nova16:00
*** markvoelker has quit IRC16:02
*** spsurya has quit IRC16:04
*** Alon_KS has left #openstack-nova16:05
openstackgerritMatt Riedemann proposed openstack/nova master: Add CrossCellMigrationTask  https://review.opendev.org/63158116:08
openstackgerritMatt Riedemann proposed openstack/nova master: FUP to I4d181b44494f3b0b04537d5798537831c8fdf400  https://review.opendev.org/67623116:08
mriedemwtf16:09
mriedemoh sob16:09
efriedis mriedem wishing he had rebase=false in his .gitconfig?16:10
*** Alon_KS has joined #openstack-nova16:10
mriedemno, i did git review -R, that's not the problem16:10
mriedemthe problem is i rebased HEAD~41, FUP to 41, git rebase --continue, FUP to 40, but that was not part of my main series so now it's diverged16:11
openstackgerritMatt Riedemann proposed openstack/nova master: Add CrossCellMigrationTask  https://review.opendev.org/63158116:11
sean-k-mooneyefried: im not sure how people end up with git reveiw rebasing there patches without them asking. i dont have rebase=false in my .gitconfig but i dont think i have ever had that proablem and dont then to use -R16:12
*** markvoelker has joined #openstack-nova16:12
sean-k-mooneyat least in my normal workflow of "git review -d <gerrit number>; edit, git commit --amend, git review" that has never been a issue i have had16:13
openstackgerritMatt Riedemann proposed openstack/nova master: FUP to I4d181b44494f3b0b04537d5798537831c8fdf400  https://review.opendev.org/67623116:13
openstackgerritMatt Riedemann proposed openstack/nova master: Execute TargetDBSetupTask  https://review.opendev.org/63385316:13
mriedemi'll just wait for the bottom things to merge and then do a proper rebase16:15
efriedmriedem: I don't think I understand the rolling upgrade with the ironic event thing.16:16
efriedIf ironic sends the event to a nova that can't understand it, it'll just bounce, and the behavior will be as if we didn't have the feature, and the nova periodic will force the instance state like it does today -- right??16:16
mriedemno16:16
mriedemtraditional upgrade sequence for nova and ironic is ironic first because the driver didn't do version discovery,16:17
*** BjoernT has quit IRC16:17
mriedemi think that's changed in recent releases but not sure how robust it is,16:17
mriedemso you upgrade ironic, then the nova control plane, and you can have Stein computes for rolling upgrades, right?16:17
mriedemso your nova api is train exposing 2.7616:17
dansmithyup16:18
efriedah, so this is really a coordination problem where we need to tolerate n-api > n-cpu16:18
mriedemironic default to send the events and if ironic is configured for talking to nova,16:18
mriedemit will send the events16:18
mriedemyes16:18
efriedit really has little to do with the ironic side sending events or not.16:18
mriedemthis is why the api does min compute service version checking in places16:18
mriedemcorrect16:18
dansmithcorrect, which is why I said the ironic tunable is not a solution16:18
mriedemif the nova api was smarter ironic wouldn't care16:18
efriedokay, I'm up to speed, thanks.16:18
dansmitheven if the power state sync will fix it (not sure it will), ironic will lock up the instance for some period of time until it unlocks, which is not okay16:19
mriedemthe power state sync task will ignore the instance if the task_state is not None16:19
mriedemso if the api gets an event, sets the task_state, then casts off to stein compute that ignores it, the sync task won't fix it16:19
dansmithyeah, I thought it wouldn't fix it up, but I can never remember the million or so conditionals int here16:19
dansmithno response from tssurya right?16:19
mriedemif it's thursday and you're using vcenter you get a free vm16:20
mriedemcorrect16:20
*** macz has quit IRC16:26
cdentmriedem: nothing ever comes for free from vcenter16:31
*** rpittau is now known as rpittau|afk16:32
mriedemheh16:33
*** ociuhandu has joined #openstack-nova16:38
*** jangutter_ has quit IRC16:39
*** macz has joined #openstack-nova16:43
*** udesale has quit IRC16:43
*** tesseract has quit IRC16:43
*** ociuhandu has quit IRC16:43
*** ricolin_ has joined #openstack-nova16:48
*** ricolin has quit IRC16:52
*** slaweq has quit IRC16:52
*** cdent has quit IRC16:53
*** mgariepy has quit IRC16:58
*** jangutter has joined #openstack-nova16:59
*** derekh has quit IRC17:00
*** ricolin_ is now known as ricolin17:04
*** jangutter has quit IRC17:10
*** mgariepy has joined #openstack-nova17:20
*** ociuhandu has joined #openstack-nova17:20
*** ociuhandu_ has joined #openstack-nova17:34
*** ociuhandu has quit IRC17:36
*** ociuhandu_ has quit IRC17:38
openstackgerritMatt Riedemann proposed openstack/nova stable/stein: Delete unused get_all_host_states method  https://review.opendev.org/67625517:40
openstackgerritMatt Riedemann proposed openstack/nova stable/stein: Convert HostMapping.cells to a dict  https://review.opendev.org/67625617:40
openstackgerritMatt Riedemann proposed openstack/nova stable/stein: Cache host to cell mapping in HostManager  https://review.opendev.org/67625717:40
*** mvkr has quit IRC17:45
mriedemthe nova-lxc job finds it's first bug https://bugs.launchpad.net/nova/+bug/184006817:48
openstackLaunchpad bug 1840068 in OpenStack Compute (nova) "(lxc) Instance failed to spawn: TypeError: object of type 'filter' has no len()" [High,Confirmed]17:48
*** ociuhandu has joined #openstack-nova17:48
sean-k-mooneyoh you/someone got an lxc job running? cool17:50
sean-k-mooneylooks like its more or less in teh same nbd mount region of the code that the other issue was in17:51
mriedemthis is a py3 specific failure17:51
*** ociuhandu has quit IRC17:52
sean-k-mooneyoh that is becasue filter is nolonger a keyword17:53
sean-k-mooneyand not you have to import it form itertools17:53
sean-k-mooneyso we need to use six17:53
sean-k-mooneys/keywork/built in fucntion/17:53
*** hamzy has quit IRC17:54
*** shilpasd has quit IRC17:59
mriedemthat implies the problem would actually be in py27 rather than 318:01
mriedemhttps://github.com/openstack/nova/blob/e3a55493ba0cb405f14b9090282d93eb230c5715/nova/virt/disk/mount/nbd.py#L4418:01
mriedemsince it's using filter()18:01
mriedemi think the problem is passing an iterable from filter() to random.shuffle18:01
sean-k-mooneywell filter is a builtin in python 218:02
sean-k-mooneyin python 3 its  not and you have to import it18:02
sean-k-mooneyso i was about to push what i think is a fix18:02
mriedemok i'm not sure what was used then, because we18:02
mriedemTypeError: object of type 'filter' has no len()18:02
sean-k-mooneyit might be something else18:02
sean-k-mooneydoes this show up in unit tests18:03
mriedemnope, b/c there is no test coverage18:03
mriedemthe method is mocked out18:03
mriedemlots of this old virt/disk/mount code isn't tested very deep18:03
sean-k-mooneyok i guess i should add a test. i was hoping ot just quickly fix this and move on18:03
mriedemit uses a stub,18:04
mriedem_fake_detect_nbd_devices_none18:04
mriedemwhich returns a [] rather than the results of a filter18:04
*** bbowen_ has joined #openstack-nova18:04
*** spatel has joined #openstack-nova18:04
sean-k-mooneyright it shoudl be mocking the os.listdir call really18:04
sean-k-mooneywell the stub is fine for oter tests18:05
*** bbowen has quit IRC18:05
sean-k-mooneybut we should have a test for that _detect_nbd_devices function directly.18:05
*** mjozefcz has joined #openstack-nova18:08
mriedemyeah i see there is a _fake_listdir_nbd_devices stub but it's not used by anything, i.e. removing that doesn't make tests fail18:09
*** markvoelker has quit IRC18:12
*** markvoelker has joined #openstack-nova18:15
*** BjoernT has joined #openstack-nova18:15
*** mjozefcz has quit IRC18:16
mriedemyeah so filter() in py27 returns a list, or some kind of iterable, and in py3 it's a built-in function18:21
mriedemwhich is why random.shuffle doesn't handle it18:21
*** bbowen__ has joined #openstack-nova18:24
*** abaindur has joined #openstack-nova18:25
*** bbowen_ has quit IRC18:27
openstackgerritDustin Cowles proposed openstack/nova master: Introduces SDK to IronicDriver and uses for node.get  https://review.opendev.org/64289918:27
openstackgerritDustin Cowles proposed openstack/nova master: Use SDK for node.list  https://review.opendev.org/65602718:27
openstackgerritDustin Cowles proposed openstack/nova master: Use SDK for validating instance and node  https://review.opendev.org/65602818:27
openstackgerritDustin Cowles proposed openstack/nova master: Use SDK for setting instance id  https://review.opendev.org/65969018:27
openstackgerritDustin Cowles proposed openstack/nova master: Use SDK for add/remove instance info from node  https://review.opendev.org/65969118:27
openstackgerritDustin Cowles proposed openstack/nova master: Use SDK for getting network metadata from node  https://review.opendev.org/67021318:27
*** hamzy has joined #openstack-nova18:30
*** eharney has quit IRC18:33
openstackgerritsean mooney proposed openstack/nova master: lxc: make use of filter python3 compatiable  https://review.opendev.org/67626318:40
sean-k-mooneymriedem: i think that should fix it ^18:43
mriedemyup just commented18:43
mriedemi was working on the same thing18:43
sean-k-mooney:) i can make the chagne you suggest but if you have tehm locally i can also abandon min18:45
sean-k-mooneyit will only take 30 secons either way18:45
mriedemi dropped mine18:45
sean-k-mooneyok ill make it a static method so it does not need to be an instance method at all18:45
sean-k-mooneywe dont traselate logs anymore right18:46
sean-k-mooneyyou know what ill jsut fix this and i wont rewrite teh fule file18:47
sean-k-mooneyits tempting but i have no idea why we save sutff to self.error in the oter functions and i dont want to break that18:48
openstackgerritMerged openstack/nova master: Add TargetDBSetupTask  https://review.opendev.org/62789218:48
openstackgerritMerged openstack/nova master: Prevent init_host test to interfere with other tests  https://review.opendev.org/67555318:48
openstackgerritEric Fried proposed openstack/nova master: Get ironicclient retry conf from ksa  https://review.opendev.org/67626418:49
*** mrhillsman has joined #openstack-nova18:51
*** hamzy has quit IRC18:51
*** hamzy has joined #openstack-nova18:51
efrieddustinc: Having done all that work... now I'm not sure it's the right thing at all.18:52
efrieddansmith: Why are those other methods remotable?18:52
dansmithefried: there are some legacy cases where aggregate methods got called from the compute, like when the xen driver was doing some sync18:53
dansmithand potentially also just people adding them because they see the decorator elsewhere and don't understand18:53
efriedyes, that's certainly what I would have done18:53
openstackgerritsean mooney proposed openstack/nova master: lxc: make use of filter python3 compatiable  https://review.opendev.org/67626318:58
sean-k-mooneymriedem: done im going to grab something to eat so ill be afk for a while18:59
*** cfriesen has joined #openstack-nova19:03
efriedo/ cfriesen! how are things?19:06
cfriesenefried: just got back from long road trip with family.  now recovering from my vacation19:06
cfriesen:)19:06
efriedah yes, I know the feeling19:07
*** mgariepy has quit IRC19:08
*** mriedem has quit IRC19:08
*** mriedem has joined #openstack-nova19:12
*** ivve has joined #openstack-nova19:14
mriedemeasy fix https://review.opendev.org/#/c/676263/19:18
dansmithmriedem: sean-k-mooney won't list() fix it without the six thing?19:21
mnasermriedem: about https://review.opendev.org/#/c/675496/ would it make sense to make a patch updating the index?19:23
mnaser(in master, so that one alone is backportable)19:23
*** mvkr has joined #openstack-nova19:24
mriedemdansmith: yeah i think so19:24
dansmithmriedem: so am I missing why we don't just do that? I mean, this works too but I don't think it's what we've done elsewhere19:25
mriedemthat's what i was doing in my local patch, but sean-k-mooney beat me to it and used six here so...19:25
mriedemi'm fine with removing the six.moves19:25
mriedemmnaser: you mean change the unique index from just uuid to uuid + deleted?19:26
mnaseryeah19:26
dansmithI know he'll be back.. should we wait to see if he had some reason or just go ahead and fix it?19:26
dansmithnot sure if it's a rush19:26
mriedemmnaser: the schema change is a bit wonkier b/c the unique index is defined on the uuid column rather than an actual index19:26
mriedemit's not a rush, can wait for sean19:26
mnasermriedem: i guess the only issue with that is if you put your entire fleet into maintenance mode and then bring it back19:27
mnaseryou just doubled your db19:27
mriedemmnaser: nvm, i guess it's not defined on the column https://github.com/openstack/nova/blob/master/nova/db/sqlalchemy/models.py#L11519:27
mnaserso i think i rather not end up with that type of thing19:27
mriedemit's just a unique index19:27
mnasermy suggestion was to drop the update-deleted workaround19:28
mnaserand make it so that it creates a new entry anyways19:28
mnaseractually i havent had enough coffee19:28
mnaserignore me :)19:29
*** mvkr has quit IRC19:30
* mriedem looks at clock19:31
mriedemwhat tz are you in?19:31
dansmithhe's a millenial19:32
mriedemthe order of the columns in the index also matters and i'm not sure what order we'd use for that unique index19:32
dansmithso, start work at 11am, lunch at 12, etc19:32
*** eharney has joined #openstack-nova19:32
*** whoami-rajat has quit IRC19:33
efrieddustinc: You handy?19:33
*** slaweq has joined #openstack-nova19:34
*** mgariepy has joined #openstack-nova19:34
efrieddustinc: I just put up https://review.opendev.org/676268 which, until it's merged, you should Depends-On from https://review.opendev.org/#/c/642899/ which should also bump the ksa minimum to 3.16.0.19:35
efriedmriedem: Is devstack automatically a required-projects?19:35
efriedi.e. can I Depends-On a devstack patch from nova without twaddling .zuul.yaml?19:36
openstackgerritMatt Riedemann proposed openstack/nova master: Add nova-lxc job to the experimental queue  https://review.opendev.org/67602419:37
mriedemyou said twaddle19:38
mriedemeventually the job inherits from devstack-base which requires devstack19:38
*** bbowen__ has quit IRC19:39
efriedokay, cool19:40
*** markvoelker has quit IRC20:10
*** dpawlik has joined #openstack-nova20:19
*** markvoelker has joined #openstack-nova20:28
mriedemefried: i volunteer alex_xu and gibi for the project update in shanghai20:31
efried++20:31
efrieddual language20:31
*** spatel has quit IRC20:32
openstackgerritGhanshyam Mann proposed openstack/python-novaclient master: Microversion 2.75 - Multiple API cleanup changes  https://review.opendev.org/67627520:35
*** bbowen__ has joined #openstack-nova20:39
openstackgerritGhanshyam Mann proposed openstack/python-novaclient master: API microversion 2.76: Add 'power-update' external event  https://review.opendev.org/66679220:39
*** abaindur has quit IRC20:44
openstackgerritMatt Riedemann proposed openstack/nova stable/stein: rt: only map compute node if we created it  https://review.opendev.org/67627820:49
*** dpawlik has quit IRC21:02
*** xek has quit IRC21:04
*** markvoelker has quit IRC21:07
openstackgerritMatt Riedemann proposed openstack/nova stable/rocky: rt: only map compute node if we created it  https://review.opendev.org/67628021:09
*** dpawlik has joined #openstack-nova21:11
sean-k-mooneydansmith: technically yes just list would be fine. but on python 2.7 you would be constucting the list twice, six.move.filter is itertools.iflter on py27 and just the filter builtin on py3 so six.moves.fiter alway return an interator which we colapse into a list21:17
sean-k-mooneywe proably dont care too much for that specifc case21:18
sean-k-mooneyefried: mriedem dansmith want me to drop the use of six? or just fix typos/nits or leave it as is21:24
openstackgerritMerged openstack/nova stable/ocata: Replace non-nova server fault message  https://review.opendev.org/67490821:26
mriedemsean-k-mooney: you're listifying twice on py27 anyway yeah?21:26
mriedemso dropping six is fine21:26
sean-k-mooneywith six.moves.filter no21:26
sean-k-mooneyby that i mean it will only build the list once with six.move.filter regardless of the version of python21:28
sean-k-mooneybut i also dont partaclly care too much for this so ill do whatever ye prefer21:28
melwittcan anyone link me a shortcut to where the "strict host isolation" work is going on at this point? is it called "dedicated CPUs" now?21:31
efriedThis is up to dansmith and his passive-aggressive no-vote21:31
sean-k-mooneystrict host isolation?21:32
efriedmelwitt: are you talking about forbidden aggregates?21:32
efriedmelwitt: https://review.opendev.org/#/q/topic:bp/placement-req-filter-forbidden-aggregates+(status:open+OR+status:merged)21:32
melwittit's the thing where if you have windows licenses or something, you only want certain tenants landing on those and other tenants not allowed to land on them21:32
*** artom has quit IRC21:32
efriedYeah, that ^21:33
sean-k-mooneyya that the forbidden aggretates thing21:33
efriednot at all related to "dedicated CPUs" https://review.opendev.org/#/q/status:open+project:openstack/nova+branch:master+topic:bp/cpu-resources21:33
melwittok, thanks. I lost track of what it was called today21:33
melwitthaha, well, glad I asked21:33
efriedheh, yeah, now we're calling it "isolated aggregates"21:33
efriedyes, yes you are21:33
melwittcustomers asking about it21:33
sean-k-mooneyefried: well to melwitt defence until this relase you have to isolate dedicated cpu into there own host aggreate21:33
sean-k-mooneyso i get why she might link those21:34
efriedyou wouldn't have wanted to get entrenched in that series only to realize it wasn't the one you cared about :P21:34
melwittbecause today they have to label all aggregates with something in order to have guests not land on certain aggregates and it's a pain21:34
efriedmelwitt: you still kinda have to do that.21:34
efriedoh, you mean you even have to label the ones you're *not* isolating?21:34
melwittyes21:35
sean-k-mooneyunless you use my/rdolfos out of tree filter...21:35
efriedmm21:35
sean-k-mooneywell actuly that still neede you to put stuff in aggrate metaddata21:35
melwittbecause if something lacks a label, a guest can still land there. if I'm thinking about this right21:35
melwittlacks a key, I mean21:35
melwittand what they want is, guests can only land on this host if flavor key=value matches aggregate key=value and aggregates that do not have that key will not match21:36
sean-k-mooneyif you want to requrie traits to be request to land on a host. you need either https://github.com/openstack/nfv-filters/blob/master/nfv_filters/nova/scheduler/filters/aggregate_instance_type_filter.py or my reverse required tratis featrue i wand in plamcneet21:37
mriedemmelwitt: yes you are correct21:37
melwittyesss I was right once21:37
mriedemwith current in-tree filters you can restrict things to host aggregates but not exclude other unrestricted things from landing on those same hosts21:37
mriedemwhich is why you have to create aggregates for everything to strictly isolate everything21:38
mriedemwhich is the mgmt pain in the ass21:38
melwittyeah exactly21:38
melwittthey've labeled everything like, windows=YES and windows=NO, for example, to get the strict isolation21:38
mriedemhttps://docs.openstack.org/nova/latest/admin/configuration/schedulers.html#aggregatemultitenancyisolation has an example as well about the exclusion problem21:39
sean-k-mooneyyes but we fixed that and the sylvain fast revreted it21:39
efriedmelwitt: the series is pretty close to landing, just a couple of little tweaks requested by dansmith, so if you want in, now's the time.21:39
melwittthanks for the pointers. I'll read through that so I can let them know where upstream is at with the feature21:39
melwittthey asked for the feature but I know it's been in the works for a long time and wasn't sure what it was being called now :) thanks all21:40
*** igordc has joined #openstack-nova21:52
openstackgerritDustin Cowles proposed openstack/nova master: Provider config file schema and loader  https://review.opendev.org/67334121:57
openstackgerritDustin Cowles proposed openstack/nova master: WIP: Load custom providers to Resource Tracker  https://review.opendev.org/67602921:57
*** hamzy has quit IRC21:58
openstackgerritMatt Riedemann proposed openstack/nova stable/queens: Hook resource_tracker to remove stale node information  https://review.opendev.org/67628221:59
melwittoh, the ability to add a suffix to filter_tenant_id is only when filtering with placement22:03
openstackgerritMerged openstack/nova master: Fix misuse of nova.objects.base.obj_equal_prims  https://review.opendev.org/67603022:08
*** dpawlik has quit IRC22:10
*** slaweq has quit IRC22:10
*** markvoelker has joined #openstack-nova22:10
*** markvoelker has quit IRC22:14
mriedemyup22:16
mriedemhttps://bugs.launchpad.net/nova/+bug/180211122:17
openstackLaunchpad bug 1802111 in OpenStack Compute (nova) rocky "Unable to assign more than 7 tenants to a filter_tenant_id string" [Low,Fix committed] - Assigned to Matt Riedemann (mriedem)22:17
*** nweinber__ has quit IRC22:21
openstackgerritMerged openstack/nova master: rt: only map compute node if we created it  https://review.opendev.org/67570422:23
openstackgerritMerged openstack/nova master: Add CrossCellMigrationTask  https://review.opendev.org/63158122:23
openstackgerritsean mooney proposed openstack/nova master: lxc: make use of filter python3 compatible  https://review.opendev.org/67626322:27
*** igordc has quit IRC22:28
*** igordc has joined #openstack-nova22:28
openstackgerritMatt Riedemann proposed openstack/nova master: lxc: make use of filter python3 compatible  https://review.opendev.org/67626322:30
*** igordc has quit IRC22:33
sean-k-mooneymriedem: i dont know why i even try somtimes. i actully spell checked that in grammerly then copied it and decied to tweak it slightly22:33
sean-k-mooneyi should never tweak a commit message out of a tool that fixes spelling because i obviously just cant22:34
openstackgerritMatt Riedemann proposed openstack/nova master: Add nova-lxc job to the experimental queue  https://review.opendev.org/67602422:34
sean-k-mooneythanks for fixing it directly :)22:34
openstackgerritMatt Riedemann proposed openstack/nova master: Add nova-lxc job to the experimental queue  https://review.opendev.org/67602422:36
*** ivve has quit IRC22:36
mriedemyou must have run it through the olde englishifier to change behavior to behaviour22:37
*** luksky has quit IRC22:37
sean-k-mooneyactully i proably dont have it set to us english22:38
mriedemoooo22:38
mriedemdon't tell trump that22:39
sean-k-mooneysorry i belive its called american my bad :P22:39
mriedem'merican22:39
mriedemplease22:39
mriedempew pew yee hawww22:39
openstackgerritMatt Riedemann proposed openstack/nova stable/queens: rt: only map compute node if we created it  https://review.opendev.org/67628522:41
melwittargh, I'm too dumb to understand placement_aggregate_required_for_tenants after reading the help22:50
sean-k-mooneywhat is the help text?22:51
melwittok, the reno helps22:51
sean-k-mooneythat praobly means we need better help test in the config option22:51
melwitt"This setting, when limit_tenants_to_placement_aggregate=True, will control whether or not a tenant with no aggregate affinity will be allowed to schedule to any available node. If aggregates are used to limit some tenants but not all, then this should be False. If all tenants should be confined via aggregate, then this should be True to prevent them from receiving unrestricted scheduling to any available node."22:51
mriedemthere is a doc on it22:52
melwittI'm looking at it now22:52
melwittthe conf option help was like.... not understandable by me22:53
sean-k-mooneyit could be worded clearer but tl;dr is if you want to require all tenants be mapped to placmenet aggrates then set it to true22:53
sean-k-mooneyotherwise set it to false22:53
mriedem"Multiple tenants may be added to a single aggregate by appending a serial number to the key, such as filter_tenant_id:123." is lacking a big22:54
mriedem*bit22:54
sean-k-mooneymelwitt: i would have to read that twice or tree times to parse it if had not seen it before22:55
sean-k-mooneyserial number is kind of cryptic22:55
mriedemthe doc is more clear IMO,22:56
mriedem"Note that the filter_tenant_id metadata key can be optionally suffixed with any string for multiple tenants, such as filter_tenant_id3=$tenantid."22:56
melwittyeah, that makes sense to me. placement_aggregate_required_for_tenants is actually not mentioned in the doc though22:56
sean-k-mooneyoh that what they ment i though serial number was referint to the 123 e.g. a different name for the teanant id22:57
melwittheh22:57
mriedemmelwitt: yeah i noticed that too22:57
melwittI think the reason this isn't clear to me is because I know that strict isolation isn't possible, yet "placement_aggregate_required_for_tenants" makes it sound like it is22:58
*** tkajinam has joined #openstack-nova22:59
melwittok, looking at the code, I see that placement_aggregate_required_for_tenants means that it will warn and fail if no aggregate has a match for filter_tenant_id23:00
melwittdoes that mean strict tenant isolation *is* possible already? sounds like it23:01
sean-k-mooneymelwitt: i think you can build stict isolation with that if you manually map each tenant to a different aggretate23:01
melwittyeah... because if you turn this on, it will not let you land on filter_tenant_id-less hosts23:02
sean-k-mooneythen you can set the correct conf options to for the scheduler/plamcent to reject request that are not mapped to an aggregate23:02
sean-k-mooneyyep23:02
sean-k-mooneybut its just as much a pain in the ass as doing it with host aggrates and the old tenabt isolation filter23:03
melwittyeah, true23:03
sean-k-mooneyi proably performs better23:03
openstackgerritDustin Cowles proposed openstack/nova master: WIP: Load custom providers to Resource Tracker  https://review.opendev.org/67602923:03
melwittyeah ok, this isn't actually different, just the mechanism is different (better) and then you can get it to warn you if you didn't set the tenant keys on all your aggregates23:04
sean-k-mooneyyeah so its the waring/force fail behavior is slightly better but not a lot23:05
mriedemthe tenant to aggregate stuff was for cern i think, to model tenant-to-cell with azs / aggregates for a cell23:06
mriedemsince cern maps tenants to specific cells23:06
mriedemand with that i'm out23:08
*** mriedem has quit IRC23:08
melwittyeah, I was thinking this was for CERN. the customer case I'm writing this up for is also dividing up the cluster per tenant23:08
sean-k-mooneycern used to use the tenat isoaltion filter to do that tenat to cell mapping with cells v1 when they had two levels of scheduler23:11
sean-k-mooneyso ya this was a partity thing for them to be able to move to cells v223:11
melwittah, thanks23:15
melwittI knew the basics of that but a lot of these scheduler things confuse me, so here I am :P23:16
sean-k-mooneyya cern is an edge case as they have so many host they needed to use the limit parmater on the placmenet api and and if they did that without the aggrate feature placmenet could return only host that did not map to the correct cell23:20
sean-k-mooneyand when it hit the tenat isolation filter it would eliminate all hosts23:20
melwittah right23:20
sean-k-mooneyso now they use this pluse a limit of like 15 host or something similarly tiny23:21
sean-k-mooneythe default limit being 100023:21
*** markvoelker has joined #openstack-nova23:25
*** macz has quit IRC23:32
*** mlavalle has quit IRC23:33
*** markvoelker has quit IRC23:36
*** takashin has joined #openstack-nova23:37
melwittsean-k-mooney: with forbidden aggregates, do you know off the top of your head what happens with aggregate-less hosts? will they still come back as eligible to be scheduled upon or no?23:47
sean-k-mooneyi belive the intent is the prefilter will append a forbidine aggreate requrest based on info in the the request spec to the placment query23:48
sean-k-mooneyso i guess they would be allowed23:48
sean-k-mooneybut no i dont know off the top of my head what the actul behavior is for certin23:49
melwittyeah, ok. that's what I was thinking23:49
sean-k-mooneythe spec is a little light on details23:51
sean-k-mooneyoh i see we went with sotring the tratit requriemetn in the hostaggreate metadata23:52
sean-k-mooney* nova host agggreate metadata23:52
melwittok, so yeah need everything to be in an aggregate in order for it to be excluded. I think.23:53
sean-k-mooneyyep exactlyu like my old filter worked...23:54
openstackgerritTakashi NATSUME proposed openstack/nova stable/stein: Fix misuse of nova.objects.base.obj_equal_prims  https://review.opendev.org/67628923:54
sean-k-mooneyexcept that predated placmenet and match on flavor extra_specs23:54
sean-k-mooneyactully this is a little less flexiable but its close23:55
melwittRIP old filter23:55
sean-k-mooneymelwitt: how would you feel about adding cpu pinning or hugepage traits?23:56
melwittI don't know :( I know very little about those23:56
sean-k-mooneythey dont exisats. yet... actully i have a better way to do what i want to do if i have thos23:57
sean-k-mooney*those23:57
openstackgerritTakashi NATSUME proposed openstack/nova stable/rocky: Fix misuse of nova.objects.base.obj_equal_prims  https://review.opendev.org/67629023:57
sean-k-mooneydpdk requried you to have hugepages to work with openstack23:58
sean-k-mooneyif we have a hugepage traits we could make it so your dpdk host would not allow vms without hugepages to be scheuled23:58
sean-k-mooneyfor pinning we already have the dedicated cpus spec23:59

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