Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP-FPM Failure #2278

Closed
mabfuss opened this issue Feb 1, 2021 · 2 comments
Closed

PHP-FPM Failure #2278

mabfuss opened this issue Feb 1, 2021 · 2 comments
Assignees
Labels
Milestone

Comments

@mabfuss
Copy link

mabfuss commented Feb 1, 2021

Hi,
i have get an error in the icinga2 director. Anybody know this problem?

This error comes if i select a host in icinga director. In the services tab i select not a single service, rather a service, which is part of a service-set and bound to a hostgroup.

In the director gui i get the following error messages:


Uncaught Error: Call to undefined method Icinga\Module\Director\Resolver\OverriddenVarsResolver::resolveFor() in /usr/share/icingaweb2/modules/director/library/Director/Objects/DirectorDatafield.php:260
Stack trace:
#0 /usr/share/icingaweb2/modules/director/library/Director/Objects/DirectorDatafield.php(240): Icinga\Module\Director\Objects\DirectorDatafield->applyObjectData(Object(Icinga\Module\Director\Web\Form\Element\Text), Object(Icinga\Module\Director\Forms\IcingaServiceForm))
#1 /usr/share/icingaweb2/modules/director/library/Director/Web/Form/IcingaObjectFieldLoader.php(380): Icinga\Module\Director\Objects\DirectorDatafield->getFormElement(Object(Icinga\Module\Director\Forms\IcingaServiceForm))
#2 /usr/share/icingaweb2/modules/director/library/Director/Web/Form/IcingaObjectFieldLoader.php(183): Icinga\Module\Director\Web\Form\IcingaObjectFieldLoader->createElements(Object(Icinga\Module\Director\Forms\IcingaServiceForm))
#3 /usr/share/icingaweb2/modules/director/library/Director/Web/Form/IcingaObjectFiel

#0 [internal function]: Icinga\Application\Web->Icinga\Application\{closure}()
#1 {main}

It seems to be an error with php-fpm(systemctl status php-fpm).

journalctl -u php-fpm
Jan 28 14:19:45 HOSTNAME icingaweb2[248257]: ErrorException in /usr/share/icingaweb2/modules/director/library/Director/Objects/DirectorDatafield.php:260 with message: Uncaught Error: Call to undefined method>

  • Icinga Web 2 version 2.8.2
    
  • Business Process 2.3.0
    
  • FileShipper 1.2.0
    
  • Grafana 1.3.6
    
  • Incubator 0.6.0
    
  • IPL 0.5.0
    
  • Map 1.1.0
    
  • MapDataType 0.1.0
    
  • Nagvis 1.1.1
    
  • Reactbundle 0.8.0
    
  • Reporting 0.10.0
    
  • x509 1.0.0
    
  • Chrome 81.0.x
    
  • Icinga 2 2.12.3
    
  • PHP 7.2.24
    
  • CentOS 8.3.2011
    
  • php-7.2.24-1
    
  • Apache 2.4.37
    
@geotekberlin
Copy link

Same error here. with director-master dated 2021-02-28. Reverting back to release 1.8.0 resolved the issue for me

@Thomas-Gelf Thomas-Gelf self-assigned this Mar 19, 2021
@Thomas-Gelf Thomas-Gelf added this to the 1.9.0 milestone Mar 19, 2021
@Thomas-Gelf
Copy link
Contributor

Thanks for reporting this! I initially haven't been able to reproduce it - but then finally understood that I forgot to push a modification related to a recent change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants