Monday, 2020-11-30

openstackgerritlkk proposed openstack/senlin-tempest-plugin master: update status of an action  https://review.opendev.org/c/openstack/senlin-tempest-plugin/+/76460707:49
openstackgerritlkk proposed openstack/senlin-tempest-plugin master: update status of an action  https://review.opendev.org/c/openstack/senlin-tempest-plugin/+/76460707:55
openstackgerritlkk proposed openstack/senlin-tempest-plugin master: negative cases for update action  https://review.opendev.org/c/openstack/senlin-tempest-plugin/+/76460908:09
openstackgerritlkk proposed openstack/senlin-tempest-plugin master: update status of an action  https://review.opendev.org/c/openstack/senlin-tempest-plugin/+/76460708:11
openstackgerritlkk proposed openstack/senlin-tempest-plugin master: negative cases for update action  https://review.opendev.org/c/openstack/senlin-tempest-plugin/+/76460909:35
*** spatel has joined #senlin15:19
spatelQuick question, does senlin support instance type SRIOV?15:19
spatelSRIOV request creating neutron-port first so not sure if senlin has that feature to spin up/down instance for sriov15:20
-openstackstatus- NOTICE: The Gerrit service on review.opendev.org is being restarted quickly to troubleshoot high load and poor query caching performance, downtime should be less than 5 minutes16:22
dtruongspatel You can specify a port ID in the Senlin profile under network: https://docs.openstack.org/senlin/latest/user/profile_types/nova.html16:30
spateldtruong: how does port id will work?16:31
spateldoes it going to create neutron port before spin up vm and then attach to vm?16:32
spatelI was reading doc and look like in profile we can use heat template which may help in this process.16:32
dtruongnevermind, the port ID won't help you in this case.16:33
dtruongsenlin does create a neutron port for each new VM it creates16:33
dtruonghow do you create a SRIOV port?16:34
spateldtruong: i think vm creating process create neutron port, senlin just tell them which network to use for vm.16:34
dtruonglooks like a SRIOV is created by giving it the --binding:vnic_type direct option16:36
spatelThis is what i do currently in my cloud, i am showing you manual process but actually i am using terraform16:36
-spatel- openstack port create --network $net_id --vnic-type direct sriov-port16:36
-spatel- openstack server create --flavor m1.large --image ubuntu_18.04 --nic port-id=sriov-port sriov-vm-0116:37
spatelThis two step process to spin up sr-iov instances16:37
spatelnow i want to tell senlin to do that for my auto-scaling. (that is what i am looking for)16:38
*** __ministry1 has joined #senlin16:38
spatelI think senlin support heat-template in profile. i think i can create heat to drive that process to spin up sriov-vms, right?16:39
dtruongYea, you can try that16:40
spateli wish senlin can do this process without heat (that would be great), but anyway let me play with heat and see how it goes.16:41
spateldtruong: thank you for chit-chat :)  i know you guys doing wonderful job at blizzard with autoscaling. I have seen your presentation :)16:45
dtruongNo problem.  Thank you for checking out the presentation.16:46
dtruongA code change in senlin would be needed to create a port that sets the binding:vnic_type.16:46
spateldtruong: totally but do you think it will be complicated, i don't mind to open a ticket for future request16:47
dtruongIf you are interested in contributing to senlin, you can submit a patch set that adds support for setting vnic_type in the senlin profile for networks.16:47
spateldtruong: i am not a hardcore developer so it would be new world for me to patch but i can sure play and try.16:48
dtruongNo worries.  A lot of the patches in Senlin are coming from people who are not full-time developer.16:49
dtruongYou can always submit a patch set and we'll give you feedback to help you along.16:49
spateldtruong: sure, i will try my best and see how deep i can go.16:50
spatelwe need to create vnic_type port and then destroy also during scale down.16:50
dtruongSenlin already has the functionality to create and destroy ports16:51
dtruongIt would just need to set the vnic_type so that it becomes a SRIOV port16:52
dtruongRight now Senlin always creates a new port and deletes it for every instance.16:52
spatelhmm..16:52
dtruongThat is all done in here: https://github.com/openstack/senlin/blob/master/senlin/profiles/os/nova/server.py#L72716:53
dtruongThe change needed is to set binding:vnic_type here: https://github.com/openstack/senlin/blob/master/senlin/profiles/os/nova/server.py#L75116:54
spatelsounds look pretty easy fix.. right?16:55
dtruongYou would also need to add a new profile option (e.g. port_binding) here https://github.com/openstack/senlin/blob/master/senlin/profiles/os/nova/server.py#L18216:55
dtruongAnd then have the profile read that new option and pass down into the port create function.16:56
spateldefine variable there and use it in profile.16:56
dtruongYea, it's not too complicated.16:56
spatelhmm let me try and i will get back to you.. hopefully tomorrow because i need to setup my lab first.16:56
spatelThis is great if we can make it work :)16:57
dtruongYea, I don't think it would be too difficult.  And we always happy to see new contributors to senlin :)16:57
spatelI also love to do that possible way. I am going to test this out in lab and sure report back here :)16:59
spateldtruong: do you guys running SR-IOV in your cloud or not?16:59
dtruongNo, we are not.17:00
spateli hate sriov but i am stuck with this. I am testing DPDK in lab to get rid of SR-IOV :)17:00
*** __ministry1 has quit IRC17:01
*** __ministry1 has joined #senlin17:59
*** __ministry1 has quit IRC18:22
*** __ministry1 has joined #senlin18:23
*** __ministry1 has quit IRC18:36
openstackgerritDuc Truong proposed openstack/senlin master: Check if config param exists before using it  https://review.opendev.org/c/openstack/senlin/+/76481919:40
openstackgerritDuc Truong proposed openstack/senlin master: Add doc description for stop_timeout_before_update  https://review.opendev.org/c/openstack/senlin/+/76482020:07
*** spatel has quit IRC20:37
-openstackstatus- NOTICE: The Gerrit service on review.opendev.org is being restarted quickly to make further query caching and Git garbage collection adjustments, downtime should be less than 5 minutes22:38
openstackgerritMerged openstack/senlin master: Perform port update if security group changed  https://review.opendev.org/c/openstack/senlin/+/76409722:42

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