Install Error - missing rsync
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
statusnet (Juju Charms Collection) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I am brand new to the world of juju, so forgive me if I'm missing something obvious.
Basically just rsync is missing and install fails, easily fixable. Here's the context in case it helps.
I am deploying nodes as suggested by the nagios charm
[code]
juju deploy nagios central-monitor
juju deploy mysql big-db
(fails here) juju deploy statusnet microblog
juju add-relation big-db microblog
juju add-relation big-db central-monitor
juju add-relation microblog central-monitor
[/code]
at "juju deploy statusnet microblog" the install hook fails
[code]
2012-07-31 08:08:02,667 unit:microblog/1: unit.hook.api INFO: Downloading and verifying StatusNet
2012-07-31 08:08:51,769 unit:microblog/1: unit.hook.api INFO: Extracting StatusNet
2012-07-31 08:08:52,009 unit:microblog/1: unit.hook.api INFO: Relocating files to document root
2012-07-31 08:08:52,036 unit:microblog/1: hook.output INFO: /tmp /var/www
2012-07-31 08:08:52,807 unit:microblog/1: hook.output ERROR: /var/lib/
2012-07-31 08:08:52,808 unit:microblog/1: hook.output DEBUG: hook install exited, exit code Traceback (most recent call last):
Failure: juju.errors.
.
2012-07-31 08:08:52,808 unit:microblog/1: hook.executor DEBUG: Hook error: /var/lib/
2012-07-31 08:08:52,809 unit:microblog/1: statemachine DEBUG: unitworkflowstate: executing error transition error_install, Error processing '/var/lib/
2012-07-31 08:08:53,350 unit:microblog/1: statemachine DEBUG: unitworkflowstate: transition error_install (None -> install_error) {}
2012-07-31 08:08:53,391 unit:microblog/1: statemachine DEBUG: unitworkflowstate: transition complete error_install (state install_error) {}
[/code]
no idea why rsync could not be found. This is a local install using precise, here is the relevant section of environments config
[code]
local:
type: local
control-bucket: juju-censorednu
admin-secret: morecensorednumbers
default-series: precise
juju-origin: distro
data-dir: /home/user/
[/code]
no constraints applied anywhere.
reproducable from scratch every time.
reproducable from juju resolved --retry every time.
after a juju ssh microblog/0 and a sudo apt-get install rsync and a juju resolved --retry it works fine
Hi Garrett, thanks for your contribution to Ubuntu!
In the future here's the step-by-step on how to submit a fix to a charm (so that it gets into the review queue and not lost)
https:/ /juju.ubuntu. com/docs/ charm-store. html#submitting -a-fix- to-an-existing- charm