*** Jeffrey4l has left #senlin | 02:45 | |
*** spatel has joined #senlin | 08:43 | |
*** spatel has quit IRC | 08:47 | |
*** spatel has joined #senlin | 09:44 | |
*** spatel has quit IRC | 09:48 | |
*** spatel has joined #senlin | 13:45 | |
*** spatel has quit IRC | 13:50 | |
*** irclogbot_2 has quit IRC | 15:53 | |
*** irclogbot_0 has joined #senlin | 15:58 | |
*** irclogbot_0 has quit IRC | 16:11 | |
*** irclogbot_2 has joined #senlin | 16:13 | |
*** spatel has joined #senlin | 17:13 | |
spatel | dtruong: hey! I just deployed senlin and found openstack-senlin-health-manager service is missing, is that something we removed in latest release ? | 17:37 |
---|---|---|
dtruong | it should be there | 17:42 |
dtruong | you are using Victoria? | 17:42 |
dtruong | how are you deploying it? | 17:42 |
spatel | sorry it was my issue, my playbook didn't deploy that part because of typo :) | 18:03 |
spatel | its working now | 18:03 |
spatel | I am using openstack-ansible | 18:03 |
spatel | dtruong: openstack cluster create --profile myserver --desired-capacity 2 --min-size 1 --max-size 3 my-asg | 18:19 |
spatel | what the meaning of min-size here ? | 18:19 |
spatel | if desired is 2 then what is the use of min-size? | 18:19 |
dtruong | desired-capacity is the number of nodes to create when creating the cluster | 18:44 |
dtruong | you can think of it as the starting capacity of the cluster | 18:44 |
dtruong | min-size and max-size are enforced when scaling the cluster up or down | 18:44 |
dtruong | this is more important in the autoscaling use case | 18:44 |
spatel | dtruong: make sense | 18:49 |
spatel | thanks | 18:49 |
spatel | dtruong: hey i have started testing SRIOV and make this change to server.py http://paste.openstack.org/show/800599/ | 19:36 |
spatel | I think i need to add that keyvalue here also - https://github.com/openstack/senlin/blob/master/senlin/profiles/os/nova/server.py#L66 | 19:37 |
spatel | I think we need more change to tell vnic-type etc.. | 19:39 |
spatel | trying to wrap my head around this codes | 19:43 |
*** spatel has quit IRC | 20:02 | |
*** spatel has joined #senlin | 20:09 | |
spatel | I made some changes around code and i did pass vnic option but its still creating port "normal" instead of direct | 21:17 |
spatel | http://paste.openstack.org/show/800602/ | 21:17 |
spatel | how does senlin pass information to nova | 21:17 |
spatel | i can see "binding_vnic_type": "direct" in profile but not sure if that is getting pass to nova/neutron | 21:18 |
dtruong | spatel Senlin talks to neutron API using openstacksdk to create the port here: https://github.com/openstack/senlin/blob/6dff71e13f4752c02b5c119d25f3e31a93ade1bf/senlin/profiles/os/nova/server.py#L665 | 22:21 |
spatel | dtruong: i have open this ticket - https://bugs.launchpad.net/senlin/+bug/1906453 | 22:22 |
openstack | Launchpad bug 1906453 in senlin "senlin nova vnic-type support" [Undecided,New] | 22:22 |
dtruong | I think I might have pointed you to the wrong code location yesterday. You have to add the binding:vnic_type in port_attr before the port_create call on line 665 | 22:23 |
spatel | I know its not bug but trying to see what else missing. | 22:23 |
spatel | but whatever changes we made yesterday those changes we need to pass key-value to profile.yml file | 22:26 |
spatel | you are saying i should add that attributes in this block before port create function call - https://github.com/openstack/senlin/blob/6dff71e13f4752c02b5c119d25f3e31a93ade1bf/senlin/profiles/os/nova/server.py#L641 | 22:30 |
spatel | i have added this code before port creation but still no luck - http://paste.openstack.org/show/800603/ | 22:43 |
dtruong | The binding needs to have : instead of _ like this: http://paste.openstack.org/show/800605/ | 22:48 |
dtruong | Also, I hard-coded the value to 'direct' | 22:48 |
dtruong | Test it out like that first to see if it creates the port correctly | 22:49 |
spatel | let me try hold on | 22:49 |
spatel | dtruong: no luck, it still created | binding_vnic_type | normal | 22:51 |
spatel | I gotta go right now but i will try some more hit and try | 23:02 |
spatel | look like something else missing, is there a way i can enable debug option in senlin and see what its passing to neutron | 23:03 |
*** spatel has quit IRC | 23:08 | |
dtruong | sorry, looks like it does have to be an _ | 23:28 |
dtruong | can you try like this: port_attr['binding_vnic_type'] = 'direct' | 23:28 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!