=== fuzzy is now known as Ponyo | ||
Ponyo | Hi there, I just tried to install a charm and I have an error. How do I look at the details of the error? http://hastebin.com/apuzupizuf.sm | 00:18 |
---|---|---|
sarnold | Ponyo: hmm, it seems odd to me that you're in /root but logged in as 'juju' -- are the configs in ~juju/.juju/ or ~root/.juju/ ? | 00:21 |
Ponyo | ~juju/.juju | 00:21 |
Ponyo | it's just me being lazy | 00:21 |
sarnold | ahokay :) | 00:21 |
Ponyo | notice juju@juju | 00:22 |
Ponyo | only root can read/write /root | 00:22 |
lazyPower | Ponyo: when a charme rrors, there's a few options | 00:49 |
lazyPower | 1) you can juju debug-log and see if the traceback is in there, but what i find really handy is launching a debug-hooks session. | 00:49 |
lazyPower | juju debug-hooks meteor/0 | 00:49 |
lazyPower | this will open a tmux session attached to the charm - but wont be very interesting | 00:50 |
lazyPower | you'll need to open another terminal, and issue 'juju resolved -r meteor/0' | 00:50 |
lazyPower | that will tell juju to re-execute teh last failed hook on the service, which you'll notice gets trapped in your tmux session | 00:50 |
Ponyo | stby | 00:50 |
lazyPower | now you can run the hooks manually and debug the environment to see why it failed. | 00:50 |
lazyPower | Ponyo: https://juju.ubuntu.com/docs/authors-hook-debug.html - as well as http://youtu.be/75gKKnv_ze8?t=16m8s | 00:58 |
lazyPower | that covers debug-hooks both in text, and another live example in a troubleshooting charm school | 00:58 |
=== html is now known as htmlinprogress | ||
=== lazyPower is now known as lazypower-travel | ||
=== CyberJacob|Away is now known as CyberJacob | ||
JoshStrobl | hey marcoceppi, I noticed the https://juju.ubuntu.com/docs/charm-review-process.html doc isn't rendering "notes" markdown (!!! Note:). I compared it with the Juju wiki page for Markdown and noticed that it does in fact match. I checked out https://juju.ubuntu.com/docs/authors-charm-quality.html and it has a working Note, but using a patch I submitted a while back that changed it to **Note: **. Is !!! Note: broken, is there not | 15:31 |
JoshStrobl | meant to be a space between !!! and Note, etc. | 15:31 |
JoshStrobl | marcoceppi, I also noticed the patch that mbruzek did at https://github.com/juju/docs/pull/152/files (charms-working-with-units.md) and (howto-offline-charms) to revert some of my **Note: ** changes does break in the juju.ubuntu.com docs. would you be OK with me filing an issue about the broken !!! Note: and doing a temporary patch of the botched files until the issue is resolved? | 15:41 |
JoshStrobl | doc bug filed: https://github.com/juju/docs/issues/159 | 15:57 |
=== Caguax is now known as 17SAA5U69 | ||
tvansteenburgh | fuzzy: you are the fuzzy who emailed me about the meteor charm? | 21:20 |
fuzzy | ep | 21:26 |
fuzzy | yep | 21:26 |
tvansteenburgh | ok cool. i figured out the problem, just gotta get it reviewed and updated in the store | 21:27 |
fuzzy | np | 21:27 |
fuzzy | In the future would you prefer that as a github issue? | 21:28 |
tvansteenburgh | fuzzy: sure, that'd be great | 21:31 |
=== CyberJacob is now known as CyberJacob|Away |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!