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 fails, if configuration replication is not active #730

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

Comments

@robin-checkmk
Copy link
Member

Describe the bug

The site module fails, if configuration replication is not active.

Component Name

Component Name: site

Ansible Version

$ ansible --version

Checkmk Version and Edition

CME 2.3.0p26

Collection Version

$ ansible-galaxy collection list

To Reproduce
Steps to reproduce the behavior:

  1. See https://github.com/Checkmk/ansible-collection-checkmk.general/actions/runs/13349933112/job/37285098282#step:6:10407

Expected behavior
The module should not fail.

Actual behavior
The module fails, because it passes arguments to the API, which are not expected.

"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\": {\"direct_login_to_web_gui_allowed\": [\"Unknown field.\"], \"replicate_extensions\": [\"Unknown field.\"], \"ignore_tls_errors\": [\"Unknown field.\"], \"url_of_remote_site\": [\"Unknown field.\"], \"disable_remote_configuration\": [\"Unknown field.\"], \"user_sync\": [\"Unknown field.\"], \"replicate_event_console\": [\"Unknown field.\"]}}}}'"

Minimum reproduction example

Additional context

@robin-checkmk robin-checkmk added bug Something isn't working module:site This affects the site module labels Feb 17, 2025
@robin-checkmk robin-checkmk changed the title [BUG] [BUG] Site module fails, if configuration replication is not active Feb 17, 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