/srv/irclogs.ubuntu.com/2013/12/10/#juju.txt

arosaleswinael, thanks for being a champion :-)00:01
arosaleskeep posting your feedback here and to the list. It sounds like utlemming updated the docs too00:02
arosalesutlemming, was that the juju.u.c/docs ?00:02
utlemmingarosales: no, it was my blog post00:02
mxceverything is in the same region00:02
arosalesmxc, looks like a post @ juju.provider.azure environ.go:406 picked tools is failing .  . . I am still investigating . . .00:03
arosalesmxc, ack and if it were different you would get a slightly different error00:03
arosalesutlemming, does it makes sense for the juju.u.c/docs?00:03
arosalesmxc and to confirm in your .juju/environments.yaml file you only have "admin-secret, management-subscription-id, management-certificate-path, and management-certificate-path " set00:07
mxcyes00:08
mxci also have the and location set00:08
mxcand storage-account-name00:09
arosalesah yes my buffer missed the last ones00:09
mxcare there any restrictions on the admin secret?00:10
mxcand should that match anything?00:10
arosalesmxc, not that I know of.  You could set it or have "juju generate-config --show" make one for you00:11
winaelutlemming: I to the sshuttle thing but now to connect my service that Juju knows as 10.0.3.23 what can I do ?00:11
mxcarosales: what version of ubuntu are you using?00:13
utlemmingwinael: I don't follow the question....can you clarify?00:14
arosalesmxc, for the client or server?00:14
mxcthe machine that I run00:14
mxc"juju bootstrap" on00:14
arosalesmxc, 13.0400:15
mxci've been trying 131000:15
mxcwould 1204 or 1304 be a better option?00:15
winaelI use the sshuttle command as it's written on your post, and now, I just want to see my mediawiki in my browser00:15
arosalesyou should be ok at 13.1000:15
arosalesin this case an API call to Azure is failing00:16
mxcyes00:16
winaelAs I understand I opened a ssh tunel for 10.0.3.0/24 network00:16
arosalesso your install looks ok, and you are at the latest00:16
mxcis there anyway to get a stack trace of the error or having juju log every http request without recompiling00:16
utlemmingwinael: are you using the browser?00:17
winaelmy host machine browser yes00:17
utlemmingwinael: if so, it should show you the IP address. To access it, just put the 10.0.3.xxx in your brower and it should should up00:17
arosalesmxc, without specifically inserting probe points in the code I am uncertain although we could ping the devs in #juju-core to confirm if there is an easy way00:18
winaelno just a chromium page saying that no data was received00:19
mxcjuju-core is empty00:23
winaelWell doesn't matter I'll take a look later. I have to sleep I have to get up in 4 hrs...00:24
arosaleswinael, post to the list and we can try to get back there too00:26
arosalesmxc, sorry I didn't grok juju-core is empty00:26
winaelI'll try to do it tomorrow morning00:27
mxcnp00:29
arosalesmxc, were you trying to compile juju core?00:29
mxctrying hard not to00:29
mxci gotta run00:39
mxcthanks for your help00:39
mxcthe AU question is here: http://askubuntu.com/questions/388419/juju-bootstrap-fails-in-azure-badrequest-the-affinity-group-name-is-empty-or00:39
=== alpacaherder is now known as skellat
=== CyberJacob is now known as CyberJacob|Away
arosalesI'll catch you on the list mxc.00:54
arosalesI wasn't able to reproduce from a stand alone instance in Azure either for other folks following . . .00:55
arosalesperhaps it is cert issue . .00:55
* arosales will follow up later00:55
=== smoser` is now known as smoser
=== thomi_ is now known as thomi
=== wendar_ is now known as wendar
=== freeflying is now known as freeflying_away
=== gary_poster is now known as gary_poster|away
=== freeflying_away is now known as freeflying
=== stub` is now known as stub
=== CyberJacob|Away is now known as CyberJacob
=== rvba` is now known as rvba
=== axw_ is now known as axw
=== xerxas_ is now known as xerxas
ashipikahi all..11:54
ashipikaERROR missing CA cert or auth-key11:54
ashipikawhere should i start looking?11:54
ashipikawhere should these two things be defined?11:54
Lucals -latr12:20
ashipika@luca: where?12:28
Lucaashipika: focus was in the wrong window :)12:29
ashipikasorry :)12:29
Lucanp :)12:29
=== gary_poster|away is now known as gary_poster
marcoceppiashipika: is this the machine you originally bootstrapped the environment with?13:05
ashipikamarcoceppi: no worries. i found the error.. mistakenly named null.jenv as null.yaml..  totally my mistake13:06
marcoceppiashipika: you shouldn't need to touch the .jenv files at all13:06
ashipikawell.. in my case..13:06
ashipikaERROR: cannot put charm: ... x509: certificate has expired or is not yet valid.. does that imply that mongodb certificate on the bootstrapped host is not valid?13:20
=== luca__ is now known as luca
X-warriorWhat am I supposed to do when a service is being listed on juju status, but the machine that the service was, is destroyed? :S16:20
X-warriorWhat am I supposed to do when a service is being listed on juju status, but the machine that the service was, is destroyed? :S16:24
X-warriormarcoceppi:16:31
=== freeflying is now known as freeflying_away
marcoceppiX-warrior: juju destroy service?16:40
marcoceppiX-warrior: was the machine removed outside of juju?16:40
X-warriormarcoceppi: nope16:41
X-warriorI used, destroy-service and then it showed up as "    life: dying"... I wait for a while... and nothing changes... then I used juju destroy-machine ... and the machine was destroyed... but the service is still showing as  "life: dying "16:42
X-warrior:S16:42
marcoceppiX-warrior: what version?16:48
marcoceppiSomeone had a similar issue16:48
X-warriormarcoceppi: 1.16.316:48
marcoceppiX-warrior: 1.16.4 was released, but I don't think it addresses this issue.16:48
X-warrioruhmm16:49
X-warrioris it possible to deploy a charm with another name?16:50
marcoceppiX-warrior: yes16:51
X-warriorI mean I'm receiving "2013-12-10 16:49:51 ERROR juju supercommand.go:282 cannot add service "logstash-indexer": service already exists"16:51
marcoceppijuju deploy <charm> <alias>16:51
marcoceppiX-warrior: can you pastebin your entire juju status?16:51
marcoceppiI might know what's going on16:51
X-warriormarcoceppi: http://pastebin.com/g74FKzdK16:52
marcoceppiX-warrior: can you `juju remove-relation logstash-indexer elasticsearch`16:53
X-warriorI will try again, but I already tried that16:53
marcoceppioh :\16:53
X-warriormarcoceppi: same result : (16:56
X-warriorbtw, using juju deploy --repository=charms/ --constraints="mem=1G cpu-power=1 arch=amd64" local:precise/logstash-indexer ALIAS gives me error: invalid service name "ALIAS"16:57
marcoceppiX-warrior: don't use all caps?17:01
X-warrioroh it can't have - or numbers on it I guess17:02
X-warriorI updated the name and it worked17:02
X-warriorx)17:02
=== freeflying_away is now known as freeflying
=== teknico_ is now known as teknico
=== mattgriffin1 is now known as mattgriffin
X-warriorwhat is the folder on machine that has the charm files?17:46
X-warriorfound it ty17:51
X-warrior;D17:51
webbrandonIs this critical?  I am running "juju set amazon" and getting :ERROR Get : 301 response missing Location header.17:52
webbrandonoh yeah its critical17:52
webbrandoncant bootstrap17:52
webbrandonwhat in the heck did I do?? I didn't touch anything to the configuration!!! garr.. breathe.... now fix....17:54
jcastrohttp://askubuntu.com/questions/369231/juju-mysql-adding-units-vs-adding-new-service-with-relation18:04
jcastroI have a bounty on this question if someone wants 200 points!18:04
webbrandonim getting a bug issue that appeared a year ago https://bugs.launchpad.net/juju-core/+bug/108301718:09
_mup_Bug #1083017: Cannot bootstrap with public-tools in non us-east-1 region <ec2> <juju-core:Fix Released by dave-cheney> <https://launchpad.net/bugs/1083017>18:09
webbrandonI am getting when trying to read the environments.yaml file it seems18:10
jcastromarcoceppi, hey so what was the tldr on that IS rewrite of the squid charm?18:11
mgzwebbrandon: can you get the actual response body, so we see the url that's failing and why?18:11
=== freeflying is now known as freeflying_away
webbrandonmgz: http://paste.ubuntu.com/6552412/18:16
mgzwebbrandon: yeah, you need a better tool, as our logging there seems to suck18:18
mgzwireshark maybe?18:18
=== freeflying_away is now known as freeflying
webbrandonmgz: okay, I installed it.  Not familiar with this,  I assume I link a particular item up to the pipe?18:39
mgzwebbrandon: you should just be able to capture the interface, if there's not too much else going on, then rerun `juju set`18:43
marcoceppijcastro: no idea?18:48
jcastrowell it was in review last week18:48
jcastrothat's the one that was essential a rewrite iirc?18:48
marcoceppijcastro: let me check18:49
marcoceppiI can only keep track of so many charms ;)18:49
jcastroyeah18:49
jcastrothis one is just weird because if they're using the one not in store in production then we need to either merge their work, or drop ours and promote theirs18:49
jcastrobut having 2 is not good18:49
webbrandonmgz: looks like I can't will keep looking into using it but maybe there is a bigger issue18:49
marcoceppijcastro: was it squid?18:50
marcoceppiI don't see any merges for it recently18:50
jcastrosquid reverse proxy18:51
mgzwebbrandon: did you elevate?18:51
webbrandonmgz:  Doc said it was supposed to be ran as root if installed though package manager but it wasnt.  started as root user. CAn now see interfaces18:53
mgzwebbrandon: or see /usr/share/doc/wireshark-common/README.Debian it seems18:53
mgzbut root is fine(ish) for a one-off18:53
marcoceppijcastro: I guess it was merged, the last merge was sidnei's branch in early November, the other two pending are < 20 lines of code18:54
jcastroyeah but you would have remembered merging it wouldn't you have?18:55
jcastroit was like 6000 lines18:55
sidneijcastro: what's the question?18:56
jcastroso the IS guys are apparently using a forked version of the squid reverseproxy charm18:57
jcastroand they had a MP a long long time ago that was essentially a rewrite18:58
jcastrobut I don't think it ever got merged18:58
jcastroit looks like the main feature they want is SSL18:59
sidneijcastro: i think it's merged yes, i pushed most of it.19:02
jcastrokirkland, ok so I think the issue here is probably why they can't get SSL working19:03
sidneijcastro: pushed the latest from webops into https://code.launchpad.net/~sidnei/charms/precise/squid-reverseproxy/trunk/+merge/19845119:06
sidneiit's only a few small changes19:06
jcastrok19:06
jcastrosidnei, ok so we're not out of sync, they might just be running an older version of the charm?19:07
sidneijcastro: they being? sorry im missing some context.19:07
jcastroI'll send you an email19:07
sidneik19:08
webbrandonmgz: Is this what you were looking for http://paste.ubuntu.com/6552655/ ?  That is the result of running "juju set amazon"19:11
webbrandonpaste bin is acting funny right now.  you need to give it a moment or it will look like there are 8k of blank lines19:13
mgzwebbrandon: urgh, I'm silly, https means this approach isn't enough. will have to add better logging to a juju binary for you19:18
webbrandonmgz: not sure I follow.  What are the https issues I have?19:21
mgzI can't see the response that gives the error, because of course it's encrypted :)19:22
webbrandonahhh.  I see19:23
webbrandonthis all happened after I started and stoped a bootstrap.  Did nothing to the setup or system between bootstrap events19:24
webbrandonwhy can't scratching my head fix it19:25
mgzit may well be a weird config thing19:25
webbrandonI can I make sure all of juju is removed and try a reinstall?  I tried this once but something muct be left behind19:27
webbrandonhow can I make sure19:28
webbrandon?19:28
mgzwebbrandon: I doubt it's juju itself19:29
webbrandonrebooting19:29
mgzyou may want to try moving your ~/.juju dir out of the way and recreating your configuration though19:30
webbrandonI changed nothing though between a working bootstrap.19:30
webbrandonmgz: tried that already19:30
mgzit could also be not your end19:30
webbrandonI doubt my rsa need to be reset but gona try a full reinstall and new rsa19:31
mxcquick question, if I want to deploy a charm from a local repository, does that repository have to be on the machine I'm running the juju commands from or the "machine 0" that is managing the juju cluster?19:52
webbrandonokay nothing worked. gonna submit bug19:56
mgzwebbrandon: thanks19:56
mgzplease mention region/other provider config that's not standard19:57
webbrandonyeah fixed20:38
=== freeflying is now known as freeflying_away
lazypowermxc: did you get an answer to your charm deployment question?20:52
mxcyeah20:53
lazypowermxc: the way I understand it is, the repository has to be on the machine you're executing the juju commands from - this triggers a sequence of caching on Machine0 - which caches all the charms in use in your juju landscape. Sorry if this is a duplicate answer or incorrect, but its how I understand it to work.20:54
lazypowerah ok. my bouncer must have missed the answer in its cache. Glad you got it sorted *hattip*20:54
mxcthe problem was that my local charm wasn't in a precise directory20:59
lazypoweraahhh ok.21:09
lazypoweryeah, release directories are important.21:09
lazypowerI found that out the hard way too21:09
=== freeflying_away is now known as freeflying
aquariusmarcoceppi, ping about postgresql backups in discourse22:27
marcoceppiaquarius: ack22:27
aquariuswait, ignore me22:27
aquariusha!22:27
aquariuspostgres is backing up22:28
aquariuson the postges machine22:28
aquariuswhich is not the discourse machine22:28
aquariusheh :)22:28
marcoceppiaquarius: all of these statements are correct!22:28
aquariusmarcoceppi, the stuff in /var/lib/postgresql/backups/ is .dump files -- can I just scp them to another machine?22:28
aquariusthey're not some sort of live backup?22:29
marcoceppiaquarius: you can scp them22:29
marcoceppiit's safe22:29
marcoceppiaquarius: they're snapshots22:29
webbrandonpretty sure I found a bug in juju-local.  Run it by here before I submit it.  I am getting with "juju status" after launching charm instance on machine 1: agent-state-info: '(error: container "mind-local-machine-1" is already created)'.  > The whole status at http://paste.ubuntu.com/6553558/22:30
marcoceppiwebbrandon: are you on 1.16.4 ?22:31
marcoceppiwebbrandon: nvm, you are!22:31
webbrandonyes22:31
webbrandon:)22:31
marcoceppiwebbrandon: this looks the local environment wasn't cleaned up from last time22:32
marcoceppiwebbrandon: what happens if you juju destroy-environment then reboostrap?22:32
webbrandonI went into var/lib/juju/containers and made sure everything was removed before bootstrapping22:32
webbrandonIt does it again22:33
webbrandonmarcoceppi: its like it is creating the mind-local-machine-1 for both my bootstrap and my charm22:33
marcoceppiwebbrandon: that's a bug22:36
webbrandonfigured22:36
webbrandonI will report it22:36
webbrandonhmm.  just need to find the juju-local branch22:38
webbrandonlol22:38
marcoceppiwebbrandon: there is no juju-local22:40
marcoceppireport it against juju-core project22:40
webbrandonjust figuring that out.  thank you marcoceppi. again.......22:43
webbrandonmarcoceppi I am noticing it says its running 13.04 and I am on 13.10.  COuld this be my issue maybe?22:55
webbrandonSo why was juju gernate-config created if juju init does the same?  Is it the extra freatures like --show?  Just trying to learn random info, no reason.23:10
aquariusOK. My postgres machine, deployed with juju, backs up things into /var/lib/postgresql/backups, which is great.23:32
aquariusI would like those backup files to also end up on another machine somewhere. How should I do that?23:32
aquariusI could, for example, generate a new ssh key on the postgres machine, for the postgres user, and then run "scp --newer /var/lib/postgresql/backups/* othermachine:/backups-from-juju" in a cron job. But then I've generated an ssh key *on that machine* -- if I scale postgres out with juju, or redeploy or something, then I won't have any backups.23:34
aquariusI could run that cron job on othermachine and scp *into* my juju machine to copy the backup files back, but I hardly know what the name of my juju machine *is*, because I don't have to23:34
aquariushow am I meant to set this sort of thing up?23:35

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