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

refresh failed: value for 'host.type' must be one of DATA_NODE, MASTER_NODE, TYPE_UNSPECIFIED, not `` #10

Open
fitospark opened this issue Aug 12, 2022 · 0 comments

Comments

@fitospark
Copy link

fitospark commented Aug 12, 2022

Good afternoon. After installing Elastic, after a while the state of Reconcile goes into Error, without any changes or edits.

Behavior example:

  1. Install. status:

Conditions:
Last Transition Time: 2022-08-09T13:25:27Z
Reason: ReconcileSuccess
Status: True
Type: Synced

Normal UpdatedExternalResource 8m managed/mdb.yandex-cloud.jet.crossplane.io/v1alpha1, kind=elasticsearchcluster Successfully requested update of external resource

  1. After some time, about 10-15 hours:

Conditions:
Last Transition Time: 2022-08-10T04:05:36Z
Message: observe failed: cannot run refresh: refresh failed: value for 'host.type' must be one of TYPE_UNSPECIFIED, DATA_NODE, MASTER_NODE, not ``: : File name: main.tf.json
Reason: ReconcileError
Status: False
Type: Synced

Events:
Warning CannotObserveExternalResource 29m (x12 over 70m) managed/mdb.yandex-cloud.jet.crossplane.io/v1alpha1, kind=elasticsearchcluster cannot run refresh: refresh failed: value for 'host.type' must be one of MASTER_NODE, TYPE_UNSPECIFIED, DATA_NODE, not ``: : File name: main.tf.json

Warning CannotObserveExternalResource 4m43s (x92 over 74m) managed/mdb.yandex-cloud.jet.crossplane.io/v1alpha1, kind=elasticsearchcluster cannot run refresh: refresh failed: value for 'host.type' must be one of TYPE_UNSPECIFIED, DATA_NODE, MASTER_NODE, not ``: : File name: main.tf.json`

However, no remedial action was taken.

  1. Code Example:
    host:
      - assignPublicIp: {{ .Values.efk.PublicIp }}
        name: {{ .Values.efk.Name }}
        subnetIdRef:
          name: {{ .Values.yc.SubnetB }}
        type: "DATA_NODE"
        zone: {{ .Values.yc.HostAvailabilityZoneB }}
    name: {{ .Values.efk.Name }}
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

1 participant