/srv/irclogs.ubuntu.com/2015/06/03/#juju.txt

=== natefinch-afk is now known as natefinch
marcoceppistokachu: I've seen this, well something similar, before02:40
redelmannhello, im trying to remove a relation between service and subordinate in juju 1.23. It's posible?02:41
redelmannjuju destroy-relation says: ERROR relation "logstash-agent:juju-info ubuntu:juju-info" not found02:43
redelmannbut juju status show a relation02:43
mahmohmarcoceppi: any idea for a fix?02:47
marcoceppiredelmann: can you show your juju status?02:48
marcoceppimahmoh: I'm not sure, but it is likely a proxy issue fwiu02:48
mahmohmarcoceppi: yeah, I agree just unsure what; I think it's in Juju since the deployed node can now download the lxc templates manually as sudo, sudo lxc-create ... and it works fine but fails with juju ... --to lxc:002:49
mahmohmarcoceppi: I'll keep on it02:49
marcoceppimahmoh: have you tried juju retry-provisioning now?02:50
redelmannmarcoceppi, http://paste.ubuntu.com/11533810/02:50
redelmannredelmann, juju status is extra large, so i remove irrelevant parts02:51
mahmohmarcoceppi: no, nothing changed: deployed env w/ lxc, lxc fails in juju, juju ssh # ... sudo lxc-create ... works02:51
redelmannmarcoceppi,  juju status is extra large, so i remove irrelevant parts02:51
marcoceppiwell, logstash doesn't apper to be on ubuntu, which service are you trying to remove it from? juju-gui? fail2ban?02:51
=== X-Rob_ is now known as X-Rob
rick_h_redelmann: all services have a relation with juju-info I believe. Any relation that starts with juju-* isn't exposed to users to modify/mess with02:55
marcoceppioh, duh, you also can't remove subordiantes at this time.02:56
rick_h_redelmann: https://jujucharms.com/docs/devel/authors-implicit-relations02:56
redelmannmarcoceppi, i deploy logstash to machine0.... big mistake02:57
* rick_h_ runs away now02:57
redelmannrick_h_: yes, i read that, i just dont understand why02:58
redelmannok, thank marcoceppi and rick_h_ . Bed time.02:59
redelmanngood bye03:00
=== freeflying__ is now known as freeflying
merkuruswhat does juju mean - literary04:43
blrmerkurus: a juju is a an object of spiritual/magical significance, from west african religions.04:47
blrone too many articles there...04:48
merkurusblr : aah04:56
=== blahdeblah_ is now known as blahdeblah
jamwallyworld: I'm available now, we'll need to keep it pretty quick since I'm at EOD and my son needs some ho13:03
jamhomework help13:03
jamwallyworld: https://plus.google.com/hangouts/_/canonical.com/tanzanite ?13:03
wallyworldok13:03
pmatulisif i want to add-unit will all the parameters of the existing service be used [ such as --constraints (tags) and --config (file) ]?  if so, any way to see that metadata of existing service?14:56
Odd_BlokeI have a place where I'm catching an exception in a charm, I'd like to log about it (ideally including traceback); is there any good way of doing that?15:58
Odd_BlokeI notice that hookenv.log is just a function (i.e. I can't do hookenv.log.exception('...') as with normal Python logging).15:59
marcoceppiOdd_Bloke: you could use the logging library, stdout is captured as DEBUG level output in the juju log for that service16:10
Odd_BlokeAh, shiny.16:13
nodtknjuju add-machine  ssh:root@junor1-1 returns "ERROR error checking if provisioned: subprocess encountered error code 1"17:01
nodtknwith --debug I set that it creates the ubuntu user but then fails when checking to see if machine is already provisioned17:02
marcoceppinodtkn: was this machine at one point provisioned?17:02
nodtknmarcoceppi: maybe, but I don't think so17:03
marcoceppinodtkn: if you log on to that machine, what does `initctl list | grep juju` show?17:03
nodtknmarcoeppi:  It does not show anything.... I asked around and found out that it has been provisioned before17:04
nodtkndo I need to reinstall or is there a easy way to convince it that it is no longer provisioned17:05
=== kadams54_ is now known as kadams54-away
=== kadams54-away is now known as kadams54_
marcoceppinodtkn: you may just need to do some clean up17:19
marcoceppinodtkn: is there a /var/lib/juju directory?17:19
MakyoTrying to deploy a local charm (having successfully deployed it earlier today), and getting "ERROR invalid character 'w' looking for beginning of value" with no further info.  Is there a way to dig into that a bit more? 1.24-beta5-utopic-amd6418:04
marcoceppiMakyo: check metadata.yaml or actions.yaml or config.yaml for typos18:07
nodtknmarcoeppi: /var/lib/juju does not exist18:07
Makyomarcoceppi, Everything looks good.  Like I said, I deployed this morning fine, and now I'm getting that error. bzr diff/stat show no changes.18:09
mbruzekmarcoceppi: Is there a way to wait until a charm has started or juju is idle after a deploy?18:41
marcoceppimbruzek: inside a charm or from cmdline?18:41
mbruzekmarcoceppi from command line18:41
mbruzekjuju deploy ubuntu18:41
marcoceppimbruzek: if you use 1.24, yes18:41
mbruzekwait_until_started18:41
mbruzeklay it on me man18:41
marcoceppidoes it have to be bash? python would be faster18:42
mbruzekpython is fine18:42
mbruzekamulet.Deployment.wait()?18:44
marcoceppimbruzek: no, that's the old way18:53
marcoceppiI've got a better way if you're using 1.2418:53
kwmonroejuju deploy ubuntu && sleep 36000 && do_work18:54
kwmonroeshould be g2g mbruzek18:55
kwmonroehey friends, can i kick off a quickstart deployment, juju switch to another substrate in a new terminal, and kick off another?18:57
marcoceppikwmonroe mbruzek https://gist.github.com/marcoceppi/002ce8122f49a15c015319:03
mbruzekmarcoceppi: my computer froze up just before your answer, I got the link.19:19
mbruzekmarcoceppi: thanks19:20
kwmonroeto answer my own question, yes, yes you can juju switch from another terminal and deploy to multiple substrates.  good on juju!19:28
denverjoelI installed juju-local on ubuntu 14.04.2 LTS. followed the directions on https://jujucharms.com/docs/stable/getting-started. when i get to the part about testing the wordpress / mysql setup, nothing pops up on the browser, or curling on the host machine, or while SSH'd into the juju machine.19:36
denverjoelwhat else can i check to see if something is failing?19:37
kwmonroedenverjoel: try running 'juju debug-log'.  that should show you what the units in your setup are doing.. perhaps still installing packages?19:52
denverjoelkwmonroe: this is my log http://pastebin.com/tR1ws0P819:56
denverjoelit must be the wordpress charm because loading deploying an nginx charm works perfectly fine20:00
denverjoelnow i can access nginx via curl but still not externally.  i have ufw enabled and tried disabled as well.  there are iptables rules in place but all are set to accept.20:06
thumperlazyPower: hey, did you see my email?20:08
kwmonroedenverjoel: try 'juju status' and take a look at the wordpress service.. does it say "started" in that output?  and/or have opened ports in that output?20:14
kwmonroealso denverjoel, what version of juju are you using (juju version)?20:14
BialogsIs there a way to have multiple configurations attached to the same Juju charm?20:22
kwmonroedenverjoel:  double check that you did 'juju expose wordpress'.. juju status should show exposed: true in the output..20:23
kwmonroeBialogs: you can deploy the same charm with different configs, if that's what you're after.. juju deploy --config=<config.yaml> <charm>20:25
denverjoelkwmonroe: it is exposed but no open ports20:28
Bialogskwmonroe: No way to do that in the GUI?20:30
kwmonroeok denverjoel, and navigating to (or curling) the public_address for the wordpress service doesn't get you anything? (perhaps open ports arent listed in your version of juju)20:32
denverjoelkwmonroe: curling inside the machine, outside of it: to localhost and the private IP doesn't yield anything.20:33
lazyPowerBialogs: are you saying have 2 of the asme service stood up with different configurations?20:36
lazyPowerBialogs: if thats the case, you will need to give them sep. service names, eg: juju deploy --config foo.yaml cs:trusty/mediawiki mediawiki-north20:36
lazyPowerand  juju deploy --config bar.yaml cs:trusty/mediawiki mediawiki-south20:37
BialogslazyPower: that's exactly what I'm looking for20:37
lazyPoweror once you've deployed the 2 services, edit the configs in the GUI - the key indicator is same service, different names for the service.20:37
lazyPowerservice representations in juju essentially group the configuration for each unit that comprises the service20:37
lazyPowerso if you scale mediawiki-north, it inherets the config of the service for mw-north, same rule applies for mw-south20:38
denverjoelhow do i go about opening up ports?20:39
kwmonroedenverjoel: juju expose wordpress should have done that for you.  are you doing your deployment locally (lxc)?  or with a cloud provider?20:41
denverjoellocal20:41
kwmonroehmm. in that case, open ports shouldn't even matter as you should be able to access container ports from your host machine willy nilly.20:43
denverjoelim removing wordpress and mysql and re-deploying.20:43
kwmonroeack denverjoel, i'm gonna run through those steps locally too and see if i can repro.20:44
denverjoelkwmonroe: immediately after the wordpress service started i curled and got 502 Bad Gateway. I retried curl and got nothing at all.20:46
denverjoelstrange, that was all without exposing the service. after exposing, i get no response from curl20:50
kwmonroeah, i think i know what's up denverjoel.. curl <private-ip> doesn't return anything because the index of http://<private-ip> just php includes some other stuffs.  so i bet it's working, there's just nothing for curl to see there.. can you try "w3m <private-ip>" or lynx or elinks or even a real browser if you can?21:00
kwmonroefor me, chrome'ing to 10.0.3.x shows the wordpress install wizard21:01
kwmonroebut curl'ing that gives me nada.21:01
kwmonroethat's without juju expose too, fwiw.21:01
=== kadams54_ is now known as kadams54-away
Syed_Ahey guys, how do i remove a unit which is stuck in error state. juju remove-unit seems not to have any effect.21:22
thumperSyed_A: you can move it out of error by going 'juju resolved unit-name/0' or whatever the unit name is21:23
thumperthen it should end up getting removed21:23
Syed_Athumper: Thanks! It worked :)21:25
Syed_Acan i deploy heat in HA mode with juju ?21:51
* thumper shrugs21:56
bleepbloopjamespage: you around?22:01
bleepbloopI am having an issue with config-changed failing for the nova-compute charm when trying to change virt-type, would anyone have any experience with this?22:08
BialogsWhat's the difference between gray and green connection lines in Juju22:44

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