Project

General

Profile

Actions

Bug #22723

closed

Changing name of datacenter in vCenter will break Compute Resource

Added by Daniel Lobato Garcia almost 7 years ago. Updated over 3 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Compute resources - VMware
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1440711

Description of problem:

If the name of the datacenter that is chosen for a VMware Compute Resource is changed in the vCenter, Foreman gives error messages when trying to access e.g. the Virtual Machines tab on the Compute Resource or trying to edit a host that is provisioned with that Compute Resource.

How reproducible:

Every time

Steps to Reproduce:

1. Create a new Compute Resource
2. Choose Provider: VMware
3. Add server address, username and password
4. Click on Load Datacenter and choose a datacenter you want to use
5. Save
6. Open the Compute Resource in the Foreman GUI and click the Virtual Machines tab to make sure that you can list the vms in that datacenter
7. Go to vCenter and change name of the datacenter you chose in step 4
8. Go back to Foreman and try to list all Virtual Machines again (this will generate the error message)
9. If you have a host in Foreman that is created on that Compute Resource, open it in the GUI and click Edit (this will also generate error message)

Actual results:

The Compute Resource won't function until you change back to the old datacenter name.

Expected results:

It should be possible to change the name of the datacenter without breaking Foreman usage.

Additional info:

Unfortunately I don't have the error messages or logs available at this point, but it should be simple to reproduce.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #32792: Compute profile references wrong datacenter path after changing datacenter nameClosedyifat makiasActions
Actions

Also available in: Atom PDF