Friday, 2022-09-09

*** bhagyashris is now known as bhagyashris|ruck07:57
kashyapDoes anyone recall if use "virtio-blk" or "virtio-scsi" by default for in Wallaby?08:55
kashyapvirtio-blk09:09
bauzassean-k-mooney: fwiw, as you being the release liaison, please see the etherpad I wrote for managing RC1 patches that are on duty https://etherpad.opendev.org/p/nova-zed-rc-potential09:15
sean-k-mooneybauzas: thanks looking09:35
kashyapsean-k-mooney: Hey09:50
kashyapsean-k-mooney: Do you recall what's the limit to no. of disks when using 'virtio-blk'?09:50
kashyapIn OpenStack...09:50
* kashyap always forgets this09:50
sean-k-mooneyin openstack we dont have one09:50
sean-k-mooneybut in reality09:50
sean-k-mooneyeach virtio-blk device09:50
sean-k-mooneyconsumes a pci slot09:50
sean-k-mooneyso ~20ish09:51
kashyapRight; some 28 disks, IIRC09:51
sean-k-mooneyif you need more you need to use virtio-scsi09:51
kashyapYep09:52
kashyapI was more interested in the no. of disks limitation for virtio-blk; and the QEMU blog-post confirms it is 28 (https://www.qemu.org/2021/01/19/virtio-blk-scsi-configuration/)09:52
sean-k-mooneythere uses to be a limit of 26 because we ran out of drive letters but we fix that a few cycles ago09:52
sean-k-mooneyya so that limit as i said si based on the number of pci slots you can have09:53
sean-k-mooneyfor pc there are 32pci slots and i think 4 are requird so only 28 freee with q35 you can configre the number of pcie slots09:54
sean-k-mooneyso in realyity its plably less then that09:54
sean-k-mooneywith q35 we can add pcie extnetion bridge in the pci toplogy but i do not think those virtual pcie bridge give us more prots like a hardware bridge chip would09:55
kashyapYeap; agreed.  Thanks!09:57
whoami-rajatstephenfin, so regarding the parameter --confirm-reimage, my original idea of parameter name was --reimage-boot-volume but sean-k-mooney suggested --confirm-reimage, if he agrees to your suggestions, I'm happy to update it https://review.opendev.org/c/openstack/nova-specs/+/840155/4..5/specs/zed/approved/volume-backed-server-rebuild.rst#b14210:44
stephenfinwhoami-rajat: yup, --reimage-boot-volume works for me. That's better again than what I'd suggested10:45
whoami-rajatsean-k-mooney, ^ we're discussing about https://review.opendev.org/c/openstack/python-openstackclient/+/831014/7/openstackclient/compute/v2/server.py#309510:46
opendevreviewMerged openstack/nova master: doc: mark the max microversion for zed  https://review.opendev.org/c/openstack/nova/+/85570710:56
kashyapsean-k-mooney: I'm wondering if we should revive this: https://review.opendev.org/c/openstack/nova/+/663614/ (libvirt: Update the default number of PCIe root ports to 3211:19
kashyap)11:19
sean-k-mooneyi dont think so11:20
sean-k-mooneyits configurable and we overried it downstream11:20
sean-k-mooneykashyap: have qemu reduced the memroy overhead11:20
kashyapsean-k-mooney: I know it is.11:20
kashyapsean-k-mooney: The memory overhead is negligible, BTW11:20
sean-k-mooneyit was not in the past11:21
sean-k-mooneydanpb did a lot of testing and it was a signifcant increase11:21
kashyapsean-k-mooney: I know that whole thing, I also referred to it in the commit message11:22
kashyapSee my comment on _why_ the overhead is acceptable in the commit message11:22
sean-k-mooneyits more the 16mb11:23
kashyapSigh, where are you quoting that from?  I recall putting up that WIP after extensive discussion with the virt folks11:24
* kashyap needs to step out briefly; back later11:24
sean-k-mooneyOn memory usage of using Q35 machine type with different number of root11:24
sean-k-mooneyports:11:24
sean-k-mooney  - Q35 with 4 root ports: the "resident RAM" is 2056 MB11:24
sean-k-mooney  - Q35 with 32 root ports: the "resident RAM" is 2066 MB11:24
sean-k-mooneyThe additional overhead of increasing the number of root ports is just11:24
sean-k-mooneyabout 16 MB.  This is acceptable.11:24
sean-k-mooneybut the comparisons i remeber were showign more then that11:24
kashyapWell, I quoted DanPB's stats there11:25
sean-k-mooneyi guess if you are already using q35 its only 16mb11:26
sean-k-mooneywhat we were orgianlly concered about was the increase form pc to q3511:26
sean-k-mooneyso if we keep the default as pc11:26
sean-k-mooneythen i guess we could but based on your arm triles11:26
sean-k-mooneyim not sure we shoudl do it vai the config option11:27
sean-k-mooneyor perhaps we shoudl set it to say -111:27
kashyapHmm, our upstream default is still 'pc', right?11:27
sean-k-mooneymeaning nova use the most that we know works for the acitrues11:27
sean-k-mooneykashyap: yes it is11:27
kashyapOkay, I need to think a bit more about this; now /me really steps out :)11:27
sean-k-mooneyhttps://review.opendev.org/c/openstack/nova/+/663614/1/nova/conf/libvirt.py11:28
sean-k-mooneythats the comment that makes me thing we woudl be better allowing -1 to mean nova chooes the larges value that will work for the arch11:28
sean-k-mooneyso 32 on x86 and 24 on aarch6411:28
sean-k-mooneyand delegate to libvirt for anythign we dont have a known good value for11:29
sean-k-mooneysame as 0 today11:29
sean-k-mooneyif we did something like that i can proably be sold on updating the value11:30
opendevreviewChristian Rohmann proposed openstack/nova master: db: Drop redundant unique constraint for instances uuid  https://review.opendev.org/c/openstack/nova/+/85675712:01
opendevreviewChristian Rohmann proposed openstack/nova master: db: Drop redundant unique constraint for instances uuid  https://review.opendev.org/c/openstack/nova/+/85675712:02
kashyapsean-k-mooney: Yeah, arch-specific setting makes sense12:43
Ugglaquestion, I have this signature: def _hard_reboot(self, context, instance, network_info, block_device_info=None, accel_info=None, share_info=None): I would like share_info to be an ShareMappingList object either empty or with items (not None). Shoud I change to share_info=ShareMappingList(), an empty list by default. I noticed the file is also under mypy so I could define a type. What is your preference ?12:47
sean-k-mooneyUggla: no never12:49
opendevreviewChristian Rohmann proposed openstack/nova master: db: Drop redundant indeces on instances and console_auth_tokens tables  https://review.opendev.org/c/openstack/nova/+/85675712:49
sean-k-mooneyUggla: you shoudl never us a collection as the default for a keyward arg12:49
sean-k-mooneyUggla: the way python works is that the vlaue of the keyword args are initalised once one the fucntion is first parsed and then rused across all function calls12:50
sean-k-mooneyso fi you default to a list or object that object will be shared across all fucntion calls12:50
sean-k-mooneyso kwargs shoudl only be litral values like Ture 42 None12:51
opendevreviewChristian Rohmann proposed openstack/nova master: db: Drop redundant indexes on instances and console_auth_tokens tables  https://review.opendev.org/c/openstack/nova/+/85675712:51
sean-k-mooney"a sting litral"12:51
sean-k-mooneyso  share_info=ShareMappingList() is not correct to use12:51
Ugglaok, but what is the good way to be sure share_info will have the proper type and safely call its methods ?12:52
sean-k-mooneywe can add the type annotations12:53
sean-k-mooneybut its if you want ti to be a requried arge then it should not be a kwarg12:53
sean-k-mooneyif its optional you should do 12:53
sean-k-mooneyif share_info is None:12:53
sean-k-mooneyshare_info=ShareMappingList()12:53
sean-k-mooneyin the hard reboot funtion if you need too12:54
sean-k-mooneyin most cases we woudl expect this to be None as most vms wont have shares12:55
Ugglaok thx sean-k-mooney.12:56
*** dasm|off is now known as dasm13:20
opendevreviewChristian Rohmann proposed openstack/nova master: db: Drop redundant indeces on instances and console_auth_tokens tables  https://review.opendev.org/c/openstack/nova/+/85675714:02
opendevreviewChristian Rohmann proposed openstack/placement master: Db: Drop redundant indexes for columns already having unique constraint  https://review.opendev.org/c/openstack/placement/+/85677014:25
opendevreviewChristian Rohmann proposed openstack/nova master: db: Drop redundant indeces on instances and console_auth_tokens tables  https://review.opendev.org/c/openstack/nova/+/85675714:59
opendevreviewOpenStack Release Bot proposed openstack/os-vif stable/zed: Update .gitreview for stable/zed  https://review.opendev.org/c/openstack/os-vif/+/85678015:03
opendevreviewOpenStack Release Bot proposed openstack/os-vif stable/zed: Update TOX_CONSTRAINTS_FILE for stable/zed  https://review.opendev.org/c/openstack/os-vif/+/85678115:03
opendevreviewOpenStack Release Bot proposed openstack/os-vif master: Update master for stable/zed  https://review.opendev.org/c/openstack/os-vif/+/85678215:03
opendevreviewOpenStack Release Bot proposed openstack/os-vif master: Add Python3 antelope unit tests  https://review.opendev.org/c/openstack/os-vif/+/85678315:03
opendevreviewOpenStack Release Bot proposed openstack/osc-placement stable/zed: Update .gitreview for stable/zed  https://review.opendev.org/c/openstack/osc-placement/+/85678415:04
opendevreviewOpenStack Release Bot proposed openstack/osc-placement stable/zed: Update TOX_CONSTRAINTS_FILE for stable/zed  https://review.opendev.org/c/openstack/osc-placement/+/85678515:04
opendevreviewOpenStack Release Bot proposed openstack/osc-placement master: Update master for stable/zed  https://review.opendev.org/c/openstack/osc-placement/+/85678615:04
opendevreviewOpenStack Release Bot proposed openstack/osc-placement master: Add Python3 antelope unit tests  https://review.opendev.org/c/openstack/osc-placement/+/85678715:04
opendevreviewOpenStack Release Bot proposed openstack/python-novaclient stable/zed: Update .gitreview for stable/zed  https://review.opendev.org/c/openstack/python-novaclient/+/85678815:04
opendevreviewOpenStack Release Bot proposed openstack/python-novaclient stable/zed: Update TOX_CONSTRAINTS_FILE for stable/zed  https://review.opendev.org/c/openstack/python-novaclient/+/85678915:04
opendevreviewOpenStack Release Bot proposed openstack/python-novaclient master: Update master for stable/zed  https://review.opendev.org/c/openstack/python-novaclient/+/85679015:04
opendevreviewOpenStack Release Bot proposed openstack/python-novaclient master: Add Python3 antelope unit tests  https://review.opendev.org/c/openstack/python-novaclient/+/85679115:04
opendevreviewChristian Rohmann proposed openstack/nova master: db: Drop redundant indeces on instances and console_auth_tokens tables  https://review.opendev.org/c/openstack/nova/+/85675722:48
opendevreviewChristian Rohmann proposed openstack/placement master: Db: Drop redundant indexes for columns already having unique constraint  https://review.opendev.org/c/openstack/placement/+/85677022:56
*** dasm is now known as dasm|off23:13

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!