Open ahrechushkin opened 4 months ago
@agrare can you check it?
Hey @ahrechushkin no this is not expected you should be able to refresh the provider multiple times and not have existing inventory be deleted and new items created.
Typically this is an issue with the query scope during a targeted refresh not finding the existing records thus creating new ones. I'll see if I can reproduce locally first otherwise I'll ask you to provide some logs so we can see when these are being deleted&created.
Hello! @agrare Seems like the problem with identification distributed virtual switches and external distributed virtual switches Refresher delete external distributed virtual switches while refresh distributed virtual switches
Probably we need to create model ManageIQ::Providers::InfraManager::ExternalDistributedVirtualSwitch (the same as ManageIQ::Providers::InfraManager::DistributedVirtualSwitch and inherit ManageIQ::Providers::Ovirt::InfraManager::ExternalDistributedVirtualSwitch from a newly create model instead of ManageIQ::Providers::InfraManager::DistributedVirtualSwitch to fully implement STI)
I hope it should work pretty
Im going to try on my own dev stand
I tried on local stand and it works
https://github.com/ManageIQ/manageiq/pull/23000 https://github.com/ManageIQ/manageiq-providers-ovirt/pull/665
@agrare hi! do you have any news related to the issue?
This issue has been automatically marked as stale because it has not been updated for at least 3 months.
If you can still reproduce this issue on the current release or on master
, please reply with all of the information you have about it in order to keep the issue open.
Switch ID and Lan ID constantly changing for ExternalDistributedVirtualSwitch
The logs here from latest image petrosian-1, also i tested in on jansa
Is it normal behaviour ? If yes - why?