/srv/irclogs.ubuntu.com/2014/09/02/#juju.txt

=== CyberJacob is now known as CyberJacob|Away
=== CyberJacob|Away is now known as CyberJacob
=== html is now known as htmltv
=== urulama-afk is now known as urulama
=== dannf` is now known as dannf
natefinchjcastro, marcoceppi:  man, there is so much missing from the charm writing docs13:57
jcastrolike what?13:57
marcoceppinatefinch: yes, most of the effort was put in the user docs, the author docs are still, lacking13:57
natefinchjcastro: like... what's the format of config.yaml?13:58
jcastroI wasn't being faceitous, just want specifics, etc.13:58
jcastrooh13:58
natefinchjcastro: I'll make a list :)13:58
marcoceppinatefinch: please do!13:59
aisraelExamples using the Python charmhelpers. I think most of the examples use Bash.14:01
natefinchmarcoceppi: but to unblock me - what are the valid values for "type" in config.yaml?  Specifically I have an int and a list of strings (email addresses)14:03
marcoceppinatefinch: no lists14:03
marcoceppiyou get boolean, int, and string14:03
natefinchmarcoceppi: bah14:03
marcoceppinatefinch: you have the power to fix this :)14:04
marcoceppispecifically, I would LOVE an ENUM field type14:04
marcoceppiwhich would produce a drop down in the gui and allow validation outside of the hooks14:04
natefinchmarcoceppi: hmm yeah, that's a little more tricky than just a list....14:05
marcoceppiwell, its completely different than a list14:06
james_w`another I had trouble finding was a list of the environment variables that each hook gets14:06
marcoceppitypically people just do comma and space delimited lists as strings14:06
james_w`turns out I just missed it though: https://juju.ubuntu.com/docs/authors-hook-environment.html14:07
natefinchmarcoceppi: is JUJU_HOOK_NAME always available when hook is running, or only during debug?  Docs seem to indicate only during debug: https://juju.ubuntu.com/docs/authors-hook-environment.html#environment-variables14:09
marcoceppinatefinch: oh, I wasn't aware it was only debug14:09
natefinchmarcoceppi: I don't know, I was asking you :)  I would hope it was just always set.  I can check the code if you don't know14:10
josearosales: hey, do you know if we have a list of currently orphaned charms?14:23
dannfmarcoceppi: advice on whether or not this is a reasonable way to go? if so, i'll propose similar things for other charms. https://code.launchpad.net/~dannf/charms/precise/mediawiki/restrict-ppa-to-precise/+merge/23306214:25
marcoceppidannf: that looks fine to me14:27
=== cmagina_ is now known as cmagina_airport
=== cmagina_airport is now known as cmagina_mobile
arosalesjose: I think we should be able to find those by looking for charms that have a bug that states "maintainer needed"14:36
arosalesjose, but I don't have a readily available list that I could reference atm.14:37
=== hatch__ is now known as hatch
natefinchmarcoceppi: btw, what I'm working on: https://github.com/natefinch/discourse14:46
josearosales: no worries. I will try and make one when possible14:47
marcoceppinatefinch: ah, awesome, using the docker version of the discourse14:47
marcoceppinatefinch: sweet14:47
natefinchmarcoceppi: yep14:47
natefinchmarcoceppi: and written in Go ;)14:47
marcoceppibreakin all the walls!14:48
natefinchmarcoceppi: gotta keep things interesting.. if I don't make at least a few people mad every day, I'm not doing my job ;)14:48
arosalesjose: we have the data from charm world on proof failures, and I think we have a maintainer needed bug. So may just be a matter of quering14:50
josecool!14:50
arosalesjose: btw congrats on your successful application to the ~charmers team :-)14:52
josearosales: thanks! I really look forward to keep working with all you guys :)14:53
bloodearnestIs there a specific reason why "unit-get public-address" returns the private address when there is no public address?16:10
marcoceppibloodearnest: that's what juju assumes is the public address?16:18
marcoceppiwhich cloud?16:18
bloodearnestmarcoceppi: openstack16:20
bloodearnestand local16:20
bloodearnestmarcoceppi: it means I need to compare the address against known private ranges, and even that is a guess16:21
marcoceppibloodearnest: well, local is technically correct16:21
marcoceppithat's the public address.16:21
marcoceppiNot sure about openstack, mihgt need to open a bug about that16:22
bloodearnestmarcoceppi: sure, it makes sense with local16:23
JoshStroblHey lazyPower, got any more good mixes for me to listen to?16:50
=== urulama is now known as urulama-afk
=== utlemming is now known as utlemming_away
=== CyberJacob is now known as CyberJacob|Away
=== CyberJacob|Away is now known as CyberJacob
kwmonroehey folks, default-series is empty in my local env config, and i'm running trusty.  when i charm get mongodb, it pulls from lp:~charmers/charms/precise/mongodb/trunk.  why does it grab from precise?18:00
kwmonroei can get trusty/mongodb if i add the namespace.. just wondering why it doesn't choose trusty by default (on a trusty host)18:00
=== roadmr is now known as roadmr_afk
marcoceppikwmonroe: charm isnt' tied to juju env18:22
marcoceppicharm was created when there was only one default series, which was precise18:23
marcoceppiso in order to support older workflows of just "charm get" it'll remain precise for sometime18:23
kwmonroeah, gotcha marcoceppi.  thanks!18:25
=== roadmr_afk is now known as roadmr
mbruzekHey #juju folks, I have a machine in "pending" because there are no matching tools for precise.20:38
mbruzekagent-state-info: no matching tools available20:38
mbruzekI tried bootstrapping thusly:20:38
mbruzek$ juju bootstrap -v -e local --series precise,trusty --upload-tools20:38
mbruzekAny ideas on what is wrong with my precise agent or how to fix?20:39
mbruzekFrom all-machines.log ERROR juju.provisioner provisioner_task.go:418 cannot find tools for machine "1": no matching tools available20:40
mbruzekI found an old bug that is fix released https://bugs.launchpad.net/juju-core/+bug/130980520:41
mupBug #1309805: LXC / Local provider machines do not boot without default-series <config> <local-provider> <lxc> <juju-core:Fix Released by jose> <https://launchpad.net/bugs/1309805>20:41
mbruzek1.20.6-trusty-amd6420:45
=== _thumper_ is now known as thumper
=== CyberJacob is now known as CyberJacob|Away

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