/srv/irclogs.ubuntu.com/2013/09/04/#juju.txt

=== defunctzombie is now known as defunctzombie_zz
=== defunctzombie_zz is now known as defunctzombie
melmothwith juju-core, with openstack environment, how can i set a constraints on a flavor when i deploy stuff ?01:44
melmothlooks like i can use mem= to pick at least a given amount of ram (wich will end up with the flavor i want), but i m wondering if there are plan to have a proper flavor constraint.01:52
=== freeflying_away is now known as freeflying
=== freeflying is now known as freeflying_away
raywanghello jamespage03:18
=== tasdomas_afk is now known as tasdomas
=== _mup__ is now known as _mup_
=== defunctzombie is now known as defunctzombie_zz
=== defunctzombie_zz is now known as defunctzombie
=== defunctzombie is now known as defunctzombie_zz
=== CyberJacob is now known as CyberJacob|Away
=== liam_ is now known as Guest751
_mup_Bug #1220625 was filed: juju unset command does not appear in help  <juju:New> <https://launchpad.net/bugs/1220625>10:36
=== wallyworld_ is now known as wallyworld
=== wallyworld is now known as Guest33423
hatchHey all - I'm trying to figure out the syntax and location of relation errors from juju-core, can anyone point me in the right direction?13:00
hatchfwereade_, ^13:02
fwereade_hatch, sorry, expand please? there's no relation-specific error state13:03
fwereade_hatch, if a relation hook fails you shoul dbe able t see which hook failed in status13:03
hatchfwereade_, sure thanks, I am attempting to implement relation errors in the GUI converting from PyJuju to core13:03
hatchbut I can't find where that is returned to the GUI or the format13:04
hatchfrankban, and I searched around the source for a while but came up empty :)13:04
frankbanfwereade_: do you mean the unit's StatusInfo?13:05
fwereade_frankban, hatch, that's what is currently available13:06
hatchfwereade_, so if there is a relation-hook failure will I only get a status "failed: hook-name-goes-here" ?13:09
fwereade_hatch, yeah13:10
hatchdarn...13:11
hatchfwereade_, ok thanks a lot for your help - will have to take a new approach13:11
fwereade_hatch, I'm still in a meeting but I'd like to talk about this in 5 mins if that's ok?13:11
hatchyeah definitely just ping and we can have a hangout - I'm on London time this week13:12
rs0manhi13:22
rs0manwhat happens here?13:23
=== kentb-out is now known as kentb
=== freeflying is now known as freeflying_away
=== defunctzombie_zz is now known as defunctzombie
arosalesWeekly Charm Sync starting in  few minutes.15:58
arosalesG+, if you would like to join us: https://plus.google.com/hangouts/_/94201cea7de4619525241af73102ba009b3d46f7?authuser=0&hl=en15:58
arosalesNotes are at: http://pad.ubuntu.com/7mf2jvKXNa15:59
marcoceppihttp://ubuntuonair.com16:03
mattywjcastro, have I missed the charmers hangout?16:23
evilnickveitchmattyw, still going on16:25
evilnickveitchhttps://plus.google.com/hangouts/_/94201cea7de4619525241af73102ba009b3d46f7?authuser=0&hl=en16:25
mattywevilnickveitch, ok cool, thanks16:25
m_3jcastro: https://bugs.launchpad.net/juju-core/+bug/122081616:44
_mup_Bug #1220816: add bind-home options to local provider <juju-core:New> <https://launchpad.net/bugs/1220816>16:44
marcoceppiarosales: https://jujucharms.com/~marcoceppi/precise/vanilla-HEAD/16:45
marcoceppimattyw: ^16:45
mattywmarcoceppi, thanks16:46
X-warriordoes the configs are available to any hook?16:48
m_3jcastro: hmmmm... `juju deploy --constraints "bind=/home/mmm:/home/ubuntu"` would rock if that would work16:49
m_3X-warrior: yes, when using initial config16:50
m_3X-warrior: the only hook called when you do a `juju set ...` is hooks/config-changed16:50
m_3X-warrior: but any hooks called _after_ that will have the latest set of config16:50
arosalesmattyw, http://pad.ubuntu.com/7mf2jvKXNa16:51
X-warriordoes the set-config safe? I mean, could I randonly generate a password and save using set-config for later use?16:54
marcoceppiX-warrior: you can't set-config from a charm16:55
marcoceppiCharms can't set configuration, only read configuration16:55
X-warriorah ok16:55
marcoceppiX-warrior: if you want to generate a password, just save it to $CHARM_DIR/.password or something16:55
marcoceppiX-warrior: then you could `cat $CHARM_DIR/.password` at a later hook to read it in16:56
marcoceppithen just tell users, if they need the password, where to get it16:56
X-warriorok16:56
X-warrior:D16:56
X-warriorty16:56
jcastrom_3: can you file that home mount as a bug and then CC me the bug #?16:58
arosalesmarcoceppi, jcastro, m_3, evilnickveitch, utlemming: quick internal charm sync16:58
arosalesaround netflix charming16:59
m_3jcastro: in backchannel16:59
m_3jcastro: https://bugs.launchpad.net/juju-core/+bug/122081616:59
_mup_Bug #1220816: add bind-home options to local provider <juju-core:New> <https://launchpad.net/bugs/1220816>16:59
=== CyberJacob|Away is now known as CyberJacob
=== tasdomas is now known as tasdomas_afk
kentbI deployed the juju-gui charm to one of my machines.  It sort of works, but it's really slow to come up and ultimately I get a "Failed to load editorial content" error and I'm missing a lot of icons and no charms show up.  Any ideas on what to check?17:48
sidneibenji: ^ maybe you can help?17:54
* benji reads.17:55
benjikentb: are you running behind a firewall that does egress filtering?17:56
kentbbenji: yep. just found it...pointed to the proxy I needed to get to and all seems to work now.  Thanks!17:58
benjicool17:58
=== defunctzombie is now known as defunctzombie_zz
X-warriormy install hook failed, now I'm using juju resolved --retry service... and it says "error: cannot set resolved mode for unit "redis-test/0": already resolved" but juju status says the opposite. What could be wrong? I'm trying to start some python scripts on install using 'pyhton file.py &'18:24
X-warrioror maybe I should move then to start...18:25
sidneiX-warrior: uhm, i got into that state once but couldn't reproduce it, i wonder if it might be a bug18:42
sidneiX-warrior: can you confirm from the logs that the previous run of install hook exited?18:43
sidneiX-warrior: it might as well be stuck, eg if you apt-get install without DEB_FRONTEND=noninteractive set, waiting for input18:43
X-warriorsidnei, nope... what I did was, execute python script.py (a script that doesn't finish) so it doesn't returned18:44
X-warriorthen I add a & on the end of command18:44
X-warrior(this was inside install hook)18:44
X-warriorand used resolved --retry18:44
X-warriorand then it said it was already resolved...18:44
X-warriorso I destroyed18:44
sarnolddo you need to nohup that thing? or does non-interactive shell do that for you?18:44
X-warriormoved the python command to start hook18:44
X-warriorwith & option18:45
X-warriorand it worked18:45
sidneiX-warrior: ah, indeed. so the hook never finished, when you set resolved it gets recorded as such, but the retry is queued up waiting for the hook to finish.18:45
X-warriorI guess so18:46
X-warriorsarnold, moving it to start hook adding the & param, worked... ssh the machine still shows me the process running so I guess the non-interactive shell does that for me18:47
X-warriorI need to move that service to upstart18:48
X-warriorbut while I don't... I'm just executing the script directly18:48
=== wedgwood is now known as Guest57531
doc_Trying to change my charm repo to a local repo in my environments.yaml file, but juju doesn't seem to pick it up19:52
doc_Is this supported? As documented here: https://juju.ubuntu.com/docs/charms-deploying.html19:52
dalek49doc_: did you make sure to add it under the correct distribution folder name?19:55
doc_dalek49: I have my charms under ./charms/precise/19:57
doc_in my environments.yaml file I have: repositories: - ./charms19:57
doc_and I specify the charm name when I deploy as local:precise/<charm-name>19:58
doc_Am I missing something?20:04
X-warriorlater guys20:07
X-warriorthanks for the help20:07
doc_any idea? Anybody?20:36
marcoceppidoc_: add --repository with the path to the deploy line. not sure if environments. yaml works properly yet. you might also try the absolute path instead of ~/ inn env21:23
marcoceppi.yaml21:23
doc_using it on the command line definitely works, I'd rather have in my environments.yaml file though21:24
doc_I've tried both absolute and relative path in environments.yaml21:24
doc_no go for either21:24
marcoceppidoc_: you'll want to file a bug then21:25
marcoceppilike I said that should work, but I've not tested it21:25
doc_marcoceppi: ok. thanks. do you know if it's documented anywhere besides here: https://juju.ubuntu.com/docs/charms-deploying.html21:26
marcoceppidoc_: nope, not that I know of21:27
=== defunctzombie_zz is now known as defunctzombie
jackweirdyHey guys; me asking more annoying questions again :) I was wondering why juju expects mongo to run on port 37017 when the default is 27017? Is it to stop clashes with another instance that might be running on the same machine?22:01
thumperjackweirdy: almost certainly22:06
jackweirdyAwesome :) juju bootstrap is hanging on my machine, I'm running it with --debug, and the last thing it printed was this:22:15
jackweirdy2013-09-04 22:12:54 INFO juju open.go:69 state: opening state; mongo addresses: ["localhost:37017"]; entity ""22:15
jackweirdyBeen stuck there for a couple of minutes22:15
jackweirdyI killed it earlier, ran destroy-environment and tried again22:15
jackweirdyAny ideas as to what I should poke?22:16
=== Guest33423 is now known as wallyworld
=== wallyworld is now known as Guest52886
jackweirdyIt looks like it's because mongo isn't configured for ssl22:32
jackweirdycould someone dump a part of their mongo.conf ssl settings either here or in a gist so I could compare with mine please? :)22:33
=== freeflying_away is now known as freeflying
jackweirdyMaybe not; this shows up in mongo.log22:43
jackweirdyWed Sep  4 23:39:24 [initandlisten] connection accepted from 127.0.0.1:35616 #1 (1 connection now open)22:43
=== freeflying is now known as freeflying_away
=== CyberJacob is now known as CyberJacob|Away

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