Conversation
…y' into oonimeasurements-limits
Ansible Run Output 🤖Ansible Playbook Recap 🔍Ansible playbook output 📖
|
| Pusher | @aagbsn |
| Action | pull_request |
| Working Directory | |
| Workflow | .github/workflows/check_ansible.yml |
| Last updated | Thu, 30 Apr 2026 08:54:58 GMT |
|
see history for example of what doesn't work |
|
It looks like the users and profiles are set as storage users_xml, but the ansible role above uses the database-backed config. I tried changing it to use and manage users usign the _xml keys, but this caused an error which prevented clickhouse from starting, so I reverted the changes. I also note that the oonimeasurements user is in local_directory, unlike the others SELECT *
FROM settings_profiles
Query id: 53b81b04-0ccd-488d-8b7b-25e6a08dd6ed
┌─name─────┬─id───────────────────────────────────┬─storage───┬─num_elements─┬─apply_to_all─┬─apply_to_list─┬─apply_to_except─┐
1. │ admin │ 7a7dc106-4174-55c8-8757-d73d2702c13e │ users_xml │ 1 │ 0 │ [] │ [] │
2. │ write │ 1b34e30d-4a12-bae6-8874-8726a54db7f3 │ users_xml │ 2 │ 0 │ [] │ [] │
3. │ readonly │ d1659f3e-83fe-3845-f1be-5fada6046b67 │ users_xml │ 2 │ 0 │ [] │ [] │
4. │ default │ 4bfbe653-9137-0ea6-b97d-dc391ec9a919 │ users_xml │ 5 │ 0 │ [] │ [] │
└──────────┴──────────────────────────────────────┴───────────┴──────────────┴──────────────┴───────────────┴─────────────────┘
4 rows in set. Elapsed: 0.001 sec. |
|
https://clickhouse.com/docs/operations/access-rights#access-control-usage |
|
after running deploy-clickhouse.yml ansible playbook, clickhouse failed to start with: when I reverted the ansible role to use the _xml config this is the change it undid to users.xml: Maybe it's all-or-nothing with regard to using _xml variants of all of the profiles, users, etc |
|
|
…anage_quotas https://github.com/idealista/clickhouse_role/blob/main/molecule/default/group_vars/clickhouse_group.yml actually use sha256 password type clickhouse role disregards password_type and only looks at key password_sha256_hex ... fix quotas keys
dd965ff to
b7a4246
Compare
the difference between the _xml and sql managed user settings is poorly documented and fails open.
…word if type is sha256_hash
merge #417 and #409 and let ansible manage the profiles, settings, and quotas.