apache / apache/solr-operator

Support changing between ephemeral and persistent storage

Open
#602 0 comments 0 reactions 0 assignees View on GitHub
bug cloud
Dominant language
Go
Stars
283
Forks
148
PR merge metrics
No merged PRs in 30d

Description

Hello,

I have configured solr on K8s using the steps in the following link,
https://apache.github.io/solr-operator/docs/local_tutorial.html#install-the-solr-operator

The solr setup is properly done. To change the dataStorage configuration in SolrCloud CRD, which is by default set as `ephemeral`
![Screenshot from 2023-08-22 13-16-10](https://github.com/apache/solr-operator/assets/77623732/45d370af-0ccd-476e-bc74-73cfb7149876)
I changed it as per this documentation(https://apache.github.io/solr-operator/docs/solr-cloud/solr-cloud-crd.html#data-storage)
to following:
![image](https://github.com/apache/solr-operator/assets/77623732/f161d2e1-3591-4f67-87d1-dab719237451)

But, once I change the dataStorage type, pod creation starts failing as below:
![image](https://github.com/apache/solr-operator/assets/77623732/ca88ce80-fb47-4046-bccb-713e893ed297)

Can you please highlight what could be missing or wrong?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the SolrCloud CRD dataStorage documentation and reproduce the reported change from ephemeral to persistent storage in Kubernetes. Inspect the pod-creation failure shown in the report and identify the missing or incorrect configuration; done means Solr pods are created successfully after switching storage types.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
databases, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.