UbuntuIRC / 2014 /10 /02 /#cloud-init.txt
niansa
Initial commit
4aa5fce
=== praneshp_ is now known as praneshp
=== harlowja is now known as harlowja_away
[17:01] <harmw> anyone aware of issues with efnet?
[17:01] <smoser> haven't been there in probably 10 years ;)
[17:02] <harmw> hehe, yea well I 'need' it for some bsd channels
[17:13] <JayF> Yes
[17:13] <JayF> it's a cesspool :)
[17:13] <JayF> that's the main issue I'm aware of with efnet
[17:13] <JayF> hehehe
=== harlowja_away is now known as harlowja
[17:20] <harmw> hm, interesting
[17:20] <harmw> configdrive has no MTU support, so it seem
[17:26] <harlowja> could be, does nova/neutron have the ability to set that?
[17:26] <harlowja> *or even pass it in?
[17:26] <harmw> nope, not that I know off :) dnsmasq does, but thats outside either one
[17:26] <harlowja> :)
[17:27] <harlowja> hiren_ have u had any luck getting all this going, i think harmw found a vtnet0 thing that u'll probably hit to
[17:27] <hiren_> harlowja: fighting other fires :-(
[17:27] <harmw> puh
[17:27] <harmw> lame
[17:27] <harlowja> still bash stuff?
[17:28] <hiren_> nah. But I punted a lot of things to this week while takig care of bash drama.
[17:28] <hiren_> so..
[17:28] <harlowja> gotcha
[17:28] <hiren_> I want to get back in a day or so if I can.
[17:29] <hiren_> just as an fyi, I am doing things with just libvirt/virsh right now.
[17:29] <hiren_> no openstak involved.
[17:29] <harmw> ok
[17:29] <hiren_> Is is something you guys want me to test
[17:29] <hiren_> ?
[17:29] <hiren_> on yahoo openstack cluster?
[17:29] <harmw> almost :)
[17:29] <hiren_> okay.
[17:29] <harlowja> hiren_ well u can get the libvirt + config-drive copy working to start
[17:30] <harlowja> i think u are doing that, which acts close enough to a openstack cluster to begin with
[17:30] <hiren_> "working" is a stong word :-)
[17:30] <harlowja> ya, get that 'working' first, then we can graduate u to openstack cluster ;)
[17:30] <harmw> hihi
[17:30] <hiren_> hah
[17:30] <hiren_> fair enough.
[17:30] <harlowja> :)
[17:31] <harlowja> harmw i think is using a mini-cluster
[17:31] <harlowja> and finding out how much fun it all is
[17:31] <harlowja> haha
[17:31] <harmw> lol
[17:31] <harmw> 2 nodes :>
[17:31] <hiren_> btw, so when I feed that config drive as 'vdb', and start the VM, I should mount that on the way of bring up, right?
[17:31] <hiren_> <disk type='file' device='disk'>
[17:31] <hiren_> <driver name='qemu' type='qcow2' cache='none'/>
[17:31] <hiren_> <source file='/home/openstack/7.6-YAHOO-20140927.openstack.qcow2'/>
[17:31] <hiren_> <target dev='vda' bus='virtio'/>
[17:31] <hiren_> </disk>
[17:31] <hiren_> <disk type='file' device='disk'>
[17:31] <hiren_> <driver name='qemu' type='raw' cache='none'/>
[17:31] <hiren_> <source file='/home/openstack/configdrive.dsk'/>
[17:31] <hiren_> <target dev='vdb' bus='virtio'/>
[17:31] <hiren_> </disk>
[17:31] <hiren_> for example.
[17:31] <harmw> why not use it as cd0?
[17:32] <hiren_> thats better? sure.
[17:32] <harlowja> hiren_ cloud-init should be finding it/mounting it
[17:32] <hiren_> ah
[17:32] <hiren_> thats what I wanted to know
[17:32] <hiren_> so
[17:33] <hiren_> harlowja: I am at a point now, I need to put clound-inint
[17:33] <hiren_> in the image
[17:33] <harlowja> i defer to harmw , hopefully he knows that ;)
[17:33] <harmw> pkg install bzr
[17:34] <harmw> hiren_: are we doing this right now? Since I thought you whre busy :)
[17:34] <harmw> else Ill get some popcorn first
[17:34] <harmw> :>
[17:34] <hiren_> hah
[17:35] <hiren_> true.
[17:35] <hiren_> stupid timezones.
[17:35] <harlowja> lol, popcorn
[17:35] <hiren_> harmw: will you be around after 12:00 PST, that is 1.5 hrs from now?
[17:35] <harmw> oh, I was refering to "hiren_ and the super aweseme cloud-init of joy" :P
[17:36] <hiren_> lol
[17:36] <harmw> it's 19:30 here
[17:36] <harmw> so I have a few more hrs :)
[17:36] <harlowja> sleep is for babies
[17:36] <harmw> lol
[17:36] <hiren_> and for the weak.
[17:37] <hiren_> harmw: okay, lets try this now.
[17:37] <harmw> in that case: instal bzr
[17:37] <hiren_> where?
[17:37] <hiren_> so
[17:37] <harmw> in your vm
[17:37] <harmw> pkg install bzr
[17:38] <hiren_> after it comes up. okay.
[17:38] <harmw> you've got a dhcp address I asume?
[17:38] <harmw> after it comes up... well, yes
[17:38] <harmw> :p
[17:38] <hiren_> now are are talking. not really. Let me fix that.
[17:46] <hiren_> hum. how do I provide "networking" to the vm from config.xml file?
[17:46] <hiren_> this is a fedora box I am doing this on
[17:46] <hiren_> it has virbr0
[17:46] <harlowja> :)
[17:47] <hiren_> harlowja: :-) you know aht I am talking about.
[17:47] <harlowja> u'll probably have to get libvirt to setup a nat, since afaik u won't have a real address
[17:47] <harlowja> * http://libvirt.org/formatnetwork.html#examplesNAT
[17:47] <harmw> why bother with xml?
[17:48] <harmw> fedora has the boxes interface to manage all this
[17:48] <harmw> or virt-manager
[17:48] <harlowja> could try that to
[17:48] <harlowja> hiren_ although since u are using a box that doesn't have a network that has extra 'ips' for vms, u're likely gonna have to do the NAT approach or try virt-manager (which probably does soemthing similar)
[17:49] <harlowja> the real openstack clusters have whole ranges of ips that we can suck from and release...
[17:49] <hiren_> okay. I am trying NAT
[17:49] <harlowja> networking is oh so much fun :(
[17:49] <harlowja> lol
[17:50] <hiren_> heh
[17:59] <hiren_> obviously it didnt work :/
[17:59] <hiren_> how should the n/w interface look like inside the vm?
[17:59] <harmw> vtnet0
[18:00] <harmw> I'm asuming you use virtio
[18:00] <hiren_> this is what I have in config.xml I am using:
[18:00] <hiren_> <network>
[18:00] <hiren_> <name>default</name>
[18:00] <hiren_> <bridge name="virbr0" />
[18:00] <hiren_> <forward mode="nat"/>
[18:00] <hiren_> <ip address="192.168.122.1" netmask="255.255.255.0">
[18:00] <hiren_> <dhcp>
[18:00] <hiren_> <range start="192.168.122.2" end="192.168.122.254" />
[18:00] <hiren_> </dhcp>
[18:00] <hiren_> </ip>
[18:00] <hiren_> </network>
[18:01] <harmw> thats just a network, like a switch
[18:01] <harmw> you also need an adapter, like a nice
[18:01] <harmw> nic
[18:01] <harmw> for your vm
[18:01] <hiren_> http://pastebin.com/WQQGtaBd - config.xml
[18:01] <hiren_> ah
[18:03] <harlowja> hiren_ this is where virt-manager might help :)
[18:03] <harmw> :p
[18:03] <harlowja> i think it manages alot of this
[18:03] <harmw> indeed
[18:04] <hiren_> is it a pkg I should install on this fedora box?
[18:04] <harmw> yum install virt-manager
[18:05] <hiren_> k, installing.
[18:15] <hiren_> ugh, its just gui?
[18:15] <harlowja> :)
[18:15] <harlowja> might have a cli, not sure
[18:16] <harlowja> i've not used it so much
[18:16] <harmw> you needed easy, right :P
[18:17] <harlowja> turtles all the way down, it just gets more and more complicated ;)
[18:17] <harlowja> thats why i stay away from networking lol
[18:17] <hiren_> heh. I needed something that works. :-)
[18:18] <hiren_> so no virt-mgr for me. lets see how else can I get netowkring to work for me.
[18:18] <harlowja> kk
[18:18] <harlowja> there are a bunch of instructions online, i thought it would mostly just work, but maybe requires some tweaking
[18:19] <hiren_> rigth.
=== zz_gondoi is now known as gondoi
[18:30] <harmw> I think I've got this thing sorted now
[18:30] <harmw> regarding static networking/configdrive on fbsd
[18:30] <harlowja> harmw what u find?
[18:31] <harlowja> probably just need to remap ethX to freebsdX
[18:31] <harmw> find? was I looking for something? :P
[18:31] <harmw> yup
[18:31] <harlowja> u looking for the solution
[18:31] <harlowja> haha
[18:31] <harmw> and the ifup was way off as well
[18:31] <harmw> haha
[18:31] <harmw> lol
[18:41] * hiren_ takes off to actual $work.
[18:41] <hiren_> I'll poke at this tonight
[18:41] <hiren_> to get n/w working.
[18:50] <harlowja> kk
=== gondoi is now known as zz_gondoi
[20:04] <harmw> smoser: I've got just one little patch remaining
[20:04] <harmw> http://dpaste.com/27KPCX2
[20:04] <harmw> aw crap, I see vim put in a tab :|
[20:05] <smoser> we've got a lot of networking things to do in the next 6 months.
[20:06] <harmw> yea whatever, just apply&commit this :>
[20:07] <harmw> or should I properly branch and such?
[20:14] <smoser> i'll pull it
[20:14] <harmw> sweeeeeet
[20:15] <harmw> and please change that TAB :)
[20:20] <smoser> harm type a commit message
[20:21] <harmw> fix: Make sure to use the proper virtio FreeBSD network interface name.
[20:21] <harmw> that'll do
[20:23] <harlowja> harmw send me 100$
[20:23] <harmw> it doesn't work that way harlowja
[20:23] * harlowja waiting...
[20:23] <harlowja> damn it
[20:23] <harlowja> ha
[20:23] <harmw> only smoser has such powers
[20:23] <harlowja> :(
[20:30] <smoser> these are not the droids you're looking for ?
[20:32] <harmw> :p
[20:37] <harmw> smoser: are there critical bugfixes needed before officially throwing out 0.7.6?
[20:39] <smoser> well, other than some bozo, not mentining any names harmw, broke 'make test' with his suggested patch.
[20:39] <harmw> bozo.. hm, that'll probably be that same guy who'd last broke something
[20:40] <smoser> http://paste.ubuntu.com/8481544/
[20:40] <harmw> ah
[20:40] <harmw> hehe
[20:42] <harmw> so I expect after changing lines 226 and 227 to read vtnet instead of eth that'll be fixed :p
[20:43] <harmw> (lines in the netconfig test)
[20:46] <smoser> pushed.
[20:47] <harmw> why are there so many non-related lines changed?
[20:47] <harmw> because of make tests or something?
[20:48] <harmw> (pylint and such)
[20:48] <harmw> hiren_: you should checkout trunk for your tests, and test it :)
[20:49] <harmw> hm, I should've just branched.. now I don't get no points!
=== zz_gondoi is now known as gondoi
[21:36] <hiren_> harmw: I'll have to start n/w firtst right? to get bzr installed
=== gondoi is now known as zz_gondoi