thousands-solstice-2498
08/26/2022, 10:38 AMbumpy-needle-3184
08/29/2022, 7:12 AMkubectl logs -f <<elasticsearch-setup-pod>> -n <<namespace>>
kubectl describe <<elasticsearch-setup-pod>> -n <<namespace>>
thousands-solstice-2498
08/29/2022, 9:40 AMthousands-solstice-2498
08/29/2022, 9:41 AMthousands-solstice-2498
08/29/2022, 9:44 AMcold-book-93720
10/04/2022, 1:15 PMv0.8.44
to v0.8.45
. Any help is appreciated, thank you thanks
➜ helm ls -n datahub
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
datahub datahub 38 2022-10-04 10:06:39.142839923 -0300 -03 failed datahub-0.2.106 0.8.45
prerequisites datahub 2 2022-09-13 15:19:05.809472861 -0300 -03 deployed datahub-prerequisites-0.0.10
--
➜ helm upgrade --cleanup-on-fail \
datahub datahub/datahub \
--namespace datahub \
--values datahub/values.yaml --debug
upgrade.go:142: [debug] preparing upgrade for datahub
upgrade.go:150: [debug] performing update for datahub
upgrade.go:322: [debug] creating upgraded release for datahub
client.go:299: [debug] Starting delete for "datahub-elasticsearch-setup-job" Job
client.go:128: [debug] creating 1 resource(s)
client.go:529: [debug] Watching for changes to Job datahub-elasticsearch-setup-job with timeout of 5m0s
client.go:557: [debug] Add/Modify event for datahub-elasticsearch-setup-job: ADDED
client.go:596: [debug] datahub-elasticsearch-setup-job: Jobs active: 1, jobs failed: 0, jobs succeeded: 0
client.go:557: [debug] Add/Modify event for datahub-elasticsearch-setup-job: MODIFIED
client.go:596: [debug] datahub-elasticsearch-setup-job: Jobs active: 1, jobs failed: 1, jobs succeeded: 0
client.go:557: [debug] Add/Modify event for datahub-elasticsearch-setup-job: MODIFIED
client.go:596: [debug] datahub-elasticsearch-setup-job: Jobs active: 1, jobs failed: 2, jobs succeeded: 0
client.go:557: [debug] Add/Modify event for datahub-elasticsearch-setup-job: MODIFIED
client.go:596: [debug] datahub-elasticsearch-setup-job: Jobs active: 1, jobs failed: 3, jobs succeeded: 0
client.go:557: [debug] Add/Modify event for datahub-elasticsearch-setup-job: MODIFIED
client.go:596: [debug] datahub-elasticsearch-setup-job: Jobs active: 1, jobs failed: 4, jobs succeeded: 0
client.go:557: [debug] Add/Modify event for datahub-elasticsearch-setup-job: MODIFIED
client.go:596: [debug] datahub-elasticsearch-setup-job: Jobs active: 1, jobs failed: 5, jobs succeeded: 0
upgrade.go:431: [debug] warning: Upgrade "datahub" failed: pre-upgrade hooks failed: timed out waiting for the condition
Error: UPGRADE FAILED: pre-upgrade hooks failed: timed out waiting for the condition
helm.go:84: [debug] pre-upgrade hooks failed: timed out waiting for the condition
UPGRADE FAILED
main.newUpgradeCmd.func2
<http://helm.sh/helm/v3/cmd/helm/upgrade.go:199|helm.sh/helm/v3/cmd/helm/upgrade.go:199>
<http://github.com/spf13/cobra.(*Command).execute|github.com/spf13/cobra.(*Command).execute>
<http://github.com/spf13/cobra@v1.3.0/command.go:856|github.com/spf13/cobra@v1.3.0/command.go:856>
<http://github.com/spf13/cobra.(*Command).ExecuteC|github.com/spf13/cobra.(*Command).ExecuteC>
<http://github.com/spf13/cobra@v1.3.0/command.go:974|github.com/spf13/cobra@v1.3.0/command.go:974>
<http://github.com/spf13/cobra.(*Command).Execute|github.com/spf13/cobra.(*Command).Execute>
<http://github.com/spf13/cobra@v1.3.0/command.go:902|github.com/spf13/cobra@v1.3.0/command.go:902>
main.main
<http://helm.sh/helm/v3/cmd/helm/helm.go:83|helm.sh/helm/v3/cmd/helm/helm.go:83>
runtime.main
runtime/proc.go:255
runtime.goexit
runtime/asm_amd64.s:1581
--
➜ kubectl logs -f -n datahub datahub-elasticsearch-setup-job-4nhlm
2022/10/04 13:09:15 Waiting for: <http://elasticsearch-master:9200>
2022/10/04 13:09:15 Received 200 from <http://elasticsearch-master:9200>
Going to use protocol: http
Going to use default elastic headers
Create datahub_usage_event if needed against Elasticsearch at elasticsearch-master:9200
Going to use index prefix::
curl: option -k <http://elasticsearch-master:9200/_ilm/policy/datahub_usage_event_policy>: is unknown
curl: try 'curl --help' or 'curl --manual' for more information
/create-indices.sh: line 41: [: -eq: unary operator expected
/create-indices.sh: line 45: [: -eq: unary operator expected
/create-indices.sh: line 47: [: -eq: unary operator expected
Policy GET response code is
Got response code while creating policy so exiting.
2022/10/04 13:09:15 Command exited with error: exit status 1
brave-secretary-27487
10/12/2022, 1:45 PMcold-book-93720
10/13/2022, 12:41 PMbrave-secretary-27487
10/13/2022, 12:55 PMelasticsearchSetupJob:
image:
imagePullPolicy: "Always"
tag: "79575b2"
brave-secretary-27487
10/13/2022, 12:56 PMcold-book-93720
10/13/2022, 12:56 PMbrave-secretary-27487
10/13/2022, 12:57 PMcold-book-93720
10/13/2022, 1:06 PMbrave-secretary-27487
10/13/2022, 1:06 PM