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

Use zero redundancy when number of ES nodes is 1 #539

Merged

Conversation

pavolloffay
Copy link
Member

Signed-off-by: Pavol Loffay [email protected]

ES operator does not allow single redundancy with single ES node.

oc logs elasticsearch-operator-5c76fb5664-4wtch -n openshift-logging        10:55 
time="2019-07-18T08:51:44Z" level=info msg="Go Version: go1.10.8"
time="2019-07-18T08:51:44Z" level=info msg="Go OS/Arch: linux/amd64"
time="2019-07-18T08:51:44Z" level=info msg="operator-sdk Version: 0.0.7"
time="2019-07-18T08:51:44Z" level=info msg="Watching logging.openshift.io/v1, Elasticsearch, , 5000000000"
time="2019-07-18T08:52:07Z" level=error msg="error syncing key (myproject/elasticsearch): Failed to reconcile Elasticsearch deployment spec: Wrong RedundancyPolicy selected 'SingleRedundancy'. Choose different RedundancyPolicy or add more nodes with data roles

@pavolloffay pavolloffay requested a review from objectiser July 18, 2019 09:08
Signed-off-by: Pavol Loffay <[email protected]>
@codecov
Copy link

codecov bot commented Jul 18, 2019

Codecov Report

Merging #539 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #539      +/-   ##
==========================================
+ Coverage   91.97%   91.98%   +<.01%     
==========================================
  Files          69       69              
  Lines        3501     3504       +3     
==========================================
+ Hits         3220     3223       +3     
  Misses        196      196              
  Partials       85       85
Impacted Files Coverage Δ
pkg/strategy/controller.go 97.6% <100%> (+0.05%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 74f523c...fef9bd3. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented Jul 18, 2019

Codecov Report

Merging #539 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #539      +/-   ##
==========================================
+ Coverage   91.97%   91.98%   +<.01%     
==========================================
  Files          69       69              
  Lines        3501     3504       +3     
==========================================
+ Hits         3220     3223       +3     
  Misses        196      196              
  Partials       85       85
Impacted Files Coverage Δ
pkg/strategy/controller.go 97.6% <100%> (+0.05%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 74f523c...fef9bd3. Read the comment docs.

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

Successfully merging this pull request may close these issues.

2 participants