ceilometer amulet test fails with unexpected relation data in mongodb database - key 'replset' does not exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ceilometer (Juju Charms Collection) |
Fix Released
|
Undecided
|
Ryan Beisner |
Bug Description
ceilometer amulet test fails with unexpected relation data in mongodb database - key 'replset' does not exist
Passes Precise-Icehouse, fails Trusty-Icehouse+.
I suspect a default behavior or relation change has occurred either in the ceilometer charm or the mongodb charm since the 15.04 release, without the functional test having its expectations updated.
2015-06-04 11:19:46,514 _validate_dict_data DEBUG: actual: {u'private-
2015-06-04 11:19:46,514 _validate_dict_data DEBUG: expected: {'private-address': <bound method OpenStackAmulet
unexpected relation data in mongodb database - key 'replset' does not exist
Related branches
- Corey Bryant (community): Approve
-
Diff: 18 lines (+3/-1)1 file modifiedtests/basic_deployment.py (+3/-1)
Changed in ceilometer (Juju Charms Collection): | |
assignee: | nobody → Ryan Beisner (1chb1n) |
description: | updated |
Changed in ceilometer (Juju Charms Collection): | |
status: | New → In Progress |
status: | In Progress → Fix Committed |
Changed in ceilometer (Juju Charms Collection): | |
milestone: | none → 15.07 |
status: | Fix Committed → Fix Released |
In mongodb revno 66 there was an update to not provide replset relation varable unless service is replsetted. So it looks like there needs to be a peer replica-set in the deployment for the replset variable to get set.
revno: 66 [merge] freyes] Fixes various replicaset issues bug LP: #1403698, LP: #1370542, LP: #1379604
author: Mario Splivalo <email address hidden>
committer: Jorge Niedbalski <email address hidden>
branch nick: mongodb
timestamp: Thu 2015-01-22 14:09:22 -0300
message:
[mariosplivalo, r=niedbalski,
unit tests Ok, amulet tests OK.