*** tosky has quit IRC | 00:11 | |
*** zzzeek has quit IRC | 00:35 | |
*** zzzeek has joined #openstack-nova | 00:36 | |
*** swp20 has joined #openstack-nova | 00:38 | |
*** zenkuro has quit IRC | 01:34 | |
*** rcernin has quit IRC | 02:19 | |
*** rcernin has joined #openstack-nova | 02:35 | |
openstackgerrit | Xing Zhang proposed openstack/nova stable/train: replace the "hide_hypervisor_id" to "hw:hide_hypervisor_id" https://review.opendev.org/c/openstack/nova/+/768736 | 02:58 |
---|---|---|
*** brtknr has quit IRC | 03:00 | |
*** brtknr has joined #openstack-nova | 03:00 | |
*** tinwood has quit IRC | 03:10 | |
*** tinwood has joined #openstack-nova | 03:13 | |
*** psachin has joined #openstack-nova | 03:45 | |
*** mkrai has joined #openstack-nova | 04:03 | |
*** rcernin has quit IRC | 04:14 | |
*** rcernin has joined #openstack-nova | 04:21 | |
*** rcernin has quit IRC | 05:01 | |
yonglihe | atmark: the pci alias is not a list. | 05:02 |
*** rcernin has joined #openstack-nova | 05:08 | |
*** ratailor has joined #openstack-nova | 05:38 | |
*** ralonsoh has joined #openstack-nova | 06:32 | |
*** etp has quit IRC | 06:54 | |
*** mkrai has quit IRC | 06:59 | |
*** mkrai has joined #openstack-nova | 06:59 | |
*** etp has joined #openstack-nova | 07:01 | |
*** rcernin has quit IRC | 07:04 | |
*** slaweq has joined #openstack-nova | 07:08 | |
*** whoami-rajat has joined #openstack-nova | 07:11 | |
*** etp has quit IRC | 07:17 | |
*** mkrai has quit IRC | 07:18 | |
*** etp has joined #openstack-nova | 07:19 | |
*** k_mouza has joined #openstack-nova | 07:23 | |
*** khomesh24 has joined #openstack-nova | 07:24 | |
*** k_mouza has quit IRC | 07:27 | |
*** aarents has joined #openstack-nova | 07:35 | |
*** brinzhang has joined #openstack-nova | 07:37 | |
brinzhang | gmann: are you around? | 07:37 |
brinzhang | gmann: I dont understand what are you point *'groups' data* in https://review.opendev.org/c/openstack/nova/+/766726/17/nova/tests/unit/api/openstack/compute/test_security_groups.py#1005 | 07:38 |
*** grandchild has joined #openstack-nova | 07:39 | |
*** rcernin has joined #openstack-nova | 07:48 | |
*** rcernin has quit IRC | 07:53 | |
*** tobias-urdin has joined #openstack-nova | 07:55 | |
openstackgerrit | Brin Zhang proposed openstack/nova master: Replaces tenant_id with project_id from List/Update Servers APIs https://review.opendev.org/c/openstack/nova/+/764292 | 08:01 |
openstackgerrit | Brin Zhang proposed openstack/nova master: Replace all_tenants with all_projects in List Server APIs https://review.opendev.org/c/openstack/nova/+/765311 | 08:01 |
openstackgerrit | Brin Zhang proposed openstack/nova master: Replaces tenant_id with project_id from Rebuild Server API https://review.opendev.org/c/openstack/nova/+/766380 | 08:01 |
openstackgerrit | Brin Zhang proposed openstack/nova master: Replaces tenant_id with project_id from List SG API https://review.opendev.org/c/openstack/nova/+/766726 | 08:01 |
*** rpittau|afk is now known as rpittau | 08:04 | |
*** k_mouza has joined #openstack-nova | 08:10 | |
*** k_mouza has quit IRC | 08:14 | |
*** luksky has joined #openstack-nova | 08:17 | |
*** tosky has joined #openstack-nova | 08:20 | |
*** rcernin has joined #openstack-nova | 08:21 | |
*** mkrai has joined #openstack-nova | 08:24 | |
*** rcernin has quit IRC | 08:26 | |
*** hemanth_n has joined #openstack-nova | 08:34 | |
*** jangutter_ has joined #openstack-nova | 08:43 | |
*** jangutter has quit IRC | 08:47 | |
*** lucasagomes has joined #openstack-nova | 08:50 | |
*** kashyap has joined #openstack-nova | 08:50 | |
*** rcernin has joined #openstack-nova | 08:55 | |
*** ociuhandu has joined #openstack-nova | 08:56 | |
*** rcernin has quit IRC | 09:00 | |
*** zoharm has joined #openstack-nova | 09:07 | |
*** ociuhandu has quit IRC | 09:10 | |
*** rcernin has joined #openstack-nova | 09:11 | |
*** brinzhang_ has joined #openstack-nova | 09:15 | |
*** ociuhandu has joined #openstack-nova | 09:15 | |
*** rcernin has quit IRC | 09:16 | |
*** brinzhang has quit IRC | 09:18 | |
*** ttx has quit IRC | 09:20 | |
*** ttx has joined #openstack-nova | 09:21 | |
gibi | stephenfin: can we land https://review.opendev.org/c/openstack/python-novaclient/+/770573 before the client freze? | 09:29 |
*** derekh has joined #openstack-nova | 09:31 | |
brinzhang_ | gibi, stephenfin, gmann: we add none type to the auth_schemes when we configing the devstack env, it's fixing the noVNC nova-next task failed, pls review if you have free time | 09:39 |
brinzhang_ | gibi, stephenfin, gmann: https://review.opendev.org/c/openstack/devstack/+/777923 thanks. | 09:39 |
brinzhang_ | gmann: I think this is not necessary to register a bug for devstack, it belongs to the bp/nova-support-webvnc-with-password-anthentication | 09:41 |
openstackgerrit | Sylvain Bauza proposed openstack/nova master: WIP: Bump the Compute RPC API to version 6.0 https://review.opendev.org/c/openstack/nova/+/761452 | 09:51 |
stephenfin | gibi: Sure, I'll respin that now | 09:52 |
*** k_mouza has joined #openstack-nova | 09:53 | |
*** martinkennelly has joined #openstack-nova | 09:56 | |
gibi | thanks | 09:57 |
*** khomesh24 has quit IRC | 10:00 | |
openstackgerrit | Stephen Finucane proposed openstack/python-novaclient master: Add support for microversion v2.88 https://review.opendev.org/c/openstack/python-novaclient/+/770573 | 10:06 |
stephenfin | gibi ^ | 10:06 |
gibi | stephenfin: I'm on it | 10:07 |
gibi | brinzhang_: left a question in the tempest review | 10:11 |
gibi | sean-k-mooney: is there anything open in os-vif that needed for Wallaby? This week is nonclient library freeze. I looked tht the open patches and nothing popped out for me as important. | 10:16 |
*** jawad_axd has joined #openstack-nova | 10:21 | |
gibi | stephenfin: +2 thanks for the client patch | 10:24 |
openstackgerrit | Merged openstack/nova master: objects: Add 'socket' PCI NUMA affinity https://review.opendev.org/c/openstack/nova/+/772748 | 10:26 |
*** ociuhandu has quit IRC | 10:36 | |
*** ociuhandu has joined #openstack-nova | 10:38 | |
*** jangutter has joined #openstack-nova | 10:41 | |
*** jangutter has quit IRC | 10:42 | |
*** jangutter has joined #openstack-nova | 10:43 | |
*** ociuhandu has quit IRC | 10:43 | |
*** jangutter_ has quit IRC | 10:44 | |
*** rcernin has joined #openstack-nova | 10:51 | |
*** xek has joined #openstack-nova | 10:54 | |
*** mkrai has quit IRC | 10:56 | |
*** sapd1 has joined #openstack-nova | 10:56 | |
stephenfin | brinzhang_: gibi: Big comment left on https://review.opendev.org/c/openstack/nova/+/622336. I think we've all gotten confused /o\ | 10:59 |
openstackgerrit | Merged openstack/nova master: Remove short call timeout from func test https://review.opendev.org/c/openstack/nova/+/777447 | 10:59 |
*** jangutter_ has joined #openstack-nova | 11:02 | |
*** jangutter has quit IRC | 11:05 | |
openstackgerrit | Stephen Finucane proposed openstack/nova master: libvirt: Remove dead code https://review.opendev.org/c/openstack/nova/+/772928 | 11:07 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: rpc: Rework 'get_notifier', 'wrap_exception' https://review.opendev.org/c/openstack/nova/+/741663 | 11:07 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: mypy: Add type annotations to 'nova.pci' https://review.opendev.org/c/openstack/nova/+/676209 | 11:07 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: mypy: Add nova.cmd, nova.conf, nova.console https://review.opendev.org/c/openstack/nova/+/705657 | 11:07 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: mypy: Add type annotations to top-level modules https://review.opendev.org/c/openstack/nova/+/705658 | 11:07 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: trivial: Clean manager.Manager, service.Service signatures https://review.opendev.org/c/openstack/nova/+/764806 | 11:07 |
*** ociuhandu has joined #openstack-nova | 11:15 | |
*** ociuhandu has quit IRC | 11:19 | |
*** k_mouza has quit IRC | 11:27 | |
*** k_mouza has joined #openstack-nova | 11:28 | |
*** ociuhandu has joined #openstack-nova | 11:31 | |
*** rcernin has quit IRC | 11:31 | |
openstackgerrit | Kashyap Chamarthy proposed openstack/nova master: libvirt: Allow disabling CPU flags via `cpu_model_extra_flags` https://review.opendev.org/c/openstack/nova/+/774240 | 11:35 |
*** rcernin has joined #openstack-nova | 11:38 | |
*** ociuhandu has quit IRC | 11:44 | |
*** zenkuro has joined #openstack-nova | 11:47 | |
kashyap | Gah, needs a rebase | 11:49 |
openstackgerrit | Kashyap Chamarthy proposed openstack/nova master: libvirt: Allow disabling CPU flags via `cpu_model_extra_flags` https://review.opendev.org/c/openstack/nova/+/774240 | 11:49 |
*** rcernin has quit IRC | 11:55 | |
*** ociuhandu has joined #openstack-nova | 11:56 | |
*** rcernin has joined #openstack-nova | 12:00 | |
*** ociuhandu has quit IRC | 12:01 | |
*** ociuhandu has joined #openstack-nova | 12:12 | |
stephenfin | lyarwood: I saw that before. I think a second attempt to commit fixed the issue | 12:12 |
stephenfin | otherwise just pass the -n flag temporarily | 12:12 |
lyarwood | huh | 12:13 |
lyarwood | TIL about the -n flag | 12:13 |
lyarwood | thanks | 12:13 |
*** yoctozepto has quit IRC | 12:17 | |
*** yoctozepto has joined #openstack-nova | 12:17 | |
*** ociuhandu has quit IRC | 12:18 | |
*** rcernin has quit IRC | 12:21 | |
*** derekh has quit IRC | 12:23 | |
*** derekh has joined #openstack-nova | 12:25 | |
*** lpetrut has joined #openstack-nova | 12:30 | |
sean-k-mooney | gibi: thanks for the reminder. no not on master. there is one patch i want to be backported to train but ill ping lyarwood for that seperatly | 12:30 |
gibi | sean-k-mooney: thanks for the confirmation | 12:30 |
sean-k-mooney | lyarwood: https://review.opendev.org/c/openstack/os-vif/+/765970 is the patch i was refering too above | 12:31 |
sean-k-mooney | lyarwood: we will need it downstream for 16.2 because the linux kernel patch was added in 8.4 | 12:32 |
sean-k-mooney | gibi: ill try and figure out a unit test for https://review.opendev.org/c/openstack/nova/+/777679 when i get time | 12:34 |
sean-k-mooney | raising the excption via a mock and adding the assertions is not hard but its in an inner funciton so its a littele more work then normal to test. | 12:35 |
openstackgerrit | Stephen Finucane proposed openstack/python-novaclient master: Add support for microversion v2.88 https://review.opendev.org/c/openstack/python-novaclient/+/770573 | 12:43 |
*** hemanth_n has quit IRC | 12:44 | |
*** ociuhandu has joined #openstack-nova | 12:45 | |
*** ociuhandu_ has joined #openstack-nova | 12:47 | |
*** ociuhandu has quit IRC | 12:50 | |
*** tbarron|out is now known as tbarron | 12:51 | |
openstackgerrit | Stephen Finucane proposed openstack/nova master: libvirt: Add support for virtio-based input devices https://review.opendev.org/c/openstack/nova/+/756552 | 12:55 |
*** Luzi has joined #openstack-nova | 12:55 | |
legochen | hey sean-k-mooney, do you know anyone familiar with "Launch an instance from a volume” practcie… some questions posted above… would like to discuss | 13:00 |
sean-k-mooney | hi i have not read them back but i can take a look in a second | 13:02 |
gibi | sean-k-mooney: ack | 13:03 |
*** hoonetorg has joined #openstack-nova | 13:03 | |
legochen | thank you | 13:03 |
sean-k-mooney | ok so your asking about osc and block device mappings | 13:04 |
sean-k-mooney | stephenfin: has a patch up to rework how osc supports this currently | 13:05 |
sean-k-mooney | https://review.opendev.org/c/openstack/python-openstackclient/+/771696 | 13:06 |
sean-k-mooney | so there are several ways to create a vm as im sure your aware | 13:07 |
sean-k-mooney | you can create a vm with local root disk and have seperate data volumes | 13:08 |
sean-k-mooney | or you can replace the root disk with a cinder volume instaed of having it stored locally on the compute node. | 13:08 |
*** zul has joined #openstack-nova | 13:08 | |
sean-k-mooney | the later can be done several ways and is what we refer to as boot form volume | 13:09 |
sean-k-mooney | nova support eighter using a prexisting bootable volume, or a new volumn created by nova form either an image of volume snapshot | 13:09 |
sean-k-mooney | the efficncy fo each depend on 1 how you judge efficncy and 2 whatn nova, glance and cinder backends you have configured | 13:10 |
sean-k-mooney | for example if you are using ceph for cinder nova and glance then boot form volume and non boot form volume are basically the same | 13:11 |
sean-k-mooney | in all cases teh root disk will just be a thin snapshot over the orignial image | 13:11 |
sean-k-mooney | similarly you use cider as the glance backend and your cinder driver support it then bfv volumes created from images can simialrly be a thin provisioned volumn | 13:12 |
sean-k-mooney | the presence of addtional data volumne in any configuration is largely irrelvent to effincincy or perfroamce since in bfv or non bfv cases you should keep all data you care about in a cinder data volumn anyway so you can tree the root disk as ephemeral | 13:13 |
sean-k-mooney | legochen: not sure if that help but if you have a specific question i can try and answer that | 13:14 |
sean-k-mooney | im not really sure how you are gaugeing effiency (storage space? perfroamce(troughtput,latency,boot time)? network bandwith utilisation?) or what your usecase is | 13:15 |
legochen | hey sean-k-mooney, sorry just back. I think my major questions are about OSC stuff. | 13:18 |
legochen | 1) let “—boot-from-volume <volume-size>” option can specify volume-type | 13:18 |
legochen | 2) support —block-device option as what ocata version has. | 13:19 |
sean-k-mooney | 2 is done in https://review.opendev.org/c/openstack/python-openstackclient/+/771699/3/openstackclient/compute/v2/server.py | 13:20 |
legochen | otherwise, the current OSC doesn’t have the ability to use an available & existing block-storage volume as root partition to boot an instance. | 13:20 |
sean-k-mooney | still unmerged | 13:20 |
legochen | okay, understood, do we have timeline to merge it :D | 13:21 |
sean-k-mooney | we are deprecating --block-device-mapping in fravor of --block-device | 13:21 |
sean-k-mooney | am not sure | 13:21 |
sean-k-mooney | stephenfin: ^ any idea when you expect the osc bfv change to merge | 13:22 |
sean-k-mooney | will it happen this cycle | 13:22 |
legochen | do you mean you recommend --block-device instead of “ --block-device-mapping” ? | 13:22 |
sean-k-mooney | legochen: osc does not curently have --block-device but we are adding it and it will replace teh use fo teh existing --block-device-mapping command in osc | 13:23 |
lyarwood | sean-k-mooney: ack sorry was out at lunch | 13:23 |
legochen | okay, thanks. clear now. | 13:23 |
legochen | about 1) … I feel if it cannot specify “volume-type”, it will be not that useful. | 13:24 |
sean-k-mooney | legochen: the imporant point form your point of view will be the abllit to set volume_type | 13:24 |
sean-k-mooney | legochen: that could be added | 13:24 |
sean-k-mooney | well looking at it its proably not possible actuly | 13:25 |
sean-k-mooney | currently --boot-from-volume is defiend as an int | 13:26 |
sean-k-mooney | we could proably add a --volumn-type however | 13:26 |
sean-k-mooney | so you would use both | 13:26 |
*** ociuhandu_ has quit IRC | 13:26 | |
sean-k-mooney | so somthign like --boot-from-volume 100G --image <my-image> --volume-type=<my-volume-type> | 13:27 |
legochen | yes, that would be better ! | 13:27 |
*** ociuhandu has joined #openstack-nova | 13:27 | |
*** ociuhandu has quit IRC | 13:27 | |
*** ratailor has quit IRC | 13:27 | |
sean-k-mooney | you should file a bug with osc or if you have time a patch? | 13:28 |
sean-k-mooney | otherwise see if stephenfin has time to adress it in a follow up. | 13:28 |
sean-k-mooney | legochen: currently he is trying to close the remaining gaps between nova clinet and osc | 13:28 |
sean-k-mooney | so that has priorty over adding syntatic sugar. this would be nice to have but less of a priorty then his other patches | 13:29 |
legochen | thanks, about 2) is not that require to me beacuse I feel 1) is much better in my use cases. | 13:29 |
sean-k-mooney | 2 is needed for other usecase and what stephen has already implmented | 13:29 |
sean-k-mooney | 1 i would guess he wont have time to work on in the near future | 13:30 |
*** ociuhandu has joined #openstack-nova | 13:30 | |
legochen | understood….btw, if you don’t mind, I’d like to go back to talk the performance questions with you. | 13:30 |
legochen | https://docs.openstack.org/nova/latest/user/launch-instance-from-volume.html | 13:31 |
sean-k-mooney | sure | 13:31 |
legochen | basically, one OpenStack cluster could be split into two parts 1) Control Plane 2) Hypervisors . | 13:32 |
legochen | in that document | 13:32 |
legochen | These two options “Create a volume from an image and boot an instance from that volume.” and “Boot from an existing source image, volume, or snapshot.” | 13:32 |
legochen | Looks like the image download stuff happens on the Control Plane side. | 13:33 |
legochen | Only this otion “Boot an instance from an image and attach a non-bootable volume.” is happen on the hypervisor side | 13:33 |
*** jangutter has joined #openstack-nova | 13:33 | |
sean-k-mooney | the first option https://docs.openstack.org/nova/latest/user/launch-instance-from-volume.html#boot-instance-from-image-and-attach-non-bootable-volume | 13:34 |
sean-k-mooney | is stanard boot. e.g. not boot form volumn | 13:34 |
openstackgerrit | Lee Yarwood proposed openstack/nova master: nova-manage: Add libvirt get_machine_type command https://review.opendev.org/c/openstack/nova/+/769548 | 13:34 |
openstackgerrit | Lee Yarwood proposed openstack/nova master: nova-manage: Add libvirt update_machine_type command https://review.opendev.org/c/openstack/nova/+/774896 | 13:34 |
openstackgerrit | Lee Yarwood proposed openstack/nova master: nova-manage: Add libvirt list_unset_machine_type command https://review.opendev.org/c/openstack/nova/+/774897 | 13:34 |
openstackgerrit | Lee Yarwood proposed openstack/nova master: nova-status: Add hw_machine_type check for libvirt instances https://review.opendev.org/c/openstack/nova/+/770643 | 13:34 |
openstackgerrit | Lee Yarwood proposed openstack/nova master: libvirt: Add a config update workflow test for [libvirt]hw_machine_type https://review.opendev.org/c/openstack/nova/+/774898 | 13:34 |
openstackgerrit | Lee Yarwood proposed openstack/nova master: docs: Add admin docs for configuring and updating machine types https://review.opendev.org/c/openstack/nova/+/774899 | 13:34 |
sean-k-mooney | so the image donwload happens on the compute node and we create a raw or qcow 2 file by defualt | 13:34 |
sean-k-mooney | the download only happens if we dont have the image in teh compute nodes image cache already | 13:35 |
*** eharney has joined #openstack-nova | 13:35 | |
*** ociuhandu has quit IRC | 13:35 | |
legochen | nova boot --flavor a5.8 --image rhel-7.9.11 --block-device source=volume,id=33ecc63a-ccc1-496b-ae9a-61babe615568,dest=volume,shutdown=preserve --availability-zone my-az --nic | 13:35 |
legochen | net-name=my-network boot-volume-instance-01 | 13:35 |
sean-k-mooney | in the other cases the image may or may not be downloaded to the compte | 13:35 |
legochen | sean-k-mooney, okay, I mean this command | 13:35 |
legochen | this command will use an existing block volume attach to instance’s root partition to install the OS. | 13:36 |
legochen | So, that’s why I say the image download behavior happen on the hypervisor side. | 13:37 |
*** jangutter_ has quit IRC | 13:37 | |
sean-k-mooney | no this will create a root disk form the image and attach a second data volumn | 13:37 |
sean-k-mooney | legochen: that command is the same as doing "nova boot --flavor a5.8 --image rhel-7.9.11 --availability-zone my-az --nic et-name=my-network non-boot-volume-instance-01 | 13:39 |
sean-k-mooney | then attaching a volumn | 13:39 |
sean-k-mooney | you are not create a boot form volun instance | 13:39 |
sean-k-mooney | you creatting a non boot form volumn instance with an addtion cinder volumn that is not used for the root disk | 13:39 |
sean-k-mooney | https://docs.openstack.org/nova/latest/user/launch-instance-from-volume.html#create-volume-from-image-and-boot-instance create a boot form volumn image using an image as a source | 13:40 |
sean-k-mooney | nova boot --flavor FLAVOR --block-device \ | 13:40 |
sean-k-mooney | source=SOURCE,id=ID,dest=DEST,size=SIZE,shutdown=PRESERVE,bootindex=INDEX \ | 13:40 |
sean-k-mooney | NAME | 13:40 |
legochen | okay, thanks. that’s my misunderstanding | 13:41 |
sean-k-mooney | e.g. source=image,id=<glance image uuid>,dest=volumn,size=100G,shutdown=PRESERVE,bootindex=0 \ | 13:41 |
sean-k-mooney | legochen: basically the first workflow is used in 2 cases | 13:42 |
sean-k-mooney | 1 you do not want boot form volume | 13:42 |
legochen | then, seems like the follow would always require to create an image volume first and then use this volume to boot an instance. | 13:42 |
sean-k-mooney | 2 the image is an iso and you want to install it to a volumn which you will use later for a different vm | 13:42 |
legochen | follow = flow (typo) | 13:43 |
*** mgariepy has joined #openstack-nova | 13:44 | |
*** jangutter_ has joined #openstack-nova | 13:44 | |
sean-k-mooney | legochen: well you have 4 options 1 dont use boot form volumn, 2 boot form a new volumn created form an iamge, 3 boot form an existing volumne, 4 boot form a new volumne created as a volume snapshot form an existing volumne | 13:44 |
sean-k-mooney | the last 3 all use https://docs.openstack.org/nova/latest/user/launch-instance-from-volume.html#create-volume-from-image-and-boot-instance | 13:45 |
sean-k-mooney | but the source changes e.g. image,volumn or snapshot | 13:45 |
legochen | our requirement is just wanted to let VM instance can use our block storage as root partition to boot. | 13:46 |
sean-k-mooney | that is the default if you dont use --block-device | 13:46 |
sean-k-mooney | unless you mean cinder | 13:46 |
sean-k-mooney | if you want to use cinder as teh root disk then you can use https://docs.openstack.org/nova/latest/user/launch-instance-from-volume.html#create-volume-from-image-and-boot-instance | 13:47 |
legochen | block storage - yes, managed by cinder | 13:47 |
sean-k-mooney | then yes follow ^ and it will create a bfv guest | 13:47 |
*** jangutter has quit IRC | 13:47 | |
legochen | what’s bfv? | 13:47 |
sean-k-mooney | boot form volumn | 13:47 |
sean-k-mooney | *boot from volume | 13:48 |
*** luksky has quit IRC | 13:48 | |
*** hemna has quit IRC | 13:48 | |
sean-k-mooney | it gets tiresome to type so we usually use bfv as a shorthand | 13:48 |
legochen | ok, thanks. I just feel this flow is not that efficient. because it needs to | 13:48 |
legochen | 1) copy the image from glance to cinder image conversation folder | 13:49 |
legochen | 2) mount cinder block storage on control plance | 13:49 |
legochen | 3) create image volume | 13:49 |
legochen | 4) create VM by this volume | 13:49 |
*** hemna has joined #openstack-nova | 13:49 | |
sean-k-mooney | it wont do that in all cases | 13:49 |
sean-k-mooney | as i said if cinder and glance share teh same sotrage backend or if glance uses cinder volumns to store the image then cinder can do a more effect process | 13:50 |
legochen | feel the first two steps take time and cause disk-io loading during copy images. | 13:50 |
sean-k-mooney | cinder does not need to do a copy in all cases | 13:50 |
sean-k-mooney | if you you ceph for glance and cidner then no copy happens provided they both use the same ceph cluster | 13:51 |
sean-k-mooney | cinder will insted create a new volume as a thin snapshot of the image | 13:51 |
*** psachin has quit IRC | 13:51 | |
sean-k-mooney | it will also do this in most cases when cinder is used as the glance image store backend | 13:51 |
legochen | do I need to configure something on both cinder and glance config? let them can identify they don’t need to do copy stuff | 13:51 |
gibi | stephenfin: thanks for the comment on the vnc series. I'm glad we had the tempest test to show that we have a more complicated situation than what I thought | 13:52 |
sean-k-mooney | it need driver support but the copy should be elided. | 13:52 |
sean-k-mooney | legochen: am for ceph i dont think so but you would be better asking that question in the cinder channel | 13:52 |
legochen | do you have example … I’d like to look into more about this. | 13:53 |
sean-k-mooney | they can explaine how to configure ciner/glace to avoid the copy | 13:53 |
legochen | our glance is using NetApp filer to store images, but cinder is using EMC VxFlex block storage | 13:53 |
legochen | we don’t use ceph :) | 13:54 |
sean-k-mooney | legochen: in that case i dont think there is any way to fuly elid the copy although cinder also has an image cache. | 13:54 |
sean-k-mooney | legochen: in general its not a great idea to have multiple sotrage solution deployed in a single openstack cloud it prevent some optimnisation form being done | 13:55 |
sean-k-mooney | ok i have to go do some work downstream for a while so ill be semi away from irc for a while o/ | 13:57 |
legochen | got it. thank you for your knowledge | 13:57 |
legochen | sean-k-mooney :) | 13:57 |
sean-k-mooney | legochen: in your spcific case createing vms form volumne snapshots might be the most effecinct | 13:59 |
sean-k-mooney | but do follow up with the cinder folks they may be able to help more. i belvie cinder has some config option to optimise this somewhat but im not super familar with all the options they have | 14:00 |
*** luksky has joined #openstack-nova | 14:01 | |
legochen | sean-k-mooney, stephenfin - as my misunderstanding about —block-device option, I thought it can be used to root partition. So, I think to support —volume-type in OSC become a more useful feature … we need to have. otherwise, we’ll need to create image volume first and use that volume to boot an instance. | 14:01 |
legochen | sean-k-mooney, got it. will check with cinder channel about that. thank you. “volume snapshots” could be a good idea, let me try it more. | 14:02 |
sean-k-mooney | legochen: it can be used for the root disk but --block-device is not only used for cinder it is used for advance block device configuration in general | 14:08 |
*** beekneemech is now known as bnemec | 14:08 | |
legochen | so, sounds like —block-device is also an ideal option? | 14:08 |
sean-k-mooney | i think that is what you missed if the dest type is local for exaple its used to configure epmermal storage | 14:08 |
legochen | I guess I can use nova command to test that, right | 14:10 |
legochen | --block-device source=volume,id=33ecc63a-ccc1-496b-ae9a-61babe615568,dest=volume,shutdown=preserve | 14:10 |
legochen | ,bootindex=0 | 14:11 |
legochen | need to add this | 14:11 |
sean-k-mooney | well that will bot with an exsiting volumn | 14:13 |
sean-k-mooney | it wont create a new one | 14:13 |
sean-k-mooney | but ya anyway sorry got to go. | 14:13 |
legochen | ERROR (BadRequest): Block Device Mapping is Invalid: Boot sequence for the instance and image/block device mapping combination is not valid. (HTTP 400) (Request-ID: req-c004edcf-0deb-4354-8358-c78cdf7f6c08) | 14:14 |
legochen | okay, I got this error when add “,bootindex=0" | 14:14 |
legochen | sure, you busy first. | 14:14 |
*** jangutter has joined #openstack-nova | 14:16 | |
openstackgerrit | Lee Yarwood proposed openstack/nova master: libvirt: Deprecate disable_native_luksv1 and rbd_volume_local_attach https://review.opendev.org/c/openstack/nova/+/778004 | 14:17 |
*** luksky has quit IRC | 14:17 | |
sean-k-mooney | lyarwood: i thought ^ was alredy dperecated when we added them | 14:19 |
sean-k-mooney | ik guess you did not formally do it but that was the intent of your comment | 14:20 |
*** jangutter_ has quit IRC | 14:20 | |
sean-k-mooney | to so we could actully remove them in W | 14:20 |
*** jangutte_ has joined #openstack-nova | 14:20 | |
lyarwood | sean-k-mooney: yeah I didn't formally do it at the time, was about to do it now and noticed so thought I'd follow normal procedure and remove them early in Xena | 14:21 |
sean-k-mooney | ok i guess it does not matter too much | 14:21 |
sean-k-mooney | it proably makes upgrades slightly simpler for 17 | 14:21 |
lyarwood | yeah, would be nice to remove them now for my sanity but that's about it | 14:22 |
sean-k-mooney | since they can disable this after upgrade instead | 14:22 |
lyarwood | right | 14:22 |
lyarwood | well they can disable it after they move to 16.2 downstream | 14:22 |
lyarwood | we've backported the perf fixes to 8.3 | 14:22 |
sean-k-mooney | ah ya good point | 14:23 |
*** jangutter has quit IRC | 14:23 | |
sean-k-mooney | lyarwood: also no worries about lunch, if we can move the os-vif backport forward that would be good as we need it before 16.2 is release but we have a few months to work on that | 14:24 |
*** mjturek has joined #openstack-nova | 14:25 | |
lyarwood | kk | 14:26 |
*** ralonsoh_ has joined #openstack-nova | 14:30 | |
*** ralonsoh has quit IRC | 14:30 | |
*** luksky has joined #openstack-nova | 14:32 | |
*** ralonsoh_ is now known as ralonsoh | 14:37 | |
*** derekh has quit IRC | 14:38 | |
*** derekh has joined #openstack-nova | 14:38 | |
*** Luzi has quit IRC | 14:44 | |
openstackgerrit | Jessie Lass proposed openstack/nova master: Add emulation support if host arch != guest arch. https://review.opendev.org/c/openstack/nova/+/772156 | 15:00 |
*** amodi has joined #openstack-nova | 15:03 | |
kashyap | Strange, before rebasing, I didn't see this exception when running unit tests; but after rebase, I see: | 15:09 |
kashyap | "Exception: This test uses methods that set internal oslo_db state, but it does not claim to use the database [...]" | 15:09 |
kashyap | [https://zuul.opendev.org/t/openstack/build/0347425ea0d74725a73f41ee4eaf6dd1] | 15:10 |
* kashyap taps on the table and thinks... | 15:10 | |
sean-k-mooney | likely not mocking something you should | 15:17 |
lyarwood | yeah it should be in the trace | 15:18 |
lyarwood | ah it's my stuff that's causing this for you | 15:19 |
lyarwood | _register_instance_machine_type | 15:19 |
lyarwood | just mock that out | 15:19 |
lyarwood | kashyap: ^ | 15:19 |
kashyap | lyarwood: Oh, I see. That's the change the rebase brought | 15:20 |
kashyap | sean-k-mooney: It came only after the rebase; it was not there before. | 15:20 |
sean-k-mooney | lyarwood: that might want to be mocked in the setup funciton | 15:20 |
*** artom has joined #openstack-nova | 15:20 | |
lyarwood | sean-k-mooney: I assume kashyap's tests are calling init_host directly | 15:22 |
kashyap | lyarwood: Indeed, I noticed that removing the call to init_host "fixes" it - drvr.init_host("dummyhost") | 15:23 |
kashyap | lyarwood: I don't even think it's required to call here. Because, I checked in the PDB -- | 15:23 |
kashyap | My test asserts expected results w/o the init_host() call | 15:23 |
kashyap | So I'm actually going to remove it; it's not required in this case, near as I can tell | 15:24 |
kashyap | Thanks for looking, folks! | 15:24 |
lyarwood | kashyap: https://review.opendev.org/c/openstack/nova/+/774240/10/nova/tests/unit/virt/libvirt/test_driver.py@1478 | 15:25 |
lyarwood | kashyap: looks like you removed the mock from test__check_cpu_compatibility_start_ok | 15:25 |
*** __ministry1 has joined #openstack-nova | 15:25 | |
kashyap | lyarwood: Urgh; that was accidental damage during rebase. Sloppy me. | 15:25 |
kashyap | I thought I double-checked, and still I failed | 15:25 |
*** __ministry1 has quit IRC | 15:26 | |
*** mkrai has joined #openstack-nova | 15:26 | |
kashyap | That's it; it's the missing mock | 15:28 |
*** lpetrut has quit IRC | 15:29 | |
openstackgerrit | Kashyap Chamarthy proposed openstack/nova master: libvirt: Allow disabling CPU flags via `cpu_model_extra_flags` https://review.opendev.org/c/openstack/nova/+/774240 | 15:34 |
*** amodi has left #openstack-nova | 15:38 | |
*** amodi has joined #openstack-nova | 15:38 | |
openstackgerrit | Balazs Gibizer proposed openstack/nova stable/pike: rt: Make resource tracker always invoking get_inventory() https://review.opendev.org/c/openstack/nova/+/778014 | 15:43 |
*** eharney_ has joined #openstack-nova | 15:45 | |
openstackgerrit | Balazs Gibizer proposed openstack/nova stable/pike: Update resources once in update_available_resource https://review.opendev.org/c/openstack/nova/+/612295 | 15:45 |
*** eharney has quit IRC | 15:46 | |
*** spatel has joined #openstack-nova | 15:48 | |
*** zoharm has quit IRC | 15:50 | |
*** eharney_ is now known as eharney | 15:58 | |
*** dklyle has joined #openstack-nova | 15:59 | |
*** k_mouza has quit IRC | 15:59 | |
*** k_mouza has joined #openstack-nova | 15:59 | |
*** macz_ has joined #openstack-nova | 16:13 | |
*** macz_ has quit IRC | 16:13 | |
*** macz_ has joined #openstack-nova | 16:14 | |
openstackgerrit | Merged openstack/nova master: apidb: Compact Mitaka database migrations https://review.opendev.org/c/openstack/nova/+/759400 | 16:23 |
stephenfin | sean-k-mooney: Can you live with the bit of duplication in this? https://review.opendev.org/c/openstack/nova/+/775415/ I'd like to keep that series moving forward /o\ | 16:24 |
*** macz_ has quit IRC | 16:27 | |
*** macz_ has joined #openstack-nova | 16:28 | |
*** mkrai has quit IRC | 16:32 | |
*** mkrai has joined #openstack-nova | 16:32 | |
openstackgerrit | Balazs Gibizer proposed openstack/nova stable/pike: rt: Make resource tracker always invoking get_inventory() https://review.opendev.org/c/openstack/nova/+/778014 | 16:33 |
openstackgerrit | Balazs Gibizer proposed openstack/nova stable/pike: Update resources once in update_available_resource https://review.opendev.org/c/openstack/nova/+/612295 | 16:34 |
sean-k-mooney | stephenfin: ill take a look after the meeting | 16:37 |
*** mkrai has quit IRC | 16:51 | |
dansmith | bauzas: the compute 6.0 patch is failing almost everything because of versioning stuff. You have a TODO to fix that in the commit message, but are you looking for help via review or are we still waiting for you to work those issues out first? | 16:53 |
*** gyee has joined #openstack-nova | 16:53 | |
*** jdillaman has joined #openstack-nova | 16:55 | |
bauzas | dansmith: I'm just fixing a lot of them ;) | 16:59 |
bauzas | I saw a lot of stuff I forgot to modify | 16:59 |
*** lucasagomes has quit IRC | 16:59 | |
bauzas | hopefully, will upload this in 1 hour | 16:59 |
*** efried has quit IRC | 16:59 | |
dansmith | bauzas: ah cool | 16:59 |
*** rpittau is now known as rpittau|afk | 17:00 | |
bauzas | dansmith: thanks for having looked at it btw. ;) | 17:02 |
dansmith | bauzas: np, I said I would help, so definitely hold me to it.. just didn't want to duplicate effort | 17:02 |
bauzas | dansmith: thanks | 17:03 |
*** efried has joined #openstack-nova | 17:09 | |
openstackgerrit | Balazs Gibizer proposed openstack/nova stable/ussuri: Fallback to same-cell resize with qos ports https://review.opendev.org/c/openstack/nova/+/773932 | 17:23 |
gibi | melwitt: fixed the functional test in the backport ^^ | 17:23 |
sean-k-mooney | stephenfin: oh it was the os.name poison change | 17:26 |
stephenfin | yarp | 17:26 |
sean-k-mooney | stephenfin: since other dont think its worth effort to remove the duplication fair ennough i guess. | 17:27 |
sean-k-mooney | i would still like it to be done but i can live with it so ill change to +1 after i quickly re review | 17:27 |
sean-k-mooney | i dont think you have changed anything since i last looked have you | 17:27 |
stephenfin | nope, same as previously | 17:28 |
sean-k-mooney | ya just rebases ok +1'd | 17:29 |
stephenfin | ta | 17:29 |
sean-k-mooney | stephenfin: bauzas suggested thinking about putting it in the integreated_helpers module as a followup | 17:30 |
sean-k-mooney | not sure if you saw that | 17:30 |
sean-k-mooney | i also think there is a tone of stuff in the chain after it and its not worth the gate time to respin now | 17:31 |
stephenfin | I did. Given this thing is only used in unit tests, I don't think we want to be dragging in stuff from the functional test module | 17:31 |
stephenfin | I can reply now | 17:31 |
sean-k-mooney | fair we import things form unti in fucntional | 17:32 |
sean-k-mooney | so better to avoid possible curcular deps between the too | 17:32 |
stephenfin | yeah, if I had my way we wouldn't even import from unit inside functional tests | 17:32 |
stephenfin | fixtures should be a separate submodule | 17:33 |
stephenfin | but that's a lot of work | 17:33 |
lyarwood | stephenfin: so I'm stuck on https://review.opendev.org/c/openstack/nova/+/673790/14/nova/virt/libvirt/host.py#1235 | 17:44 |
lyarwood | stephenfin: what's the reasoning behind flagging support based *any* machine type indicating support and not the default or requested machine type? | 17:45 |
lyarwood | stephenfin: I guess they all support UEFI and secure boot for x86_64 | 17:45 |
lyarwood | stephenfin: but couldn't that cause issues on other arches if it isn't the case | 17:46 |
openstackgerrit | Sylvain Bauza proposed openstack/nova master: WIP: Bump the Compute RPC API to version 6.0 https://review.opendev.org/c/openstack/nova/+/761452 | 17:50 |
bauzas | dansmith: hopefully this latest rev should fix all the func/unit tests $ | 17:50 |
bauzas | ^ | 17:50 |
bauzas | now, I need to see what tempest and grenade tell me | 17:51 |
*** songwenping_ has joined #openstack-nova | 17:52 | |
*** MrClayPole_ has quit IRC | 17:53 | |
*** MrClayPole has joined #openstack-nova | 17:53 | |
*** swp20 has quit IRC | 17:54 | |
*** mlavalle has joined #openstack-nova | 17:58 | |
*** derekh has quit IRC | 18:01 | |
*** ralonsoh has quit IRC | 18:08 | |
dansmith | bauzas: ack cool, will circle back later to see how zuul has judged you :P | 18:11 |
sean-k-mooney | fyi ptg dates are April 19-23, 2021 | 18:11 |
sean-k-mooney | gibi: i assume you will create a poll for times and such at some point but the foundation just annouched that and registrations aree now open | 18:12 |
bauzas | a bit sad to have again a virtual DFG instead of a face-to-face :( | 18:15 |
sean-k-mooney | well in that time frame realsiticlaly vactiontion wont be to the point that people could attend | 18:16 |
sean-k-mooney | maybe in november | 18:16 |
sean-k-mooney | or whenever the next one would be. | 18:16 |
*** k_mouza has quit IRC | 18:18 | |
*** k_mouza_ has joined #openstack-nova | 18:18 | |
*** k_mouza_ has quit IRC | 18:19 | |
sean-k-mooney | stephenfin: by the way yes it would be nice if the fixtures were in a sperate module not under the unit or functional test but also yes that is a lot of work | 18:26 |
atmark | Hello, I have 2x NVMes that has same vendor and product id and I want to setup PCI passthrough. How can I separate the two NVMes in the alias? I currently have the following config | 18:30 |
atmark | passthrough_whitelist = {"vendor_id":"1344", "product_id":"51b2"} | 18:30 |
atmark | alias = {"vendor_id":"1344", "product_id":"51b2", "device_type":"type-PCI", "name":"nvme"} | 18:30 |
sean-k-mooney | atmark: technially that is not supported. or rather nova pci passtough is only supported when passing through stateless devices | 18:32 |
sean-k-mooney | NVME ssd are state full | 18:32 |
sean-k-mooney | its technically a security risk to sue them with nvme devices | 18:32 |
sean-k-mooney | since we will not ease the data when the vm is deleted | 18:32 |
sean-k-mooney | atmark: with that said that whitelist and alias should work | 18:33 |
sean-k-mooney | can you explain what you mean by seperate the two in teh whitelist | 18:34 |
sean-k-mooney | are you trying to tag the devices in some way and match the alias to a specific device on the host via that tag | 18:34 |
sean-k-mooney | there is no supported way to do that im affraid | 18:36 |
sean-k-mooney | the schema for the alias is https://github.com/openstack/nova/blob/master/nova/pci/request.py#L64-L97 | 18:36 |
sean-k-mooney | it does not have a way to match on the extra tags you can add in the pci whitelist | 18:36 |
sean-k-mooney | nor can it match on a pci address or similar and that is by design | 18:36 |
sean-k-mooney | the alias is not allowed to be host specific | 18:37 |
atmark | Yup. I want to tag devices that match alias to a specific device on a host. I have these NVMes which has same product and vendor ID | 18:37 |
atmark | IOMMU Group 30 41:00.0 Non-Volatile memory controller [0108]: Micron Technology Inc Device [1344:51b2] (rev 02) | 18:38 |
atmark | IOMMU Group 30 42:00.0 Non-Volatile memory controller [0108]: Micron Technology Inc Device [1344:51b2] (rev 02) | 18:38 |
sean-k-mooney | atmark: ya so we do not supprot that. i can see aded support for matching on the extra tags in teh pci whitelist | 18:38 |
sean-k-mooney | but not specificly based on address | 18:38 |
sean-k-mooney | atmark: the alais has to be the same on all compute nodes and the contolers so we need a layer of indriection | 18:39 |
sean-k-mooney | this would be a new feature unfortunetly and it still would not adress the fact that stateful devices are unsupported both upstream and downstream | 18:39 |
sean-k-mooney | stateful devices can work but there is no tenant isolation | 18:40 |
atmark | Thanks for the info. I will consider other solution then. | 19:00 |
*** stand has joined #openstack-nova | 19:12 | |
*** hamalq has joined #openstack-nova | 19:24 | |
*** belmoreira has joined #openstack-nova | 19:26 | |
openstackgerrit | Merged openstack/nova master: tests: Add 'nova.virt.libvirt.utils.get_arch' stub to fixture https://review.opendev.org/c/openstack/nova/+/774904 | 19:44 |
*** LinPeiWen has quit IRC | 19:44 | |
openstackgerrit | Merged openstack/nova master: tests: Remove unnecessary mock https://review.opendev.org/c/openstack/nova/+/774905 | 19:44 |
*** jawad_axd has quit IRC | 20:01 | |
*** haleyb has joined #openstack-nova | 20:04 | |
*** jawad_axd has joined #openstack-nova | 20:07 | |
*** jawad_axd has quit IRC | 20:10 | |
*** psycocyst has joined #openstack-nova | 20:15 | |
*** k_mouza has joined #openstack-nova | 20:20 | |
*** k_mouza has quit IRC | 20:25 | |
*** mgagne has joined #openstack-nova | 20:41 | |
*** luksky has quit IRC | 20:46 | |
openstackgerrit | sean mooney proposed openstack/nova master: [WIP] add vdpa nodedev parsing and interface config gen https://review.opendev.org/c/openstack/nova/+/770532 | 20:48 |
openstackgerrit | sean mooney proposed openstack/nova master: extend pci dev_type for vdpa https://review.opendev.org/c/openstack/nova/+/777481 | 20:48 |
openstackgerrit | sean mooney proposed openstack/nova master: [WIP] add vdpa device detection https://review.opendev.org/c/openstack/nova/+/770533 | 20:48 |
*** luksky has joined #openstack-nova | 21:02 | |
*** ihti[m] has joined #openstack-nova | 21:07 | |
*** belmoreira has quit IRC | 21:20 | |
openstackgerrit | Merged openstack/nova master: scheduler: Add 'socket' PCI NUMA affinity policy trait https://review.opendev.org/c/openstack/nova/+/772749 | 21:29 |
openstackgerrit | Sylvain Bauza proposed openstack/nova master: Bump the Compute RPC API to version 6.0 https://review.opendev.org/c/openstack/nova/+/761452 | 21:30 |
bauzas | dansmith: zuul gave me a -1 but I think i fixed the latest issues ^ | 21:32 |
*** spatel has quit IRC | 21:33 | |
*** rcernin has joined #openstack-nova | 21:33 | |
bauzas | just a concern about a grenade multihost job giving me a -1 but when looking at the logs, it's about a timeout | 21:34 |
*** spatel has joined #openstack-nova | 21:34 | |
*** tbachman has quit IRC | 21:36 | |
*** rcernin has quit IRC | 21:54 | |
*** rcernin has joined #openstack-nova | 21:55 | |
*** rcernin has quit IRC | 21:55 | |
*** rcernin has joined #openstack-nova | 21:55 | |
*** psycocyst has quit IRC | 22:03 | |
*** whoami-rajat has quit IRC | 22:07 | |
*** tbachman has joined #openstack-nova | 22:10 | |
openstackgerrit | Lee Yarwood proposed openstack/nova master: nova-manage: Add libvirt update_machine_type command https://review.opendev.org/c/openstack/nova/+/774896 | 22:11 |
openstackgerrit | Lee Yarwood proposed openstack/nova master: nova-manage: Add libvirt list_unset_machine_type command https://review.opendev.org/c/openstack/nova/+/774897 | 22:11 |
openstackgerrit | Lee Yarwood proposed openstack/nova master: nova-status: Add hw_machine_type check for libvirt instances https://review.opendev.org/c/openstack/nova/+/770643 | 22:11 |
openstackgerrit | Lee Yarwood proposed openstack/nova master: libvirt: Add a config update workflow test for [libvirt]hw_machine_type https://review.opendev.org/c/openstack/nova/+/774898 | 22:11 |
openstackgerrit | Lee Yarwood proposed openstack/nova master: docs: Add admin docs for configuring and updating machine types https://review.opendev.org/c/openstack/nova/+/774899 | 22:11 |
*** xek has quit IRC | 22:19 | |
*** grandchild has quit IRC | 22:22 | |
*** tbachman has quit IRC | 22:33 | |
*** rcernin has quit IRC | 22:39 | |
*** luksky has quit IRC | 22:41 | |
*** rcernin has joined #openstack-nova | 22:42 | |
lyarwood | sean-k-mooney: https://zuul.opendev.org/t/openstack/build/ba023003dd21428b95f27a200437dfd8/log/job-output.txt / https://review.opendev.org/c/openstack/os-vif/+/765419/6 ; had a quick look at the os-vif backports, did you plan on fixing the LC job? | 22:42 |
lyarwood | sean-k-mooney: if not I could take a look after M3 | 22:42 |
*** grami[m] has left #openstack-nova | 22:46 | |
*** luksky has joined #openstack-nova | 22:54 | |
*** spatel has quit IRC | 23:00 | |
*** slaweq has quit IRC | 23:07 | |
*** gibi has quit IRC | 23:58 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!