Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-20713

Import vmware template 6.0.1

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Incomplete
    • Icon: Trivial Trivial
    • None
    • 6.0.1
    • None
    • None

      Hi,

       

      1. I update from 5.4 to 6.0
      2. I imported the current vmware template.

      I got this error (the only template with this error):

       * pg_query(): Query failed: ERROR: update or delete on table "group_prototype" violates foreign key constraint "c_group_discovery_2" on table "group_discovery"
       * DETAIL: Key (group_prototypeid)=(215) is still referenced from table "group_discovery". [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerPopupImport->doAction() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CConfiguration->import() → CConfigurationImport->import() → CConfigurationImport->processDiscoveryRules() → CHostPrototype->update() → CHostPrototype->updateForce() → CHostPrototype::updateGroupPrototypes() → DB::delete() → DBexecute() → pg_query() in include/db.inc.php:349]
       * Error in query [DELETE FROM group_prototype WHERE (group_prototypeid IN ('209','211'))] [ERROR: update or delete on table "group_prototype" violates foreign key constraint "c_group_discovery_2" on table "group_discovery"
       * DETAIL: Key (group_prototypeid)=(215) is still referenced from table "group_discovery".]
       * SQL statement execution has failed "DELETE FROM group_prototype WHERE (group_prototypeid IN ('209','211'))"
      

      Kind regards

      Tuor

            zux Edgars Melveris
            tuor tuor
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: