/srv/irclogs.ubuntu.com/2012/07/10/#juju.txt

imbrandonblack on black gives me a heart attack, and the silence makes it deadly ...01:08
lifelessbroken theme01:17
lifelesslets see01:17
imbrandonheya lifeless01:19
imbrandonlifeless: ahh u figured it out, someone trip over the wrong cat5 cable ? heh01:44
imbrandonlifeless: i got to looking at the structure of the .app and it occured to me that the same .app could in theory be used for Mac and Linux e.g. the file system layout/api is Whatever.app/Contents/{Resources,MacOS,Linux} etc02:08
imbrandonand the binary actually lived in the OS named subdir02:08
imbrandoni guess there could be a gnustep/nextstep api writen ( or already written for win as well )02:10
lifelessimbrandon: dunno what was up, I just asked IS who fixed ;)02:13
imbrandonugh wtf, so unattended upgrades decided to update the fileserver while i'm midst rsyncing 100gb+ of crap to it and sshd decided it was done for the evening and wasent going to return for the remainder of the show07:00
* imbrandon is glad said fileserver is 2 rooms away07:01
=== zyga is now known as zyga-afk
=== almaisan-away is now known as al-maisan
imbrandonmmm smell of a fresh ubuntu install on my main machine bright and early on a tuesday morning ... gonna be a good week ( i hope )08:52
imbrandonnow just the matter of to upgrade to quantal or stay on precise08:52
imbrandonheh08:52
* imbrandon just found out an old buddy of his quit his ( rather high paying ) job to form a startup and is the infrastructure is managed ( mostly ) with juju on aws, think its time i had a beer with him and see what he's upto :)08:55
imbrandonjamespage: got through all of the video too btw, apart from some audio glitches ( that obviously you had no control over and arent terrible anyhow ) it was an outstanding overview i think, in fact the best "here is juju" all in one place i've seen of the admiditly few juju vids i've watched ( mostly just jcastro at oscon and the UDS ones )09:02
imbrandon:)09:02
=== zyga-afk is now known as zyga
=== al-maisan is now known as almaisan-away
jamespageimbrandon, thanks for the feedback!10:50
imbrandonyou know what ...11:08
imbrandonwe need to marry one ( more than one eventually ) one of the configuration management tools into juju as a first class citizan ...11:09
imbrandonwe keep saying we're not chef etc etc and they can be used inside juju ... so lets do it ...11:10
imbrandonSpamapS m_3 ^11:11
imbrandon( even cloud-init has puppet and capistrano baked in )11:12
imbrandoni mean think about it, what can we do that shows juju can orchstrate not just wordpress but , deployment automation ( cloud-init , preseed , cobbler ) ; config managements tools ( puppet , chef , bcfg2 ) ; and Build Automation ( jenkins/hudson , ant, maven ) as well as make them scale-out , until now we've shown nicely how we can make largely default apt-get software scale out, but what about all these custom tools people use now individually and 11:17
imbrandonmake them first class citizens $somehow and _show_ we're not replacing them we marrying them. I mean we are right ? We would be crazy to reinvent the wheel on some of this stuff11:18
* imbrandon waits for the world to wakeup and get told he's nuts11:27
imbrandon( or "show me the code" )11:27
imbrandonheh11:27
imbrandonheya SpamapS here is a few targets for the generic monitoring interface: http://paste.ubuntu.com/1084350/12:16
* imbrandon quickly raises his hand and says "1 ... 2 ... 3 ... not it !"12:16
imbrandondefault: sample; environment: ; sample: ;     type: openstack12:49
imbrandonconfig: chef-solo12:49
hazmatmgz, just noticed you pushed some revs to the ostack branch, could you lbox propose -cr on it again to update the code review12:53
imbrandonnew rpms's up https://github.com/jujutools/rpm-juju/blob/master/juju-0.5.1-1.noarch.rpm?raw=true12:54
imbrandonmorning hazmat12:55
hazmatimbrandon, greetings12:55
=== almaisan-away is now known as al-maisan
mgzhazmat: will do, need to land one more thing first13:15
=== zyga is now known as zyga-food
imbrandonhazmat / SpamapS  or someone willing to laugh at my python got a moment to tell my why this function does not do what i want14:02
imbrandonhttp://paste.ubuntu.com/1084504/14:02
imbrandoni get 0.014:03
hazmatimbrandon, lack of paths14:03
imbrandonahh kk14:03
hazmatmaybe14:03
imbrandonwell i exe the same thing in the the dir as the py file and it does as expected14:03
imbrandonso the commands them selfs are ok, did not think about paths14:04
mgzwell, it's a little hillarious using os.system('cat ...') rather than open('...').read()14:04
imbrandonmgz: heh give me php, js, ruby, or a hand full of other things i'm ok , python == total newb :)14:05
imbrandonso very very likely14:05
imbrandoni'm sure there are bzr modules i could import as well14:06
imbrandon:)14:07
=== zyga-food is now known as zyga
_mup_Bug #1015207 was filed: juju setup fails, ERROR Invalid SSH key - 12.04 LTS <juju:New> <MAAS:New> <juju (Ubuntu):Confirmed> < https://launchpad.net/bugs/1015207 >14:42
=== al-maisan is now known as almaisan-away
dpb___what should i be looking for if I don't see anymore juju debug-log after 2012-07-10 10:43:36,009 Machine:0: unit.deploy INFO: Started service unit lds-quickstart/216:00
dpb___for lxc/local ^^16:00
=== zyga_ is now known as zyga
=== zyga is now known as zyga-afk
dpb___found logs in my local directory... should be enough to go on for now16:31
=== salgado is now known as salgado-lunch
=== salgado-lunch is now known as salgado
imbrandon07/03/2012 Amazon Web Services charges $2.2417:15
imbrandonman i love bills that small , wish they all were :) heh17:15
tncardosoare all files in the charm directory uploaded to the server being deployed? I want to send along with the charm some auxiliary files (like a default configuration file).17:23
imbrandonyes17:24
imbrandontncardoso: thats pretty common case, like in my charms i create a /templates directory at the top level17:24
imbrandonthen the hooks can read in that file, edit values, and write it back out to where it needs to go17:25
imbrandonetc17:25
tncardosoimbrandon: ok, thanks :)17:25
dpb___anyone seen this one: (in unit.log): Failure: txzookeeper.client.ConnectionTimeoutException: could not connect before timeout18:12
dpb___basically, my instances sits in *pending* forever.18:12
dpb___this is on a lxc environment18:12
SpamapSdpb___: is zookeeper running?18:12
SpamapSdpb___: and do you have any local firewalls that might be blocking connecting to it?18:13
=== zyga-afk is now known as zyga
imbrandonquad core 2.7ghz with 8gb ram and ruby STILL takes forever to compile ...18:17
benjiimbrandon: SSD?18:21
dpb___hmm18:23
imbrandonbenji: no :(18:25
dpb___SpamapS: yes, zookeeper appears to be running18:25
benjiimbrandon: you have my condolences18:25
SpamapSdpb___: and no firewalls?18:26
SpamapSdpb___: like, can you type 'telnet 192.168.122.1 <whatever-port-zk-listens-on>' ?18:26
dpb___this machine does have a public and private interface.  I'm not sure about any firewalls, is there a way I could empirically test?18:26
imbrandonheh, benji its about the only thing i ever wait on it seems, everything else is nice and quick18:26
imbrandon:)18:26
dpb___ok.. let me see.18:26
dpb___clientPortAddress=192.168.122.118:26
dpb___ clientPort=6045718:26
SpamapSdpb___: does teh lxc container actually boot up? You can try ssh'ing to it (you can get the IP from /var/log/syslog as dnsmasq will log it)18:26
dpb___SpamapS: seems I can  telnet 192.168.122.1 6045718:27
benjiyeah, you probably get a lot of benefit from disk caching18:28
SpamapSimbrandon: try compiling with eatmydata18:30
imbrandoni'm due for an upgrade anyhow, def making sure i double the ram and have the ssd primary drive option this time18:30
SpamapSimbrandon: I don't *think* compilers fsync() .. but its worth a try ;)18:30
imbrandonSpamapS: eatmydata ?18:30
SpamapSimbrandon: yes, turns off fsync()18:30
imbrandonahh18:30
imbrandonnice18:30
SpamapSreplaces it with a noop18:30
SpamapSCC="eatmydata gcc"18:31
imbrandon:)18:31
SpamapSdpb___: from your machine, or from the container that was booted?18:31
imbrandonruby-1.9.2-p320 - #extracting ruby-1.9.2-p320 to /usr/share/ruby-rvm/src/ruby-1.9.2-p32018:31
imbrandonruby-1.9.2-p320 - #extracted to /usr/share/ruby-rvm/src/ruby-1.9.2-p32018:31
imbrandonshit sorry18:31
imbrandonruby-1.9.2-p320 - #configuring18:31
imbrandonruby-1.9.2-p320 - #compiling18:31
dpb___SpamapS: I don't know that there is a container.  This is from my machine.18:32
dpb___SpamapS: I do lxc-list and i only see things that are "Stopped"18:32
dpb___SpamapS: ok, I am seeing some dhcp stuff in syslog... let me see If I can get the iP18:33
dpb___SpamapS: So, telnet 192.168.122.1 60561 is not working on the created instance18:48
dpb___SpamapS: I can ping that IP18:48
SpamapSdpb___: check iptables18:55
SpamapSdpb___: ufw does cause problems18:55
dpb___SpamapS: that was it.  Thanks!!19:10
SpamapSdpb___: no problem...19:14
SpamapSjcastro: ^^ perhaps we should add a note to the local provider docs about ufw19:15
jcastrosure19:16
jcastrohrmph, I haven't had a ufw problem with 12.04 and the local provider19:16
jcastrois there a ufw step somewhere that I am missing?19:16
SpamapSnot sure19:17
SpamapSjcastro: I would actually expect ufw to always cause an issue19:18
SpamapSbecause its a remote host hitting an unaccounted for port19:18
=== zyga is now known as zyga-afk
jcastrohttps://juju.ubuntu.com/docs/getting-started.html19:21
jcastrook so in which step are we turning off ufw?19:21
jcastroalso, is it just turning it off or allowing the local stuff?19:21
SpamapSjcastro: I think ideally we'd provide some kind of ufw command to allow the lxc network to access us19:26
SpamapSI don't know ufw well enough to know that, but something like "hey ufw, let 192.168.122.0/24 access us"19:26
jcastroSpamapS: indeed19:46
tncardosois it common to lock on: 2012-07-10 16:33:06,852 Machine:0: unit.deploy INFO: Started service unit serv/0 - what this mean? Where can I find more about the deploy lifecycle?19:46
imbrandonits not locked there, thats means its started19:52
imbrandonno much more to output at that point until another event happens19:52
tncardosoimbrandon: humm, but the debug hook didnt show anything19:56
tncardosoimbrandon: for example, trying to ssh gives the following info:   Waiting for unit to come up19:57
imbrandonhow long ? i've seen it take nearly an hour and half on local provider for the first instance19:59
tncardosoimbrandon: 30 minutes20:03
tncardosoimbrandon: in this step it is downloading the server image?20:03
tncardosoimbrandon: *is it20:03
imbrandonyes20:04
imbrandonamong other things, the first instance to be fired up takes a *long* time sometimes20:04
imbrandongrabbing about 300mb+ of data20:05
imbrandonetc20:05
imbrandonafter that it should be fast20:05
imbrandoneven if you destroy env etc20:05
tncardosoimbrandon: got it.. thanks a lot20:06
tncardoso:)20:06
imbrandonnp20:06
jcastrohttp://engineering.twitter.com/2012/07/caching-with-twemcache.html20:44
jcastrothis could be a cool charm, I've filed a bug on it20:44
jcastroif someone is looking for something to do20:44
=== salgado is now known as salgado-afk
negronjlSpamapS: ping22:12
jimbakerSpamapS, just want to double check that i can merge the reuse-security-groups branch into trunk, now that it's been approved22:18
imbrandonI some opinions / expertise here so i dont go looking like an idiot with this post, as i'm sure its going to draw some attn, what would be the "best" way i can show that juju could be used to orchrastrate db replication ... over wan ... across providers.22:48
imbrandon( this is only a part of the post but still ... )22:48
imbrandonSpamapS: your a DB guy right ? ^^ opinon ?22:49
* imbrandon has a blog post 3/4 written about using juju to create your own PaaS-like envrionment instead of ending up like Pentrest and others on AWS or Heroku 22:53
imbrandonall the goodies from a PaaS , none of the black box :)22:54

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