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

[BUG] site module does not use required parameter message_broker_port for Checkmk 2.4.0 sites #713

Open
robin-checkmk opened this issue Jan 14, 2025 · 0 comments
Assignees
Labels
bug Something isn't working module:site This affects the site module

Comments

@robin-checkmk
Copy link
Member

Describe the bug

Checkmk 2.4.0 introduces a new required parameter for site connections: `message_broker_port´
Running the collection against a 2.4.0 site leads to the error seen below.

Component Name

Component Name: site

Ansible Version

$ ansible --version

Checkmk Version and Edition

2.4.0

Collection Version

$ ansible-galaxy collection list

To Reproduce
Steps to reproduce the behavior:

  1. Take a look at this GitHub Actions run.

Expected behavior

The module should detect the Checkmk version and use the message_broker_port option accordingly.

Actual behavior

"msg": "400 - Bad request: Parameter or validation failure Details: b'{\"title\": \"Bad Request\", \"status\": 400, \"detail\": \"These fields have problems: site_config\", \"fields\": {\"site_config\": {\"configuration_connection\": {\"message_broker_port\": [\"Missing data for required field.\"]}}}}'"

Minimum reproduction example

See the linked GitHub Actions run above.

Additional context

@robin-checkmk robin-checkmk added the bug Something isn't working label Jan 14, 2025
@github-actions github-actions bot added the module:site This affects the site module label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working module:site This affects the site module
Projects
None yet
Development

No branches or pull requests

2 participants