dj-wasabi/ansible-zabbix-web

Installing Zabbix-Web-MySQL Failed

fxfitz opened this issue · 3 comments

ok: [vagrant-cms-zabbix.cyclops]

TASK [dj-wasabi.zabbix-web : RedHat | Install basic repo file] *********************************************************************************
ok: [vagrant-cms-zabbix.cyclops] => (item={u'description': u'Zabbix Official Repository - $basearch', u'gpgkey': u'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX', u'baseurl': u'http://repo.zabbix.com/zabbix/3.2/rhel/7/$basearch/', u'state': u'present', u'gpgcheck': 0, u'name': u'zabbix'})
changed: [vagrant-cms-zabbix.cyclops] => (item={u'description': u'Zabbix Official Repository non-supported - $basearch', u'gpgkey': u'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX', u'baseurl': u'http://repo.zabbix.com/non-supported/rhel/7/$basearch/', u'state': u'present', u'gpgcheck': 0, u'name': u'zabbix'})

TASK [dj-wasabi.zabbix-web : RedHat | Install zabbix-web-mysql] ********************************************************************************
fatal: [vagrant-cms-zabbix.cyclops]: FAILED! => {"changed": true, "failed": true, "msg": "http://repo.zabbix.com/non-supported/rhel/7/x86_64/zabbix-web-3.2.7-1.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found\nTrying other mirror.\nTo address this issue please refer to the below knowledge base article \n\nhttps://access.redhat.com/articles/1320623\n\nIf above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/\n\nhttp://repo.zabbix.com/non-supported/rhel/7/x86_64/zabbix-web-mysql-3.2.7-1.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found\nTrying other mirror.\n\n\nError downloading packages:\n  zabbix-web-3.2.7-1.el7.noarch: [Errno 256] No more mirrors to try.\n  zabbix-web-mysql-3.2.7-1.el7.noarch: [Errno 256] No more mirrors to try.\n\n", "rc": 1, "results": ["Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirror.cogentco.com\n * epel: mirror.oss.ou.edu\n * extras: mirror.tzulo.com\n * updates: denver.gaminghost.co\nResolving Dependencies\n--> Running transaction check\n---> Package zabbix-web-mysql.noarch 0:3.2.7-1.el7 will be installed\n--> Processing Dependency: zabbix-web = 3.2.7-1.el7 for package: zabbix-web-mysql-3.2.7-1.el7.noarch\n--> Processing Dependency: php-mysql for package: zabbix-web-mysql-3.2.7-1.el7.noarch\n--> Running transaction check\n---> Package php-mysql.x86_64 0:5.4.16-42.el7 will be installed\n--> Processing Dependency: php-pdo(x86-64) = 5.4.16-42.el7 for package: php-mysql-5.4.16-42.el7.x86_64\n---> Package zabbix-web.noarch 0:3.2.7-1.el7 will be installed\n--> Processing Dependency: php >= 5.4 for package: zabbix-web-3.2.7-1.el7.noarch\n--> Processing Dependency: php-gd for package: zabbix-web-3.2.7-1.el7.noarch\n--> Processing Dependency: php-mbstring for package: zabbix-web-3.2.7-1.el7.noarch\n--> Processing Dependency: dejavu-sans-fonts for package: zabbix-web-3.2.7-1.el7.noarch\n--> Processing Dependency: php-bcmath for package: zabbix-web-3.2.7-1.el7.noarch\n--> Processing Dependency: php-xml for package: zabbix-web-3.2.7-1.el7.noarch\n--> Processing Dependency: php-ldap for package: zabbix-web-3.2.7-1.el7.noarch\n--> Running transaction check\n---> Package dejavu-sans-fonts.noarch 0:2.33-6.el7 will be installed\n---> Package php.x86_64 0:5.4.16-42.el7 will be installed\n--> Processing Dependency: php-common(x86-64) = 5.4.16-42.el7 for package: php-5.4.16-42.el7.x86_64\n--> Processing Dependency: php-cli(x86-64) = 5.4.16-42.el7 for package: php-5.4.16-42.el7.x86_64\n---> Package php-bcmath.x86_64 0:5.4.16-42.el7 will be installed\n---> Package php-gd.x86_64 0:5.4.16-42.el7 will be installed\n--> Processing Dependency: libt1.so.5()(64bit) for package: php-gd-5.4.16-42.el7.x86_64\n---> Package php-ldap.x86_64 0:5.4.16-42.el7 will be installed\n---> Package php-mbstring.x86_64 0:5.4.16-42.el7 will be installed\n---> Package php-pdo.x86_64 0:5.4.16-42.el7 will be installed\n---> Package php-xml.x86_64 0:5.4.16-42.el7 will be installed\n--> Running transaction check\n---> Package php-cli.x86_64 0:5.4.16-42.el7 will be installed\n---> Package php-common.x86_64 0:5.4.16-42.el7 will be installed\n--> Processing Dependency: libzip.so.2()(64bit) for package: php-common-5.4.16-42.el7.x86_64\n---> Package t1lib.x86_64 0:5.1.2-14.el7 will be installed\n--> Running transaction check\n---> Package libzip.x86_64 0:0.10.1-8.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package                 Arch         Version                Repository    Size\n================================================================================\nInstalling:\n zabbix-web-mysql        noarch       3.2.7-1.el7            zabbix       5.8 k\nInstalling for dependencies:\n dejavu-sans-fonts       noarch       2.33-6.el7             base         1.4 M\n libzip                  x86_64       0.10.1-8.el7           base          48 k\n php                     x86_64       5.4.16-42.el7          base         1.4 M\n php-bcmath              x86_64       5.4.16-42.el7          base          57 k\n php-cli                 x86_64       5.4.16-42.el7          base         2.7 M\n php-common              x86_64       5.4.16-42.el7          base         564 k\n php-gd                  x86_64       5.4.16-42.el7          base         127 k\n php-ldap                x86_64       5.4.16-42.el7          base          52 k\n php-mbstring            x86_64       5.4.16-42.el7          base         505 k\n php-mysql               x86_64       5.4.16-42.el7          base         101 k\n php-pdo                 x86_64       5.4.16-42.el7          base          98 k\n php-xml                 x86_64       5.4.16-42.el7          base         125 k\n t1lib                   x86_64       5.1.2-14.el7           base         166 k\n zabbix-web              noarch       3.2.7-1.el7            zabbix       3.7 M\n\nTransaction Summary\n================================================================================\nInstall  1 Package (+14 Dependent packages)\n\nTotal download size: 11 M\nInstalled size: 57 M\nDownloading packages:\n"]}```

Yes, thank you. Will create a pr soon, only have to test some latest things.

I've merged the PR. Can you verify if this works for you?

Yup, #2 fixed it.

Thanks!