Skip to content

cp-solr-xml fails when a local backup repository is configured with SolrCloud running as a custom user #519

@a-nych

Description

@a-nych

Steps to reproduce:

  1. Run SolrCloud nodes with podOptions.podSecurityContext.runAsUser and podOptions.podSecurityContext.fsGroup set to anything other than 8983 (default SolrCloud user)
  2. Configure a local backupRepository using persistentVolumeClaim

cp-solr-xml will then run chmod -r 8983:8983 <backup_storage_path> despite us running Solr with different users. At some point when files are created in the backup repository by SolrCloud, the chmod command will fail due to missing permissions and SolrCloud won't boot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcustom kube optionsAdding options related to customizing parts of the default Kubernetes resources.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions