-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reconfigure VM vSphere -> Network adapter not displayed #865
Comments
Thanks @Berhin59 I'm wondering if the LAN is missing, can you run the following in a rails console (ssh to appliance,
|
Oh sorry, you have to query for the vm first. In the rails console first run |
Wow it is the weekend and my head really isn't in it today 😆
I did test this and this is what the output looks like for me:
|
Okay that's what I thought, couple of questions: what version of ManageIQ is this, what version of vSphere is this, and any info about that VM's NIC (is it a "normal" Network, a DV PortGroup, etc...) |
So it's the last version of ManageIQ (Oparin) and the bug exist on Jansa-2 too In compute - Infra - networking i can see the dvswitch and all port group associated |
Okay thank you, that is a pretty standard configuration. Can you turn on debug logging (accessible from the Application Settings page) the manually run a full refresh from the provider Configuration dropdown. Once the refresh completes grab the evm.log ( |
After the refresh I see correctly the network adapt in the reconfiguration menu of the VM But after a few moments they disappear this is so strange |
Okay the log looks clean no warnings or errors, and you still don't see the lan after running a full refresh? Going to need to take a look at that nic's backing in the VMware ManagedObjectBrowser and probably drop some debug logging in the parser. |
Exactly, in fact after the refresh i see network adapter during few minutes and after they disappear spontaneously |
Okay I'd like to confirm if this is a targeted refresh issue (getting cleared on subsequent updates) or a parser/refresh issue. Can you
|
I do this tomorrow and i come back to you |
Sounds good thanks @Berhin59 |
Okay thanks so after a full refresh the lan_id is there. We're going to need to see what object_update is causing us to lose that lan_id. I'll work up a patch that will log when the lan_id gets |
Okay can you apply this patch to the VMware refresh collector:
You can find the path to this provider with |
Hello, I did not deploy the manageiq via git but I just added these lines of code in the corresponding file : /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-providers-vmware-1f52e4394b2e/app/models/manageiq/providers/vmware/infra_manager/inventory/collector.rb What should I do now? Thanks |
Now |
Here the log file : |
Hm that doesn't seem right let me send you the whole file to apply so we don't have to paste lines |
I pasted the file in the directory |
Perfect thanks @Berhin59 So after the first full refresh I see one VM with
This seems like a different issue which we can look into. Then right after the full finishes we get into the first set of targeted refreshes:
We aren't deleting any
We are updating a number of
Then we see the warning about I'm going to see if I can reproduce this in specs and get back to you. |
Perfect, thanks for your feedback, I understand better with the explanations. I'm waiting to hear from you and I remain available if you want me to do other operations |
Hello, |
Hey @Berhin59 so far I haven't been able to reproduce this, we actually have spec tests that cover and unrelated not causing changes to any other type of inventory. I'm going to see if something about the storage summary updates are causing this, if I can't reproduce it I might need to get a database dump and a recording of the vsphere updates. I'll get back to you shortly on this, thanks. |
Hello, do you have some news about this problem ? |
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 Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation. |
Hello, We still have concerns about this problem. Thanks |
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 |
Hello, Best regards |
Hey @paulrichter2001 @Berhin59 sorry for the delay, I am working on a patch now that will dump all updates to a set of yaml files so that I can reproduce your issue locally. I'll post a patch up shortly I'd really appreciate if you could apply it locally and reproduce. |
Hey @paulrichter2001 @Berhin59 I'm attaching two .tar.gz files depending on if you're using oparin or petrosian oparin_debug_updates.tar.gz These are based on the https://github.com/agrare/manageiq-providers-vmware/tree/oparin_debug_updates and https://github.com/agrare/manageiq-providers-vmware/tree/petrosian_debug_updates branches Before applying these changes please ensure that debug logging is enabled. To apply these changes:
Once this is restarted it should create a unique directory |
Hello, |
Hello,
When trying to reconfigure a vSphere virtual machine on the vCenter I don't see the network adapters displayed...
However I see them correctly in the VM details
A refresh doesn't change anything either... does anyone have a solution please?
Thanks
Bug :
Network in vm detail page
The text was updated successfully, but these errors were encountered: