Всем привет.
После Downgrade PHP с 8 до 7.4 вылезла ошибка There are servers that cannot be used!
В чем может быть проблема?
Если перейти в 10 пункт Background pool tasks, то можно увидеть, что процессы обновления PHP завершились с ошибкой
и для второго
Подскажите, что делать и куда копать?
После Downgrade PHP с 8 до 7.4 вылезла ошибка There are servers that cannot be used!
В чем может быть проблема?
Если перейти в 10 пункт Background pool tasks, то можно увидеть, что процессы обновления PHP завершились с ошибкой
Код |
---|
Filter options: by type: filter inactive by status: filter inactive older than: filter inactive 14 tasks have been found. ------------------------------------------------------------------------------------ TaskID | Started at | Status | Last Step ------------------------------------------------------------------------------------ common_2041341333 | 07/12/2023 14:48 | error | play|complete bx_php_rollback_php74_3362103406 | 07/12/2023 12:32 | error | play|complete bx_php_rollback_php74_8762483821 | 07/12/2023 12:27 | error | play|complete |
в логах для первого процесса обновления
Код |
---|
[WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. e variables fr om mysql group] ******************************** ok: [2172423-bwlabs.twc1.net] TASK [web : include variables from web group] ********************************** ok: [2172423-bwlabs.twc1.net] TASK [web : include variables from temporary config] *************************** ok: [2172423-bwlabs.twc1.net] TASK [web : additional gathering facts] **************************************** ok: [2172423-bwlabs.twc1.net] included: /etc/ansible/roles/web/tasks/downgrade_php_version.yml for 2172423-bwlabs.twc1.net included: /etc/ansible/roles/web/tasks/rollback_php74.yml for 2172423-bwlabs.twc1.net TASK [web : shell] ************************************************************* changed: [2172423-bwlabs.twc1.net] TASK [web : enable remi php74 repository] ************************************** changed: [2172423-bwlabs.twc1.net] TASK [web : disable remi php80 repository] ************************************* changed: [2172423-bwlabs.twc1.net] included: /etc/ansible/roles/web/tasks/reinstall_php.yml for 2172423-bwlabs.twc1.net TASK [web : set_fact] ********************************************************** ok: [2172423-bwlabs.twc1.net] TASK [web : save list php-packages] ******************************************** changed: [2172423-bwlabs.twc1.net] TASK [web : remove package without deps] *************************************** changed: [2172423-bwlabs.twc1.net] => (item=php-zipstream) changed: [2172423-bwlabs.twc1.net] => (item=php-ldap) changed: [2172423-bwlabs.twc1.net] => (item=php-pecl-memcache) changed: [2172423-bwlabs.twc1.net] => (item=php-gd) changed: [2172423-bwlabs.twc1.net] => (item=php-cli) changed: [2172423-bwlabs.twc1.net] => (item=php-opcache) changed: [2172423-bwlabs.twc1.net] => (item=php-xml) changed: [2172423-bwlabs.twc1.net] => (item=php-pecl-mcrypt) changed: [2172423-bwlabs.twc1.net] => (item=php-common) changed: [2172423-bwlabs.twc1.net] => (item=php-pecl-geoip) changed: [2172423-bwlabs.twc1.net] => (item=php-process) changed: [2172423-bwlabs.twc1.net] => (item=php-pecl-zip) changed: [2172423-bwlabs.twc1.net] => (item=php-mbstring) changed: [2172423-bwlabs.twc1.net] => (item=php-mysqlnd) changed: [2172423-bwlabs.twc1.net] => (item=php-pear) changed: [2172423-bwlabs.twc1.net] => (item=php) changed: [2172423-bwlabs.twc1.net] => (item=php-pecl-rrd) changed: [2172423-bwlabs.twc1.net] => (item=php-pecl-xdebug3) changed: [2172423-bwlabs.twc1.net] => (item=php-pspell) changed: [2172423-bwlabs.twc1.net] => (item=php-sodium) changed: [2172423-bwlabs.twc1.net] => (item=php-pdo) changed: [2172423-bwlabs.twc1.net] => (item=php-pecl-apcu) TASK [web : reinstall php] ***************************************************** fatal: [2172423-bwlabs.twc1.net]: FAILED! => {"changed": false, "msg": "\n\nError downloading packages:\n php-zipstream-0.2.2-6.el7.noarch: [Errno 5] [Errno 12] Cannot allocate memory\n\n", "rc": 1, "results": ["Loaded plugins: etckeeper, fastestmirror, langpacks, merg$ NO MORE HOSTS LEFT ************************************************************* to retry, use: --lim it @/etc/ansible/web.retry PLAY RECAP ********************************************************************* 2172423-bwlabs.twc1.net : ok=15 changed=5 unreachable=0 failed=1 |
и для второго
Код |
---|
PLAY [bitrix-hosts] ************************************************************ TASK [Gathering Facts] ********************************************************* ok: [2172423-bwlabs.twc1.net] included: /etc/ansible/inc_vars.yml for 2172423-bwlabs.twc1.net TASK [web : include variables fr om mysql group] ******************************** ok: [2172423-bwlabs.twc1.net] TASK [web : include variables from web group] ********************************** ok: [2172423-bwlabs.twc1.net] TASK [web : include variables from temporary config] *************************** ok: [2172423-bwlabs.twc1.net] TASK [web : additional gathering facts] **************************************** fatal: [2172423-bwlabs.twc1.net]: FAILED! => {"changed": false, "module_stderr": "", "module_stdout": "{\"ansible_facts\":{\"bx_system_type\":\"5\",\"os_version\":\"7\",\"bx_memsystem_type\":\"2048\",\"bx_memory\":\"2046636\",\"bx_version\":\"7.5-4\",\"bx_base_version\"$ NO MORE HOSTS LEFT ************************************************************* to retry, use: --lim it @/etc/ansible/web.retry PLAY RECAP ********************************************************************* 2172423-bwlabs.twc1.net : ok=5 changed=0 unreachable=0 failed=1 |