/srv/irclogs.ubuntu.com/2014/05/13/#juju.txt

=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
=== ppetraki_ is now known as ppetraki
=== CyberJacob|Away is now known as CyberJacob
=== vladk|offline is now known as vladk
=== CyberJacob is now known as CyberJacob|Away
=== CyberJacob|Away is now known as CyberJacob
=== vladk is now known as vladk|offline
=== vladk|offline is now known as vladk
vilahi there, is this the right channel to ask about issues accessing az3.clouds.archive.ubuntu.com from a cloud instance ? (As in wget hangs at HTTP request sent, awaiting response)11:24
marcoceppivila: this is as good as any11:58
marcoceppivila: you'll want to probably talk to utlemming but he isn't on yet11:58
vilamarcoceppi: great, thanks for the pointer, this is a weird issue, I can reach archive.ubuntu.com and even some files on az3 but apt-get source is failing12:00
vilaftr:12:01
vilawget http://archive.ubuntu.com/ubuntu/pool/main/a/a52dec/a52dec_0.7.4.orig.tar.gz works12:02
vilawget http://az3.clouds.archive.ubuntu.com/ubuntu/pool/main/libp/libpng/libpng_1.2.46-3ubuntu4.dsc hangs12:02
lazyPoweris there a proxy defined in /etc/apt/apt.conf.d?12:02
vilacrap wrong test, lazyPower let me check12:03
vilabut there shouldn't be any12:03
lazyPoweri ask because my maas provisioned machines occasionally have issues due to that. I haven't tracked down why its an issue but commenting out the apt proxy seems to fix me up.12:03
vilagrep proxy returns no matches in /etc/apt/apt.conf.d12:04
lazyPowerok. it was worth checking :)12:04
vilaindeed, thanks for that ;)12:05
vilawget http://az3.clouds.archive.ubuntu.com/ubuntu/dists/precise/Release works12:06
vilaso the network is correct. Right ? Right ??12:06
vila:)12:06
vilawget http://az3.clouds.archive.ubuntu.com/ubuntu/pool/ hangs, that seems to be the starting point12:12
marcoceppivila: well, wget on an empty directory might be expected results12:13
marcoceppivila: what are you trying to do?12:13
vilawget http://az3.clouds.archive.ubuntu.com/ubuntu/ works though12:13
vilamarcoceppi: apt-get source libpng12:13
vilafrom apt-get source libpng --print-uris I isolated the above12:13
marcoceppiah12:14
vilamarcoceppi: note that wget http://az3.clouds.archive.ubuntu.com/ubuntu/ works12:14
vilaso it could be that this one is special cased but... I'd be more inclined to think something is borked on the servers12:14
marcoceppiright12:14
marcoceppivila: yeah, let me find someone12:15
vilaif I wait long enough, it ends up with ERROR 504: Gateway Time-out.12:15
vilafor all failing urls12:15
gnuoymarcoceppi, hi, I'm writing my first set of amulet tests and was wondering if there are any examples of interrogating the relation sentry that you know of ?13:08
=== BradCrittenden is now known as bac
marcoceppignuoy: we have a few charms that exist with amulet tests13:21
marcoceppignuoy: memcache is one example, lazyPower do you have any others?13:21
gnuoymarcoceppi, I'll take a look at memcache, thanks. (I'm really enjoying working with amulet btw)13:22
marcoceppignuoy: I'm glad to hear that! There's a 1.5.1 with a few more patches landing today, but if you haven't hit the "charm not in source control" 1.5.0 should have what you need13:25
marcoceppignuoy: anything amulet doesn't do that you need it, feel free to let me know!13:25
lazyPowergnuoy, marcoceppi: mongodb, owncloud, apache allura (not merged yet), tomcat13:36
lazyPowerto name a few13:36
gnuoylazyPower, thanks, much appreciated13:37
* lazyPower hattips13:38
vilalazyPower: https embeds an AI ?13:42
lazyPowervila: wat13:55
vilalazyPower: you said hAttIps, I read that as AI in https, was I wrong ?13:56
vila:-D13:56
marcoceppivila: http://i.imgur.com/cEnYB7n.jpg14:03
vilahehe14:03
lazyPowervila: hat tip ;)14:06
vilalazyPower: ;)14:06
vilalazyPower: oh ! http get its own ai too ?? Great !14:07
dypsilonHi everyone, I'm just starting with juju and have a couple of basic questions. The first one would be: is it possible to deploy several services on one unit? So for example I would have one Digital Ocean virtual server and I want to install mongodb and node.js.14:42
tvansteenburghdypsilon: yes, see examples in `juju help deploy`14:52
dypsilontvansteenburgh, thank you14:53
=== roadmr is now known as roadmr_afk
=== jcw4_ is now known as jcw4
didrockshey15:17
lazyPowero/ didrocks15:17
didrocksI have a small question, on jcastro's advice, I'm following https://juju.ubuntu.com/docs/howto-node.html15:17
didrocksI was wondering about the node-app charm to set the right repo15:17
didrocksit's pointing at juju deploy --config myapp.yaml node-app myapp15:17
didrockswith the yaml being:15:17
didrockssample-node:15:17
didrocks  repo: https://github.com/yourapplication15:17
didrockshowever, in the charm itself (http://manage.jujucharms.com/charms/precise/node-app), I see that the config is using app_url15:18
didrocksI'm probably missing one transformation step :)15:18
lazyPowerdidrocks: you discovered a bug in the docs, good catch.15:18
lazyPowerdidrocks: would you mind filing a bug? https://github.com/juju/docs15:19
didrockslazyPower: ah nice, can do, for sure, so the name should be mapping the charm config?15:19
josedidrocks, lazyPower: I can fix it right now15:19
didrocksjose: still want the bug opened?15:20
joseask lazyPower!15:20
lazyPowerdidrocks: when you say name should be mapping the charm config, what do you mean?15:20
didrockslazyPower: options in the yaml config like "repo" should be the one in the charm config options15:20
jcastrothe config is missing on the charm page15:21
jcastroI think the docs are referring to a config option that either doesn't exist, or used to exist and bitrotted15:21
lazyPowerwell, looking at the docs, this is really confusing, a) there is no repo config options, its app_url15:21
didrocksyeah, seems to be app_url15:22
lazyPowerand the name at the top of that config example should reflect the name of the charm15:22
lazyPowereg, if you deploy node-app charm as "hoobadooba", it should read: hoobadooba: app_url: http://myawesomegithub.git15:22
didrocksoh, so not "sample-node" but "node-app"?15:22
lazyPowerright15:22
didrocksah ok :)15:22
lazyPowerit needs some TLC - i'm busy with the Q at the moment but if you file a bug i'll make sure to circle back or another community member can play whack-a-bug with it15:23
didrockssure15:23
lazyPower:)15:23
didrocksopening now with the IRC context15:23
lazyPowerjose: ^ there's my response. <3 ty for offering to take point on it.15:24
joseno prob! :)15:24
josenegronjl: btw, there's still an MP in the branch15:24
negronjljose: sorry about that ... give me the link and I'll review as soon as I can15:25
josenegronjl: https://code.launchpad.net/~jose/charms/precise/seafile/readme-cache-departed/+merge/21717015:25
didrockslazyPower: jose: https://github.com/juju/docs/issues/9415:26
josecool, thanks for reporting!15:26
didrocksyw!15:26
lazyPower+115:27
negronjljose: https://code.launchpad.net/~jose/charms/precise/seafile/readme-cache-departed/+merge/217170 Approved and Merged15:29
josenegronjl: cool, thank you!15:29
josetvansteenburgh: hey! the seafile charm has been fixed now :)15:33
tvansteenburghjose: ack, i'll take a look now!15:34
josethank you!15:34
tvansteenburghjose: link to the seafile MP?15:38
josetvansteenburgh: https://bugs.launchpad.net/charms/+bug/107857515:39
_mup_Bug #1078575: Charm needed : Seafile <Juju Charms Collection:Fix Committed by jose> <https://launchpad.net/bugs/1078575>15:39
tvansteenburghjose: thanks15:39
josenp15:39
=== roadmr_afk is now known as roadmr
Tugthere is something I don't understand in juju charms, where is the hook sequence defined ?15:52
TugI guessed there would be a default sequence like: install > config-changed > start when deploying15:53
Tugbut there are custom events also (like replica_set_relation_joined in mongodb charm) and I don't see what triggers them15:54
lazyPowerTug: The relationship hooks fire in sequence depending on when the relationship is defined16:07
lazyPowerNow, i'm not sure about anything behond that. there may be some sorting algorithm, but the relationships fire as follows16:07
lazyPowerjoined -> changed -> broken -> departed16:08
lazyPowerTug: so the idea is, the replica set hooks only fire when a replica-set relationship is created/destroyed.16:08
TuglazyPower, I see16:09
TuglazyPower, and the name replica-set, is it the peers property in metadata.yaml ?16:10
lazyPowerTug: correct. its a peer relationship.16:11
TuglazyPower, I see, and peer relationships are triggered by add-unit I guess ?16:12
Tug(or remove-unit)16:12
lazyPowerTug: correct. Have a look at the MongoDB cluster bundle. its a series of teh same charm, with different relationship types among them16:13
lazyPowerhttps://jujucharms.com/sidebar/search/?text=mongodb16:13
lazyPowerthat should help conceptualize whats going on implicitly with the mongodb charm, as its fairly complex out of the box with all the capabilities. A single charm can define a config server, a mongos instance, and 3 replicated shards.16:14
lazyPowerin that specific example :)16:14
lazyPowerall through the power and magic of config+relationships.16:14
TuglazyPower, it's clear, thanks :)16:16
lazyPowerhappy to help :)16:16
* lazyPower wanders off for lunch16:16
Tugis there a way to rewrite a config option from inside a hook?16:50
Sebas_hey!16:50
Sebas_hi people :)16:50
TugA "config-set" would be useful no ?16:50
TugHi16:50
niemeyerTug: That's "juju set"17:03
Tugniemeyer, juju set is like export right ?17:04
niemeyerTug: Hm?17:04
josejcastro: to confirm, we're having troubleshooting I on fri at 19 UTC17:06
Tugniemeyer, I'll have a look thx17:07
jcastroyeah17:07
jcastrolet me post17:07
josecool, thanks17:07
niemeyerTug: There's no unit-side tool for setting the configuration17:07
niemeyerTug: If that's what you're looking for17:07
niemeyerTug: Configuration settings are global for all units of a given service, and they are read-only to the unit17:08
niemeyerTug: Which is why there's no config-set analogous to config-get17:08
niemeyerTug: juju set is how you change the settings, from the client side17:08
Sebas_has anyone tested a fresh install of an ubuntu trusty with juju-local ?17:08
Tugniemeyer, ok17:09
lazyPowerSebas_: every day.17:09
Sebas_i did 3 times now17:09
lazyPowerSebas_: what appears to be teh side effect you're seeing? machines not spinning up?17:09
Sebas_lazyPower: I did it 3 times yesterday and today, and the containers, doesn't have the lxcbr interface17:09
Tugniemeyer, juju set will do the job just fine for me ;)17:10
lazyPowerSebas_: is it present on your machine? Thats part of the juju-local package.17:10
Sebas_lazyPower: the problem is that I don't have the bridge into the containers any more17:10
Sebas_in the local machine is it, but, in the container doesn't17:10
josejcastro: no juju troubleshooting I?17:11
lazyPowerhmmm17:11
Sebas_and i don't have any clue what can be that17:11
jcastrojose, no that's after this one, we had to cancel this one due to technical problems17:11
joseI know17:11
lazyPowerSebas_: well LXBR0 is a bridged pseudo device, which should provide the eth0 in the container unless I'm mistaken.17:11
Sebas_hey jcastro! :)17:11
josejcastro: can you confirm with me the date for Juju Troubleshooting I?17:11
Sebas_yes!17:11
josejcastro: and speakers?17:12
Sebas_maybe is the kernel version, i don't know what to try :(17:13
lazyPowerSebas_: I'm not sure what would have changed. My LXC containers still have a proper bridged ethernet device.17:14
lazyPowerhave you modified anything in /etc/lxc?17:14
Sebas_nothing17:14
Sebas_i'm just formating and re installing the machine every time17:14
Sebas_its a dedicated server17:14
jcastroevilnickveitch, I'd like to document juju ssh/scp, where should I put it?17:15
Sebas_i thought that the problem was because is installing with the repositories pointed to a proxy of the company17:15
lazyPowerSebas_: Ping in #juju-dev, if you get no response, open a bug and mail the list about it. Thats my suggested workflow :(17:15
Sebas_but, I replace it before anything17:16
lazyPoweri wish i had better info to give you though... seems... crazy that it just tanked for you.17:16
Sebas_thanks lazyPower17:16
Sebas_:)17:16
jcastroevilnickveitch, same question but for series17:24
jcastrojose, lazyPower and me17:25
joseack17:25
jcastrojose, we can pick one17:25
josejcastro: I had Troubleshooting II on 6/617:25
lazyPowerjcastro: I'm doing Troubleshooting I as well? cool.17:26
lazyPowerthis'll be fun :D17:26
jcastrojose, let's make that troubleshooting I17:26
jcastroand make troubleshooting II the week after17:26
jcastrosound good?17:26
josesame time, same speakers?17:27
josesounds good to me17:27
jcastro6/1317:27
jcastrotroubleshooting will be the entire team17:27
jcastroyou can just put me down as speaker17:27
jcastroI'll emcee17:27
jcastroI'll announce those now, get them out of the way17:28
joseall set now17:28
joseubuntuonair.com/calendar has them17:28
jcastroafter that I want to do local provider17:31
jcastrobut I'll need to sync with thumper on that17:31
josejust let me know and it'll all be set up for you17:32
jcastrosinzui, got a minute to talk docs?17:35
=== vladk is now known as vladk|offline
lazyPowerhey sarnold18:13
sarnoldhey lazyPower :)18:14
lazyPowerdo you have 5 minutes for a quick q&a? I have an idea i want to bounce off of you18:14
sarnoldlazyPower: security team is doing a blueprint mumble right now, maybe in a bit..18:14
lazyPowerack. can you ping me? I'm in a meeting until 3 - but this is hot off the press of my nugget18:14
lazyPowerif i validate this idea, i'd like to draft up a spec.18:14
sarnoldoo :)18:15
Sebas__lazyPower: so the problem is the route18:15
sinzuijcastro, I do have time to talk about docs.18:15
jcastrosinzui, hey so a bunch of the things you mention in the release notes18:16
Sebas__lazyPower: because when i ping to an ip it works, but no domains18:16
jcastroIMO we should also have those in the organized docs18:16
lazyPowerinteresting18:16
jcastrohave you and nick thought about where some of those features live long term?18:16
Sebas__so must be something related to gateway or dns resolving18:16
jcastrofor example, you document series18:16
jcastrobut like, it's not in the structured docs, only the release notes18:16
sinzuijcastro, everything I write in the release notes because howtos or amendments to the stable docs. That is what we did with the release of 1.1818:20
jcastrosinzui, ok, I see some of them are now sections are in the docs, but for example I don't see where series is documented outside of the release notes18:21
jcastrosinzui, this isn't a criticism btw, I was just wondering for discoverability reasons18:21
sinzuijcastro, that is because we didn't change anything about series. really we didn't18:21
sinzuithat is why CI has worked for 7 months18:21
jcastroright, but before I didn't have to care about series18:21
jcastrobut now that 14.04 is out I have to care about series18:22
sinzuiwe just blogged about how we use default-series18:22
sinzuibut local deployments are different, that that is documented18:22
jcastrook18:22
sinzuijcastro, https://juju.ubuntu.com/docs/charms-deploying.html18:22
jcastrojuju set-env "default-series=trusty"18:23
jcastroaha!18:23
jcastroI had missed that18:23
jcastrosinzui, ok so really, there's nothing left to do wrt. docs for 1.18?18:23
sinzuiThe juju devs have not agreed to my proposal to always include default-series with juju init, so we get extra support duties18:23
sinzuino18:23
jcastrodo you have any nagging things you need fixed that I can work on?18:23
sinzuiI have 4 tasks for 1.12.18:24
sinzui1.2018:24
jcastroI have a card to ensure everything from 1.18 that is important be reviewed18:24
sarnoldlazyPower: okay, done :)18:24
sinzuijcastro, check the orange cards in the backlog  https://canonical.leankit.com/Boards/View/14028616#workflow-view18:27
sinzuijcastro We will write the official docs when we know the devs are just fixing bugs in the new features18:28
sinzuijcastro, marcoceppi We are getting close of letting juju-ci do the docs. We have a script, and we have lp creds now. I hope to get docs operational by Monday18:36
marcoceppi\o/ huzzah18:36
jcastroI <3 you18:36
=== BradCrittenden is now known as bac
=== vladk|offline is now known as vladk
=== Sebas_ is now known as _sEBAs_
=== _sEBAs_ is now known as sebas5384
evilnickveitchjcastro, i think scp/ssh needs a new page19:34
evilnickveitchjcastro - as for default-series, it may be best to find all the undocumented config options. I'm sure there are more19:36
evilnickveitchthen we could have an @additional config section19:36
sebas5384im _sEBAs_, lazyPower and jose, just changed my nickname to sebas5384 :)19:49
sebas5384lazyPower i know the problem of resolving dns issue19:50
lazyPowerawesome !19:50
lazyPowerwhat was the prognosis?19:50
sebas5384my dedicated server hadn't the nameservers hehe19:51
sebas5384xD19:51
jcastroblink blink19:52
sebas5384but! the juju-gui still haves the problem with git19:52
jcastrothat's hadoop 2.2 in the review queue?!19:52
joselooks like19:53
lazyPowerjcastro: you know it19:53
joseuh, it's installing hadoop from a gzip in the charm19:54
marcoceppijose: that's fine19:55
joseoh well19:55
lazyPowerjose: its what's called a fat charm19:56
lazyPowerworks in offline environments19:56
josewell, I didn't think of that19:57
asanjarhi there19:57
lazyPowerasanjar: there's some talk about your work19:57
lazyPoweri believe jcastro was taken by awe that it was in the queue already19:58
asanjarjcastro: is always taken away by my handywroks19:58
jcastroI am a fan!19:59
asanjarlol19:59
sebas5384jcastro: fat charm ?20:00
sebas5384the gzip is IN the charm ?20:00
jcastroyes20:00
sebas5384Oo20:00
jcastroso you have like a /files or /payload directory20:00
jcastroin environments where the cloud doesn't have access to the outside world20:00
sebas5384yeah, but I would it use only for template files20:00
sebas5384like configurations files, etc...20:00
sebas5384hmmm jcastro get it...20:01
jcastroit's not just charms, so like if you were doing an offline deployment, you need mirrors, charm mirrors, etc.20:01
jcastrothere are many places where ubuntu server/cloud as a whole falls over when there's no connection to the internet, so we're fixing that20:01
sebas5384hmmm yeah, but in that case, you use mirrors, of course20:02
lazyPowersebas5384: depends on your network policy. Some are *that* locked down20:06
lazyPowerand we as charm authors should cater to the lowest common denominator to ensure we have robust services. There are several charms that clone github - its illogical to assume you will run a github mirror on your network.20:07
lazyPoweryou could include a snapshot point release with the charm and reduce the overhead of running that mirror by adding a few extra lines of code to check for net connectivity, if offline, deploy from payload, otherwise clone from github for -HEAD20:07
sebas5384lazyPower: yeah i know some organizations that like to do that ¬¬20:23
sebas5384lazyPower: now i get it, we have to attend all the enterprise cases20:24
lazyPower*most20:25
lazyPower;)20:25
lazyPowerwho knows sebas5384, the startups we empower today, are the enterprises of tomorrow.20:25
lazyPowers/are/could be/20:25
sebas5384exactly!!20:25
marcoceppisebas5384: jcastro lazyPower there's work in juju-core to make asset management (payloads, etc) way easier. For now this is the workaround20:25
lazyPowermarcoceppi: that blob delivery thing right?20:26
lazyPoweri got like 1% of what that was all about.20:26
marcoceppilazyPower: yeah resources20:26
lazyPowerbut it makes sense.20:26
marcoceppilazyPower: think gitsubmodules for charms20:26
sebas5384but it isn't like a binary closed thing, right?20:26
marcoceppibut not as crazy20:26
lazyPowermarcoceppi: http://cdn.memegenerator.net/instances/500x/45167208.jpg20:27
sebas5384hahaha20:27
marcoceppisebas5384: it's just a way to map resources a charm needs and an asset repository. So if your deployment is behind a firewall you can sync the assets you need to your cloud deployment making "offline" deployments easy20:27
sebas5384lazyPower: i love this one http://i.imgur.com/3CS31.jpg20:28
sebas5384nice marcoceppi20:29
sebas5384:)20:29
sebas5384talking about things, where some talk about comparing juju vs openshift (since both are devops tools)20:30
sebas5384?20:30
sebas5384i talked with openshift commnunity guys here at the FISL #15 the other day20:31
lazyPowersebas5384: as announced today at openstack summit, we have some new stuff coming down the pipeline for running a PAAS20:31
sebas5384oohhh nice20:31
sebas5384lazyPower: can i know what?20:31
sebas5384hehe20:31
lazyPowerhttps://www.youtube.com/watch?v=YsYdIJrJRLQ20:31
lazyPoweryep its public knowledge now20:31
sebas5384because i started a project of a charm factory20:31
sebas5384ohhh nice!20:32
sebas5384i didn't sow that one20:32
lazyPowerit was just aired about 4 hours ago20:32
sebas5384mark is homeless now? hehe20:32
sebas5384niceeeee20:32
sebas5384lazyPower: thank you sooo much20:32
lazyPowervery welcome.20:33
lazyPowerhattip.gif20:33
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== BradCrittenden is now known as bac
=== CyberJacob is now known as CyberJacob|Away
=== vladk is now known as vladk|offline
=== vladk|offline is now known as vladk
=== vladk is now known as vladk|offline

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