Earlier  
Posted Nick Remark
#openstack-nova - 2019-12-02
20:05:29 dansmith also unrelated to defaults
20:05:49 efried dansmith: oh; so does obj_set_defaults() mean I don't have to do the `in` check?
20:05:55 dansmith no
20:06:14 dansmith if you haven't set defaults on the object, then 'in' will fail if the field is unset
20:06:29 dansmith you're connecting three things which are unrelated
20:06:44 dansmith __contains__ means nothing more than "is it set right now"
20:06:51 dansmith nullable means "can be set to none"
20:07:05 dansmith and default= means "if they call obj_set_defaults(), set this field to this value"
20:07:21 efried right, so forget nullable; I'm really just confirming whether gibi is correct here https://review.opendev.org/#/c/696418/1/nova/scheduler/utils.py@327
20:07:45 dansmith technically he is not right
20:07:52 dansmith practically, he is.
20:07:53 efried because the obj could be loaded from cold storage
20:07:57 dansmith right
20:07:59 efried where it was unset
20:08:15 dansmith or you could del obj['field']
20:08:35 efried but in this case the only way it got to cold storage was from having been previously __init__()ed, which set the defaults
20:08:53 dansmith the init hack might actually result in it being set when you load it from the db, but unintentionally, which is why I have campaigned against *ever* doing that
20:08:53 efried oh, unless it got stored/restored at an earlier version, I guess.
20:09:28 dansmith we don't check for every field in every object always because it's pointless.. in most cases we know which fields are always set
20:09:40 dansmith if there is any question, then you must check, but if there's not then you don'[t
20:10:19 efried so the check is not truly redundant, but not worth keeping in this case.
20:10:28 dansmith so the init hack probably means you dont need to check (hence "practically") but... the init hack is not something we should be doing, IMHO, so..
20:10:29 dansmith right
20:10:31 dansmith I mean,
20:10:36 openstackgerrit Merged openstack/nova master: Reusable RequestGroup.add_{resource|trait} https://review.opendev.org/696380
20:10:41 dansmith you can answer the "worth keeping" part, as I dont' have context
20:10:51 dansmith but I assume you're saying it has always been set somewhere, so probably safe
20:11:00 dansmith which, if true, is in keeping with our practices
20:11:07 efried I'm glad I asked.
20:11:11 efried thanks
20:13:02 dansmith yarp
20:13:46 openstackgerrit Lee Yarwood proposed openstack/nova stable/train: compute: Use long_rpc_timeout in reserve_block_device_name https://review.opendev.org/696953
20:14:06 openstackgerrit Matt Riedemann proposed openstack/nova master: api-guide: flesh out the server actions section https://review.opendev.org/696954
20:14:07 mriedem dansmith: melwitt: i wrote up a doc on using the instance actions API/commands ^
20:15:06 melwitt f yeah
20:15:20 openstackgerrit Lee Yarwood proposed openstack/nova stable/stein: compute: Use long_rpc_timeout in reserve_block_device_name https://review.opendev.org/696955
20:16:06 openstackgerrit Lee Yarwood proposed openstack/nova stable/rocky: compute: Use long_rpc_timeout in reserve_block_device_name https://review.opendev.org/696956
20:24:02 melwitt mriedem: I thought you might appreciate this video https://twitter.com/Fobwashed/status/1200701358623473664
20:26:16 efried I am clearly missing a huge amount of context and will never get that video.
20:26:33 dansmith same
20:26:35 mriedem i don't actually play games made after 98 so while i get it, ...
20:26:52 mriedem it's a joke about a shitty first person adventure game
20:27:06 dansmith people who live in their parents' basements are laughing hysterically right now though, I'm sure
20:27:09 melwitt really? aw man
20:27:22 dansmith (and melwitt apparently :P)
20:28:00 melwitt my favorite game in the series was morrowind. I started playing skyrim but lost interest
20:28:08 dansmith never heard of either
20:28:27 mriedem the pan flute is a nice touch
20:28:29 dansmith damn kids.
20:29:10 melwitt yeah, I guess only rpg fans might know it. though skyrim got pretty universally popular (to my surprise)
20:55:32 mriedem oh i am an rpg fan and have the saving throws to prove it
20:56:24 efried "saving throws" sounds like a judo thing to me
20:58:43 efried like "sacrifice throws" https://www.youtube.com/watch?v=XHuqFd1BHbE
21:00:27 mriedem there is an equivalent amount of BO smell
21:01:35 mriedem i'm not sure you can be turned to stone by a cockatrice in judo though
21:02:29 melwitt lol ......and that's why I thought there was a chance you'd appreciate the video
21:40:25 openstackgerrit Dustin Cowles proposed openstack/nova master: Provider Config File: YAML file loading and schema validation https://review.opendev.org/673341
21:40:25 openstackgerrit Dustin Cowles proposed openstack/nova master: Provider Config File: Function to further validate and retrieve configs https://review.opendev.org/676029
21:40:26 openstackgerrit Dustin Cowles proposed openstack/nova master: Provider Config File: Functions to merge provider configs to provider tree https://review.opendev.org/676522
21:40:26 openstackgerrit Dustin Cowles proposed openstack/nova master: WIP: Provider Config File: Enable loading and merging of provider configs https://review.opendev.org/693460
21:48:11 openstackgerrit Eric Fried proposed openstack/nova master: Tie requester_id to RequestGroup suffix https://review.opendev.org/696946
22:11:27 openstackgerrit Merged openstack/nova master: api-guide: flesh out the server actions section https://review.opendev.org/696954
23:41:31 openstackgerrit Eric Fried proposed openstack/nova master: Use Placement 1.34 (string suffixes & mappings) https://review.opendev.org/696418
23:41:32 openstackgerrit Eric Fried proposed openstack/nova master: Tie requester_id to RequestGroup suffix https://review.opendev.org/696946
#openstack-nova - 2019-12-03
00:34:14 openstackgerrit Eric Fried proposed openstack/nova master: Tie requester_id to RequestGroup suffix https://review.opendev.org/696946
00:34:15 openstackgerrit Eric Fried proposed openstack/nova master: refactor: RequestGroup knows when it's empty https://review.opendev.org/696991
00:34:15 openstackgerrit Eric Fried proposed openstack/nova master: WIP: Use provider mappings from Placement (mostly) https://review.opendev.org/696992
02:17:30 openstackgerrit Boxiang Zhu proposed openstack/nova master: Make evacuation respects anti-affinity rule https://review.opendev.org/649963
02:25:15 openstackgerrit Boxiang Zhu proposed openstack/nova master: Fix live migration break group policy simultaneously https://review.opendev.org/651969
02:53:17 openstackgerrit Merged openstack/nova master: Add new default rules and mapping in policy base class https://review.opendev.org/645452
06:27:14 openstackgerrit OpenStack Proposal Bot proposed openstack/nova master: Imported Translations from Zanata https://review.opendev.org/694717
09:02:05 openstackgerrit Akira KAMIO proposed openstack/nova master: VMware: disk_io_limits settings are not reflected when resize https://review.opendev.org/680296
09:55:23 openstackgerrit Balazs Gibizer proposed openstack/nova master: Extend NeutronFixture to handle multiple bindings https://review.opendev.org/696246
09:56:53 openstackgerrit Balazs Gibizer proposed openstack/nova master: Do not mock setup net and migrate inst in NeutronFixture https://review.opendev.org/696247
09:58:24 openstackgerrit Balazs Gibizer proposed openstack/nova master: Move _get_request_group_mapping() to RequestSpec https://review.opendev.org/696541
09:59:49 openstackgerrit Balazs Gibizer proposed openstack/nova master: Move _update_pci_request_spec_with_allocated_interface_name https://review.opendev.org/696574
09:59:50 openstackgerrit Balazs Gibizer proposed openstack/nova master: Support live migration with qos ports https://review.opendev.org/695905
10:08:36 openstackgerrit Merged openstack/nova master: add [libvirt]/max_queues config option https://review.opendev.org/695118
11:10:59 openstackgerrit Balazs Gibizer proposed openstack/nova master: Extend NeutronFixture to allow live migration with ports https://review.opendev.org/696245
11:11:00 openstackgerrit Balazs Gibizer proposed openstack/nova master: Make the binding:profile handling consistent in NeutronFixture https://review.opendev.org/696526
11:12:34 openstackgerrit Balazs Gibizer proposed openstack/nova master: Extend NeutronFixture to handle multiple bindings https://review.opendev.org/696246
11:15:35 openstackgerrit Balazs Gibizer proposed openstack/nova master: Do not mock setup net and migrate inst in NeutronFixture https://review.opendev.org/696247
11:17:04 openstackgerrit Balazs Gibizer proposed openstack/nova master: Move _get_request_group_mapping() to RequestSpec https://review.opendev.org/696541
11:19:48 openstackgerrit Balazs Gibizer proposed openstack/nova master: Extend NeutronFixture to handle multiple bindings https://review.opendev.org/696246
11:19:48 openstackgerrit Balazs Gibizer proposed openstack/nova master: Do not mock setup net and migrate inst in NeutronFixture https://review.opendev.org/696247
11:19:49 openstackgerrit Balazs Gibizer proposed openstack/nova master: Move _get_request_group_mapping() to RequestSpec https://review.opendev.org/696541
11:24:18 openstackgerrit Balazs Gibizer proposed openstack/nova master: Move _update_pci_request_spec_with_allocated_interface_name https://review.opendev.org/696574
11:25:43 openstackgerrit Balazs Gibizer proposed openstack/nova master: Support live migration with qos ports https://review.opendev.org/695905
12:24:17 openstackgerrit sean mooney proposed openstack/nova master: support pci numa affinity policies in flavor and image https://review.opendev.org/674072
12:27:14 openstackgerrit Huachang Wang proposed openstack/nova-specs master: Use PCPU and VCPU in one instance https://review.opendev.org/668656
13:55:13 openstackgerrit Balazs Gibizer proposed openstack/nova master: Move _update_pci_request_spec_with_allocated_interface_name https://review.opendev.org/696574
13:55:14 openstackgerrit Balazs Gibizer proposed openstack/nova master: Support live migration with qos ports https://review.opendev.org/695905
14:13:17 ygk_12345 hi all
14:13:29 ygk_12345 i am seeing broken pipe errors in the spice nova console logs
14:13:59 ygk_12345 the vm console is not taking the keyboard input properly and it is gibberish
14:14:06 ygk_12345 can anyone hepl me please ?
14:14:09 ygk_12345 *help
14:14:53 ygk_12345 any expert here in the spice console service ?
14:23:42 ygk_12345 can someone look into this please
14:23:45 ygk_12345 https://bugs.launchpad.net/nova/+bug/1854950

Earlier   Later