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

define postgresql_privs due to priv deprecated in postgresql_user module | Zabbix Proxy #1215

Closed
wants to merge 2 commits into from

Conversation

mmayabi
Copy link

@mmayabi mmayabi commented Apr 23, 2024

SUMMARY

When installing Zabbix Proxy with PostgreSQL, due to the deprecation of the "priv" parameter in the "community.postgresql.postgresql_user" module, the required permissions for "zabbix_proxy" are not defined. As a result, the schema import to the database is not performed.
For this reason, the "priv" parameter has been removed, and a new task is defined using the "community.postgresql.postgresql_privs" module.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

PostgreSQL | GRANT ALL PRIVILEGES ON SCHEMA public TO zabbix_proxy user

ADDITIONAL INFORMATION

Tested on PostgreSQL 15.5 (Delegated)


@mmayabi mmayabi changed the title define postgresql_privs due to priv deprecated in postgresql_user module define postgresql_privs due to priv deprecated in postgresql_user module | Zabbix Proxy Apr 23, 2024
@loricvdt
Copy link
Contributor

Seems related to #928

@pyrodie18
Copy link
Collaborator

@mmayabi check your tests....they are failing.

@CompPhy
Copy link
Contributor

CompPhy commented Jun 13, 2024

Does this issue also affect the Zabbix Server role?

@BGmot
Copy link
Collaborator

BGmot commented Jun 13, 2024

Does this issue also affect the Zabbix Server role?

I don't think so, I widely use zabbix_server role with PostgreSQL without any problems.

@BGmot
Copy link
Collaborator

BGmot commented Jul 6, 2024

@mmayabi are you going to work further on this PR?

@eb4x
Copy link
Collaborator

eb4x commented Oct 15, 2024

Merged in #1397

@eb4x eb4x closed this Oct 15, 2024
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

Successfully merging this pull request may close these issues.

6 participants