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

Incorrect logging in single sensor mode #429

Open
akshat-rubrik opened this issue Mar 12, 2025 · 0 comments
Open

Incorrect logging in single sensor mode #429

akshat-rubrik opened this issue Mar 12, 2025 · 0 comments

Comments

@akshat-rubrik
Copy link

The logging is kinda misleading and incorrect. I started jira sensor in a single sensor mode, and this is correctly reflected:

2025-03-12 20:34:28,486 INFO [-] Running in single sensor mode, using a single sensor partitioner...
2025-03-12 20:34:28,490 INFO [-] Setting up container to run 1 sensors.
2025-03-12 20:34:28,490 INFO [-] 	Sensors list - ['jira.JIRASensorForAPIv2'].
2025-03-12 20:34:28,490 INFO [-] (PID:1) SensorContainer started.
2025-03-12 20:34:28,492 INFO [-] Running sensor jira.JIRASensorForAPIv2
2025-03-12 20:34:28,550 INFO [-] Connected to amqp://admin:**@stackstorm-ha-1704186131-rabbitmq:5672//
2025-03-12 20:34:28,669 INFO [-] Sensor jira.JIRASensorForAPIv2 started
2025-03-12 20:34:30,153 INFO [-] Found config for sensor "JIRASensorForAPIv2"
2025-03-12 20:34:30,155 INFO [-] Watcher started
2025-03-12 20:34:30,155 INFO [-] Running sensor initialization code

but in the next poll it states:

2025-03-12 20:34:48,686 INFO [-] sensor jira.JIRASensorForAPIv2 is not assigned to this partition. Ignoring update.

Although the sensor runs correctly, the above log line is incorrect.
My config:

st2:
    packs:
        sensors:
            - name: jira-pack-sensor
              ref: jira.JIRASensorForAPIv2
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