|
Цитата |
---|
Алексей Шафранский написал:
Цитата |
---|
Михаил Игнатов написал:
Цитата |
---|
Семён Забусов написал: разметка в логе поехала
Код |
---|
TASK [common : delete old kernels] *********************************************
fatal: [master]: FAILED! => { "changed" : true , "cmd" : "package-cleanup --oldkernels --count=3" , "delta" : "0:00:02.950111" , "end" : "2019-07-09 19:35:20.592846" , "failed" : true , "rc" : 255 , "start" : "2019-07-09 19:35:17.642735" , "stderr" : "" , "stdout" : "Loaded plugins: etckeeper, fastestmirror\n--> Running transaction check\n---> Package kernel.x86_64 0:3.10.0-514.16.1.el7 will be erased\n---> Package kernel.x86_64 0:3.10.0-514.26.2.el7 will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n kernel x86_64 3.10.0-514.16.1.el7 @updates 148 M\n kernel x86_64 3.10.0-514.26.2.el7 @updates 148 M\n\nTransaction Summary\n================================================================================\nRemove 2 Packages\n\nInstalled size: 295 M\nIs this ok [y/N]: Exiting on user command\nComplete!" , "stdout_lines" : [ "Loaded plugins: etckeeper, fastestmirror" , "--> Running transaction check" , "---> Package kernel.x86_64 0:3.10.0-514.16.1.el7 will be erased" , "---> Package kernel.x86_64 0:3.10.0-514.26.2.el7 will be erased" , "--> Finished Dependency Resolution" , "" , "Dependencies Resolved" , "" , "================================================================================" , " Package Arch Version Repository Size" , "================================================================================" , "Removing:" , " kernel x86_64 3.10.0-514.16.1.el7 @updates 148 M" , " kernel x86_64 3.10.0-514.26.2.el7 @updates 148 M" , "" , "Transaction Summary" , "================================================================================" , "Remove 2 Packages" , "" , "Installed size: 295 M" , "Is this ok [y/N]: Exiting on user command" , "Complete!" ], "warnings" : []}
to retry, use : -- limit @/ etc / ansible / common . retry
|
раньше ровненько по строкам всё было |
Добрый день А как решили эту проблему?
Код |
---|
TASK [common : delete old kernels] *********************************************
fatal: [master]: FAILED! => {"changed": true, "cmd": "package-cleanup --oldkernels --count=3", "delta": "0:00:02.113373", "end": "2019-12-10 16:19:45.384229", "failed": true, "rc": 255, "start": "2019-12-10 16:19:43.270856", "stderr": "", "stdout": "Loaded plugins: etckeeper, fastestmirror, presto\n--> Running transaction check\n---> Package kernel.x86_64 0:2.6.32-642.4.2.el6 will be erased\n---> Package kernel.x86_64 0:2.6.32-642.11.1.el6 will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n kernel x86_64 2.6.32-642.4.2.el6 @updates/6.8 131 M\n kernel x86_64 2.6.32-642.11.1.el6 @updates 131 M\n\nTransaction Summary\n================================================================================\nRemove 2 Package(s)\n\nInstalled size: 262 M\nIs this ok [y/N]: Exiting on user Command\nComplete!", "stdout_lines": ["Loaded plugins: etckeeper, fastestmirror, presto", "--> Running transaction check", "---> Package kernel.x86_64 0:2.6.32-642.4.2.el6 will be erased", "---> Package kernel.x86_64 0:2.6.32-642.11.1.el6 will be erased", "--> Finished Dependency Resolution", "", "Dependencies Resolved", "", "================================================================================", " Package Arch Version Repository Size", "================================================================================", "Removing:", " kernel x86_64 2.6.32-642.4.2.el6 @updates/6.8 131 M", " kernel x86_64 2.6.32-642.11.1.el6 @updates 131 M", "", "Transaction Summary", "================================================================================", "Remove 2 Package(s)", "", "Installed size: 262 M", "Is this ok [y/N]: Exiting on user Command", "Complete!"], "warnings": []}
to retry, use: --limit @/etc/ansible/common.retry
|
|
Михаил Игнатов , правка этой ошибки в 7.4.10 beta вышла)
Если не хотите бетку ставить можно в файлахКод |
---|
/etc/ansible/roles/common/tasks/update_packages.yml
/opt/webdir/bin/menu/02_local/06_update_server.sh |
найти строкуКод |
---|
package-cleanup --oldkernels --count=3 |
и поменять наКод |
---|
package-cleanup --oldkernels --count=3 -y |
|
Спасибо! Помогло
|