one icon indicating copy to clipboard operation
one copied to clipboard

vcenter find_by_ref changes (RESOURCE DEPENDANT)

Open Semedi opened this issue 8 years ago • 1 comments

Bug Report

Version of OpenNebula

  • [ ] 5.2.2
  • [ ] 5.4.0
  • [ ] 5.4.1
  • [ ] 5.4.2
  • [x] 5.4.3
  • [x] Development build

Component

  • [ ] Authorization (LDAP, x509 certs...)
  • [ ] Command Line Interface (CLI)
  • [ ] Contextualization
  • [ ] Documentation
  • [ ] Federation and HA
  • [ ] Host, Clusters and Monitorization
  • [ ] KVM
  • [ ] Networking
  • [ ] Orchestration (OpenNebula Flow)
  • [ ] Packages
  • [ ] Scheduler
  • [ ] Storage & Images
  • [ ] Sunstone
  • [ ] Upgrades
  • [ ] User, Groups, VDCs and ACL
  • [x] vCenter

Description

We have collisions problems regarding, vcenter key references. Example:

One opennebula installation pointing to more than 1 vcenter instances. vcenter_ref key can collide between the two instances of vcenter (normal behaviour), opennebula will not see properly these objects due the main method find_by_ref

Expected Behavior

find by ref should take account of these kind of problems, knowing that it is possible to have more than 1 xpath for the finding operation.

Actual Behavior

vcenter driver does not differenciate between objects located in differents vcenter_instances.

How to reproduce

Import Resources to more than 1 vcenter instances.

Semedi avatar Jan 16 '18 09:01 Semedi

related to #1598

Semedi avatar Jan 16 '18 09:01 Semedi