Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not force the use of FQDN in replica set configuration #164

Open
mateusduboli opened this issue Jun 21, 2017 · 1 comment
Open

Do not force the use of FQDN in replica set configuration #164

mateusduboli opened this issue Jun 21, 2017 · 1 comment

Comments

@mateusduboli
Copy link
Contributor

mateusduboli commented Jun 21, 2017

In the replica set definition function, after it creates the replica set, if you do a consecutive run of chef-client in the instance, the script then tries to convert the mongo IPs into FQDNs, which in my case destroys the replica set.

To reproduce the error, just run a the sc-mongo::replicaset recipe with node['mongodb']['use_ip_address'] twice and check rs.conf() in mongo, and the hosts will be changed.

@github-actions
Copy link

Marking stale due to inactivity. Remove stale label or comment or this will be closed in 7 days. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.

@github-actions github-actions bot added the Stale label Sep 30, 2020
@xorimabot xorimabot removed the Stale label Sep 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants