Ошибка установки zabbix ALD PRO 2.2.1

x_maiden

Участник
Регистрация
31.01.24
Сообщения
3
Реакции
0
Доброго времени суток.

В тестовой среде изучаю ALD PRO. При попытке развернуть сервера zabbix установка выходит с ошибкой. Текст ошибки с консоли управления:
"loop_|-wait_for_salt_minion_on_dc.vtfoms.ald_|-saltutil.runner_|-until_no_eval":
"duration": 5743.917,
"name": "saltutil.runner",
"jid": null,
"comment": "Call provided the expected results in 1 attempts",
"result": true

"salt_|-setup_salt_conditions_dc.vtfoms.ald_|-setup_salt_conditions_dc.vtfoms.ald_|-state":
"duration": 1134.09,
"name": "setup_salt_conditions_dc.vtfoms.ald",
"jid": "20240131101611097129",
"comment": "States ran successfully. Updating dc.vtfoms.ald.",
"result": true

"loop_|-wait_for_salt_minion_on_zabbix.vtfoms.ald_|-saltutil.runner_|-until_no_eval":
"duration": 5951.17,
"name": "saltutil.runner",
"jid": null,
"comment": "Call provided the expected results in 1 attempts",
"result": true

"salt_|-target_machine_sync_all_|-saltutil.sync_all_|-function":
"duration": 5105.166,
"name": "saltutil.sync_all",
"jid": "20240131101618189084",
"comment": "Function ran successfully. Function saltutil.sync_all ran on zabbix.vtfoms.ald.",
"result": true

"salt_|-run_ssl_orchestrate_|-state.orchestrate_|-runner":
"duration": 4656.712,
"name": "state.orchestrate",
"jid": "20240131101623547087",
"comment": "Runner function 'state.orchestrate' executed.",
"result": true

"salt_|-register_subsystem_ldap_install_|-register_subsystem_ldap_install_|-state":
"duration": 859.678,
"name": "register_subsystem_ldap_install",
"jid": "20240131101627931845",
"comment": "States ran successfully. Updating dc.vtfoms.ald.",
"result": true

"salt_|-apply_deploy_state_|-apply_deploy_state_|-state":
"duration": 70782.302,
"name": "apply_deploy_state",
"jid": "20240131101628812993",
"comment": "Run failed on minions: zabbix.vtfoms.ald",
"result": false

"salt_|-resque_ldap_remove_subsystem_|-resque_ldap_remove_subsystem_|-state":
"duration": 833.826,
"name": "resque_ldap_remove_subsystem",
"jid": "20240131101739573377",
"comment": "States ran successfully. Updating dc.vtfoms.ald.",
"result": true

"salt_|-report_success_|-report_success_|-state":
"duration": 0.015,
"name": "",
"jid": null,
"comment": "One or more requisite failed: orch.subsystem.apply_deploy_state",
"result": false

"salt_|-teardown_salt_conditions_dc.vtfoms.ald_|-teardown_salt_conditions_dc.vtfoms.ald_|-state":
"duration": 685.414,
"name": "teardown_salt_conditions_dc.vtfoms.ald",
"jid": "20240131101740434864",
"comment": "States ran successfully. Updating dc.vtfoms.ald.",
"result": true
Вывод команды salt-run jobs.lookup_jid 20240131101628812993:
----------
ID: generate_templates
Function: cmd.run
Name: bash /opt/discovering_zbx.sh

Result: False
Comment: Command "bash /opt/discovering_zbx.sh
" run
Started: 13:17:36.740914
Duration: 1172.69 ms
Changes:
----------
pid:
3839
retcode:
1
stderr:
Traceback (most recent call last):
File "/opt/zabbix.py", line 74, in <module>
errors = zabbix.process_templates(errors, args)
File "/opt/zabbix_processor.py", line 198, in process_templates
for host in self.zabbix_hostgroups.get_hosts_in_group(args.default_hosts_group):
File "/opt/zabbix_host_groups.py", line 24, in get_hosts_in_group
group_id = self.get_hostgroups(group_name=group_name)[0]["groupid"]
IndexError: list index out of range
stdout:

