*** annegentle has quit IRC | 00:06 | |
*** annegentle has joined #openstack-opw | 00:32 | |
*** jengeb1 has quit IRC | 02:19 | |
*** annegentle has quit IRC | 04:45 | |
*** annegentle has joined #openstack-opw | 06:46 | |
*** annegentle has quit IRC | 06:50 | |
*** GB21 has joined #openstack-opw | 06:55 | |
*** GB21 has quit IRC | 07:09 | |
*** GB21 has joined #openstack-opw | 07:26 | |
*** GB21 has quit IRC | 07:37 | |
*** GB21 has joined #openstack-opw | 07:40 | |
*** GB21 has quit IRC | 07:56 | |
*** rossella_s has quit IRC | 08:08 | |
*** arushi has joined #openstack-opw | 09:55 | |
*** arushi has left #openstack-opw | 09:57 | |
*** neiljerram has joined #openstack-opw | 10:01 | |
*** njirap has joined #openstack-opw | 10:48 | |
*** neiljerram has quit IRC | 11:01 | |
*** aysyd has joined #openstack-opw | 11:06 | |
*** rossella_s has joined #openstack-opw | 11:07 | |
*** jengeb has joined #openstack-opw | 11:34 | |
*** neiljerram has joined #openstack-opw | 11:55 | |
*** enthurohini has joined #openstack-opw | 11:55 | |
*** julim has joined #openstack-opw | 12:19 | |
*** njirap has quit IRC | 13:31 | |
*** njirap_ has joined #openstack-opw | 13:31 | |
*** njirap_ has quit IRC | 14:07 | |
*** njirap has joined #openstack-opw | 14:07 | |
*** enthurohini has quit IRC | 14:08 | |
*** annegentle has joined #openstack-opw | 14:09 | |
*** lblanchard has joined #openstack-opw | 14:14 | |
*** annegentle has quit IRC | 14:27 | |
*** rossella_s has quit IRC | 14:30 | |
*** rossella_s has joined #openstack-opw | 14:31 | |
*** neiljerram has quit IRC | 14:40 | |
*** neiljerram has joined #openstack-opw | 14:49 | |
*** annegentle has joined #openstack-opw | 15:04 | |
*** annegent_ has joined #openstack-opw | 15:04 | |
*** annegentle has quit IRC | 15:08 | |
*** annegent_ is now known as annegentle | 15:16 | |
psargent | neiljerram: are you there? | 15:19 |
---|---|---|
*** enthurohini has joined #openstack-opw | 15:20 | |
neiljerram | psargent, hi there! | 15:21 |
neiljerram | how are you? | 15:21 |
psargent | hello! doing well. and you? | 15:21 |
psargent | I started looking into how the nova controller assign instances to the compute node. | 15:22 |
psargent | I looked in the n-sch logs | 15:23 |
neiljerram | OK, interesting. That's an area I don't know myself. | 15:24 |
psargent | yes..I was thinking there may be some changes around that area...so wanted to understand | 15:26 |
*** annegentle has quit IRC | 15:26 | |
*** annegentle has joined #openstack-opw | 15:26 | |
neiljerram | I just read your email too - sorry that I haven't already replied to that. | 15:27 |
psargent | I see a call where the nova.scheduler.host_manger updated host state with instances..looking for how it assigns the IP | 15:28 |
neiljerram | OK, it seems like we're getting to the heart of the work now. | 15:29 |
psargent | great..i just wanted to make sure I am on the right track! | 15:29 |
neiljerram | I'm not sure the elements are all clear in my mind - so let's talk through them a bit. | 15:29 |
neiljerram | Yes I believe you are. | 15:29 |
neiljerram | So we want to design and write a new pluggable IPAM driver, that gets an IP allocation request that includes the compute host, and can choose an IP address according to that compute host. | 15:30 |
neiljerram | But at a higher level there's the question of what order things happen in. | 15:31 |
psargent | yes.... | 15:32 |
neiljerram | Specifically, does Nova choose the compute host before Neutron/IPAM decides the IP, or after? | 15:32 |
neiljerram | You might already know that, from the timestamps on the Nova and Neutron logs... | 15:33 |
psargent | yes....I haven't compared the timestamps yet !! But will..I was tracing the calls to gain an understaning of what is happening | 15:34 |
neiljerram | That sounds very useful. | 15:34 |
*** jengeb1 has joined #openstack-opw | 15:35 | |
psargent | ok....I think I am almost there...just wanted to get a high level view | 15:36 |
psargent | of what's going on with the Nova and the compute host | 15:36 |
neiljerram | My guess is that, in the most common way of creating a VM, the IP allocation happens first. But I think that there may be a sequence of command line calls that we can use to make the IP allocation happen later | 15:38 |
*** jengeb has quit IRC | 15:38 | |
psargent | Nova uses a filter scheduler which supports filtering and weighting to make informed decision on where a new instance should be created....http://docs.openstack.org/developer/nova/filter_scheduler.html | 15:39 |
psargent | ok....so IP allocation happens first but can change the sequence | 15:40 |
neiljerram | I'm aware of the filter scheduler, but I don't think we need to involve that yet. | 15:41 |
psargent | ok | 15:41 |
neiljerram | In the overall picture of why someone would want host-dependent IP allocation, the filter scheduler would certainly be relevant - but there's a very useful first step that we can take without it. | 15:42 |
neiljerram | To explain further... the idea is that we want different IP prefixes in different areas of the data center - for example we might want a particular IP prefix for VMs on all the compute hosts that belong to a particular rack in the data center. | 15:43 |
neiljerram | Then there might be a situation where a particular IP prefix was completely used up, and hence the next VM should not be placed on a one of the compute hosts that would use that IP prefix. | 15:44 |
psargent | Ok...I get it | 15:45 |
neiljerram | So that would be a case for using the filter scheduler. | 15:45 |
psargent | ok | 15:46 |
neiljerram | But to begin with, we can just address the problem of: "once Nova has selected so-and-so compute host, what is the right IP prefix that we should use for a VM on that host" | 15:46 |
psargent | ok...i got it...just thinking about it | 15:48 |
neiljerram | So, I _hope_ that there is a way of booting a VM such that the IP allocation can happen after the compute host has been chosen, as follows. | 15:49 |
neiljerram | 1. Create a Neutron port with no IP address (neutron port-create ...) | 15:49 |
neiljerram | 2. Create a VM using that port, including deciding which compute host, but don't actually boot it yet. (nova boot or some other nova command?) | 15:51 |
neiljerram | 3. Now add an IP address to the Neutron port (neutron port-update ...) | 15:53 |
neiljerram | 4. Now tell the VM to boot. | 15:53 |
psargent | ok....got it... | 15:55 |
neiljerram | If that sequence would work, we can then work on an IPAM module that would do what we want in step 3. | 15:55 |
psargent | ok... | 15:57 |
neiljerram | Do you feel like experimenting with that kind of sequence? | 15:58 |
neiljerram | Alternatively, you could ask other developers by writing either to the mailing list or on IRC. | 15:59 |
psargent | Ok I'll check the timestamps to see which comes first IP allocation or selecting the compute node | 15:59 |
psargent | yes...I can check it out | 15:59 |
neiljerram | Yes, definitely good idea to check that first. | 16:00 |
psargent | and then see if the CLI commands will allow this sequence | 16:01 |
psargent | ok..i'll go ahead a get started...thanks !!! | 16:04 |
neiljerram | Have you used CLI commands at all yet in your DevStack system? | 16:04 |
psargent | I tried to use the CLI commands but I ran into an error...I researched the error a bit but couldn't get to work...I've been using horizon | 16:05 |
neiljerram | You'll need to get past that then. | 16:06 |
neiljerram | Normal procedure is that DevStack creates a file named 'openrc' in the same place where you run stack.sh. This file contains credentials that you need for running CLI commands. | 16:07 |
neiljerram | So, once stack.sh has finished, you then do: ". openrc admin admin" | 16:07 |
neiljerram | That puts the credentials into environment variables into the current shell. | 16:08 |
psargent | ok....i'll take a look...from what I remember ...the error was something to do with username... | 16:08 |
neiljerram | And then you can run "nova ..." and "neutron ..." commands. | 16:08 |
psargent | ok | 16:08 |
neiljerram | That sounds like a credentials problem, and should be fixed by using openrc as just described. | 16:08 |
neiljerram | OK, cool. Please do feel free to ping me straightaway if you hit any problems. | 16:09 |
psargent | okk...would I need to unstack and run stack.sh ? | 16:09 |
neiljerram | No, if you've already done stack.sh, the system should already be fine | 16:10 |
psargent | ok | 16:10 |
psargent | i'll check the credentials and then ".openrc admin admin" Thanks! | 16:11 |
neiljerram | Should be a space after "." | 16:12 |
psargent | ok | 16:12 |
neiljerram | Cool, good luck! | 16:12 |
psargent | Thank you !!!! | 16:12 |
*** joyce__ has joined #openstack-opw | 16:17 | |
*** arushi has joined #openstack-opw | 16:28 | |
arushi | Hi people.. If anyone can help me get started... I know python.. Can anyone suggest me a bug to start with? And tell me if there is any other thing that I need to setup before I start contributing to openstack? It will be a great help! | 16:42 |
*** annegentle has quit IRC | 16:46 | |
enthurohini | arushi, first thing, you will need to setup devstack (development version of openstack). link that can help you is http://blog.sayalilunkad.com/posts/Devstack/ | 16:47 |
enthurohini | parallerly, explore openstack components, nd find your interest, to which you want to contribute. | 16:49 |
*** annegentle has joined #openstack-opw | 16:50 | |
enthurohini | After this you can search bug for your interested component on launchpad. simple bugs have tag "low-hanging-fruits". you can start with that. | 16:51 |
*** annegentle has quit IRC | 16:55 | |
*** arushi has quit IRC | 16:55 | |
*** khushbu has joined #openstack-opw | 17:17 | |
*** khushbu has quit IRC | 17:22 | |
*** njirap has quit IRC | 17:50 | |
*** enthurohini has quit IRC | 18:21 | |
*** jengeb1 has quit IRC | 18:26 | |
*** rossella_s has quit IRC | 18:30 | |
*** rossella_s has joined #openstack-opw | 18:31 | |
*** neiljerram has quit IRC | 18:36 | |
*** annegentle has joined #openstack-opw | 18:38 | |
*** jengeb has joined #openstack-opw | 19:48 | |
*** aysyd has quit IRC | 19:59 | |
*** joyce__ has quit IRC | 20:17 | |
*** annegentle has quit IRC | 21:00 | |
*** lblanchard has quit IRC | 22:16 | |
*** rossella_s has quit IRC | 22:31 | |
*** rossella_s has joined #openstack-opw | 22:31 | |
*** annegentle has joined #openstack-opw | 23:10 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!