Earlier  
Posted Nick Remark
#openstack-nova - 2020-04-09
09:04:49 kashyap Yep; read_bytes_sec/write_bytes_sec
09:05:06 kashyap stephenfin: Oh, that rings a faint bell where you were traiging a bug on it
09:05:12 kashyap s/on it/about it/
09:05:32 openstackgerrit Ghanshyam Mann proposed openstack/nova master: Add new default roles in os-evacuate policies https://review.opendev.org/708237
09:06:33 brinzhang stephenfin: can you explain why we add default=None, and not add for the --no-config-drive and --no-delete-on-termination?
09:06:45 brinzhang stephenfin: thanks for +W
09:06:51 kashyap Another one: no memory hotplug either, yeah?
09:07:38 brinzhang stephenfin: https://review.opendev.org/#/c/712651/19/novaclient/v2/shell.py@2741 and https://review.opendev.org/#/c/718349/4/novaclient/v2/shell.py@1551
09:08:01 stephenfin brinzhang: It's not necessary. The default will be set by '--config-drive' if it's not specified, and will be overridden by '--no-config-drive' if necessary
09:09:05 brinzhang controlled by "group"?
09:10:17 stephenfin Yeah, group is our own invention. It's essentially an alias for dest that also implies that we should add opts sharing the same value to a mutually exclusive group. See [1]
09:10:39 stephenfin [1] https://review.opendev.org/#/c/718349/4/novaclient/shell.py
09:10:44 stephenfin kashyap: correct
09:11:22 kashyap stephenfin: Thx; I'm answering a doc writer's questions. Hence the questions here
09:14:55 gibi sh*t https://review.opendev.org/#/c/716222/ got double hit by https://bugs.launchpad.net/nova/+bug/1823251 the gate queue will reset :/
09:14:57 openstack Launchpad bug 1823251 in OpenStack Compute (nova) "Spike in TestNovaMigrationsMySQL.test_walk_versions/test_innodb_tables failures since April 1 2019 on limestone-regionone" [High,Confirmed]
09:15:14 brinzhang stephenfin: yeah, I looked the group, got it, thanks
09:16:12 lyarwood gibi: time to reintroduce https://review.opendev.org/#/c/683009/ ?
09:16:58 gibi lyarwood: yeah. I think I will push that again
09:18:24 bauzas gibi: FWIW, I work tomorrow, I can fast-approve any change that was +W today
09:18:34 bauzas in case we got hit by the gate
09:18:56 gibi bauzas: thanks. I will rely on your power
09:19:19 bauzas gibi: the only problem is that I could miss any change, so please CC on the ones you'd like to see
09:19:23 bauzas CC me*
09:19:31 bauzas I can still ask gerrit to find me all +Wd tho
09:19:37 bauzas actually, nevermind, I'll work this way
09:19:39 gibi bauzas: also there is the novaclient release patch that needs an update when 2.87 lands https://review.opendev.org/#/c/718260/
09:20:13 gibi and thank you
09:20:29 bauzas gibi: fill an etherpad for tracking if you feel I could loose anything
09:20:38 gibi bauzas: I'm on it :)
09:20:42 bauzas cool
09:21:47 bauzas stephenfin: I thought placement wasn't accepting dashes for trait names ?
09:23:18 bauzas shit, can't find the regex on the placement api-ref for reference
09:23:26 stephenfin bauzas: I thought so too, but I checked the regex and they are
09:23:30 stephenfin Sec, lemme drag it out
09:24:30 stephenfin bauzas: https://github.com/openstack/placement/blob/master/placement/schemas/common.py#L27
09:24:31 bauzas stephenfin: just held a procedural -1
09:24:41 stephenfin We have a similar regex somewhere in nova
09:24:43 bauzas stephenfin: but then it could be nova regex
09:24:50 bauzas yeah, I was thinking of so
09:25:09 stephenfin bauzas: yeah, here https://github.com/openstack/nova/blob/master/nova/scheduler/utils.py#L57
09:25:10 bauzas because when I wanted to create a custom trait for nvidia-11, I got fucked up
09:25:37 stephenfin hyphens are perfectly fine based on those
09:26:05 bauzas I'm then confused
09:26:17 bauzas lemme provide a DNM based on my func test
09:26:35 bauzas and you'll see that CUSTOM_NVIDIA-11 isn't a thing accepted
09:26:42 bauzas that had to be upper cases btw.
09:26:45 openstackgerrit Ghanshyam Mann proposed openstack/nova master: DNM testing enforce new defaults flag https://review.opendev.org/717945
09:27:04 bauzas stephenfin: man, we're bikeshedding on a regex while this should be documented on the api-ref...
09:27:09 openstackgerrit Balazs Gibizer proposed openstack/nova master: Temporarily skip TestNovaMigrationsMySQL https://review.opendev.org/718629
09:27:56 dtantsur morning folks! we seem to be seeing guru meditations in grenade jobs (at least) https://zuul.opendev.org/t/openstack/build/638527be7aba44b59bb37c71dffe4a4a/log/logs/screen-n-cpu.txt#15859
09:28:00 gibi lyarwood: ^^
09:28:26 openstackgerrit Balazs Gibizer proposed openstack/nova master: Revert "Temporarily skip TestNovaMigrationsMySQL" https://review.opendev.org/718630
09:32:45 bauzas gibi: +Wd the skippest test
09:32:48 lyarwood bauzas++ got there ahead of me
09:32:55 gibi thanks folks!
09:35:08 stephenfin lyarwood: comment on https://review.opendev.org/#/c/718464/
09:35:11 kashyap lyarwood: What does the term "storage live migration" mean to you?
09:35:18 kashyap (In terms of Nova)
09:35:34 kashyap For me, there are two ways to read it:
09:35:55 kashyap (1) Live migration without shared storage (also confusingly called "live block migration")
09:36:16 kashyap (2) Migrating only the storage from src to dest, while the VM itself is running on src.
09:37:25 lyarwood 2, moving storage between backends while the instance stays in place, something we only support through volume migration and retype.
09:37:53 lyarwood stephenfin: looking
09:38:03 kashyap lyarwood: Right, it's the thing that's based on "swap volume".
09:38:44 lyarwood kashyap: yeah indeed
09:39:03 kashyap lyarwood: Thx. (Context: trying to answer a docs person)
09:40:53 kashyap lyarwood: I'd guess this doc is good enough about 'cinder retype', yeah? -- https://docs.openstack.org/cinder/rocky/contributor/migration.html
09:43:05 lyarwood https://docs.openstack.org/cinder/latest/contributor/migration.html but yeah
09:45:38 kashyap Thx
09:49:32 bauzas gibi: I really appreciate your help on my series btw. given how you're overloaded
09:49:41 bauzas I mean, i saw your comments
09:49:45 bauzas and I appreciated them
09:50:00 gibi bauzas: I think I can finish the test review before lunch :)
09:50:07 bauzas tbh, I'll remember this cycle for my whole life
09:50:16 gibi crazy times
09:50:30 bauzas just because of the lockdown with kids hitting me every 5 mins for questions
09:51:22 bauzas me, Sylvain Bauza, software engineer, teacher, IT support folk for my spouse, legal advisor, parent of 2 kids
09:52:12 gibi but it is a great achievement that you can manage all these
09:52:21 bauzas (legal advisor because we have to consider every time we go out whether it's a legally accepted reason)
10:12:17 kashyap Can anyone remind me: does Nova distnguish between these two suspend-related power states: S3 (standby) and S4 (hibernate)
10:15:03 openstackgerrit Lee Yarwood proposed openstack/nova master: fup: Add missing docstrings from get_rescue_device|bus diskinfo funcs https://review.opendev.org/718464
10:15:50 gibi bauzas: small issue in https://review.opendev.org/#/c/717975/11/nova/tests/functional/libvirt/test_vgpu.py@173 but overall looks good
10:15:58 kashyap Nope, we don't: https://docs.openstack.org/api-guide/compute/server_concepts.html
10:19:52 bauzas gibi: <3 with love
10:23:31 openstackgerrit Merged openstack/python-novaclient master: Microversion 2.85: Change volume-update CLI https://review.opendev.org/712651
10:28:59 openstackgerrit Merged openstack/nova master: Convert delete_on_termination from string to boolean https://review.opendev.org/718387
10:30:31 openstackgerrit Ghanshyam Mann proposed openstack/nova master: Pass the target in os-services APIs policy https://review.opendev.org/676688
10:31:42 openstackgerrit Ghanshyam Mann proposed openstack/nova master: Pass the target in os-services APIs policy https://review.opendev.org/676688
10:40:01 sean-k-mooney bauzas: the hypens need to be converted to _
10:42:54 sean-k-mooney bauzas: https://github.com/openstack/os-traits/blob/master/os_traits/__init__.py#L140-L156
10:43:26 sean-k-mooney kashyap: yes
10:43:50 sean-k-mooney kashyap: suspend/resume is suspend to disk, pause/unpause is suspend to ram
10:44:20 sean-k-mooney kashyap: so not qutie the same as s3 vs s4
10:44:44 sean-k-mooney but for pause we just stop the execution fo the qemu cpu without stoping the full qemu proces
10:45:07 sean-k-mooney where as suspend does a libvirt managed save dumping guest ram to a file on disk
10:45:45 sean-k-mooney from a guest os perspecitive its more or less looks the same unless you have pci passthough deivces
10:48:21 bauzas sean-k-mooney: ahah, thanks for the explanation !
10:49:25 bauzas now I understand, I could have asked to create a trait like 'custom_nvidia-11' but then normalize_name() would ask Placement to create trait named 'CUSTOM_NVIDIA_11')
10:49:37 sean-k-mooney you can just take the mdev type and call that function and it should work

Earlier   Later