Using gaprindashvili-5 version, error "Multiple relationships found"

gaprindashvili

#1

Hi,

I am using gaprindashvili-5.20180830092341_55bf4ee version with provider Vmware Vcenter 6.5.

  1. Symptom:
    Not able to view Virtual Machines in Compute/Infrastructure/Virtual Machines

  2. Error:

Error text:

Multiple relationships found [vm_infra/explorer]

  1. Noticed error in /var/www/miq/vmdb/log/evm.log

[----] E, [2018-10-05T10:06:34.101004 #2027:e17134] ERROR – : Q-task_id([327]) /var/www/miq/vmdb/app/models/mixins/relationship_mixin.rb:432:in relationship' [----] E, [2018-10-05T10:06:34.173015 #2646:e17134] ERROR -- : Q-task_id([327]) MIQ(MiqQueue#deliver) Message id: [222851], Error: [Multiple relationships found] [----] E, [2018-10-05T10:06:34.173301 #2646:e17134] ERROR -- : Q-task_id([327]) [RuntimeError]: Multiple relationships found Method:[block in method_missing] [----] E, [2018-10-05T10:06:34.173568 #2646:e17134] ERROR -- : Q-task_id([327]) /var/www/miq/vmdb/app/models/mixins/relationship_mixin.rb:432:inrelationship’
[----] E, [2018-10-05T10:06:34.184747 #2654:e17134] ERROR – : Q-task_id([327]) MIQ(MiqQueue#deliver) Message id: [222850], Error: [Multiple relationships found]

  1. Removed the VMware Vcenter from provider, then I can able to view the VM’s in Compute/Infrastructure/Virtual Machines. Found some of the VM’s and templates are showing multiple times (eg. 2 or more time). But in Vcenter we have only 1 for each hostname.

.

Anyone experienced this issue ?


#2
  • How many providers do you have?
  • Did you use that provider in the past? (Maybe it was not removed cleanly)
  • Have you tried listing the available providers in rails console?
  • Can you provide more of the log file? Is there anything in the other log-files?

#3

Hi,

  • How many providers do you have?
    Only 1 provider
  • Did you use that provider in the past? (Maybe it was not removed cleanly)
    Its newly downloaded ova and added the provider first time with this MIQ gaprindashvili5 version.
    Currently I am using Euwe1.2 version. Planing to migrate to latest version.
  • Have you tried listing the available providers in rails console?
    Using only 1 provider
  • Can you provide more of the log file? Is there anything in the other log-files?
    Can you help to specific, right now I am referring the /var/www/miq/vmdb/log/evm.log

#4

ping @agrare