Доброго времени суток.
В тестовой среде изучаю 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. При попытке развернуть сервера 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 было тоже самое.