icingaweb2-module-director icon indicating copy to clipboard operation
icingaweb2-module-director copied to clipboard

Modification of multiple individual services not possible after upgrade to version 1.9.0

Open akqopensystems opened this issue 2 years ago • 5 comments

Expected Behavior

In Version 1.8.x and befor it was possible to search for individual service checks and select multiple services. Then you was able to modify or delete the selected services.

Current Behavior

After upgrading to version 1.9.0 if we selcet multiple services, there is just only one of them selected for modification. So there is no chance to modify multiple services at once.

Possible Solution

Maybe there is a issue between uuid and service names?

Steps to Reproduce (for bugs)

Director -> Services -> single Service -> search for service -> select services on different hosts - on new tab "multiple objects" showing just one item for modification

example

Your Environment

  • Director version (System - About): 1.9.0
  • Icinga Web 2 version and modules (System - About): 2.9.6
  • Icinga 2 version (icinga2 --version): 2.12.6
  • Operating System and version: RHEL 7.9
  • Webserver, PHP versions: 7.3.29

akqopensystems avatar Mar 18 '22 12:03 akqopensystems

I haven't been able to reproduce this with v1.9.1, can you please give it a try?

Thomas-Gelf avatar Apr 08 '22 09:04 Thomas-Gelf

Dear Thomas, we have implemented the director in Version 1.9.1 and restarted the icinga-director.service, but the problem still exists. If we want to modify or delete multi-selected individual service checks with the same name only one of them is editable.

akqopensystems avatar Apr 20 '22 13:04 akqopensystems

Ups, did not want this to be closed - my failure.

akqopensystems avatar Apr 20 '22 13:04 akqopensystems

We can reproduce this issue in 1.9.1. It occurs when we mark services with same servicename on different hosts. If you mark services with different names it works fine.

tectumopticum avatar Jul 05 '22 13:07 tectumopticum

still broken in 1.10.0

moreamazingnick avatar Sep 26 '22 21:09 moreamazingnick

@Thomas-Gelf still broken in 1.10.2, what about #2599

moreamazingnick avatar Nov 17 '22 12:11 moreamazingnick

I haven't been able to reproduce this with v1.9.1, can you please give it a try?

@Thomas-Gelf we can reproduce this bug. Also the older "/icingaweb2/director/services/edit?((id=146)|(id=179)|(id=178))" does not work anymore, it creates an "icinga_service has a multicolumn key, array required". Please have a look at this.

Tqnsls avatar Jan 04 '23 13:01 Tqnsls

@akqopensystems maybe change the topic of the issue to "[...] multiple individual services with the same name[...]", to make it more obvious. I think its important to highlight that the problem does only exist with the same service_names, not when service_name is different.

Tqnsls avatar Jan 04 '23 14:01 Tqnsls

This has been fixed

Thomas-Gelf avatar Sep 21 '23 13:09 Thomas-Gelf