openstackgerrit | lkk proposed openstack/senlin-tempest-plugin master: update status of an action https://review.opendev.org/c/openstack/senlin-tempest-plugin/+/764607 | 07:49 |
---|---|---|
openstackgerrit | lkk proposed openstack/senlin-tempest-plugin master: update status of an action https://review.opendev.org/c/openstack/senlin-tempest-plugin/+/764607 | 07:55 |
openstackgerrit | lkk proposed openstack/senlin-tempest-plugin master: negative cases for update action https://review.opendev.org/c/openstack/senlin-tempest-plugin/+/764609 | 08:09 |
openstackgerrit | lkk proposed openstack/senlin-tempest-plugin master: update status of an action https://review.opendev.org/c/openstack/senlin-tempest-plugin/+/764607 | 08:11 |
openstackgerrit | lkk proposed openstack/senlin-tempest-plugin master: negative cases for update action https://review.opendev.org/c/openstack/senlin-tempest-plugin/+/764609 | 09:35 |
*** spatel has joined #senlin | 15:19 | |
spatel | Quick question, does senlin support instance type SRIOV? | 15:19 |
spatel | SRIOV request creating neutron-port first so not sure if senlin has that feature to spin up/down instance for sriov | 15: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 minutes | 16:22 | |
dtruong | spatel You can specify a port ID in the Senlin profile under network: https://docs.openstack.org/senlin/latest/user/profile_types/nova.html | 16:30 |
spatel | dtruong: how does port id will work? | 16:31 |
spatel | does it going to create neutron port before spin up vm and then attach to vm? | 16:32 |
spatel | I was reading doc and look like in profile we can use heat template which may help in this process. | 16:32 |
dtruong | nevermind, the port ID won't help you in this case. | 16:33 |
dtruong | senlin does create a neutron port for each new VM it creates | 16:33 |
dtruong | how do you create a SRIOV port? | 16:34 |
spatel | dtruong: i think vm creating process create neutron port, senlin just tell them which network to use for vm. | 16:34 |
dtruong | looks like a SRIOV is created by giving it the --binding:vnic_type direct option | 16:36 |
spatel | This is what i do currently in my cloud, i am showing you manual process but actually i am using terraform | 16:36 |
-spatel- openstack port create --network $net_id --vnic-type direct sriov-port | 16:36 | |
-spatel- openstack server create --flavor m1.large --image ubuntu_18.04 --nic port-id=sriov-port sriov-vm-01 | 16:37 | |
spatel | This two step process to spin up sr-iov instances | 16:37 |
spatel | now i want to tell senlin to do that for my auto-scaling. (that is what i am looking for) | 16:38 |
*** __ministry1 has joined #senlin | 16:38 | |
spatel | I 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 |
dtruong | Yea, you can try that | 16:40 |
spatel | i 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 |
spatel | dtruong: thank you for chit-chat :) i know you guys doing wonderful job at blizzard with autoscaling. I have seen your presentation :) | 16:45 |
dtruong | No problem. Thank you for checking out the presentation. | 16:46 |
dtruong | A code change in senlin would be needed to create a port that sets the binding:vnic_type. | 16:46 |
spatel | dtruong: totally but do you think it will be complicated, i don't mind to open a ticket for future request | 16:47 |
dtruong | If 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 |
spatel | dtruong: 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 |
dtruong | No worries. A lot of the patches in Senlin are coming from people who are not full-time developer. | 16:49 |
dtruong | You can always submit a patch set and we'll give you feedback to help you along. | 16:49 |
spatel | dtruong: sure, i will try my best and see how deep i can go. | 16:50 |
spatel | we need to create vnic_type port and then destroy also during scale down. | 16:50 |
dtruong | Senlin already has the functionality to create and destroy ports | 16:51 |
dtruong | It would just need to set the vnic_type so that it becomes a SRIOV port | 16:52 |
dtruong | Right now Senlin always creates a new port and deletes it for every instance. | 16:52 |
spatel | hmm.. | 16:52 |
dtruong | That is all done in here: https://github.com/openstack/senlin/blob/master/senlin/profiles/os/nova/server.py#L727 | 16:53 |
dtruong | The change needed is to set binding:vnic_type here: https://github.com/openstack/senlin/blob/master/senlin/profiles/os/nova/server.py#L751 | 16:54 |
spatel | sounds look pretty easy fix.. right? | 16:55 |
dtruong | You 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#L182 | 16:55 |
dtruong | And then have the profile read that new option and pass down into the port create function. | 16:56 |
spatel | define variable there and use it in profile. | 16:56 |
dtruong | Yea, it's not too complicated. | 16:56 |
spatel | hmm let me try and i will get back to you.. hopefully tomorrow because i need to setup my lab first. | 16:56 |
spatel | This is great if we can make it work :) | 16:57 |
dtruong | Yea, I don't think it would be too difficult. And we always happy to see new contributors to senlin :) | 16:57 |
spatel | I also love to do that possible way. I am going to test this out in lab and sure report back here :) | 16:59 |
spatel | dtruong: do you guys running SR-IOV in your cloud or not? | 16:59 |
dtruong | No, we are not. | 17:00 |
spatel | i 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 IRC | 17:01 | |
*** __ministry1 has joined #senlin | 17:59 | |
*** __ministry1 has quit IRC | 18:22 | |
*** __ministry1 has joined #senlin | 18:23 | |
*** __ministry1 has quit IRC | 18:36 | |
openstackgerrit | Duc Truong proposed openstack/senlin master: Check if config param exists before using it https://review.opendev.org/c/openstack/senlin/+/764819 | 19:40 |
openstackgerrit | Duc Truong proposed openstack/senlin master: Add doc description for stop_timeout_before_update https://review.opendev.org/c/openstack/senlin/+/764820 | 20:07 |
*** spatel has quit IRC | 20: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 minutes | 22:38 | |
openstackgerrit | Merged openstack/senlin master: Perform port update if security group changed https://review.opendev.org/c/openstack/senlin/+/764097 | 22:42 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!