I am trying to use AWS resources in my Datahub dep...
# all-things-deployment
t
I am trying to use AWS resources in my Datahub deployment and am following the instructions in the documentation. However when I run
helm upgrade --install datahub/datahub --values values.yaml --debug
(where I've placed all the AWS configuration details in the values.yaml file) I get the following output
Copy code
history.go:56: [debug] getting history for release datahub
upgrade.go:139: [debug] preparing upgrade for datahub
upgrade.go:147: [debug] performing update for datahub
upgrade.go:319: [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:528: [debug] Watching for changes to Job datahub-elasticsearch-setup-job with timeout of 5m0s
client.go:556: [debug] Add/Modify event for datahub-elasticsearch-setup-job: ADDED
client.go:595: [debug] datahub-elasticsearch-setup-job: Jobs active: 1, jobs failed: 0, jobs succeeded: 0
client.go:556: [debug] Add/Modify event for datahub-elasticsearch-setup-job: MODIFIED
client.go:299: [debug] Starting delete for "datahub-kafka-setup-job" Job
client.go:128: [debug] creating 1 resource(s)
client.go:528: [debug] Watching for changes to Job datahub-kafka-setup-job with timeout of 5m0s
client.go:556: [debug] Add/Modify event for datahub-kafka-setup-job: ADDED
client.go:595: [debug] datahub-kafka-setup-job: Jobs active: 1, jobs failed: 0, jobs succeeded: 0
upgrade.go:430: [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:88: [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:202|helm.sh/helm/v3/cmd/helm/upgrade.go:202>
<http://github.com/spf13/cobra.(*Command).execute|github.com/spf13/cobra.(*Command).execute>
        <http://github.com/spf13/cobra@v1.2.1/command.go:856|github.com/spf13/cobra@v1.2.1/command.go:856>
<http://github.com/spf13/cobra.(*Command).ExecuteC|github.com/spf13/cobra.(*Command).ExecuteC>
        <http://github.com/spf13/cobra@v1.2.1/command.go:974|github.com/spf13/cobra@v1.2.1/command.go:974>
<http://github.com/spf13/cobra.(*Command).Execute|github.com/spf13/cobra.(*Command).Execute>
        <http://github.com/spf13/cobra@v1.2.1/command.go:902|github.com/spf13/cobra@v1.2.1/command.go:902>
main.main
        <http://helm.sh/helm/v3/cmd/helm/helm.go:87|helm.sh/helm/v3/cmd/helm/helm.go:87>
runtime.main
        runtime/proc.go:255
runtime.goexit
        runtime/asm_amd64.s:1581
Where can I find information about the pre-upgrade hooks? I don't seem to see it mentioned in the deployment documentation.