Earlier  
Posted Nick Remark
#openstack-nova - 2021-10-13
11:56:23 songwenping_ nova-api change the aggregate's host
11:56:55 songwenping_ let me debug on my env first.
11:58:11 sean-k-mooney what release of openstack are you using
11:58:25 songwenping_ R
11:58:30 sean-k-mooney rocky
11:58:33 songwenping_ yes
11:58:48 sean-k-mooney im not sure that exist in the host manager anymore
11:59:43 sean-k-mooney ok it does
11:59:45 sean-k-mooney https://github.com/openstack/nova/blob/master/nova/scheduler/host_manager.py#L353
12:00:15 sean-k-mooney its plural host_aggregates_map not host_aggregate_map
12:00:43 songwenping_ yes sorry
12:01:14 sean-k-mooney so its called here https://github.com/openstack/nova/blob/7b063e4d0518af3e57872bc0288a94edcd33c19d/nova/scheduler/manager.py#L662-L670
12:02:13 sean-k-mooney which is called in a number of places in tghe compute api https://github.com/openstack/nova/blob/7b063e4d0518af3e57872bc0288a94edcd33c19d/nova/compute/api.py#L6231
12:02:51 sean-k-mooney this is where we update it when you add a host https://github.com/openstack/nova/blob/7b063e4d0518af3e57872bc0288a94edcd33c19d/nova/compute/api.py#L6414
12:04:05 sean-k-mooney songwenping_: so we update it after we update it in the db but before we update it in placment
12:04:44 sean-k-mooney songwenping_: so if you are using placment for aggres there is a very short period of time where the host is a member of an aggreate but placment doe snot know yet
12:04:56 sean-k-mooney however all of this happens before the api request returns
12:05:42 songwenping_ yeah, but the host param seems a single once
12:06:18 sean-k-mooney the invocation of the schduler metohd is a cast
12:06:33 sean-k-mooney so it might take a while after we retrun for that to propageate and the schdulers to update
12:10:59 songwenping_ sean-k-moony: not exactly, we wait a long time.
12:12:18 sean-k-mooney songwenping_: what is the actul problem you are seeing
12:12:34 sean-k-mooney have you filed a bug describing it with logs
12:12:50 songwenping_ not yet, i am not sure
12:12:51 sean-k-mooney i currently on a call so i dont really have time to help debug it now
12:13:09 songwenping_ no hurry.
12:14:55 songwenping_ i am debugging now.
12:48:46 gibi sean-k-mooney: seems test_description_errors can fail and leave running greenthreads behind: https://paste.opendev.org/show/809966/
12:49:00 gibi I mean can produce an error without the testcase failing
12:49:09 gibi then leaking running greanthreads
12:49:10 sean-k-mooney i see
12:49:26 sean-k-mooney ok and i guess that can somehow impact other tests
12:50:02 gibi yeah it is still strange how these tests interact. there is a global state somewhere
12:50:17 sean-k-mooney could there somehow be sharing betwen the fake_impl for oslo.messaging
12:51:28 sean-k-mooney or the db fixture. it seams like somehost when those finally time out it trigres the db to be cleaned up
12:53:09 sean-k-mooney or i guess the notifcation fixture but really im just speculating
12:53:35 gibi I dig forward..
12:53:39 sean-k-mooney at least we have something to investigate
12:54:50 gibi yeah
13:03:54 opendevreview Federico Ressi proposed openstack/nova master: Debug Nova APIs call failures https://review.opendev.org/c/openstack/nova/+/806683
13:04:22 opendevreview Federico Ressi proposed openstack/nova master: Check Nova project changes with Tobiko scenario test cases https://review.opendev.org/c/openstack/nova/+/806853
13:18:50 kashyap sean-k-mooney: I haven't checked the specs and the Git logs yet - do you recall what's the status of vDPA in upstream Nova?
13:19:33 sean-k-mooney we have partial support
13:19:42 sean-k-mooney we do not support any move operations
13:19:50 sean-k-mooney and we only support it for netwok devices
13:19:53 kashyap Ah, right - no move support
13:20:02 sean-k-mooney with ovs hardware offload
13:21:03 sean-k-mooney e.g. we do not support vdpa in legacy mode only in switchdev mode and the sriovnic_agent only support legacy mode
13:21:33 sean-k-mooney so you cant use vdpa with openstack without ovs as the contol plane using tcflower to instll flow into the nic
13:21:56 sean-k-mooney kashyap: was there a resaond you wanted to know
13:22:24 sean-k-mooney for our product it will be tech previwe in 17 until we can actully support at least some of the move ops
13:22:38 kashyap sean-k-mooney: Not for product - I was curious from an upstream PoV
13:23:03 sean-k-mooney i may add more support this cycle but hardware has been a limiting factor to working on this
13:23:04 kashyap The reason was just I was reading about vDPA and it reminded me of it
13:23:25 sean-k-mooney ack
14:23:33 sean-k-mooney does this look familar to anyone
14:23:35 sean-k-mooney https://paste.opendev.org/show/809977/
14:23:46 sean-k-mooney ] GET /placement/resource_providers?in_tree=4838f356-678a-477c-a2b8-7a743ad0842c => generated 162 bytes in 5 msecs (HTTP/1.1 404)
14:24:11 sean-k-mooney but in the debug logs the path is wrong
14:24:12 sean-k-mooney 92.168.1.10 "GET /placemen//resource_providers?in_tree=4838f356-678a-477c-a2b8-7a743ad0842c" status: 404
14:25:39 sean-k-mooney the apach2 config just has ProxyPass "/placement" "unix:/var/run/uwsgi/placement-api.socket|uwsgi://uwsgi-uds-placement-api/" retry=0
14:26:41 sean-k-mooney this is causeing "/usr/local/bin/nova-status --config-file /etc/nova/nova.conf upgrade check" to fail which breaks devstack
14:26:57 alecorps hello
14:27:44 alecorps is someone can have a look to the PR 808791 ?
14:28:14 sean-k-mooney PR as in pull request
14:28:21 gibi sean-k-mooney: you have wrong config in you apache proxy
14:28:24 gibi sean-k-mooney: in devstack
14:28:32 gibi sean-k-mooney: searching for the commit...
14:28:49 gibi sean-k-mooney: https://review.opendev.org/c/openstack/devstack/+/811303
14:28:51 sean-k-mooney gibi: i guess i need to pull devstack?
14:28:59 gibi probably yes
14:29:15 gibi you need the above fix is you have a new enough apache
14:29:24 sean-k-mooney oh ok
14:29:31 sean-k-mooney it removed the / on the socket
14:30:37 sean-k-mooney alecorps: what is PR 808791
14:30:56 alecorps https://review.opendev.org/c/openstack/nova/+/808791
14:31:00 alecorps yes pull request :)
14:31:06 alecorps sorry
14:31:15 sean-k-mooney alecorps: ok that is not a pull request
14:31:21 sean-k-mooney its a gerrit reivew
14:31:25 alecorps yes sorry
14:31:46 sean-k-mooney they are diffenet code review systems we used ot somtiem get PRs to the github mirror
14:32:11 sean-k-mooney ok so that is a new feature
14:32:22 sean-k-mooney dos it have a approve spec or blueprint
14:33:13 sean-k-mooney https://blueprints.launchpad.net/nova/+spec/vmware-fcd
14:33:40 sean-k-mooney ok so that is not approved currently
14:34:17 sean-k-mooney so ideally we need to review that at the next team meeting and either approve as a specless blueprint or request a spec if its invalice
14:34:33 alecorps ok, do i need to be there ?
14:34:34 sean-k-mooney it looks likke its self contained to the vmware code
14:34:52 sean-k-mooney it just need to be put on the adgenda
14:35:04 sean-k-mooney hovever we might not have next weeks meeting because of the ptg
14:35:07 sean-k-mooney so the meeting after
14:35:18 alecorps ok cool
14:35:25 sean-k-mooney i can take a look at it in the mean time but procetully its blocked until the paper work is done
14:35:34 sean-k-mooney you could just add it to the ptg adgenda too
14:35:39 alecorps understood, thanks
14:37:37 alecorps I iwll add it in the agenda
14:47:22 alecorps i added it in open discussion on the wiki
14:47:31 alecorps let me know if it's ok for you ? thanks
14:49:34 sean-k-mooney yep that shoudl be fine

Earlier   Later