2015-07-16 13:04:49 |
Ivan Ponomarev |
bug |
|
|
added bug |
2015-07-16 13:21:00 |
Ivan Ponomarev |
description |
When primary controller was unaccessible or deleted from cluster master mongo moved to the other controller.
In this case primary-mongo role and master host for replicaset of mongoDB are placed on the different controller nodes puppet fails
The possible solution is update mongoDB from upstream:
https://github.com/puppetlabs/puppetlabs-mongodb/blob/master/lib/puppet/provider/mongodb_replset/mongo.rb#L212-L217
Reproduced in fuel 6.1 and 7.0
Step to reproduce:
1) Build cluster using controller+mongodb
2) Delete primary-controller.
3) Add new controller to cluster.
The last tested version of fuel:
release: "7.0"
openstack_version: "2014.2.2-7.0"
api: "1.0"
build_number: "141"
build_id: "2015-06-30_19-02-39"
nailgun_sha: "9ea8b2cf30966b4805d0655b516c5a5d67d05865"
python-fuelclient_sha: "7f50043963bda38b7857cfcb61ece2bcc5b9aa1c"
astute_sha: "8d11177f91aab90f8034e9f6a479f343e1a4ec7f"
fuel-library_sha: "21131baa6dbe2f79fc14cdc2667c301f0be97a9c"
fuel-ostf_sha: "2eff8e314d3024707f32cf539a7997bfc427f351"
fuelmain_sha: "b6f98e6b31cee7f9b925c6cc24e47966fa63e8ec" |
When primary controller was unaccessible or deleted from cluster master mongo moved to the other controller.
Puppet fails when primary-mongo role and master host for replicaset of mongoDB are placed on the different controller nodes
The possible solution is update mongoDB from upstream:
https://github.com/puppetlabs/puppetlabs-mongodb/blob/master/lib/puppet/provider/mongodb_replset/mongo.rb#L212-L217
Reproduced in fuel 6.1 and 7.0
Step to reproduce:
1) Build cluster using controller+mongodb
2) Delete primary-controller.
3) Add new controller to cluster.
The last tested version of fuel:
release: "7.0"
openstack_version: "2014.2.2-7.0"
api: "1.0"
build_number: "141"
build_id: "2015-06-30_19-02-39"
nailgun_sha: "9ea8b2cf30966b4805d0655b516c5a5d67d05865"
python-fuelclient_sha: "7f50043963bda38b7857cfcb61ece2bcc5b9aa1c"
astute_sha: "8d11177f91aab90f8034e9f6a479f343e1a4ec7f"
fuel-library_sha: "21131baa6dbe2f79fc14cdc2667c301f0be97a9c"
fuel-ostf_sha: "2eff8e314d3024707f32cf539a7997bfc427f351"
fuelmain_sha: "b6f98e6b31cee7f9b925c6cc24e47966fa63e8ec" |
|
2015-07-16 13:46:27 |
Alexander Kislitsky |
fuel: assignee |
|
Fuel Library Team (fuel-library) |
|
2015-07-16 13:51:30 |
Dmitry Ilyin |
fuel: assignee |
Fuel Library Team (fuel-library) |
Dmitry Ilyin (idv1985) |
|
2015-07-16 13:51:35 |
Dmitry Ilyin |
fuel: status |
New |
Confirmed |
|
2015-07-18 19:53:40 |
Stanislaw Bogatkin |
fuel: importance |
Undecided |
Medium |
|
2015-07-18 19:53:43 |
Stanislaw Bogatkin |
fuel: milestone |
|
7.0 |
|
2015-07-21 16:46:05 |
Aleksandr Didenko |
fuel: assignee |
Dmitry Ilyin (idv1985) |
Aleksandr Didenko (adidenko) |
|
2015-07-21 16:46:11 |
Aleksandr Didenko |
fuel: importance |
Medium |
Critical |
|
2015-07-21 17:52:14 |
Aleksandr Didenko |
fuel: assignee |
Aleksandr Didenko (adidenko) |
Ivan Berezovskiy (iberezovskiy) |
|
2015-07-21 17:53:45 |
Aleksandr Didenko |
tags |
feature-mongo puppet |
feature-mongo puppet tricky |
|
2015-07-28 12:19:10 |
Ivan Berezovskiy |
fuel: assignee |
Ivan Berezovskiy (iberezovskiy) |
Ivan Ponomarev (ivanzipfer) |
|
2015-07-29 09:55:06 |
Ivan Ponomarev |
fuel: status |
Confirmed |
In Progress |
|
2015-08-05 17:11:27 |
OpenStack Infra |
fuel: status |
In Progress |
Fix Committed |
|
2015-08-13 13:30:20 |
Alexander Arzhanov |
tags |
feature-mongo puppet tricky |
feature-mongo on-verification puppet tricky |
|
2015-08-19 15:46:23 |
Alexander Arzhanov |
fuel: status |
Fix Committed |
Fix Released |
|
2015-08-19 15:47:23 |
Alexander Arzhanov |
tags |
feature-mongo on-verification puppet tricky |
feature-mongo puppet tricky |
|