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

harlowjasmoser i've plugged into travis before, worked pretty good for my use-case00:10
harlowjausing it for https://github.com/yahoo/Zake00:11
harlowjapretty easy to hookup https://github.com/yahoo/Zake/blob/master/.travis.yml into it00:11
JayFyeah we used it for github.com/rackerlabs/teeth-agent and github.com/rackerlabs/teeth-overlord before we moved to working on Ironic00:13
harlowjasmoser hmmmm, https://review.openstack.org/#/c/119909/00:26
harlowjahmmmm00:26
harlowjaalessandro why :(00:27
JayFCompetetition is good for your heart00:28
JayFor was that exercise? 00:28
harlowjalol00:33
harlowjaJayF ya ya00:33
harlowjaheart, competietion...00:33
harlowjasleep00:33
harlowjalol00:33
harlowjafood00:33
harlowjaall good for something, ha00:33
=== pquerna_ is now known as pquerna
=== praneshp_ is now known as praneshp
JayFharlowja: I updated https://code.launchpad.net/~jason-oldos/cloud-init/upgrade-configdrive/+merge/232312 in response to your comments; I still have to fix the vendor_data handling to match what smoser wants but I'04:36
JayF*I'll do that first thing in the mornign04:36
harlowja:)04:36
harlowjacool04:36
harlowjaJayF how does smoser want to treat the vd?04:39
=== harlowja is now known as harlowja_away
=== rcj` is now known as rcj
smoserJayF, when you get a chance, could you point me at whatever dock you have of the json netork definition format?13:05
smoserthe only thing i have is at https://review.openstack.org/#/c/85673/13/specs/juno/metadata-service-network-info.rst13:05
smoserhttps://gist.github.com/jayofdoom/b035067523defec7fb53 is all i have right now.13:17
JayFsmoser: There's a blueprint up in Openstack Nova right now, but it's not approved and won't be until K so there is no "official" JSON network format... there's just basically what our automation emits14:45
JayFfor better or worse :/14:45
JayFAll our devices follow a similar network config: two phys interfaces bonded, and vlans on top of the bonded interface14:46
JayFso I don't think we ever documented how it'd look for anything else14:46
smoserright.14:46
smoserthats fine14:46
smoserits 'v1'14:46
JayFyeah so tl;dr: no documentation :)14:47
JayFas I understand it, this is more or less a dump of the information neutron sends to nova 14:48
smoserok. 14:49
smoserdid pquerna sign cla ?14:49
JayFHe has patches in already14:51
JayFso I believe so14:51
JayFI have to leave in a few minutes to get on a bus and head into the city for work :)14:51
JayFthis is what I intend on working on today ... I want to get the vendor_data reading stuff in sans network json today14:52
JayFthen all I'll have is that patch to get network json support in14:52
JayFseem reasonable?14:52
smoserJayF, yeah.14:57
smoserit does14:57
smoseri want to get this stuff in too14:57
pquernasmoser: i've signed the cla previously15:55
smoserpquerna, thanks.15:55
smoseraren't you supposed to be being married right now?15:55
JayFI think he's supposed to be honeymooning right now15:55
JayF:)15:56
pquernai board a flight to FRA in a few hours15:58
JayFNice. 16:03
JayFYou two have fun :) 16:03
harmwcan I use Travis on premises?17:10
harmwJayF: or is it payware if I want to use it for private projects?17:10
JayFon premises is $$$$$17:12
harmwbigtime17:12
JayFthey don't even publish the code iirc, because they basically say the magic is the infra17:12
ndonegan_They seem to publish a lot of code: https://github.com/travis-ci/17:13
ndonegan_Including chef cookbooks for deploying...17:13
JayFThat's apparently changed since I last looked then, nice :)17:13
JayFAlthough afaict using travis-ci without using github is a nonstarter17:13
harmwhmk17:13
harmwah ok, well thats to bad then 17:13
ndonegan_heh, linked from wikipedia from a while back: https://github.com/travis-ci/travis-ci/blob/2ea7620f4be51a345632e355260b22511198ea64/README.textile#we-are-not-done-yet17:14
JayFit really is17:14
JayFI like the github workflow a lot better than any other tool I've used, but I really dislike the number of things that are becoming github only17:14
harmwyea well, I'm using svn and bzr realy17:14
JayFndonegan_: that sounds like what I remember :)17:14
ndonegan_Started using Gerrit internally at work. Can be annoying at time, but the workflow it enforces is handy.17:15
harmwever heard of the OpenSuse buildservice?17:15
JayFGerrit is what I use for Openstack, obviously17:15
harmwthough tht might be restricted to purely building (rpm/deb) packages17:15
JayFnever heard of it17:15
harmwgerrit is nice, yes17:16
harmwanyway, perhaps Jenkins is any good for building all sorts of things17:17
JayFJenkins is what I've used17:18
JayFgenerally speaking managing build systems is terrible17:18
harmwwhy :)17:18
JayFwhich is why my knee-jerk was to suggest the hosted (travisci) service I've used before17:18
JayFheh17:18
harmwhhe17:18
harmwlazy :P17:18
JayFeh, I just come from an ops background and put a very high value on "just works"17:19
harmwah ok17:19
harmwyou know if jenkins can build rpm packages as well?17:21
harmwnext to cloud-init, or even cirros 17:21
JayFOf course :)17:25
JayFJenkins is a fancy bash script runner17:25
JayFamong a shitton of other things17:25
harmwhehe ok17:25
harmw* firing up a centos7 instance17:25
=== harlowja_away is now known as harlowja
harmwarg, when will the multi prefix stuff land in Neutron17:42
harmwI want dualstack :p17:42
smoser"<harmw> yea well, I'm using svn and bzr realy"18:06
smoserharmw, youre not supposed to say thinhgs like that out loud :)18:06
harmwlol wut18:06
harmwI'm not allowed to use both? :P18:07
smoserright jenkins can do just about anything18:07
smoserits really just script runner.18:07
smoserand really that is all travis-ci is too18:07
harmwprobably, yea18:07
harmwdon't you have some c-i stuff to merge or something? :P18:08
smosercirros doesn't seem like it would fit on travis-ci because somewhere i saw a "50 minute time limit"18:08
harmwisn't it fair use?18:08
smoser?18:08
smoseri think its perfectly valid for them to do that.18:08
harmwI thought the plans had fair use on a number of opensource stuff18:09
harmwoh ofcourse18:09
smoserbut cirros will take longer than that to build18:09
harmwright18:09
harmwwell, if jenkins can build cirros18:09
smosermy experience is it takes ~30 seconds per arch.18:09
smoserthe goal i would have would be to have a jenkins that luanched slaves on ec2 or digital ocean18:10
smoseror somewhere 18:10
smoserand then built the things there18:10
smosersucked in the results18:10
smoserand then published the output somewhere18:10
harmwyea18:10
harmwwicked :)18:10
harmwwtf, jenkins comes with svn support and.... cvs18:13
harmwlike, wtf18:13
harmwtime to look into the plugin repository :p18:13
harmwah and it wants me to add bash stuff, per step18:14
JayFyeah lots of plugins18:14
JayFYou can put a whole bash script in any of the steps18:14
harmwyea I'm just looking at that18:14
harmwnice18:14
JayFif it's prefixed with a #!/bin/bash it'll be run with bash, otherwise it runs as /bin/sh18:15
smosertravis-ci is basically the same.18:15
smoserlets you run arbitrary commands18:15
smoserso you could probably abuse their build service by putting *something* on github18:16
smoserand pushing to it every time you needed it to build. and then that something pull from somewhere else inside the build system.18:16
harmwhehe18:16
ndonegan_harmw: We have Jenkins building RPMs, Gems, the hated omnibus pacakges, and even full blown image for use in OpenStakc.18:35
harmwcool18:36
harmwwell that was easy, having Jenkins do a bzr checkout19:04
harmwsmoser: do we have a build script for cirros that I can have Jenkins call?19:09
smoserharmw, ./bin/build-release19:11
smosermostly does it.19:11
harmwok, lets take a look19:12
smoserread doc/create-release.txt19:12
smoserhat is honestly all i do to create something19:12
harmwok19:13
harmwif I make jenkins install stuff through either apt-get or yum, does that intrfere with the os itself or does jenkins use chroots?19:14
smoserjenkins doesn't by itself use chroots.19:14
ndonegan_harmw: It depend on how you set it up.19:14
smoseryou'd have to have something that would do that.19:14
smoseroh. maybe ndonegan_ knows more. maybe there is explicit support for that.19:15
harmwI'm seeing a plugin that does something with regards to chroot19:15
smosermy goal would be to allow me to build anybody's branch19:15
smoserwithout security concerns19:15
harmwndonegan_: please enlighten me :)19:15
ndonegan_For example, I tend to use venv for certain Python projects. For using apt, you'll probably need to look at chroot.19:15
smoserwhich would mean doing it in a throw away VM or instance on a cloud19:15
harmwsmoser: thats a cool idea as well19:16
harmwjust one system that runs the Jenkins master and have that interact with a cloudsystem to spawn additonal worker vm's19:16
ndonegan_harmw: The image building I mentioned is using oz, which just starts up local VMs using libvirtd.19:17
harmw(instead of what I'm currenly after, which is doing it all in just 1 vm)19:17
harmwah, that can be roughly compared to using some decent cloud then :)19:17
ndonegan_Also, it's spectacularly easy to tell jenkins to use alternative build hosts for certain builds.19:18
ndonegan_It's just an ssh account and key, and it sorts the rest itself.19:18
harmwwell that is very nice19:18
ndonegan_However, when it comes down to it, all it's doing is running a few scripts for you.19:19
ndonegan_https://wiki.jenkins-ci.org/display/JENKINS/Distributed+builds#Distributedbuilds-Havemasterlaunchslaveagentviassh19:19
ndonegan_So, if you want to do something like use a chroot, you have to script it the same as if you were doing it on your own shell.19:19
harmwgreat, well thanks :)19:20
harlowjasmoser i just learned how much heat is doing with cloud-init, lol22:07
harlowjascary :-P22:07
harlowjabtw, since i know all u guys care22:08
harlowjahttps://etherpad.openstack.org/p/TaskFlow-0.4 (new release)22:08

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