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

"Unspecified task queue kind" warnings in Temporal Server 1.23.0 (CLI version 0.12.0) #5903

Open
tomwheeler opened this issue May 10, 2024 · 1 comment

Comments

@tomwheeler
Copy link

When starting a local Temporal development server using Temporal CLI version 0.12.0, I observe multiple "Unspecified task queue kind" warnings in the terminal window. Although I experience this while using the CLI, I believe the underlying problem is in the server code, so I am reporting it here.

Expected Behavior

When starting the development server via the CLI, using the default options, I do not expect to see warnings or errors in the terminal window (except in case of user error, such as a port conflict on the machine).

Actual Behavior

After starting the development server via the CLI, I frequently see multiple warnings with the message "Unspecified task queue kind" in the terminal window where that server is running. Here is a complete copy of the terminal session in which I started the development server. There are 10 such warnings (amid three "error in prometheus reporter" warnings, about which I filed issue #5897 yesterday):

$ temporal server start-dev
Temporal server is running at: localhost:7233
Web UI is running at: http://localhost:8233
Metrics available at: http://localhost:64716/metrics
time=2024-05-10T10:34:44.299 level=WARN msg="error in prometheus reporter" error="a previously registered descriptor with the same fully-qualified name as Desc{fqName: \"AccessHistoryOld\", help: \"AccessHistoryOld counter\", constLabels: {}, variableLabels: [{service_name <nil>} {operation <nil>} {namespace <nil>}]} has different label names or a different help string"
time=2024-05-10T10:34:44.309 level=WARN msg="error in prometheus reporter" error="a previously registered descriptor with the same fully-qualified name as Desc{fqName: \"AccessHistoryOld\", help: \"AccessHistoryOld counter\", constLabels: {}, variableLabels: [{service_name <nil>} {namespace <nil>} {operation <nil>}]} has different label names or a different help string"
time=2024-05-10T10:47:47.354 level=WARN msg="Unspecified task queue kind" service=frontend wf-task-queue-name=orders wf-namespace=default
time=2024-05-10T10:47:47.364 level=WARN msg="Unspecified task queue kind" service=frontend wf-task-queue-name=orders wf-namespace=default
time=2024-05-10T10:47:47.417 level=WARN msg="error in prometheus reporter" error="a previously registered descriptor with the same fully-qualified name as Desc{fqName: \"AccessHistoryOld\", help: \"AccessHistoryOld counter\", constLabels: {}, variableLabels: [{operation <nil>} {service_name <nil>} {namespace <nil>}]} has different label names or a different help string"
time=2024-05-10T10:48:15.333 level=WARN msg="Unspecified task queue kind" service=frontend wf-task-queue-name=orders wf-namespace=default
time=2024-05-10T10:48:15.337 level=WARN msg="Unspecified task queue kind" service=frontend wf-task-queue-name=orders wf-namespace=default
time=2024-05-10T10:48:17.951 level=WARN msg="Unspecified task queue kind" service=frontend wf-task-queue-name=orders wf-namespace=default
time=2024-05-10T10:48:17.953 level=WARN msg="Unspecified task queue kind" service=frontend wf-task-queue-name=orders wf-namespace=default
time=2024-05-10T10:49:11.224 level=WARN msg="Unspecified task queue kind" service=frontend wf-task-queue-name=orders wf-namespace=default
time=2024-05-10T10:49:11.227 level=WARN msg="Unspecified task queue kind" service=frontend wf-task-queue-name=orders wf-namespace=default
time=2024-05-10T10:49:12.794 level=WARN msg="Unspecified task queue kind" service=frontend wf-task-queue-name=orders wf-namespace=default
time=2024-05-10T10:49:12.798 level=WARN msg="Unspecified task queue kind" service=frontend wf-task-queue-name=orders wf-namespace=default

Steps to Reproduce the Problem

  1. Install Temporal CLI version 0.12.0 (which is based on Temporal Server release 1.23.0). I did this via homebrew, although I doubt that the installation method is relevant
  2. Run temporal server start-dev to start the development server
  3. Run a few Workflows. The code I'm using isn't yet in a public repo, but I don't believe the problem is specific to this application. If you're unable to reproduce the problem, let me know and I will share the code and/or demonstrate it.

Specifications

  • Version: Temporal CLI version 0.12.0
  • Platform: M2 MacBook Pro, running MacOS 13.6.6
@ShahabT
Copy link
Contributor

ShahabT commented May 15, 2024

This is already fixed in server code #5661. It will be included in the next patch or minor release whenever comes first (1.23.2 or 1.24.0).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants