Товарищи по несчастью, столкнулся с это же проблемой.
Запустил 1. Create Management pool of server
выбрал eth0
имя сервера оставил дефолтное
получил:
Created manager configuration for identifier=site.com. interface=eth0 netaddress=xx.xx.xx.xx
Created sshkey - /etc/ansible/.ssh/gzVdHM3f8j.bxkey
Update config file /etc/ansible/ansible.cfg
Created pool configuration in /etc/ansible/hosts
All operations complete
CREATE_POOL complete: Press ENTER for exit:
но после обновления окна терминала, вот это:
Bitrix virtual appliance version 5.1.7
Pool Configuration manager on this host
JSON text must be an object or array (but found number, string, true, false or null, use allow_nonref to allow this) at /opt/webdir/lib/Host.pm line 351
Found next servers in the pool:
------------------------------------------------------------------------------------
ServerName | NetAddress | Conn | Ver | Passwords | Uid | Roles
------------------------------------------------------------------------------------
------------------------------------------------------------------------------------
Found servers that can not be used!!!!
------------------------------------------------------------------------------------
ServerName | NetAddress | Errors
------------------------------------------------------------------------------------
site.com. | xx.xx.xx.xx | 01. You must install bitrix-env version 5.X.X
------------------------------------------------------------------------------------
В списке фоновых задач это
Tasks found 1:
------------------------------------------------------------------------------------
TaskID | Started at | Status | Last Step
------------------------------------------------------------------------------------
common_5225760524 | 08/04/2019 17:26 | error | play|complete
В логе common_5225760524:
Код |
---|
TASK [common : update host config by ether and netaddr] ************************
fatal: [site.com. -> 127.0.0.1]: FAILED! => {"changed": "false", "msg": "Host::update_host_vars: Number of deletes does not match the desired 0 != 4"}
to retry, use: --limit @/etc/ansible/common.retry
PLAY RECAP *********************************************************************
site.com. : ok=26 changed=17 unreachable=0 failed=1
|
Помогите, пожалуйста!
В ТП обратился, запросили root доступ к серверу, на отказ - сказали переноси сайт на новую площадку с новым BxEnv...
Какой, всё-таки, из предложенных в ветке способов лечит?
Код |
---|
tar cvf backup.tar /etc/ansible/host* /etc/ansible/group_vars/ /etc/ansible/ansible-roles
rm -rf /etc/ansible/host* /etc/ansible/group_vars/ /etc/ansible/ansible-roles |
или добавить блок
Код |
---|
iptables_sate: "enable"
_ansible_verbosity: 0
_ansible_no_log: False
_ansible_diff: False
_ansible_check_mode: False
_ansible_debug: False |
и
Код |
---|
yum reinstall python-crypto |