/srv/irclogs.ubuntu.com/2014/10/02/#cloud-init.txt

=== praneshp_ is now known as praneshp
=== harlowja is now known as harlowja_away
harmwanyone aware of issues with efnet?17:01
smoserhaven't been there in probably 10 years ;)17:01
harmwhehe, yea well I 'need' it for some bsd channels17:02
JayFYes17:13
JayFit's a cesspool :)17:13
JayFthat's the main issue I'm aware of with efnet17:13
JayFhehehe17:13
=== harlowja_away is now known as harlowja
harmwhm, interesting17:20
harmwconfigdrive has no MTU support, so it seem17:20
harlowjacould be, does nova/neutron have the ability to set that?17:26
harlowja*or even pass it in?17:26
harmwnope, not that I know off :) dnsmasq does, but thats outside either one17:26
harlowja:)17:26
harlowjahiren_ have u had any luck getting all this going, i think harmw found a vtnet0 thing that u'll probably hit to17:27
hiren_harlowja: fighting other fires :-(17:27
harmwpuh17:27
harmwlame17:27
harlowjastill bash stuff?17:27
hiren_nah. But I punted a lot of things to this week while takig care of bash drama.17:28
hiren_so..17:28
harlowjagotcha17:28
hiren_I want to get back in a day or so if I can. 17:28
hiren_just as an fyi, I am doing things with just libvirt/virsh right now. 17:29
hiren_no openstak involved.17:29
harmwok17:29
hiren_Is is something you guys want me to test17:29
hiren_?17:29
hiren_on yahoo openstack cluster?17:29
harmwalmost :)17:29
hiren_okay.17:29
harlowjahiren_ well u can get the libvirt + config-drive copy working to start17:29
harlowjai think u are doing that, which acts close enough to a openstack cluster to begin with17:30
hiren_"working" is a stong word :-)17:30
harlowjaya, get that 'working' first, then we can graduate u to openstack cluster ;)17:30
harmwhihi17:30
hiren_hah17:30
hiren_fair enough.17:30
harlowja:)17:30
harlowjaharmw i think is using a mini-cluster17:31
harlowjaand finding out how much fun it all is17:31
harlowjahaha17:31
harmwlol17:31
harmw2 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
harmwwhy not use it as cd0?17:31
hiren_thats better? sure.17:32
harlowjahiren_ cloud-init should be finding it/mounting it17:32
hiren_ah17:32
hiren_thats what I wanted to know 17:32
hiren_so17:32
hiren_harlowja: I am at a point now, I need to put clound-inint17:33
hiren_in the image17:33
harlowjai defer to harmw , hopefully he knows that ;)17:33
harmwpkg install bzr17:33
harmwhiren_: are we doing this right now? Since I thought you whre busy :)17:34
harmwelse Ill get some popcorn first17:34
harmw:>17:34
hiren_hah17:34
hiren_true. 17:35
hiren_stupid timezones.17:35
harlowjalol, popcorn17:35
hiren_harmw: will you be around after 12:00 PST, that is 1.5 hrs from now?17:35
harmwoh, I was refering to "hiren_ and the super aweseme cloud-init of joy" :P17:35
hiren_lol17:36
harmwit's 19:30 here17:36
harmwso I have a few more hrs :)17:36
harlowjasleep is for babies17:36
harmwlol17:36
hiren_and for the weak.17:36
hiren_harmw: okay, lets try this now. 17:37
harmwin that case: instal bzr17:37
hiren_where? 17:37
hiren_so17:37
harmwin your vm17:37
harmwpkg install bzr17:37
hiren_after it comes up. okay.17:38
harmwyou've got a dhcp address I asume?17:38
harmwafter it comes up... well, yes17:38
harmw:p17:38
hiren_now are are talking. not really. Let me fix that. 17:38
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 on17:46
hiren_it has virbr017:46
harlowja:)17:46
hiren_harlowja: :-) you know aht I am talking about.17:47
harlowjau'll probably have to get libvirt to setup a nat, since afaik u won't have a real address17:47
harlowja* http://libvirt.org/formatnetwork.html#examplesNAT17:47
harmwwhy bother with xml?17:47
harmwfedora has the boxes interface to manage all this17:48
harmwor virt-manager17:48
harlowjacould try that to17:48
harlowjahiren_ 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:48
harlowjathe real openstack clusters have whole ranges of ips that we can suck from and release...17:49
hiren_okay. I am trying NAT17:49
harlowjanetworking is oh so much fun :(17:49
harlowjalol17:49
hiren_heh17:50
hiren_obviously it didnt work :/17:59
hiren_how should the n/w interface look like inside the vm?17:59
harmwvtnet017:59
harmwI'm asuming you use virtio18: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:00
harmwthats just a network, like a switch18:01
harmwyou also need an adapter, like a nice18:01
harmwnic18:01
harmwfor your vm18:01
hiren_http://pastebin.com/WQQGtaBd - config.xml18:01
hiren_ah18:01
harlowjahiren_ this is where virt-manager might help :)18:03
harmw:p18:03
harlowjai think it manages alot of this18:03
harmwindeed18:03
hiren_is it a pkg I should install on this fedora box?18:04
harmwyum install virt-manager18:04
hiren_k, installing.18:05
hiren_ugh, its just gui?18:15
harlowja:)18:15
harlowjamight have a cli, not sure18:15
harlowjai've not used it so much18:16
harmwyou needed easy, right :P18:16
harlowjaturtles all the way down, it just gets more and more complicated ;)18:17
harlowjathats why i stay away from networking lol18:17
hiren_heh. I needed something that works. :-) 18:17
hiren_so no virt-mgr for me. lets see how else can I get netowkring to work for me.18:18
harlowjakk18:18
harlowjathere are a bunch of instructions online, i thought it would mostly just work, but maybe requires some tweaking18:18
hiren_rigth.18:19
=== zz_gondoi is now known as gondoi
harmwI think I've got this thing sorted now18:30
harmwregarding static networking/configdrive on fbsd18:30
harlowjaharmw what u find?18:30
harlowjaprobably just need to remap ethX to freebsdX18:31
harmwfind? was I looking for something? :P18:31
harmwyup18:31
harlowjau looking for the solution18:31
harlowjahaha18:31
harmwand the ifup was way off as well18:31
harmwhaha18:31
harmwlol18:31
* hiren_ takes off to actual $work. 18:41
hiren_I'll poke at this tonight18:41
hiren_to get n/w working.18:41
harlowjakk18:50
=== gondoi is now known as zz_gondoi
harmwsmoser: I've got just one little patch remaining 20:04
harmwhttp://dpaste.com/27KPCX220:04
harmwaw crap, I see vim put in a tab :|20:04
smoserwe've got a lot of networking things to do in the next 6 months.20:05
harmwyea whatever, just apply&commit this :>20:06
harmwor should I properly branch and such?20:07
smoseri'll pull it20:14
harmwsweeeeeet20:14
harmwand please change that TAB :)20:15
smoserharm type a commit message20:20
harmwfix: Make sure to use the proper virtio FreeBSD network interface name.20:21
harmwthat'll do20:21
harlowjaharmw send me 100$20:23
harmwit doesn't work that way harlowja 20:23
* harlowja waiting...20:23
harlowjadamn it20:23
harlowjaha20:23
harmwonly smoser has such powers20:23
harlowja:(20:23
smoserthese are not the droids you're looking for ?20:30
harmw:p20:32
harmwsmoser: are there critical bugfixes needed before officially throwing out 0.7.6?20:37
smoserwell, other than some bozo, not mentining any names harmw, broke 'make test' with his suggested patch.20:39
harmwbozo.. hm, that'll probably be that same guy who'd last broke something20:39
smoserhttp://paste.ubuntu.com/8481544/20:40
harmwah20:40
harmwhehe20:40
harmwso I expect after changing lines 226 and 227 to read vtnet instead of eth that'll be fixed :p20:42
harmw(lines in the netconfig test)20:43
smoserpushed.20:46
harmwwhy are there so many non-related lines changed?20:47
harmwbecause of make tests or something?20:47
harmw(pylint and such)20:48
harmwhiren_: you should checkout trunk for your tests, and test it :)20:48
harmwhm, I should've just branched.. now I don't get no points!20:49
=== zz_gondoi is now known as gondoi
hiren_harmw: I'll have to start n/w firtst right? to get bzr installed21:36
=== gondoi is now known as zz_gondoi

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!