-
Notifications
You must be signed in to change notification settings - Fork 292
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
Update to zabbix 50 #131
Update to zabbix 50 #131
Conversation
…bix into update-to-zabbix-50
Codecov Report
@@ Coverage Diff @@
## master #131 +/- ##
==========================================
+ Coverage 78.66% 79.25% +0.59%
==========================================
Files 18 18
Lines 2737 2594 -143
Branches 624 618 -6
==========================================
- Hits 2153 2056 -97
+ Misses 396 357 -39
+ Partials 188 181 -7
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Nice work :)
Hi @dj-wasabi Thank you for this patch!
The above cause was a repo file.
I tried to the following URL, to the accessed page is http://repo.zabbix.com/zabbix/5.0/rhel/8/x86_64/frontend/ So, I think FYI
|
I tried to install zabbix web with zabbix_web role to RHEL7 occurs the following scl rpm errors.
I resolved the above errors by the following repos enabled. https://access.redhat.com/discussions/3677111 In the RHEL7, maybe not necessary of a centos-release-scl repo. |
Oops, Sorry, I was wrong. |
I found some problems after executing tests for the combination table
Error that occur with combination of RHEL7 and
Error that occur with combination of RHEL8 and
Error that occur with combination of RHEL8 and PostgreSQL
In the RHEL8, MySQL-python and python-psycopg2 rpm package were not found. |
Thanks. Will take a look at it. For CentOS I had to add the following roles:
I'll find a CentOS 8 Docker image to test on. Not sure why Zabbix decided to change everything again with repos for RHEL8 .. Just a quick question, why do you had any issues with Zabbix Proxy with MySQL and not with Zabbix Server? |
I found out why, when combined RHEL7 and MariaDB, the error was occurring.
How to resolve I changed to schema.sql using the following command.
And, I was able to import the schema.sql to zabbix_proxy database.
After I rewrote the playbook like the following that I re-execute the zabbix_proxy role was succeeded for tasks.
(snip)
- name: "MySQL | Create database and import file"
mysql_db:
name: "{{ zabbix_proxy_dbname }}"
encoding: "{{ zabbix_proxy_dbencoding }}"
collation: "{{ zabbix_proxy_dbcollation }}"
login_host: "{{ zabbix_proxy_mysql_login_host | default(omit) }}"
login_user: "{{ zabbix_proxy_mysql_login_user | default(omit) }}"
login_password: "{{ zabbix_proxy_mysql_login_password | default(omit) }}"
state: import
#target: "{{ ls_output_create.stdout }}"
target: /root/schema.sql
when:
- zabbix_database_sqlload
- not done_file.stat.exists
delegate_to: "{{ delegated_dbhost }}"
tags:
- zabbix-proxy
- database
(snip)
So, I think to need to change the schema.sql file or upgrade MariaDB. suggestion I look like the zabbix_proxy role doesn't have a libsemanage-python install task.
I think adding a libsemanage-python task to the zabbix_proxy role would make it better. |
Sounds like issue for Zabbix itself that is not very suitable to be handled in the role |
Hi @sky-joker Thanks! I will add the Currently strugling with PHP(-FPM) on CentOS 8 right now.. Hopefully i am able to fix it this weekend. |
Thank you @dj-wasabi for fixing some issues. @D3DeFi |
Will do later today. Excellent job @dj-wasabi and thank you for thorough testing @sky-joker ! 🚀 🥇 |
Thank you @sky-joker for testing and @D3DeFi for merging. |
SUMMARY
Update to zabbix 50
ISSUE TYPE
COMPONENT NAME
ADDITIONAL INFORMATION