Summary for zabbix.vtfoms.ald
-------------
Succeeded: 50 (changed=14)
Failed: 1
-------------
Total states run: 51
Total run time: 62.186 s

Так же journal -p err
zabbix.vtfoms.ald systemd[1]: Failed to start Celery Service.

DC - рабочай станция, сервер zabbix - виртуальная машина на proxmox
И там и там обновлено до версии 1.7.5.
В версии 2.2.0 было тоже самое.
 
Попробую - отпишусь.
Спасибо.
 
На свежий клиент 1.7.4 встало. Было 2 нюанса:
1. К локальному серверу репозиториев помимо 1.7.4 ветки подключил ISO ALD PRO 2.2.1 (установщик ругался на отсутствие aldpro-mp)
2. Не нашёл пользователь-пароль к веб-интерфейсу zabbix.

А так - спасибо за подсказку.
 
Ставлю 2.2.1 на Астру 1.7.4 Заканчивается таrими же точно ошибками - невозможность выполнить скрипт, выход за границы массива. Все остальные подсистемы по итогу установились, с мониторингом беда какая-то
 
На свежий клиент 1.7.4 встало. Было 2 нюанса:
1. К локальному серверу репозиториев помимо 1.7.4 ветки подключил ISO ALD PRO 2.2.1 (установщик ругался на отсутствие aldpro-mp)
2. Не нашёл пользователь-пароль к веб-интерфейсу zabbix.

А так - спасибо за подсказку.
Если ещё актуально, то логин/пароль на КД в
/opt/rbta/ad/mgmtportal/api/core/.env
 
ALSE смоленск 1.7.5 uu1 (даже добавил ОЗУ 16gb) + ALDpro 2.3.0-14 При попытке развернуть сервера мониторинга ошибки

"loop|-wait_for_salt_minion_on_dc01.ald.lokvityaz.ru_|-saltutil.runner_|-until_no_eval":_

"duration": 6057.424,

"name": "saltutil.runner",

"jid": null,

"comment": "Call provided the expected results in 1 attempts",

"result": true

"salt|-setup_salt_conditions_dc01.ald.lokvityaz.ru_|-setup_salt_conditions_dc01.ald.lokvityaz.ru_|-state":_

"duration": 1163.516,

"name": "setup_salt_conditions_dc01.ald.lokvityaz.ru",

"jid": "20240410084437161536",

"comment": "States ran successfully. Updating dc01.ald.lokvityaz.ru.",

"result": true

"loop|-wait_for_salt_minion_on_mon.ald.lokvityaz.ru_|-saltutil.runner_|-until_no_eval":_

"duration": 5951.336,

"name": "saltutil.runner",

"jid": null,

"comment": "Call provided the expected results in 1 attempts",

"result": true

_
_

"salt|-target_machine_sync_all_|-saltutil.sync_all_|-function":_

"duration": 2462.177,

"name": "saltutil.sync_all",

"jid": "20240410084444255560",

"comment": "Function ran successfully. Function saltutil.sync_all ran on mon.ald.lokvityaz.ru.",

"result": true

_
_

"salt|-run_ssl_orchestrate_|-state.orchestrate_|-runner":_

"duration": 4524.64,

"name": "state.orchestrate",

"jid": "20240410084447174660",

"comment": "Runner function 'state.orchestrate' executed.",

"result": true

_
_

"salt|-register_subsystem_ldap_install_|-register_subsystem_ldap_install_|-state":_

"duration": 1041.592,

"name": "register_subsystem_ldap_install",

"jid": "20240410084451253837",

"comment": "States ran successfully. No changes made to dc01.ald.lokvityaz.ru.",

"result": true

_
_

"salt|-apply_deploy_state_|-apply_deploy_state_|-state":_

"duration": 782.259,

"name": "apply_deploy_state",

"jid": "20240410084452313383",

"comment": "Run failed on minions: mon.ald.lokvityaz.ru",

"result": false

"salt|-resque_ldap_remove_subsystem_|-resque_ldap_remove_subsystem_|-state":_

"duration": 1056.903,

"name": "resque_ldap_remove_subsystem",

"jid": "20240410084453099380",

"comment": "States ran successfully. No changes made to dc01.ald.lokvityaz.ru.",

"result": true

_
_

"salt|-report_success_|-report_success_|-state":_

"duration": 0.006,

"name": "",

"jid": null,

"comment": "One or more requisite failed: orch.subsystem.apply_deploy_state",

"result": false

"salt|-teardown_salt_conditions_dc01.ald.lokvityaz.ru_|-teardown_salt_conditions_dc01.ald.lokvityaz.ru_|-state":_

"duration": 1001.016,

"name": "teardown_salt_conditions_dc01.ald.lokvityaz.ru",

"jid": "20240410084454144969",

"comment": "States ran successfully. Updating dc01.ald.lokvityaz.ru.",

_ "result": true _

 
Доброго времени суток.

В тестовой среде изучаю ALD PRO. При попытке развернуть сервера zabbix установка выходит с ошибкой. Текст ошибки с консоли управления:
"loop_|-wait_for_salt_minion_on_dc.vtfoms.ald_|-saltutil.runner_|-until_no_eval":
"duration": 5743.917,
"name": "saltutil.runner",
"jid": null,
"comment": "Call provided the expected results in 1 attempts",
"result": true

"salt_|-setup_salt_conditions_dc.vtfoms.ald_|-setup_salt_conditions_dc.vtfoms.ald_|-state":
"duration": 1134.09,
"name": "setup_salt_conditions_dc.vtfoms.ald",
"jid": "20240131101611097129",
"comment": "States ran successfully. Updating dc.vtfoms.ald.",
"result": true

"loop_|-wait_for_salt_minion_on_zabbix.vtfoms.ald_|-saltutil.runner_|-until_no_eval":
"duration": 5951.17,
"name": "saltutil.runner",
"jid": null,
"comment": "Call provided the expected results in 1 attempts",
"result": true

"salt_|-target_machine_sync_all_|-saltutil.sync_all_|-function":
"duration": 5105.166,
"name": "saltutil.sync_all",
"jid": "20240131101618189084",
"comment": "Function ran successfully. Function saltutil.sync_all ran on zabbix.vtfoms.ald.",
"result": true

"salt_|-run_ssl_orchestrate_|-state.orchestrate_|-runner":
"duration": 4656.712,
"name": "state.orchestrate",
"jid": "20240131101623547087",
"comment": "Runner function 'state.orchestrate' executed.",
"result": true

"salt_|-register_subsystem_ldap_install_|-register_subsystem_ldap_install_|-state":
"duration": 859.678,
"name": "register_subsystem_ldap_install",
"jid": "20240131101627931845",
"comment": "States ran successfully. Updating dc.vtfoms.ald.",
"result": true

"salt_|-apply_deploy_state_|-apply_deploy_state_|-state":
"duration": 70782.302,
"name": "apply_deploy_state",
"jid": "20240131101628812993",
"comment": "Run failed on minions: zabbix.vtfoms.ald",
"result": false

"salt_|-resque_ldap_remove_subsystem_|-resque_ldap_remove_subsystem_|-state":
"duration": 833.826,
"name": "resque_ldap_remove_subsystem",
"jid": "20240131101739573377",
"comment": "States ran successfully. Updating dc.vtfoms.ald.",
"result": true

"salt_|-report_success_|-report_success_|-state":
"duration": 0.015,
"name": "",
"jid": null,
"comment": "One or more requisite failed: orch.subsystem.apply_deploy_state",
"result": false

"salt_|-teardown_salt_conditions_dc.vtfoms.ald_|-teardown_salt_conditions_dc.vtfoms.ald_|-state":
"duration": 685.414,
"name": "teardown_salt_conditions_dc.vtfoms.ald",
"jid": "20240131101740434864",
"comment": "States ran successfully. Updating dc.vtfoms.ald.",
"result": true
Вывод команды salt-run jobs.lookup_jid 20240131101628812993:
----------
ID: generate_templates
Function: cmd.run
Name: bash /opt/discovering_zbx.sh

Result: False
Comment: Command "bash /opt/discovering_zbx.sh
" run
Started: 13:17:36.740914
Duration: 1172.69 ms
Changes:
----------
pid:
3839
retcode:
1
stderr:
Traceback (most recent call last):
File "/opt/zabbix.py", line 74, in <module>
errors = zabbix.process_templates(errors, args)
File "/opt/zabbix_processor.py", line 198, in process_templates
for host in self.zabbix_hostgroups.get_hosts_in_group(args.default_hosts_group):
File "/opt/zabbix_host_groups.py", line 24, in get_hosts_in_group
group_id = self.get_hostgroups(group_name=group_name)[0]["groupid"]
IndexError: list index out of range
stdout:

Summary for zabbix.vtfoms.ald
-------------
Succeeded: 50 (changed=14)
Failed: 1
-------------
Total states run: 51
Total run time: 62.186 s

Так же journal -p err
zabbix.vtfoms.ald systemd[1]: Failed to start Celery Service.

DC - рабочай станция, сервер zabbix - виртуальная машина на proxmox
И там и там обновлено до версии 1.7.5.
В версии 2.2.0 было тоже самое.
попробуй сервер мониторинга на орле установить
 
Добрый день! Похожая ошибка появляется при развертывании сервера мониторинга на ALD Pro 2.1.0:

"loop_|-wait_for_salt_minion_on_dc1.metro.local_|-saltutil.runner_|-until_no_eval":
"duration": 5724.124,
"name": "saltutil.runner",
"jid": null,
"comment": "Call provided the expected results in 1 attempts",
"result": true

"salt_|-setup_salt_conditions_dc1.metro.local_|-setup_salt_conditions_dc1.metro.local_|-state":
"duration": 1391.869,
"name": "setup_salt_conditions_dc1.metro.local",
"jid": "20240506012943868420",
"comment": "States ran successfully. Updating dc1.metro.local.",
"result": true

"loop_|-wait_for_salt_minion_on_srv-mon.metro.local_|-saltutil.runner_|-until_no_eval":
"duration": 5701.805,
"name": "saltutil.runner",
"jid": null,
"comment": "Call provided the expected results in 1 attempts",
"result": true

"salt_|-target_machine_sync_all_|-saltutil.sync_all_|-function":
"duration": 15197.162,
"name": "saltutil.sync_all",
"jid": null,
"comment": "No minions responded",
"result": false

"salt_|-run_ssl_orchestrate_|-state.orchestrate_|-runner":
"duration": 0.006,
"name": "",
"jid": null,
"comment": "One or more requisite failed: orch.subsystem.target_machine_sync_all",
"result": false

"salt_|-register_subsystem_ldap_install_|-register_subsystem_ldap_install_|-state":
"duration": 0.004,
"name": "",
"jid": null,
"comment": "One or more requisite failed: orch.subsystem.run_ssl_orchestrate, orch.subsystem.target_machine_sync_all",
"result": false

"salt_|-apply_deploy_state_|-apply_deploy_state_|-state":
"duration": 0.002,
"name": "",
"jid": null,
"comment": "One or more requisite failed: orch.subsystem.register_subsystem_ldap_install, orch.subsystem.target_machine_sync_all",
"result": false

"salt_|-resque_ldap_remove_subsystem_|-resque_ldap_remove_subsystem_|-state":
"duration": 28566.408,
"name": "resque_ldap_remove_subsystem",
"jid": "20240506013006167730",
"comment": "States ran successfully. No changes made to dc1.metro.local.",
"result": true

"salt_|-report_success_|-report_success_|-state":
"duration": 0.003,
"name": "",
"jid": null,
"comment": "One or more requisite failed: orch.subsystem.apply_deploy_state",
"result": false

"salt_|-teardown_salt_conditions_dc1.metro.local_|-teardown_salt_conditions_dc1.metro.local_|-state":
"duration": 1220.718,
"name": "teardown_salt_conditions_dc1.metro.local",
"jid": "20240506013034720385",
"comment": "States ran successfully. Updating dc1.metro.local.",
"result": true
 
Назад
Сверху Снизу