Code Monkey home page Code Monkey logo

Comments (3)

alexgherman avatar alexgherman commented on June 12, 2024 1

ok sorry now I feel stupid, port 8081 was taken by a different container and this was at the very top:

Error starting userland proxy: listen tcp4 0.0.0.0:8081: bind: address already in use

I apologize... and thank you!
I'm closing this

from hocus.

gorbak25 avatar gorbak25 commented on June 12, 2024

@alexgherman Thank you for checking out Hocus :)
Looks like the healthcheck failed on the temporal cluster, this might happen if temporal is slow to start. Could you rerun the installation and let me know if that fixed the issue?

from hocus.

alexgherman avatar alexgherman commented on June 12, 2024

thank you @gorbak25

I tried multiple times by cleaning up in between runs:

$ HOCUS_HOSTNAME="localhost" ops/bin/local-cleanup.sh
...
$ HOCUS_HOSTNAME="localhost" ops/bin/local-up.sh

interestingly if I don't clean up I get a bit further, but temporal still errors out:

hocus-local-temporal-1     | + echo 'Waiting for namespace cache to refresh...'
hocus-local-temporal-1     | + sleep 1
hocus-local-temporal-1     | + temporal operator search-attribute list --namespace default
hocus-local-temporal-1     | Error: unable to list search attributes: Namespace default is not found.
hocus-local-temporal-1     | ('export TEMPORAL_CLI_SHOW_STACKS=1' to see stack traces)
hocus-local-temporal-1     | + echo 'Waiting for namespace cache to refresh...'
hocus-local-temporal-1     | + sleep 1
hocus-local-temporal-1     | Waiting for namespace cache to refresh...
hocus-local-temporal-1     | + temporal operator search-attribute list --namespace default
hocus-local-temporal-1     | Error: unable to list search attributes: Namespace default is not found.
hocus-local-temporal-1     | ('export TEMPORAL_CLI_SHOW_STACKS=1' to see stack traces)
hocus-local-temporal-1     | + echo 'Waiting for namespace cache to refresh...'
hocus-local-temporal-1     | + sleep 1
hocus-local-temporal-1     | Waiting for namespace cache to refresh...
hocus-local-temporal-1     | + temporal operator search-attribute list --namespace default
hocus-local-temporal-1     | Error: unable to list search attributes: Namespace default is not found.
hocus-local-temporal-1     | ('export TEMPORAL_CLI_SHOW_STACKS=1' to see stack traces)
hocus-local-temporal-1     | Waiting for namespace cache to refresh...
hocus-local-temporal-1     | + echo 'Waiting for namespace cache to refresh...'
hocus-local-temporal-1     | + sleep 1
hocus-local-temporal-1     | + temporal operator search-attribute list --namespace default
hocus-local-temporal-1     | Error: unable to list search attributes: Namespace default is not found.
hocus-local-temporal-1     | ('export TEMPORAL_CLI_SHOW_STACKS=1' to see stack traces)
hocus-local-temporal-1     | + echo 'Waiting for namespace cache to refresh...'
hocus-local-temporal-1     | + sleep 1
hocus-local-temporal-1     | Waiting for namespace cache to refresh...
hocus-local-temporal-1     | + temporal operator search-attribute list --namespace default
hocus-local-temporal-1     | Error: unable to list search attributes: Namespace default is not found.
hocus-local-temporal-1     | ('export TEMPORAL_CLI_SHOW_STACKS=1' to see stack traces)
hocus-local-temporal-1     | Waiting for namespace cache to refresh...
hocus-local-temporal-1     | + echo 'Waiting for namespace cache to refresh...'
hocus-local-temporal-1     | + sleep 1
hocus-local-temporal-1     | + temporal operator search-attribute list --namespace default
hocus-local-temporal-1     | Error: unable to list search attributes: Namespace default is not found.
hocus-local-temporal-1     | ('export TEMPORAL_CLI_SHOW_STACKS=1' to see stack traces)
hocus-local-temporal-1     | + echo 'Waiting for namespace cache to refresh...'
hocus-local-temporal-1     | + sleep 1
hocus-local-temporal-1     | Waiting for namespace cache to refresh...
hocus-local-temporal-1     | + temporal operator search-attribute list --namespace default
hocus-local-temporal-1     | Error: unable to list search attributes: Namespace default is not found.
hocus-local-temporal-1     | ('export TEMPORAL_CLI_SHOW_STACKS=1' to see stack traces)
hocus-local-temporal-1     | + echo 'Waiting for namespace cache to refresh...'
hocus-local-temporal-1     | + sleep 1
hocus-local-temporal-1     | Waiting for namespace cache to refresh...
hocus-local-temporal-1     | + temporal operator search-attribute list --namespace default
hocus-local-temporal-1     | Error: unable to list search attributes: Namespace default is not found.
hocus-local-temporal-1     | ('export TEMPORAL_CLI_SHOW_STACKS=1' to see stack traces)
hocus-local-temporal-1     | + echo 'Waiting for namespace cache to refresh...'
hocus-local-temporal-1     | Waiting for namespace cache to refresh...
hocus-local-temporal-1     | + sleep 1
hocus-local-temporal-1     | {"level":"info","ts":"2023-05-25T03:29:59.967Z","msg":"none","service":"matching","component":"matching-engine","wf-task-queue-name":"8ce0ae91042b:d24cba99-9af4-477e-b0af-39cf50c4c5d9","wf-task-queue-type":"Workflow","wf-namespace":"default","lifecycle":"Started","logging-call-at":"taskQueueManager.go:292"}
hocus-local-temporal-1     | {"level":"info","ts":"2023-05-25T03:29:59.967Z","msg":"Started Worker","service":"worker","Namespace":"default","TaskQueue":"temporal-sys-per-ns-tq","WorkerID":"server-worker@1@8ce0ae91042b@default","logging-call-at":"pernamespaceworker.go:469"}
hocus-local-temporal-1     | {"level":"info","ts":"2023-05-25T03:29:59.968Z","msg":"none","service":"matching","component":"matching-engine","wf-task-queue-name":"temporal-sys-per-ns-tq","wf-task-queue-type":"Activity","wf-namespace":"default","lifecycle":"Started","logging-call-at":"taskQueueManager.go:292"}
hocus-local-temporal-1     | {"level":"info","ts":"2023-05-25T03:29:59.968Z","msg":"none","service":"matching","component":"matching-engine","wf-task-queue-name":"temporal-sys-per-ns-tq","wf-task-queue-type":"Workflow","wf-namespace":"default","lifecycle":"Started","logging-call-at":"taskQueueManager.go:292"}
hocus-local-temporal-1     | {"level":"info","ts":"2023-05-25T03:29:59.971Z","msg":"Current reachable members","service":"matching","component":"service-resolver","service":"frontend","addresses":["172.23.0.4:7233"],"logging-call-at":"rpServiceResolver.go:284"}
hocus-local-temporal-1     | {"level":"info","ts":"2023-05-25T03:29:59.971Z","msg":"Current reachable members","service":"matching","component":"service-resolver","service":"worker","addresses":["172.23.0.4:7239"],"logging-call-at":"rpServiceResolver.go:284"}
hocus-local-temporal-1     | + temporal operator search-attribute list --namespace default
hocus-local-temporal-1     |              Name                Type
hocus-local-temporal-1     |   BatcherNamespace            Keyword
hocus-local-temporal-1     |   BatcherUser                 Keyword
hocus-local-temporal-1     |   BinaryChecksums             KeywordList
hocus-local-temporal-1     |   CloseTime                   Datetime
hocus-local-temporal-1     |   ExecutionDuration           Int
hocus-local-temporal-1     |   ExecutionStatus             Keyword
hocus-local-temporal-1     |   ExecutionTime               Datetime
hocus-local-temporal-1     |   HistoryLength               Int
hocus-local-temporal-1     |   HistorySizeBytes            Int
hocus-local-temporal-1     |   RunId                       Keyword
hocus-local-temporal-1     |   StartTime                   Datetime
hocus-local-temporal-1     |   StateTransitionCount        Int
hocus-local-temporal-1     |   TaskQueue                   Keyword
hocus-local-temporal-1     |   TemporalChangeVersion       KeywordList
hocus-local-temporal-1     |   TemporalNamespaceDivision   Keyword
hocus-local-temporal-1     |   TemporalSchedulePaused      Bool
hocus-local-temporal-1     |   TemporalScheduledById       Keyword
hocus-local-temporal-1     |   TemporalScheduledStartTime  Datetime
hocus-local-temporal-1     |   WorkflowId                  Keyword
hocus-local-temporal-1     |   WorkflowType                Keyword
hocus-local-temporal-1     | + echo 'Namespace cache refreshed.'
hocus-local-temporal-1     | + echo 'Adding Custom*Field search attributes.'
hocus-local-temporal-1     | Namespace cache refreshed.
hocus-local-temporal-1     | Adding Custom*Field search attributes.
hocus-local-temporal-1     | + temporal operator search-attribute create --namespace default --yes --name CustomKeywordField --type Keyword --name CustomStringField --type Text --name CustomTextField --type Text --name CustomIntField --type Int --name CustomDatetimeField --type Datetime --name CustomDoubleField --type Double --name CustomBoolField --type Bool
hocus-local-temporal-1     | You are about to add search attributes [CustomBoolField:Bool CustomDatetimeField:Datetime CustomDoubleField:Double CustomIntField:Int CustomKeywordField:Keyword CustomStringField:Text CustomTextField:Text]. Continue? Y/N yes
hocus-local-temporal-1     | {"level":"info","ts":"2023-05-25T03:30:00.255Z","msg":"Workflow started.","service":"worker","Namespace":"temporal-system","TaskQueue":"default-worker-tq","WorkerID":"1@8ce0ae91042b@","WorkflowType":"temporal-sys-add-search-attributes-workflow","WorkflowID":"temporal-sys-add-search-attributes-workflow","RunID":"aac30ae9-d493-4595-ad65-c6d62e805022","Attempt":1,"wf-type":"temporal-sys-add-search-attributes-workflow","logging-call-at":"value.go:584"}
hocus-local-temporal-1     | {"level":"info","ts":"2023-05-25T03:30:00.255Z","msg":"none","service":"matching","component":"matching-engine","wf-task-queue-name":"/_sys/default-worker-tq/1","wf-task-queue-type":"Workflow","wf-namespace":"temporal-system","lifecycle":"Started","logging-call-at":"taskQueueManager.go:292"}
hocus-local-temporal-1     | {"level":"info","ts":"2023-05-25T03:30:00.263Z","msg":"none","service":"matching","component":"matching-engine","wf-task-queue-name":"/_sys/default-worker-tq/2","wf-task-queue-type":"Activity","wf-namespace":"temporal-system","lifecycle":"Started","logging-call-at":"taskQueueManager.go:292"}
hocus-local-temporal-1     | {"level":"info","ts":"2023-05-25T03:30:00.269Z","msg":"Elasticsearch client is not configured. Skipping mapping update.","logging-call-at":"workflow.go:137"}
hocus-local-temporal-1     | {"level":"info","ts":"2023-05-25T03:30:00.293Z","msg":"Elasticsearch client is not configured. Skipping Elasticsearch status check.","logging-call-at":"workflow.go:174"}
hocus-local-temporal-1     | {"level":"info","ts":"2023-05-25T03:30:00.322Z","msg":"Search attributes saved to cluster metadata.","es-index":"","logging-call-at":"workflow.go:202"}
hocus-local-temporal-1     | {"level":"info","ts":"2023-05-25T03:30:00.334Z","msg":"Workflow finished successfully.","service":"worker","Namespace":"temporal-system","TaskQueue":"default-worker-tq","WorkerID":"1@8ce0ae91042b@","WorkflowType":"temporal-sys-add-search-attributes-workflow","WorkflowID":"temporal-sys-add-search-attributes-workflow","RunID":"aac30ae9-d493-4595-ad65-c6d62e805022","Attempt":1,"wf-type":"temporal-sys-add-search-attributes-workflow","logging-call-at":"value.go:584"}
hocus-local-temporal-1     | Search attributes have been added

Above you will find the logs
Please report this problem here
🙏🙏🙏  https://github.com/hocus-dev/hocus/issues/new/choose  🙏🙏🙏
We will get you a 🦝 to help you as quickly as possible

from hocus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.