/srv/irclogs.ubuntu.com/2014/04/07/#juju.txt

=== thumper-gym is now known as thumper
=== timrc-afk is now known as timrc
joseguys, is it fine if a non-charmer reviews a charm pointing some errors? I'd like to do some review when I have some time02:40
davecheneyjose: yes, absolutely02:41
davecheneymany hands make light work02:41
josecool, thanks! :)02:41
=== vladk|offline is now known as vladk
=== vladk is now known as vladk|offline
=== vladk|offline is now known as vladk
=== vladk is now known as vladk|offline
=== vladk|offline is now known as vladk
=== CyberJacob|Away is now known as CyberJacob
=== rogpeppe is now known as rogpeppe1
=== rogpeppe1 is now known as rogpeppe
cory_fuGood morning, all.12:53
tvansteenburghmorning cory_fu12:59
mbruzekWe have a system that juju status tells us that 2 system's agent state is "down"13:37
mbruzekIs there a way to restart the juju agents on a system?13:37
lazyPowermbruzek: upstart should handle restarting the juju-agent13:54
lazyPowerI've brought several machines up and down this weekend that are manually provisioned. There is an upstart task for resuming operation -- i dont know if they fail out if the bootstrap node is unavailable... i didn't look that closely at it.13:55
mbruzeklazyPower, juju status shows 2 agents down, so presumably the upstart is not working.  Can we manually restart them?13:55
lazyPowershould be able to just call the service back up. let me remote into a jujub ox and peek at /etc/init13:56
lazyPowermbruzek: jujud-machine-1.conf exists13:56
lazyPowerthat should be the agent. so service jujud-machine-# restart should fix it13:56
tvansteenburghlazyPower: ever seen this error:14:02
tvansteenburghERROR state/api: websocket.Dial wss://10.0.3.1:17070/: x509: certificate signed by unknown authority...14:02
tvansteenburghhttp://pastebin.ubuntu.com/7216718/14:02
lazyPowerYeah, it was bootstrapped by another workstation and your client is bugging out over the ssl signature14:02
lazyPowerthis is why we actively suggest jumpstations for working on remote systems as a team presently14:03
tvansteenburghi don't see how that's possible, this is local14:03
lazyPowerdid you wipe your juju config between bootstrap and now?14:04
lazyPowerthose are the only 2 cases where i've seen that.14:04
tvansteenburghyou mean environments.yaml?14:04
lazyPowernah, i mean the jenv stuff14:04
tvansteenburghi don't even know where that is14:04
tvansteenburghso i don't think i deleted it14:05
tvansteenburghany way to work around this?14:05
marcoceppitvansteenburgh: it's in ~/.juju/environments14:05
marcoceppitvansteenburgh: you have to tear down and start again14:05
lazyPower^14:05
tvansteenburghif i force destroy the env then rebootstrap, i get this error running juju status14:05
marcoceppitvansteenburgh: that's, interesting14:05
tvansteenburghi seem to do all sorts of interesting things14:06
marcoceppitvansteenburgh: destroy again14:06
marcoceppirm -f ~/.juju/environments/local.jenv14:07
marcoceppitry again14:07
tvansteenburghafter destroying, there's nothing in ~/.juju/environments14:08
tvansteenburghthe full error is:14:10
tvansteenburghERROR state/api: websocket.Dial wss://10.0.3.1:17070/: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "juju-generated CA for environment \"local\"")14:10
tvansteenburghfiled a bug on it this morning but i'm really just looking for a way to get passed it now14:10
marcoceppitvansteenburgh: destroy, again, run bootstrap with --debug flag14:11
marcoceppipaste output14:11
tvansteenburghmarcoceppi: http://pastebin.ubuntu.com/7217166/14:13
tvansteenburghuhhh14:13
tvansteenburghand now juju status works fine14:13
marcoceppiyou're welcome \o/14:13
marcoceppi;)14:13
tvansteenburgh\o/14:14
lazyPowerbonus14:15
overm1ndhi marcoceppi, do you have any plan to update the wordpress charm?14:16
marcoceppioverm1nd: I've had plans to update that charm for over a year14:17
marcoceppioverm1nd: it's the time I don't have, did you want something done?14:17
overm1ndahaha I can feel the pain14:17
overm1ndI was interested in multisite support14:17
marcoceppioverm1nd: yeah, I have a plan for that, which would work nicely with juju14:17
marcoceppioverm1nd: I may try to attack it this weekend, unless you wanted to give it a go14:18
overm1ndI tried but it feels too complex for me14:18
overm1ndI also tried to start a new charm but I can get the sourse form charm get command14:19
overm1ndfrom*14:19
overm1ndI know I don't need it but something is vroken in my env I need to look at it14:19
overm1ndto tell the true I'm also evaluating puppets and ansible14:19
webbrandonany of you ever ran into these when mining: http://paste.ubuntu.com/7217201/ ?  I just started a priate network server and all my miners get that, trying to think of why?14:23
webbrandonoops wrong chat14:24
smoserhazmat, responding to a friday ping now. you still need anything?14:30
hazmatsmoser, mr wolf was calling in reinforcements at the time, i think its all clear atm.14:30
smoserwell, yeah.14:31
hazmatsmoser, how was the game?14:32
smosergame was cold (very strong gusts of wind, ~40 degrees F and ~30F with windchill). and cubs lost. but i was at wrigley field for opening day, so that part was awesome.14:39
nessitahello everyone, I'm having an issue with juju deploy that is showing up since I updated juju-core to 1.18. Error is: "only charm store charm references are supported, with cs: schema" when deploying the solr-jetty charm14:54
nessitamore debug output in https://pastebin.canonical.com/107885/14:54
nessitaany ideas?14:54
nessitaperrito666, would you know who can help me with that ^?14:55
=== Darkwing_ is now known as Darkwing
noodles775mbruzek: Hi, if you've time, can you check this charm-helpers MP: https://code.launchpad.net/~michael.nelson/charm-helpers/fresh-ansible-relations/+merge/21420315:32
noodles775mbruzek: bloodearnest has already checked it and is +1 (hrm, bloodearnest, can you add your vote there when you get a chance)15:32
mbruzekYes I will have a look15:32
noodles775mbruzek: he's the other ansible-support user besides me :-)15:32
noodles775Thanks.15:32
bloodearnestnoodles775: done15:47
tclarkehaving trouble setting up juju to run disconnected from the internet on openstack. I did a juju sync-tools --all --local-dir=/tmp/juju   on a connected machine, moved the result to a web server accessible by the openstack system15:55
tclarkethen I created an "images" diretory on the web server and grabbed releases/precise/*12.04*amd64*  (the only vesion I care about for this deployment)15:56
tclarkealso grabbed cloud-images release/streams/v1/index.json and com.ubuntu.cloud:released:download.json15:56
jcastrosinzui, _THANK YOU_ for such finely detailed release notes15:56
jcastrothat is an epic announcement15:56
tclarkeremoved all the entries which weren't 12.04 amd6415:57
tclarkeadded "tools-metadata-url: http://server/juju/tools" and "image-metadata-url: http://server/juju/images" to my environments.yaml15:57
tclarkejuju -v bootstrap gives me "ERROR bootstrap failed: cannot start bootstrap instance: invalid URL "http://cloud-images.ubuntu.com/release/streams/v1/index.json" not found"15:58
tclarkewhat am I missing?15:58
sinzuitclarke, /release/ is missing a "s", /releases/15:59
tclarkethought of that...I have a symlink between "release" and "releases"16:00
sinzuitclarke, you may not need to set that since that is the default location to search16:00
tclarkeso both exist16:00
tclarkehere's the full directory listing served by the web server: http://www.pastebin.ca/index.php16:01
tclarkehang on, wrong link16:01
tclarkehere, pastbin.ca doesn't want to work for me :)    http://pastebin.com/eVP12L8q16:02
AskUbuntuMAAS / nodes have limited internet access after install | http://askubuntu.com/q/44456316:03
sinzuitclarke, oh, yes, restricted networks must open access to that machine or mirror the images locally.16:05
tclarkesinzui: I release that...that's what I'm trying to do but juju is ignoring my image mirror config and is still trying cloud-images16:06
sinzuitclarke, right, and image-metadata-url is the right option to change :(16:07
bloodearnesthmm - it's only the MaaS provider that can place use --to lxc:n ?16:07
tclarkeis there an equiv of "juju sync-tools" for the images?16:07
sinzuitclarke, I configure tools-metadata-url most of the time and it honoured. There is no effort to talk to streams.canonical.com when I change tools-metadata-url16:08
tclarkeor a similar tool...I suspect I'm either missing something in the image repo or it's not properly setup but there seems to be no documentation on creating a mirror16:08
sinzuitclarke, maybe there is a jenv file present...juju is ignoring the yaml file.16:08
sinzuitclarke, you may need to delete $JUJU_HOME/environments/my-env.jenv16:09
tclarkeI've attempted "rm -rf .juju/environments" a couple times...didn't seem to help16:09
sinzuitclarke, juju does not warn you that it found a cached config and is using it16:09
sinzuijamespage, do you have any experience with image-metadata-url being ignored with maas configs as tclarke reports?16:11
tclarkenot maas tho, openstack16:11
tclarkeprogress....I seemed to have been missing a level in the directory tree..16:30
tclarkewhen I fix that, I get a different error about an invalid index.json.16:30
tclarkemy index.json is: http://pastebin.com/vRc6USiS16:30
Fishy_My MAAS import boot images never finishes.. any idea how I can check the status of it?16:58
Fishy_something is broked16:58
Fishy_looking at /var/log/maas16:58
Fishy_nothing good there16:59
Fishy_well ok I get this17:00
tvansteenburghwho is the resident mysql charm expert?17:01
tvansteenburghi have a master:slave setup, and the reads are going to master and writes to slave17:01
Fishy_http://paste.ubuntu.com/7217896/17:01
Fishy_does that error make sense to anyone17:02
Fishy_Invalid: The input field 'username' was not expected.17:02
=== mramm2 is now known as mramm
Fishy_argh17:38
lazyPowertvansteenburgh: that would be marcoceppi17:52
=== vladk is now known as vladk|offline
=== BradCrittenden is now known as bac
jcastrojose, ping19:24
josejcastro: pong19:31
jcastrohey if a charm doesn't have a logo19:31
jcastroyou don't need to make an icon for it19:31
jcastroexample: pictor19:31
joseoh, pictor, dustin made those19:31
joseI emailed him and asked and he replied with the logos19:32
jcastrooh well you can remove them19:32
josehuh?19:33
josewhy's that?19:33
=== lazyPower changed the topic of #juju to: Weekly Reviewer: bcsaller || Welcome to Juju! || Docs: http://juju.ubuntu.com/docs || FAQ: http://goo.gl/MsNu4I || Review Queue: http://goo.gl/9yBZuv || Unanswered Questions: http://goo.gl/dNj8CP
=== Ursinha_ is now known as Ursinha
jcastrojose, it's better to just show a blank icon than a made up one with no branding20:16
joseoh, you meant for the ones that don't have an icon20:16
jcastroit's literally an orange box with text, it looks like it was made by a developer20:16
jose:P20:16
joseI'll make sure to fix that asap20:16
joseyou know what, I'll do it now20:16
josebut pictor should be good to go, I think20:17
jcastroyeah, either a totally awesome icon that matches upstream's brand, or a template20:17
jcastromarco had some other feedback20:17
joseI'll wait for it, then20:17
mhall119jcastro: marcoceppi: I have a django charm that uses gunicorn, but I need something to service static files, what's the right path for this?20:51
mhall119I should also note that it currently uses multiple gunicorn nodes behind an haproxy20:52
mhall119and currently the static files are references with relative URLs like /static/css/site.css20:52
=== CyberJacob is now known as CyberJacob|Away
=== CyberJacob|Away is now known as CyberJacob
lazyPowermhall119: probably co-locate apache2 and gunicorn on the same machine, or nginx21:29
lazyPowerand use the web daemon as a reverse proxy to the django app, and used for serving the static assets21:30
lazyPoweri dont have much experience with gunicorn charm however - so this may be a bad suggestion... but thats my knee jerk reaction to the question.21:31
mhall119jcastro: can I use swift-dependent things when deploying to my local LXC for testing?21:33
=== ubot5` is now known as ubot5
bloodearnestmhall119: we have 2 approaches to servcing static resources:21:40
bloodearnest1) a custom subordinate charm that builds/tars/deploys the assets on a service's units, then set the service's vhost config (apache in our case) to serve the static assets directly21:40
bloodearnest2) a deploy to a swift bucket and then a proxy through apache to swift21:41
bloodearnest2 is nicer, and less work21:41
mhall119bloodearnest: do you have an example config for 2?22:21
marcoceppimhall119: apache223:00
=== CyberJacob is now known as CyberJacob|Away
bloodearnestmhall119: I do't, we're just trying that approach now - but noodles775 can probably help23:27
bloodearnest*don't23:27
=== arosales_ is now known as arosales

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