/srv/irclogs.ubuntu.com/2013/08/13/#juju.txt

bradmanyone know how to create an icon.svg for a charm?00:16
rick_hbradm: check out https://juju.ubuntu.com/docs/authors-charm-icon.html00:16
rick_hbradm: be aware that only icons for reviewed charms show up. Otherwise the category icon will be displayed if it has one.00:17
bradmrick_h: huh, I have to draw something?  that's not going to go well :)00:17
rick_hbradm: hah, yea time to take some designer'y type out for a drink00:18
marcoceppibradm: A template is provided, if a luddite like me can do I think anyone can :)00:19
bradmrick_h: I wonder if there's a way to convert the logo from upstream to a svg file00:19
marcoceppibradm: you can embed a bitmap instead of trying to convert it to SVG00:19
rick_hbradm: yea, best thing is if you can find an svg of the upstream logo, check license on it and all that.00:19
rick_hmarcoceppi: how does that work for the bitmap? We take the icons from 27ishpx to 160px. So pretty wide range for non-vector00:20
marcoceppirick_h: get the largest size bitmap you can find, hope for the best00:20
rick_hmarcoceppi: sorry, was more a 'how well does that work' question00:20
rick_hlol00:20
marcoceppirick_h: liferay and a few others have embeded bitmaps00:20
rick_h"paste and pray" method? :)00:20
rick_hcool, liferay shows up pretty well00:21
bradmok, I might try doing something less than optimal for my first revision, and try and get a better looking logo later00:21
rick_hmarcoceppi: autocomplete in comingsoon :) it's purdy stuff for you and jcastro00:22
bradmnot that my charm is anything major, just a bip client00:23
rick_hbradm: hey, never know when someone else finds it useful00:23
bradmrick_h: yeah, plus it was more for me to learn how charm helpers works, etc00:24
marcoceppirick_h: <333333333300:32
ahasenackadam_g: like     @nose.plugins.attrib.attr('slow') ?01:07
ahasenackadam_g: done01:13
Skepchurnhttp://mrkinnikumike.blogspot.com/02:36
=== CyberJacob|Away is now known as CyberJacob
melmoth_with 1.12.0-raring-amd64  "juju debug-hooks" tells me there is no such command.. I dont see debug-hooks neither in "juju help commands"06:04
jam1melmoth_: it is new in 1.13.106:04
=== jam1 is now known as jam
melmoth_ahh.06:05
melmoth_i ll just watch the demo and not try it myself then :) thanks06:05
jammelmoth_: I can point you to where you can get 1.13.1, but if you want to stick with a stable version, its up to you06:06
melmoth_jam i m just playing with it so yep, a 1.13.1 version woul dbe  handy06:06
jammelmoth_: ppa:juju/devel06:07
melmoth_ahhhhh... right, i was using ppa:juju/stable. Thanks !06:07
jamI think we still need to copy the 1.12 and 1.13.1 tools to canonistack let me check06:07
melmoth_i m using local provider right now, as i m having issue deploying charm on canonistack (with juju-core)06:09
jammelmoth_: np, I'm copying the tools now anyway. Also, I think you need 1.13+ to get local provider06:09
jamthumper would know better, but he won't be around for a couple days (still traveling back from Isle of Man)06:09
melmoth_worked with 1.12 (untill i try debug-hooks)06:09
melmoth_jam btw im the guy you replyed to on cloud-list about juju-core on canonistack.I m wondering, if default-image-id is obsolete, how does juju knows wich image to pick when you bootstrap or deploy stuff ?06:16
jammelmoth_: you want the long or short answer?06:17
melmoth_short please :)06:17
melmoth_just enough to understand what i m doing and not ending up firing up an image i dont want06:17
jamthere is a catalog, we look it up. We have a keystone entry in canonistack that tells us where the catalog lives.06:17
jamwe map from "precise-amd64" to an instance-id on the cloud.06:18
melmoth_oh, i guess it s the product-streams endpoint06:20
melmoth_jam thanks a lot, i dot know if it s the 1.13 version or the fatc i commented out the obsolete settings, but now i can deploy stuff on canonistack06:24
jammelmoth_: I think it could as easily be canonistack got some more resources freed.06:24
jamour experience has shown that occassionaly canonistack is a bit overloaded06:24
=== tasdomas_afk is now known as tasdomas
=== dosaboy is now known as dosaboy__
=== CyberJacob is now known as CyberJacob|Away
=== defunctzombie is now known as defunctzombie_zz
vilahi there, trying to setup a local juju provider with lxc, 'juju get-environment'  fails with:10:13
vilaerror: error parsing environment "local": no public ssh keys found10:14
vilawhere can I find the juju config documentation ?10:14
vilamgz: ping, may be you know ^10:20
jamvila: juju currently requires you to have ~/.ssh/id_rsa.pub available, so it can set up authorized-keys on the target machines.10:34
jamIt should optionally let you get by without them, but probably just warn that you won't have ssh access.10:34
vilajam: thanks, found authorized-keys-path dusting off my memory, I'm all set on that10:35
vilajam: now, juju get-environment says: error: file "provider-state" not found10:35
vila... which juju bootstrap created ;)10:36
jamvila: I just set up a local env here, and it seems to be working. You did 'juju bootstrap" and it succeeded, right?10:36
vilajam: a bit surprising to not be able to use get-env before bootstrap but I can imagine why10:36
vilajam: well bootstrap ended up with 'error: no reachable servers' :-/10:36
jamvila: get-env is 'read the environment from the server' not from your local configuration.10:37
vilajam: ha ! makes sense then ;)10:37
jamlocal config sets up the initial env, but the source-of-truth is the remote location10:37
vilajam: running saucy, using ppas juju/devel and juju/pkgs, I add to manually install mongodb-server to make bootstrap happy10:42
jamvila: 'apt-get install juju-local' if you want all the things we need for the local provider. In the stable ppa, not sure about devel.10:42
jamppa:juju/stable10:42
jamadds mongodb-server and lxc10:43
jamvila: you don't need them to run juju-the-client, so we didn't want to make them required on the juju-core package itself.10:43
vilajam: that's it !10:44
mgzhm, we still don't have a better error message with the packages missing?10:44
jammgz: looking here: https://launchpad.net/~juju/+archive/stable/+packages it looks like the 'juju-local' package is built from the juju-core package. So there isn't a way to just copy it into ppa:juju/devel, right?10:45
jamWe have to fix up our packaging for devel?10:45
mgzyeah, we can10:45
jammgz: we had one10:45
jamI don't know if it landed in 1.13.110:45
jammgz: https://code.launchpad.net/~axwalk/juju-core/lp1204094-verify-local-prereqs/+merge/17849610:46
ElvoHi, can I have few question regarding juju?11:48
Elvo1) Is it opensource or not?11:49
Elvo2) is it offering stuff like autoscaling and auto-healing in the cloud?11:49
Elvo3) Is it working with Rackspace?11:49
marcoceppiElvo juju is opensource, it doesn't directly offer autoscaling or auto-healing but it is on the roadmap to be addressed (it does do scaling though), it doesn't work with rackspace yet because Rackspace hasn't updated their openstack install. It does however work with Amazon, HPCloud, OpenStack, MAAS, and LXC (local) with more providers coming online soon11:55
marcoceppiElvo: Juju also has a restful API which can be used to implement autoscaling and auto-healing yourself using a tool of your choice11:56
ElvoThanks for answers. Question more - is there or it will be later - Windows client for juju?12:04
hazmatjam, does it only search id_rsa.pub ? any others.. like id_dsa.pub  or other default keys?12:15
hazmatElvo, yes, there will be12:16
jamhazmat: I'm not positive what it needs, just that it needs something, and if you have nothing it complains.12:16
hazmatfrom the src looks like it will accept any of "id_dsa.pub", "id_rsa.pub", "identity.pub"12:17
jamhazmat: I believe you can set it in the environ config directly if you like12:17
jam(set the string)12:17
jamd12:17
hazmatjam, yup, just wanted to double check re other default keys for inspection12:17
jamhazmat: I'm a bit surprised it picks dsa before rsa, TBH. I thought dsa was deprecated.12:18
hazmatjam, what's your criteria for triage importance levels?12:20
jamI guess it is just alphabetical12:20
jamhazmat: so it should be: Critical: block the next release until fixed, High: On the priority queue for the next X months, Everything Else.12:22
jamI may not always get those right12:22
hazmatjam fair enough, was just curious cause its always clear re criteria ie openstack_s3 (high) before provider constraints (ec2-zone, maas-tags ) (low)12:28
hazmater.. not always12:28
jcastroElvo: Juju is written in golang so running on windows is just a matter of compiling it12:31
jcastrowe have not yet done that12:31
jcastrobut we are in progress, you should see Windows and OSX clients fully supported quite soon12:31
marcoceppijamespage: what's the login information for openstack-dashboard once deployed?12:44
jamespagemarcoceppi, it gets it from keystone12:45
jamespagemarcoceppi, and the admin username and password is configured using config in keystone12:45
marcoceppijamespage: So. I just deployed openstack and I have no idea how to log in12:45
marcoceppijamespage: thanks!12:45
jamespagemarcoceppi, you need todo a "juju set keystone admin-password=XXX"12:46
jamespageotherwise is randomly generated :-)12:46
jamespageusname is admin12:46
jamjamespage: it can be hard to guess a randomly generated password :)12:47
jamjamespage: could you "juju get keystone" ? (is there a reason to force it to something new)12:47
jamespagejam: indeed - and as juju was no way of sharing something back to the user ....12:47
jamespagejam: there is no 'config-set' from within a deployed charm12:48
marcoceppijamespage: does the admin-password need to be set prior to deployment?12:49
marcoceppijamespage: because setting it causes config-changed to barf12:49
jamespagemarcoceppi, juju-core?12:49
marcoceppijamespage: yes :( http://paste.ubuntu.com/5981025/12:50
jamespagemarcoceppi, ohyes12:50
* jamespage scrabbles for the patch12:50
marcoceppijamespage: you've got 8 hours before demo :)12:50
jamespagemarcoceppi, http://paste.ubuntu.com/5981028/12:51
jamjamespage: how would you "juju set" on a service you haven't deployed yet? Just run "juju set" before the instance actually starts?12:52
jamespagejam: nope - 'juju deploy --config config.yaml keystone'12:53
jamespagethat injects the configuration at deploy time12:53
marcoceppijamespage: if you want to propose merge, I'll ack and land it12:54
jamespagemarcoceppi, doing so now12:55
marcoceppijamespage: logging in now produces "Unable to retrieve authorized projects."12:55
jamespagemarcoceppi, hmm12:56
jamespagemarcoceppi, https://code.launchpad.net/~james-page/charms/precise/keystone/juju-core-fixes/+merge/17992012:57
jamespagemarcoceppi, it logged you in though right?12:57
jamespagemarcoceppi, and which openstack-origin are you using?12:57
jamespage(more config)12:57
marcoceppijamespage: no, I get that error on the login screen, cloud:precise-grizzly, here's a URL!12:58
marcoceppihttp://15.185.188.159/horizon/auth/login/12:58
marcoceppiadmin123 for the password12:58
* marcoceppi fears no lurkers12:58
jamespagemarcoceppi, hmm - well thats annoying12:58
marcoceppislightly :)12:59
marcoceppilet me know what I can do to get you any additional information12:59
marcoceppiother than this is openstack on openstack12:59
jamespagemarcoceppi, can you pastebi /etc/openstack-dashboard/local_settings.py please13:03
marcoceppijamespage: http://paste.ubuntu.com/5981086/13:04
jamespagemarcoceppi, can you access your deployment using command line tools?13:05
marcoceppijamespage: let me try (using the keystone admin data?)13:06
jamespagemarcoceppi, yes13:06
jamespagemarcoceppi, http://paste.ubuntu.com/5981092/13:07
jamespagesource that as a file and then do 'keystone catalog' and see if it works13:07
=== tasdomas is now known as tasdomas_afk
=== BradCrittenden is now known as bac
=== natefinch is now known as natefinch-lunch
=== natefinch-lunch is now known as natefinch
=== CyberJacob|Away is now known as CyberJacob
=== defunctzombie_zz is now known as defunctzombie
=== tasdomas_afk is now known as tasdomas
=== tasdomas is now known as tasdomas_afk
=== BradCrittenden is now known as bac
=== lifeless_ is now known as lifeless
Beret?19:56
=== CyberJacob is now known as CyberJacob|Away
marcoceppiBeret: Hi, did you have a question?21:31
Beretmarcoceppi, sorry, typed in the wrong window :)21:34
BeretI'm good thanks21:34
marcoceppio/21:38
adam_gwedgwood, am i on crack or did this change / this bug is valid? i keep hitting older code that was looking for Nones. https://bugs.launchpad.net/charm-helpers/+bug/120324123:02
_mup_Bug #1203241: relation_get() on a non-set relation setting does not return None <Charm Helpers:New> <https://launchpad.net/bugs/1203241>23:02
wedgwoodadam_g: I don't remember seeing anything that would have changed that23:03
wedgwoodadam_g: Could be that it's always been that way?23:04
adam_gwedgwood, the helper itself looks like it should be returning None for unset relations23:04
adam_gat least, IIRC23:04
adam_gbut if the the difference in output of relation-get vs config-get is new..23:05
wedgwoodCould be. I'm not sure if that's right though. Does relation-set give a non-zero exit value for un-set keys?23:05
wedgwoodIf not, there's no difference between no value and an empty one23:05
wedgwoodAnd that may be the reason for the inconsistency23:05
adam_gwedgwood, IIRC relation-set will exit non-zero if its arguments are not key=value23:07
wedgwoodthat makes sense. but I mean if I run "relation-get relationname somethinginvalid", do I get an empty string and a 0 exit?23:08
wedgwoodwhat I'm saying is that both config-get and relation-get probably do the same thing. if there's no difference in output between unset and empty, then the implementations may just be inconsistent because it wasn't clear which was correct.23:09
wedgwoodI'm leaning toward an empty string until we can tell the difference.23:09

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