Earlier  
Posted Nick Remark
#openstack-nova - 2019-02-13
10:46:04 kashyap < kashyap> (FWIW, checking with Corneila of s390x, she said using 'pty' type for "sclplm" device will work.)
10:46:07 kashyap < kashyap> If you're wondering WTH is this "sclplm", s390x has two types of console devices:
10:46:10 kashyap < danpb> the guest doesnt' care what's done in the backend
10:46:13 kashyap < kashyap> (1) "sclp" -- for interactive consoles
10:46:15 kashyap < kashyap> (2) "sclplm" -- for log files
10:46:18 kashyap < kashyap> danpb: Ah, okay, then.
10:46:20 kashyap < danpb> personally i'd just get rid of that duplication
10:46:23 kashyap < kashyap> Okay, I'll make that in a separate logical change
10:46:36 kashyap stephenfin: Thanks for the quick review!
10:47:36 kashyap stephenfin: Related to your comment, look up "negative code" here :-) -- https://en.wikipedia.org/wiki/Douglas_McIlroy#Views_on_computing
10:49:39 stephenfin kashyap: Very true, but there's no reason removing code can't be done in multiple steps to help grok'ability. See https://review.openstack.org/#/c/636384/ and the preceding patch
10:50:05 kashyap stephenfin: Oh, absolutely: I try to be iron-clad on the "one logical change per commit"
10:57:29 kashyap stephenfin: Nice work there.
10:59:01 openstackgerrit Sylvain Bauza proposed openstack/nova master: libvirt: implement reshaper for vgpu https://review.openstack.org/599208
10:59:02 openstackgerrit Sylvain Bauza proposed openstack/nova master: Add functional test for libvirt vgpu reshape https://review.openstack.org/631559
10:59:02 openstackgerrit Sylvain Bauza proposed openstack/nova master: WIP: Use the correct mdev allocated from the pGPU https://review.openstack.org/636591
10:59:24 bauzas gibi: ^
10:59:48 bauzas gibi: I thought about the fact that we blindly use mdevs without checking the pGPU
10:59:55 bauzas gibi: and I think it's not a problem
11:00:07 bauzas at least until we support multiple types
11:00:15 bauzas since libvirt will be able to find a specific mdev
11:00:40 bauzas that said, I'll take my old internal hardware and do a lot of checks
11:01:03 stephenfin kaisers: More comments on https://review.openstack.org/#/c/522245/ after a second reading
11:04:27 openstackgerrit Kashyap Chamarthy proposed openstack/nova master: libvirt: Bump MIN_{LIBVIRT,QEMU}_VERSION for "Stein" https://review.openstack.org/632507
11:04:46 kashyap gibi: stephenfin: When you can, addressed both your remarks ^
11:06:43 kaisers stephenfin: thnx, checkin' in a min
11:14:57 stephenfin kaisers: And on https://review.openstack.org/#/c/554195/2
11:28:06 kaisers stephenfin: yup, thnx again!
13:00:45 openstackgerrit Surya Seetharaman proposed openstack/nova master: Plumbing required in servers ViewBuilder to construct partial results https://review.openstack.org/635146
13:00:45 openstackgerrit Surya Seetharaman proposed openstack/nova master: API microversion 2.69: Handles Down Cells https://review.openstack.org/591657
13:00:46 openstackgerrit Surya Seetharaman proposed openstack/nova master: API microversion 2.69: Handles Down Cells Documentation https://review.openstack.org/635147
13:13:29 openstackgerrit Surya Seetharaman proposed openstack/nova master: API microversion 2.69: Handles Down Cells Documentation https://review.openstack.org/635147
13:15:22 openstackgerrit Jim Rollenhagen proposed openstack/nova master: ironic: partition compute services by conductor group https://review.openstack.org/635006
13:18:27 openstackgerrit Jim Rollenhagen proposed openstack/nova master: Ensure config regexes match the entire string https://review.openstack.org/636627
13:22:24 openstackgerrit Matt Riedemann proposed openstack/nova master: Change nova-next tempest test regex https://review.openstack.org/636459
13:28:12 Shilpa stephenfin: hi, under Taskflow, added https://bugs.launchpad.net/taskflow/+bug/1815738, do let me know is this active channel? Unable to trace PTL for this, but https://pypi.org/project/taskflow/ reports latest release in Jan'19
13:28:13 openstack Launchpad bug 1815738 in taskflow "Taskflow doesn't support to retrieve tasks progress details in the order of workflow task execution" [Undecided,New]
13:30:09 mriedem Shilpa: i think that would be in the #openstack-oslo channel now
13:31:11 mriedem or i guess #openstack-state-management https://wiki.openstack.org/wiki/TaskFlow#Contact_us.21
13:31:26 mriedem tssurya: did you enjoy my tales from going down cell down street?
13:31:53 Shilpa mriedem: #openstack-state-management here no one responding, will check #openstack-oslo channel
13:32:14 mriedem tssurya: belmoreira: i'm interested - what do you configure [upgrade_levels]/compute to in nova.conf? do you pin to a release or have it set to auto?
13:32:23 bauzas mriedem: FWIW, I uploaded the new rev for reshape
13:32:36 bauzas mriedem: I found a potential blocker, but eventually it's not a problem
13:32:55 mriedem ok cool
13:33:58 belmoreira mriedem: in the past used to pin it to a release. Now we use auto
13:36:56 openstackgerrit Lee Yarwood proposed openstack/nova master: Avoid redundant initialize_connection on source post live migration https://review.openstack.org/551302
13:37:37 mriedem belmoreira: ok if you have this change from stable/rocky https://review.openstack.org/#/c/624982/ then you might want to be careful,
13:37:43 mriedem i came across something nasty last night in down cell testing
13:38:02 mriedem https://bugs.launchpad.net/nova/+bug/1815697
13:38:03 openstack Launchpad bug 1815697 in OpenStack Compute (nova) "[upgrade_levels]compute=auto grinds the API response times when a cell is down" [Medium,Confirmed]
13:38:52 mriedem at this point i don't have any great solutions for that bug
13:40:00 sean-k-mooney mriedem: as a workaournd you set the retry interval to 1 and retries to 1 and set the exact version
13:40:29 sean-k-mooney that could lead to more api request failing in other cases but it should not be inherintly dangourous right
13:40:32 mriedem sean-k-mooney: no, the max_retries and retry_interval was just to quiet the logs
13:40:39 sean-k-mooney oh ok
13:40:46 mriedem the workaround for hanging the api on startpu was setting [upgrade_levels]/compute=rocky
13:42:11 tssurya mriedem: I did go through your tales :D I absolutely appreciate the testing :) I am adding more test cases for the parts you felt are lacking
13:42:51 belmoreira mriedem: we don't have that commit, yet. Thanks for the heads up.
13:42:53 tssurya and I am not so sure I get your worry here: https://review.openstack.org/#/c/591657/39/nova/api/openstack/compute/servers.py@135
13:43:38 Shilpa mriedem: no one replies here too #openstack-oslo, will wait for more time
13:45:41 mriedem Shilpa: ok well nova doesn't use taskflow. harlowja was the primary maintainer but i'm not sure if he's around anymore. oslo team would be your best bet i'd think, otherwise maybe #openstack-dev
13:45:58 mriedem efried loves taskflow though
13:46:49 Shilpa mriedem: ok, hope he will help me there
13:47:37 mriedem tssurya: my concern is if tooling is passing filter parameters by default,
13:47:50 mriedem normally in the API we filter out search options that the user isn't allowed to use without it being an error
13:48:18 mriedem so let's say i'm a non-admin and i pass some stuff which normally just gets filtered out in the remove_invalid_options method
13:48:25 mriedem essentially making search_opts = {}
13:48:41 tssurya like "deleted" and "tenant" ?
13:48:46 mriedem if i'm using 2.69, then empty search_opts would mean down_cell_support=True
13:48:59 mriedem tssurya: non-admins can't use the tenant filter
13:49:10 tssurya yea I know
13:49:12 mriedem servers are filtered by default from the project_id in the request context
13:49:27 tssurya which is why I was asking if that's what you mean by invalid options
13:50:04 mriedem so let's say i'm a non-admin and i'm using --deleted, here are some scenarios
13:50:25 mriedem 1. nova list --deleted with v2.1 - the deleted filter would be excluded w/o any errors in the api and i should list my servers
13:50:51 mriedem 2. nova list --deleted with v2.69 and list_records_by_skipping_down_cells=True (default), the down_cell_support flag would be set to False and i wouldn't get any results (if my servers are in a down cell)
13:51:06 mriedem 3. nova list --deleted with v2.69 and list_records_by_skipping_down_cells=False, if my servers are in a down cell i'll get a 500
13:51:45 mriedem my point was if we calculated the down_cell_support flag *after* calling remove_invalid_options to filter the search_opts, then #3 becomes #2
13:52:00 mriedem actually no that's not right,
13:52:14 mriedem i'd get partial results
13:53:14 openstackgerrit Lee Yarwood proposed openstack/nova master: Restore connection_info after live migration rollback https://review.openstack.org/551349
13:53:16 mriedem to summarize, i think the down_cell_support variable should be set based on the search opts after we've filtered that set in remove_invalid_options to increase the chances of someone getting partial results
13:53:17 lyarwood mdbooth: ^ btw, feel free to respin the commit message if you have time.
13:53:55 tssurya mriedem: ok, I get what you mean
13:54:21 mriedem the tricky thing is if you do that, you have to explicitly look for paging and sorting parameters
13:54:30 mriedem because of https://review.openstack.org/#/c/591657/39/nova/api/openstack/compute/servers.py@1235
13:54:38 tssurya yea
13:54:55 mriedem but i dont think that's so hard, we could just create a constant for ('sort_key', 'sort_dir', 'limit', 'marker') and use that in both places
13:55:34 mriedem and your _is_cell_down_supported method can check, "if any(PAGING_SORTING_PARAMS in reg.GET)
13:57:01 tssurya got it, let me dig more and incorporate that
13:57:17 mriedem err, if set(PAGING_SORTING_PARAMS) & set(list(req.GET.keys()))
13:57:20 mriedem something like that
13:57:33 mriedem does that make sense though?
13:57:45 tssurya it makes sense yea
13:57:59 openstackgerrit Hamdy Khader proposed openstack/os-vif master: Add create_ovs_port field in VIFPortProfileOpenVSwitch profile https://review.openstack.org/636061
13:58:01 tssurya but I still don't get why the policy things are mixed with ignoring flags
13:58:06 mriedem cool. my goal is to maximize the chance that someone gets partial results if they have servers in a down cell
13:58:29 mriedem which policy things?
13:58:37 tssurya I mean if --deleted is an only admin option

Earlier   Later