Comment 3 for bug 1475296

Revision history for this message
Aleksandr Didenko (adidenko) wrote :

The problem is not only with migration of mongodb master, the problem is that /etc/puppet/modules/osnailyfacter/modular/roles/mongo_primary.pp could not be applied successfully after the first run. Simply upgrading mongodb module will not help since we have issues with authentication after the first run. It may require refactoring of our manifests and deeper investigation of how to deploy primary mongo and replica set in order to provide mongo_primary.pp idempotency.

In order to reproduce the issue, you can simply run this command on a deployed node with primary-mongo role:
 puppet apply -d -v --noop /etc/puppet/modules/osnailyfacter/modular/roles/mongo_primary.pp