Earlier  
Posted Nick Remark
#openstack-nova - 2018-10-05
16:38:41 spatel did you every run that kind of test?
16:38:59 spatel i would like to know if you did and what config you configure
16:39:13 spatel I will run same experiment on my LAB and try come combination
16:39:33 spatel that was great if it work
16:39:42 sean-k-mooney i have never used Qlogic NIC but i have created bonds with intel nics in active failover mode
16:39:47 spatel s/was/would be/
16:40:06 spatel did you configure with SR-IOV ?
16:40:24 spatel i meant SR-IOV + Mgmt (in bonding)
16:40:47 spatel I think i understand what you trying to explain.. i will give it a try..
16:41:13 spatel i wish if you can create bonding between two VF :)
16:41:17 sean-k-mooney that is a good questiong the host had both sriov and a manament bound but i cant remeber if the manament bound was using the pf that had the sriov vf allocated from it
16:42:01 spatel i remember last time when i try to did that i got interface error (BPDU guard disable my nic)
16:42:10 sean-k-mooney i think i had 10G nic for tenat data/vfs 1 1G nic and a second 10G nic bonded for manament and ceph traffic
16:42:33 spatel oh!! you have PF level isolation
16:42:57 spatel I have plan in future to install 1G nic for Mgmt traffic but not this year
16:43:10 sean-k-mooney spatel: yes i did in that case but im tring to remeber if i tried to create a bound with the pf used for the VFs
16:44:05 spatel hmm! worth running some test :)
16:44:12 sean-k-mooney spatel: see the thng was will i had vm using VFs allocated form the PF named eth1 i also added eth1 to ovs
16:44:30 spatel hmm!!
16:44:47 sean-k-mooney so i think that is why i did not add it to the storage/manament bond
16:44:56 sean-k-mooney e.g. ovs was using the PF
16:45:27 spatel i will try if i can setup bonding with PF then it would be great
16:45:54 spatel i can protect mgmt traffic but still i will loose dataplan
16:46:18 sean-k-mooney anyway my 1st concern with https://ibb.co/j9kgUK would be that while the datapane woudl remain up on half the node that same half would no lonbger be manageable
16:47:41 sean-k-mooney personally if i could not have a ha manament plane i would put the manament and datapane for my hosts to the same TOR
16:48:42 spatel hmm! ok that also make sense
16:48:48 sean-k-mooney provide you deploy your app to both TORs you will still have half your applications service coustomers but you wil be able to also mange those hosts
16:48:53 spatel data + mgmt on same TOR
16:49:27 spatel If we loose mgmt for few hour i don't think its going to be a big deal..
16:49:54 spatel these compute nodes are going to run only 1 or 2 instance ( because they are CPU hungry )
16:50:17 sean-k-mooney well it depens on your useage model. with the split deployemnt you were goning tohave that anyway right since you did not have manamnet ha
16:50:38 spatel Here i am just trying to minimize failure (50%)
16:51:15 spatel i have good remote hand in datacenter and they will replace TOR within 1 hour :)
16:51:59 openstackgerrit Stephen Finucane proposed openstack/nova master: Fix nits in choices documentation https://review.openstack.org/608310
16:52:06 finucannot fried_rice: ^
16:52:06 spatel my main question was if i split server between two AZ then how i can automate instance build so they spread our between A
16:52:08 spatel AZ
16:52:56 sean-k-mooney :) well just one other note. if you do end up with ovs-dpdk instead of sriov in that case you would be better just bonding eno1 and eno2 and then using ovs to deivde up the bandwith betwwen manament and teant use.
16:53:17 sean-k-mooney am waht you are asking for is how can i express an antiafinity policy
16:53:25 spatel currently i have script which i manually specify vm-1 go to AZ-1 and vm-2 go to AZ-2 (I am doing by hand )
16:54:07 sean-k-mooney SteelyDan: ^ we do not have a way to do AZ anti afinity with server groups correct
16:54:14 spatel DPDK is next month todo list :)
16:54:50 SteelyDan sean-k-mooney: I don't even understand those words
16:55:28 spatel I am reading this line from one of openstack doc: The Nova scheduler provides filters that you can use to ensure that OpenStack instances are automatically placed on the same host (affinity) or separate hosts (anti-affinity).
16:55:38 sean-k-mooney SteelyDan: spatel is trying to desing a layout that will allow https://ibb.co/j9kgUK one of the two tors to fail and have openstack loadbalnce vms across them
16:55:58 SteelyDan spatel: that sentence means you can say "put this instance on the same host as this other instance"
16:56:51 spatel e.g - if i tell openstack build 50 instance then it will load 25 on TOR1 server and 25 in TOR2 server
16:57:35 SteelyDan spatel: the doc line you quoted above is purely about affinity between instances, not about affinity or load balancing between two hosts
16:57:47 SteelyDan I don't think we have any way to do that with the existing set of filters, no.
16:57:52 spatel oh!
16:57:56 sean-k-mooney SteelyDan: we had been discussing using AZ to model the network falut domain(TOR)
16:58:42 sean-k-mooney spatel: you might be able to do this with heat. on top of nova
16:59:10 sean-k-mooney spatel: there is one other way to do it which is to use neutron physnets
16:59:15 SteelyDan sean-k-mooney: if nova can't represent this, I'm not sure how you could get heat to do it for you
16:59:56 spatel hmm! i think time to exploration
16:59:58 sean-k-mooney SteelyDan: i was specalting that you may be able to tell heat to spit this request between AZ a and AZ b
17:00:30 SteelyDan obviously if you want to hardcode alternating boxes in the rack to two different AZs and then boot your instances into AZs with your own spread then you can do this
17:00:37 SteelyDan which is all heat could do
17:00:54 SteelyDan but what I mean is, I don't see a way to specify this generically to nova with existing stuff
17:01:05 spatel we can do that by script also right? script will take count and divide them by number of AZ and feed them to nova boot
17:01:14 SteelyDan sure
17:01:35 sean-k-mooney spatel: yep
17:01:55 sean-k-mooney the othere way to model this is via neutron physnets
17:01:58 spatel or write more smart script will will collect data from AZ and then compare which AZ has more room to handle more instance
17:02:18 sean-k-mooney on all the hosts connected to tor1 lable the physnet as top1
17:02:26 sean-k-mooney and on the others tor2
17:02:30 spatel can you explain about neutron physnets?
17:02:44 spatel oh!! i know what you saying
17:03:17 sean-k-mooney when using VLAN or Flat netwroks in neutron they are assocated with a physica network or physnet in neutron
17:03:43 spatel hmm!
17:03:57 sean-k-mooney so if you have 2 networks and 2 physnets you can have one AZ and then booth half your vms with network 1 and half with network 2
17:04:30 sean-k-mooney spatel: that wouls more expcltly model what your actuly doing
17:04:55 spatel never thought about that but look like need to explore, i will try to run some test and see how it work out
17:04:57 sean-k-mooney spatel: it has littel other advanates however over using AZs and still would require your script
17:05:31 spatel i think short term hack is script
17:05:47 spatel but i will go dipper
17:05:51 spatel I think this was really good discussion, let me explore all option and find best fit.
17:06:10 spatel sean-k-mooney: SteelyDan thank you so much for your input..!
17:06:44 sean-k-mooney spatel: sure thing. am fyi while i have ran some devclouds and worked on openstack for quite a while there are also some oepratros in irc that can share there expreicnes
17:07:28 spatel i will find them out soon :)
17:07:29 sean-k-mooney spatel: maybe reach out to mnaser too im sure he can share his experices
17:07:41 spatel this is just beginning i have more to learn
17:08:14 spatel let me write down his name :)
17:08:28 spatel did you work on Octivia LB ?
17:08:30 sean-k-mooney spatel: well if you havent check it out before there is a lot of greate matial on the openstack foundation youtube channel. but if i can help you know where to find me
17:09:12 sean-k-mooney spatel: Octivia no unfortunetly not.
17:09:14 spatel i think i know where to go for any kind of help... (find sean-k-mooney)
17:09:32 spatel no worry i may soon need ELB for cloud
17:09:53 spatel we have lots of F5 but i need ELB so i don't need to worry about capacity
17:10:28 spatel BRB my lunch is ready..
17:16:50 openstackgerrit Mohammed Naser proposed openstack/nova master: DNM: test GPU jobs https://review.openstack.org/608315
17:25:48 openstackgerrit Mohammed Naser proposed openstack/nova master: DNM: test GPU jobs https://review.openstack.org/608315
17:37:56 openstackgerrit Surya Seetharaman proposed openstack/nova master: Refactor scatter-gather utility to return exception objects https://review.openstack.org/607934
17:37:56 openstackgerrit Surya Seetharaman proposed openstack/nova master: Return a minimal construct for nova show when a cell is down https://review.openstack.org/591658
17:37:57 openstackgerrit Surya Seetharaman proposed openstack/nova master: Return a minimal construct for nova service-list when a cell is down https://review.openstack.org/584829
17:37:58 openstackgerrit Surya Seetharaman proposed openstack/nova master: API microversion bump for handling-down-cell https://review.openstack.org/591657
17:56:12 openstackgerrit Mohammed Naser proposed openstack/nova master: DNM: test GPU jobs https://review.openstack.org/608315
18:13:09 Blotis_ Test
18:21:34 Blotis_ Is it possible from withing the CLI to figure out which VM's are currently using a particular group?
18:22:45 Blotis_ if I want to remove a security group that is currently being used by a vm, I have to remove that security group from that instance first...what if I have too many instances? is there a quick solution?

Earlier   Later