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

=== freeflying_away is now known as freeflying
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
freeflyingSSH_USER = 'juju_keystone'  where does this user come from in keystone's charm02:53
lazyPowerfreeflying: thats an inline config that gets consumed during the install hooks at first glance.03:11
freeflyinglazyPower, yes, with this user, we can't sync credential to peer node03:11
lazyPowerI'm not real familiar with open stack - so i feel that I'm not a great resource of info on how to accomplish what you're trying to do. I literally just opened the charm and scanned the source.03:13
freeflyinglazyPower, thanks anyway03:14
=== julian__ is now known as julianwa
lazyPowerNo problem *hat tip*03:20
=== kenn_ is now known as kenn
=== CyberJacob|Away is now known as CyberJacob
teknicoHi, esteemed juju dev colleagues :-)08:58
teknicoI may be one of the first trying to deploy OpenStack's nova-volume inside an LXC container08:58
teknicoit's not working because the charm cannot access loop devices08:58
teknicoand that's because apparmor is preventing that08:58
teknicoand to make it work, a line needs to be uncommented in the container config:08:58
teknico#lxc.aa_profile = unconfined08:58
teknicoand that line is commented in the config generated by /usr/share/lxc/templates/lxc-ubuntu-cloud08:58
teknicoso, how do I change the container config while it's being deployed?08:58
teknico(phew :-) ) thank you08:58
=== CyberJacob is now known as CyberJacob|Away
HimmageryI have a weird problem.  I'm trying to deploy a service using juju deploy --constraints "instance-type=cpu2-ram4-disk50-ephemeral20" but am getting an error "ERROR Bad 'instance-type' constraint 'm1.small': unknown instance type" (which is what the service would have used when it was first deployed).  Any ideas why it's ignoring my manually set constraints?09:40
melmothHola, i m trying to use juju 1.14.1-precise-amd64 against a grizzly openstack installation09:56
melmothbootstrap fails with "error: required environment variable not set for credentials attribute: Region"09:56
melmothany idea what to do ? (a simple google search gave me https://bugs.launchpad.net/juju-core/+bug/1086674)09:56
melmothahh, i put the region in environments.yaml, seems to go better09:58
melmothhola, i m hitting what looks like https://bugs.launchpad.net/juju-core/+bug/120216310:13
_mup_Bug #1202163: openstack provider should have config option to ignore invalid certs <cts> <cts-cloud-review> <papercut> <Go OpenStack Exchange:Fix Committed by jameinel> <juju-core:In Progress by jameinel> <https://launchpad.net/bugs/1202163>10:13
melmoththe last comment mention "10:13
melmothChanged in juju-core:10:13
melmothmilestone: none → 1.16.0"10:13
melmothi dont understand exactly wich version has the fix, i installed ppa devel (1.15.0-precise-amd64)10:14
melmothbut i still have the same behaviour10:14
melmothany idea what should i try ?10:14
jamespagemelmoth, I think the answer is that is not fixed yet10:39
melmothjamespage, yep, i switched to pyjuju for this environment.10:40
davecheneymelmoth: we're literally discussing this on a conf call right now11:02
davecheneykeep an eye on the bug, status updating REAL SOON NOW11:02
davecheneyhttps://bugs.launchpad.net/juju-core/+bug/120216311:02
_mup_Bug #1202163: openstack provider should have config option to ignore invalid certs <cts> <cts-cloud-review> <papercut> <Go OpenStack Exchange:Fix Committed by jameinel> <juju-core:In Progress by jameinel> <https://launchpad.net/bugs/1202163>11:02
melmothok11:03
davecheneybug #123457711:03
_mup_Bug #1234577: Uniter needs to support ssl-hostname-verification: false <juju-core:Triaged by jameinel> <https://launchpad.net/bugs/1234577>11:03
davecheney#123457611:03
_mup_Bug #1234576: Upgrader needs to support ssl-hostname-verification: false <juju-core:Triaged> <https://launchpad.net/bugs/1234576>11:03
davecheneymelmoth: short version, we are REALLY, _really_, r e a l l y, hoping to get this done before the 1.16.0 release11:03
melmothany idea whe this will be ? (i m leaving the premicises on friday)11:04
davecheneymelmoth: if friday is tomorrow11:04
davecheneyit won't be done by then11:04
melmothok11:04
davecheneyit *might* be done by the following monday11:04
melmothi'll stick to the pyjuju version then.11:04
davecheneyas we're also aginst the final deadlie for saucy11:04
melmothanyway, i have a quantum problem that make the bootstrap not working anyway....11:04
davecheneymelmoth: shitter11:05
melmothso this one specific problem is not the worst i m currently facing :)11:05
=== freeflying is now known as freeflying_away
yolandahi, i'm using juju-deployer to deploy a set of charms, but i find this error : error: cannot get latest charm revision: charm not found in "/home/yolanda/development/canonical-ci": local:precise/postgresql11:25
yolandashouldn't be local:postgresql, not local:precise/postgresql ?11:26
AskUbuntuHow can I know which machine Juju is actually using? | http://askubuntu.com/q/35311411:46
AskUbuntuMigration from generic OpenStack to Ubuntu Openstack | http://askubuntu.com/q/35312712:10
=== freeflying_away is now known as freeflying
sinzuigary_poster, We confirmed hazmat's hadoop charm is really not in manage.jujucharms.com. We killed some stale processes. We just restarted the queue. I see http://manage.jujucharms.com/charms/precise/hadoop now13:10
sinzui^ hazmat ping me if you think manage.charmworld.com is slow or not working again13:10
gary_postersinzui, great, thank you!13:10
gnuoywhen bootstrapping with the maas provider is it possible to specify which physical machine you want to use as the boostrap host ?13:29
freeflyinggnuoy, theoretically, yes13:39
freeflyinggnuoy, if you use py version of juju, there is a constraint called maas-name, if it go version, you need some workarounds13:40
gnuoyfreeflying, I'm using juju-core/go version13:41
freeflyinggnuoy, in this case, still some constraints can be used, like mem/cpu cores, other approach is deploy a pure ubuntu to those server, then deploy service as subordinate onto the machine13:43
gnuoythe charms I'm looking to deploy aren't subordinates and juju/maas seems to be ignoring mem/cpu constraints. I've tried bootstrapping with cpu/mem options which match my target host but a different host which doesn't match keeps getting picked13:45
=== mars_ is now known as mars
freeflyinggnuoy, or another approach enlist one, deploy one lol13:47
gnuoyyeah, not ideal13:47
freeflyingbut works well here13:48
jamespagemarcoceppi, urhg:13:52
jamespage2013-10-03 13:52:09 INFO juju.worker.uniter context.go:234 HOOK E: Unable to locate package charm-helper-sh13:52
jamespagefrom mysql charm on saucy13:52
jamespagegnuoy, the honest truth is that right now that is tricky13:53
jamespagegnuoy, maas tag would be the way todo it once 1.16 is out of juju-core13:53
marcoceppijamespage: you're deploying mysql on saucy?13:53
jamespagemarcoceppi, yes13:54
marcoceppididn't think we had a mysql saucy charm13:54
jamespagemarcoceppi, I never deploy direct from charmstore13:54
jamespagehence the charm can be any series from local13:54
marcoceppijamespage: with charm-tools 1.0 charm-hlpers-sh is dropped from that package13:54
jamespageyeah - I remember13:54
marcoceppiyou'll need to add a PPA to get it to work13:54
jamespagemarcoceppi, what the future of charm-helper-sh?13:55
marcoceppijamespage: gone, depricated instead for charm-helpers2 at lp:charm-helpers13:56
jamespagemarcoceppi, I really don't want to add a ppa13:56
marcoceppithe MySQL charm shouldn't be using much from charm-helpers-sh13:56
marcoceppiyou can embed the helper files locally in the charm13:56
gnuoyjamespage, ok, thanks. I'm not sure how I'm going to address this. I have 24 odd services to deploy and 3 different types of server :-(13:57
jamespagegnuoy, other constraints work13:57
jamespage1.16 is due today officially but more like Monday I think13:57
marcoceppijamespage: I don't see any of the code using charm-helpers-sh anymore, except for a mention in hooks/monitors-relation-departed, but I think that should be including monitors.common.bash and not a charm-helper13:59
gnuoyjamespage, so that'll be in  ppa:juju/stable on monday'ish ?13:59
marcoceppiactually, sorry, monitors.common.bash and master-relation-changed are using ch_is_ip and ch_get_ip14:00
jamespagegnuoy, yeah - I think so14:02
gnuoyok, that'd be great14:02
hazmatsinzui, any reason why the ingest had to be restarted to make it work?14:30
sinzuihazmat, there were stale procs, possibly zombies14:30
sinzuinew proces exit early when they think there are already running14:30
hazmatsinzui, any way to monitor that (last collection update on status page)?14:32
sinzuihazmt, we think so. I am going to write up recommendations to a better /heartbeat14:33
=== freeflying is now known as freeflying_away
hazmatsinzui, cool better monitoring is one part of the problem.. fixing the stale proc would be the other, are there any forensics on the latter?15:51
sinzuihazmat, no. There is definitely still a problem too15:54
sinzuihazmat, looks like mthaddon found the issue, crontab was manually put in the wrong place in production. He is fixing it15:57
mthaddonsinzui: er, sorry?15:57
mthaddonsinzui: what's wrong with /etc/cron.d/charmworld ?15:58
mthaddon(as a location)15:58
sinzuimthaddon, didn't you indicate that the charmworld crontab was in the wrong location?15:58
mthaddonsinzui: no, I indicated you asked for me to look in the wrong location, but it's in /etc/cron.d/charmworld15:58
sinzui:(15:59
mthaddon(which is fine)15:59
hazmatsinzui,  that does not equate to stale process15:59
sinzuiI still have no clue as to what automated piece is missing.15:59
hazmatsinzui, is staging running against the full set of charms?15:59
sinzuihazmat, we had stale procs a few hours ago we killed them.15:59
sinzuiyes it is hazmat15:59
sinzuiI am using to to see what is missing16:00
hazmatsinzui, staging has 725, prod has 74616:00
sinzuihazmat, that can alway happen because the older the instance, the more deleted charms it knows about16:01
sinzuihazmat compare http://staging.jujucharms.com/recently-changed to http://manage.jujucharms.com/recently-changed16:01
hazmatsinzui, 21 deleted charms in a few months is highly suspect imo16:03
hazmatbut fair enough the ingest is paramount for triage and analysis16:04
mthaddonsinzui: so do you need anything from us? I'm not sure if that cron info answers your questions16:06
hazmatsinzui, mthaddon, ingest logs might be helpful to see where the stall happens16:08
sinzuimthaddon, /home/charmworld/var/app.log16:08
hazmatcould need several days worth depending on length of stall16:08
hazmatif its being rotated16:08
mthaddon1.1G... no rotation by the looks of it16:09
sinzuiNo it doesn't16:10
mthaddoncan we update the charm to do that (not a critical item, but unrotated logs is a recipe for disk space problems)?16:11
sinzuimthaddon, I think so16:13
sinzuimthaddon, I am still preparing a list of issues to talk over with gary_poster to address what we wanted to know when the last release failed16:14
mthaddonsinzui: should I log a bug about that at https://bugs.launchpad.net/charmworld/+filebug ?16:14
sinzuithat is good16:14
sinzuimthaddon, on the mongodb we want to know if the queue has the list of charms to ingest16:16
sinzuimongo juju --eval 'db["charm-queue"].count()'16:16
sinzui^ that can be 0 because ingest drains the queue. If we see a number, we can be certain we are queuing16:16
mthaddonsinzui: got "1"16:17
sinzuiI would expect that to be empty then in a few minutes16:17
sinzuimthaddon, hazmat, the log shows that we have only ingested once in two days. it was the run jjo intervened with16:22
sinzuimthaddon, has the queue number changed?16:22
mthaddonsinzui: not yet16:22
mthaddonsinzui: I'm going to have to pass you to the vanguard in the other channel (there is now one) as I have a meeting to go to16:24
sinzuithank you16:24
AskUbuntuHow to remove a relation in Juju after destroying one of the associated services? | http://askubuntu.com/q/35323116:28
evilnickveitchI got this ^ ^16:47
AskUbuntuHow can I deploy a new service in Juju GUI specifying the destination machine? | http://askubuntu.com/q/35326217:26
FilipeCifaliHello, can anyone help me w/ Juju-core on Ubuntu-server 12.04?17:53
FilipeCifaliis this the right place to ask questions?17:54
sarnoldFilipeCifali: sure; note that irc tends to work best if you just ask questions outright :)17:55
FilipeCifaliI do like to be polite first :) so, I just installed, made the setup and I'm getting this same error: http://askubuntu.com/questions/351269/juju-errors-when-trying-to-deploy-to-ec217:55
FilipeCifaliis the stable version not so stable? Juju is yelling at me:17:56
FilipeCifali~# juju -v deploy wordpress17:56
FilipeCifali2013-10-03 17:52:01 INFO juju.provider.ec2 ec2.go:187 opening environment "amazon"17:56
FilipeCifali2013-10-03 17:52:07 ERROR juju supercommand.go:282 command failed: no instances found17:56
FilipeCifalierror: no instances found17:56
FilipeCifaliand I have credentials fixed, have done juju bootstrap before17:56
FilipeCifali~# juju bootstrap17:57
FilipeCifalierror: environment is already bootstrapped17:57
=== CyberJacob|Away is now known as CyberJacob
FilipeCifali(I can access my instance over ssh w/o problem)17:58
FilipeCifalibrb18:12
FilipeCi_I'm back18:16
sarnoldwelcome back FilipeCi_ :) did 'juju bootstrap' work?18:19
FilipeCi_it did18:19
FilipeCi_and I done again after I found that link18:20
FilipeCi_~# juju bootstrap18:20
FilipeCi_error: environment is already bootstrapped18:20
FilipeCi_is there any other debug/verbose level to use?18:27
sarnoldFilipeCi_: you could just output of juju status18:28
FilipeCi_@sarnold just a sec18:30
FilipeCi_hmmm Juju status showed me a DNS timeout18:33
FilipeCi_gonna change my resolv.conf and try again18:33
FilipeCi_2013-10-03 18:39:24 ERROR juju supercommand.go:282 command failed: Get : 301 response missing Location header18:39
FilipeCi_error: Get : 301 response missing Location header18:39
FilipeCi_that's really awkward18:39
FilipeCi_I found this in launchpad: https://bugs.launchpad.net/juju-core/+bug/1083017 but not sure if it's related since it's marked as fixed last year18:40
_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:40
FilipeCi_The funny part:     region: us-east-118:42
FilipeCi_in env.yaml being used18:42
FilipeCi_damn interwebs19:04
FilipeCi_any hints about that message?19:04
sarnoldFilipeCi_: you've missed nothing here19:04
FilipeCi_:(19:04
FilipeCi_maybe I should downgrade Juju?19:05
FilipeCi_the core/client in my server19:05
FilipeCi_clear19:06
marcoceppiFilipeCi_: what version are you using?19:08
FilipeCi_~# juju version19:09
FilipeCi_1.14.1-precise-amd6419:09
FilipeCi_from stable repo19:10
FilipeCi_(I was following https://juju.ubuntu.com/docs/getting-started.html#configuring-your-environment-using-ec2)19:10
marcoceppican you run juju destroy-environment; then run `juju bootstrap -v --debug` and paste the output to http://paste.ubuntu.com19:10
FilipeCi_just a sec and I'll post it19:10
FilipeCi_http://paste.ubuntu.com/6189419/19:12
FilipeCi_running ubuntu-server 12.04 LTS19:13
marcoceppiAccording to everything I'm reading this has already been fixed19:15
FilipeCi_how do I update?19:16
marcoceppiFilipeCi_: this was fixed almost a year ago19:16
marcoceppiFilipeCi_: change  your control bucket name to something more unique and then try again19:16
FilipeCi_gonna try to put another md5 on that19:18
Filipe___oh yeah, it worked19:28
Filipe___TY!19:28
=== natefinch is now known as natefinch-afk
=== _mup__ is now known as _mup_
=== CyberJacob is now known as CyberJacob|Away
dpb1Hi -- what is the usual story around deploying juju-gui when your lab is firewalled?  can you d/l the targz directly into the charm dir?22:05
thumperdpb1: I think it is to download the charm locally, then deploy as a local charm22:32
thumperhowever you may have issues with any apt-get or http GETs the install hooks may run22:32
dpb1thumper: yes, I did that.  but it's trying to curl a tar.gz from launchpad.22:32
thumper:-(22:33
thumperdpb1: don't suppose you can open ports to launchpad?22:33
dpb1thumper: I can.  I just wish it was a package. :)22:34
dpb1since that already works22:34
dpb1maybe I'll file a bug/enhancement idea22:35
* thumper nods22:35
thumpercheers22:35
=== natefinch-afk is now known as natefinch
=== natefinch is now known as natefinch-bedtim
=== natefinch-bedtim is now known as natefinch-bed
kennI have an environment running on AWS, but due to budget contraints I would like to run both prod and dev on the same box. My thought was to run each inside their own LXC inside the EC2 instance. Is this possible? Is it even a good idea? I haven't been able to find a command to add an LXC to and instance.23:56

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