| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2017-01-25 | |||
| 11:39:37 | mdbooth | 75 insertions(+), 9 deletions(-) Much smaller :) | |
| 11:39:47 | cdent | bauzas: I'll do some experimenting in devstack today (because I was planning to do that anyway) | |
| 11:40:31 | lyarwood | mdbooth: nice! | |
| 11:41:00 | mdbooth | lyarwood: It's identical to your change, just test_driver changes removed | |
| 11:41:10 | bhagyashris | johnthetubaguy: i am new to placement api feature, Does it mean, the placement api only needs to be enabled on controller node ? | |
| 11:41:54 | johnthetubaguy | bhagyashris: I think so | |
| 11:44:12 | lyarwood | mdbooth: that's great, I would say thanks but my LOC changed stats just took a hit :D | |
| 11:44:21 | cdent | bhagyashris: yes, it goes on a controller and needs to be in the service catalog | |
| 11:44:35 | mdbooth | lyarwood: lol | |
| 11:45:17 | cdent | mdbooth++ | |
| 11:45:21 | lyarwood | mdbooth: I agree https://review.openstack.org/#/c/391597/ | |
| 11:45:30 | lyarwood | ^_^ | |
| 11:47:43 | mdbooth | lyarwood: Oh, wow | |
| 11:47:55 | mdbooth | That's fantastic :) | |
| 11:51:49 | mdbooth | Gerrit is a bit 500-y this morning | |
| 11:53:31 | bhagyashris | cdent: thank you for information, however if I am having two node setup then how many resource_providers will be created? two or one? In my case it is creating single resource_provider only | |
| 11:54:00 | cdent | bhagyashris: you should get as many resource providers as you have compute nodes | |
| 11:54:38 | cdent | if you have two compute nodes but are only seeing one, then it may be that one of the compute nodes does not have the right stuff in the [placement] section of nova.conf | |
| 11:56:18 | bhagyashris | cdent: ok, so in both compute nodes I need to add placement section in nova.conf? actually I am using devstack for multinode setup so one one node it does not create placement section | |
| 11:56:33 | bhagyashris | cdent: thank you for useful information | |
| 11:56:56 | bhagyashris | cdent: i will check accordingly | |
| 11:57:33 | cdent | the [placement] section is used by the resource tracker (and eventually nova-scheduler) so needs to be where those things are running | |
| 11:58:48 | bhagyashris | cdent: ok. Thank you for information. :) | |
| 12:06:27 | gmann | Kevin_Zheng: left few comments on https://review.openstack.org/#/c/415330/23 | |
| 12:07:04 | gmann | Kevin_Zheng: more tests for new rule i mean, without old rule so that we can tests the way new deployer ll use | |
| 12:14:27 | stevemar | o/ | |
| 12:15:04 | stevemar | can we get a review of https://review.openstack.org/#/c/418190/ if possible, thanks already mriedem and andreykurilin | |
| 12:34:47 | lyarwood | Any additional core reviews on the following would be appreciated - https://review.openstack.org/#/c/420146/ - libvirt: workaround findmnt behaviour change | |
| 12:42:11 | Kevin_Zheng | gmann: will add one, but I think thats what we should add when we remove the old rule, because for the new users using Ocata, old rule is still there, just not checking them | |
| 12:43:28 | gmann | Kevin_Zheng: yea but after this change, user can also have only new rule in their policy.json | |
| 12:43:57 | Kevin_Zheng | yeah, but the old rule still exist in code | |
| 12:44:32 | Kevin_Zheng | it will make not difference than the current test | |
| 12:45:07 | gmann | Kevin_Zheng: ah, you mean code still have those. | |
| 12:45:14 | Kevin_Zheng | yeah | |
| 12:45:17 | gmann | Kevin_Zheng: got it, thanks. | |
| 12:45:32 | gmann | Kevin_Zheng: and while removing the old rule those tests will be with new rule only | |
| 12:45:42 | Kevin_Zheng | so, I will just update the comments then | |
| 12:46:01 | Kevin_Zheng | yeah, we will change the test then | |
| 12:46:09 | alex_xu | nova api meeting is in 15 mins at #openstack-meeting-4 | |
| 12:46:59 | gmann | Kevin_Zheng: cool thanks | |
| 12:50:02 | alex_xu | gmann: thanks for the review! | |
| 12:50:36 | gmann | alex_xu: np! | |
| 12:52:25 | openstackgerrit | Zhenyu Zheng proposed openstack/nova: Add new policy for server list/detail with all_tenants https://review.openstack.org/415330 | |
| 12:59:22 | Kevin_Zheng | https://review.openstack.org/#/c/421760/ | |
| 12:59:41 | Kevin_Zheng | ^ please also review the doc patch? | |
| 13:01:50 | openstackgerrit | Balazs Gibizer proposed openstack/nova: Fix race condition in instance.update sample test https://review.openstack.org/424574 | |
| 13:02:58 | alex_xu | nova api meeting is running | |
| 13:41:19 | bauzas | cdent: have you seen our discussion with matt yesterday and the conclusion email ? | |
| 13:41:42 | bauzas | cdent: we agreed on rather asking to modify the allocation ratios | |
| 13:42:01 | bauzas | cdent: so I needed to modify a functional test for server_groups | |
| 13:42:09 | bauzas | cdent: but I discovered a problem | |
| 13:42:28 | bauzas | cdent: when having an allocation, it still doesn't work because we also verify the max unit | |
| 13:42:38 | bauzas | which is not changed if using the ratio | |
| 13:43:34 | cdent | bauzas: max unit shouldn't have anything directly to do with allocation ratio, can you explain what you mean a different way? | |
| 13:43:42 | bauzas | I mean https://github.com/openstack/nova/blob/master/nova/objects/resource_provider.py#L615 | |
| 13:44:10 | bauzas | cdent: okay, so the problem is when operators don't use legacy filters in Newton | |
| 13:44:21 | bauzas | ie. the CoreFilter or the DiskFilter | |
| 13:44:32 | bauzas | then in case you don't have enough resources, it's fine | |
| 13:44:42 | bauzas | the scheduler would still give you destinations | |
| 13:45:07 | bauzas | now that we have the placement call, it's asking for both VCPU, mem and disk | |
| 13:45:17 | bauzas | as we agreed on not optionally ask for them | |
| 13:45:22 | bauzas | but | |
| 13:45:45 | bauzas | given the solution was to say 'just amend the ratio and put for example 9999.0', it would still work for Newton | |
| 13:45:57 | bauzas | because for example CoreFilter doesn't verify the max unit | |
| 13:46:14 | bauzas | but when upgrading to Ocata, then the placement API wouldn't return that destination | |
| 13:46:25 | bauzas | because we now verify also by max unit | |
| 13:46:31 | bauzas | se ? | |
| 13:46:49 | bauzas | lemme upload two changes and hopefully you'll understand | |
| 13:47:03 | cdent | I'm still not seeing how max unit is involved in wha you are describing. it is the max for an individual request | |
| 13:51:18 | bauzas | cdent: sec, uploading my branch | |
| 13:53:38 | openstackgerrit | Sylvain Bauza proposed openstack/nova: Scheduler calling the Placement API https://review.openstack.org/417961 | |
| 13:53:39 | openstackgerrit | Sylvain Bauza proposed openstack/nova: Fix server group functional test by using all filters https://review.openstack.org/425185 | |
| 13:54:12 | bauzas | cdent: see the bottom patch https://github.com/openstack/nova/blob/master/nova/objects/resource_provider.py#L615 | |
| 13:54:13 | bauzas | oops | |
| 13:54:20 | bauzas | cdent: https://review.openstack.org/425185 | |
| 13:55:54 | cdent | bauzas: I'm looking but I still don't get where max_unit is involved? | |
| 13:56:05 | bauzas | cdent: not for that change | |
| 13:56:15 | bauzas | cdent: it will have the functional test +1 | |
| 13:56:18 | kashyap | mdbooth: You might find this interesting, upstream QEMU just merged this command-line switch called '--only-migratable' -- what it does is, if you add any devices to your VM that are _not_ migratable, it'll fail upfront | |
| 13:56:33 | bauzas | cdent: now, the latter change using the scheduler would not agree now | |
| 13:56:39 | mdbooth | kashyap: Nice | |
| 13:56:41 | andreykurilin | bauzas: sorry for disturbing. OpenstackClient, senlinclient teams are blocked by https://review.openstack.org/#/c/418190/ . They want to bump openstacksdk version in g-r, but it will break our gates without that patch | |
| 13:56:41 | bauzas | for those tests | |
| 13:56:43 | kashyap | mdbooth: As an example, trying to add a USB audio device results in: | |
| 13:56:44 | kashyap | ./x86_64-softmmu/qemu-system-x86_64 --only-migratable -nographic -device usb-audio | |
| 13:56:47 | kashyap | qemu-system-x86_64: -device usb-audio: Device usb-audio is not migratable, but --only-migratable was specified | |
| 13:57:13 | bauzas | andreykurilin: I wanted to ask you when you feel it's okay to release a version, but you consider the above blocking ? | |
| 13:58:27 | andreykurilin | bauzas: so we need to merge at least https://review.openstack.org/#/c/424256/ . it is required for our release. You previously put +2, but gates decided that I'm doing something wrong, so I push another patch-set | |
| 13:58:28 | bauzas | cdent: it wouldn't work because of the new calculation we made for GET /RPs here https://github.com/openstack/nova/blob/master/nova/objects/resource_provider.py#L615 | |
| 13:59:08 | andreykurilin | bauzas: https://review.openstack.org/#/c/418190/ doesn't block us. But without it, our functional tests can't work with latest openstacksdk, which is needed for several projects | |
| 13:59:20 | bauzas | ok | |
| 13:59:40 | cdent | bauzas: I'm hearing you say that, what I'm asking is for you to explain why that's the case. | |
| 13:59:47 | cdent | (using words, instead of pointing at code) | |
| 13:59:49 | andreykurilin | bauzas: stevemar put -W for his patch to g-r https://review.openstack.org/#/c/424847/ and waiting for us:) | |
| 14:00:27 | alex_xu | johnthetubaguy: gmann Kevin_Zheng sorry, let us continue at here | |
| 14:00:32 | gmann | yea | |
| 14:00:37 | cdent | bauzas: what matters is that AMOUNT_X is less than max_unit. that's all. | |
| 14:01:31 | gmann | johnthetubaguy: alex_xu another point will be, can we do another microversion in Ocata? i can update code soon but review might be issue | |
| 14:01:35 | andreykurilin | bauzas: also, there is patch with clarification docs (relates to thread - "[openstack-dev] [nova] Device tag in the API breaks in the old microversion"), but it is not critical, just nice to have | |
| 14:01:40 | bauzas | cdent: yup, so lemme clarify | |