Open YeonghyeonKO opened 2 months ago
With the above error, are you able to start the cluster using 2.0.1 OS
@Divyaasm Hi, I deployed with Helm Chart for OpenSearch (version: 2.1.0) and using the image for OpenSearch itself(version: 2.0.1) as below:
image:
repository: "docker-repo.xxx.com/hcp-docker/opensearchproject/opensearch"
# override image tag, which is .Chart.AppVersion by default
tag: "2.0.1"
pullPolicy: "IfNotPresent"
When I first wrote this issue, the number of nodes for Kubernetes cluster was 27.
Warning FailedScheduling 12m default-scheduler 0/27 nodes are available: 27 pod has unbound immediate PersistentVolumeClaims.
Two days ago, new worker node was added to K8s cluster, the logs changed.
Warning FailedScheduling 9m default-scheduler 0/28 nodes are available: 28 pod has unbound immediate PersistentVolumeClaims.
Describe the bug
As you can see above, master nodes for OpenSearch Cluster doesn't start as a pod. I am suspicious of the number 27, because the number of kubernetes nodes is exactly 27. The available resource of CPU & Memory of each k8s worker node is enough yet. The logs from each pod(
pod/test-opensearch-helm-master-0
) are like:To Reproduce Steps to reproduce the behavior: I've tried to run OpenSearch and its dashboard using Helm Chart (v 2.1.0).
/test-opensearch-helm/namespaces.yaml
```yaml apiVersion: v1 kind: Namespace metadata: name: test-opensearch-helm --- apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: xxx-anyuid-hostpath-clusterrole-rolebinding roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: xxx-anyuid-hostpath-psp-clusterrole subjects: - apiGroup: rbac.authorization.k8s.io kind: Group name: system:serviceaccounts:test-opensearch-helm ```/test-opensearch-helm/kustomization.yaml
```yaml namespace: test-opensearch-helm bases: # - ../../../base/common - ./opensearch/common - ./opensearch/master - ./opensearch-dashboards resources: - namespaces.yaml ```/test-opensearch-helm/opensearch/master/kustomization.yaml
```yaml helmGlobals: chartHome: ../../../../../base/opensearch/charts helmCharts: - name: opensearch-2.1.0 version: 2.1.0 releaseName: test-opensearch-helm namespace: test-opensearch-helm valuesFile: values.yaml # includeCRDs: true ```/test-opensearch-helm/opensearch/master/values.yaml
```yaml --- clusterName: "test-opensearch-helm" nodeGroup: "master" # The service that non master groups will try to connect to when joining the cluster # This should be set to clusterName + "-" + nodeGroup for your master group masterService: "test-opensearch-helm-master" # OpenSearch roles that will be applied to this nodeGroup # These will be set as environment variable "node.roles". E.g. node.roles=master,ingest,data,remote_cluster_client roles: - master - ingest - data - remote_cluster_client # - ml replicas: 3 majorVersion: "2" global: # Set if you want to change the default docker registry, e.g. a private one. dockerRegistry: "" # Allows you to add any config files in {{ .Values.opensearchHome }}/config opensearchHome: /usr/share/opensearch # such as opensearch.yml and log4j2.properties config: # Values must be YAML literal style scalar / YAML multiline string. #Host/Environment (please complete the following information):
Additional context Add any other context about the problem here.