-
Problem report
-
Resolution: Unresolved
-
Trivial
-
None
-
7.4.1
Zabbix test discovery:
[{"status":"enabled","host":"ctrl01","disabled_reason":null,"id":1,"updated_at":"2025-08-19T12:59:10.000000","state":"up","zone":"internal","binary":"nova-scheduler"},{"status":"enabled","host":"ctrl03","disabled_reason":null,"id":2,"updated_at":"2025-08-19T12:59:13.000000","state":"up","zone":"internal","binary":"nova-scheduler"},{"status":"enabled","host":"ctrl02","disabled_reason":null,"id":5,"updated_at":"2025-08-19T12:59:08.000000","state":"up","zone":"internal","binary":"nova-scheduler"},{"status":"enabled","host":"ctrl01","disabled_reason":null,"id":1,"updated_at":"2025-08-19T12:59:08.000000","state":"up","zone":"internal","binary":"nova-conductor"},{"status":"enabled","host":"ctrl03","disabled_reason":null,"id":2,"updated_at":"2025-08-19T12:59:06.000000","state":"up","zone":"internal","binary":"nova-conductor"},{"status":"enabled","host":"ctrl02","disabled_reason":null,"id":3,"updated_at":"2025-08-19T12:59:14.000000","state":"up","zone":"internal","binary":"nova-conductor"},{"status":"enabled","host":"kvm01","disabled_reason":null,"id":4,"updated_at":"2025-08-19T12:59:12.000000","state":"up","zone":"W1-az","binary":"nova-compute"},{"status":"enabled","host":"kvm03","disabled_reason":null,"id":5,"updated_at":"2025-08-19T12:59:14.000000","state":"up","zone":"W2-az","binary":"nova-compute"},{"status":"enabled","host":"kvm02","disabled_reason":null,"id":6,"updated_at":"2025-08-19T12:59:10.000000","state":"up","zone":"W1-az","binary":"nova-compute"},{"status":"enabled","host":"kvm04","disabled_reason":null,"id":7,"updated_at":"2025-08-19T12:59:06.000000","state":"up","zone":"W2-az","binary":"nova-compute"}]
and error:
Cannot create item "openstack.nova.services.raw[1]": item with the same key already exists. Cannot create item "openstack.nova.services.raw[2]": item with the same key already exists. Cannot create item "openstack.nova.services.raw[5]": item with the same key already exists. Cannot create item "openstack.nova.services.disabled.reason[1]": item with the same key already exists. Cannot create item "openstack.nova.services.disabled.reason[2]": item with the same key already exists. Cannot create item "openstack.nova.services.disabled.reason[5]": item with the same key already exists. Cannot create item "openstack.nova.services.state[1]": item with the same key already exists. Cannot create item "openstack.nova.services.state[2]": item with the same key already exists. Cannot create item "openstack.nova.services.state[5]": item with the same key already exists. Cannot create item "openstack.nova.services.status[1]": item with the same key already exists. Cannot create item "openstack.nova.services.status[2]": item with the same key already exists. Cannot create item "openstack.nova.services.status[5]": item with the same key already exists.
Repair proposal:
Change the item prototype keys to use the new macro combination. For instance, the key openstack.nova.services.raw[{#ID}] should be changed to openstack.nova.services.raw[{#HOST}-{#BINARY}-{#ID}].