Merge lp://qastaging/~doanac/uci-engine/rabbit-worker-charmhelpers into lp://qastaging/uci-engine

Proposed by Andy Doan
Status: Merged
Approved by: Andy Doan
Approved revision: 635
Merged at revision: 635
Proposed branch: lp://qastaging/~doanac/uci-engine/rabbit-worker-charmhelpers
Merge into: lp://qastaging/uci-engine
Diff against target: 503 lines (+195/-120)
10 files modified
charms/precise/rabbitmq-worker/Makefile (+3/-0)
charms/precise/rabbitmq-worker/config.yaml (+0/-10)
charms/precise/rabbitmq-worker/hooks/hooks.py (+53/-102)
charms/precise/rabbitmq-worker/unit_tests/__init__.py (+14/-0)
charms/precise/rabbitmq-worker/unit_tests/test_hooks.py (+124/-0)
juju-deployer/branch-source-builder.yaml.tmpl (+0/-2)
juju-deployer/image-builder.yaml.tmpl (+0/-2)
juju-deployer/publisher.yaml.tmpl (+0/-2)
juju-deployer/test-runner.yaml.tmpl (+0/-2)
testing/run_tests.py (+1/-0)
To merge this branch: bzr merge lp://qastaging/~doanac/uci-engine/rabbit-worker-charmhelpers
Reviewer Review Type Date Requested Status
Celso Providelo (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+225226@code.qastaging.launchpad.net

Commit message

rabbit worker charm: convert to charmhelpers

This gets the rabbit worker charm using charmhelpers everywhere its
applicable.

One great benefit: I discovered the root of a bug we'd been seeing
forever where our worker started but failed to connect to rabbit. The
issue was that the first "config-changed" call wasn't including the
rabbit password. ie - the relation wasn't completely ready. This new
code detects that situation and prevents us from starting up until
the password is ready.

Description of the change

This does 2 things:

1) remove the bzr/vcs option for the charm. We will never use/support this mechanism
2) get us using charm helpers for the rabbit charm

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Continuous integration, rev:634
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/985/
Executed test runs:

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/985/rebuild

review: Needs Fixing (continuous-integration)
635. By Andy Doan

merge with trunk

fix conflict from new json-status hooks being added

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

PASSED: Continuous integration, rev:635
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/986/
Executed test runs:

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/986/rebuild

review: Approve (continuous-integration)
Revision history for this message
Celso Providelo (cprov) wrote :

Great work! I think it's now ready to accept the code-relocation patch we are working on.

review: Approve
Revision history for this message
Andy Doan (doanac) wrote :

> Great work! I think it's now ready to accept the code-relocation patch we are
> working on.

That's good to here, because I'm testing that very thing as we speak :)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches