-
Notifications
You must be signed in to change notification settings - Fork 33
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
no vCenter server visible in list while present in DB #103
Comments
Your issue should have been fixed, could you please try the current master branch? |
That was a quick answer. Unfortunately I'm already at the latest version because I did installation today the first time. But did the git pull again:
|
Just realized, that objects table is empty while other tables (vcenter, vcenter_server, host_system, virtual_server, ...) have valid content. Hopefully this helps to find the reason.
|
Please stop the daemon and try the following command:
|
After that, you might want to give the pull request #98 a try. In case that works for you please let me know. I'll then provide you with some more debugging code, as I'm pretty curious to figure out what kind of object comes with no status. |
Hi Thomas, sorry for my late response. With your suggestion |
@bigtrodat: glad to hear that! How did you fix the issue? |
Hi Thomas, I can confirm the issue - same here. Output of your suggestion:
I tried pull request #98 - no change |
Came back to this today, pulled current master, deleted and recreated the database but still the same issue. Log shows sync activity, object table stays empty and no vCenter, Hosts, Datastores, VMs in the GUI. |
hello everybody, I'm having the same problem. We have two vcenter but I'm having the problem only in one @Thomas-Gelf, output of your suggestion:
but adata available on the database |
@bigtrodat can you tell How did you fix the issue? |
Just to keep this updated: |
We are facing this issue exactly. The first daemon run/sync goes through fine--albeit slowly, with some tasks taking over a few minutes--and all the tables in the vspheredb seem to populate, but the objects list is empty, and so nothing renders and we cannot source this data with our import rules. We don't have this issue on our vcenter 6.5 server, and now we are trying on 6.7u3b. I've tried v1.1.0 release & the latest master branch. I've also tried adding the center entry twice, once with hostname and other with IP, but this doesn't seem to fix it either. @fnorded were you able to fix both centers that you added, is only the 2nd one working? |
Turns out my issue was due to an unsupported
I've opened up #167 to better handle unsupported object types during sync. Since @bigtrodat's issue and mine are resolved, I think this issue can be closed. |
#167 has been scheduled for the next release, closing here as requested. |
Expected Behavior
After entering vCenter Server Config (hostname, username, password,...) the vCenter server should appear in list and connected VMWare Hosts and VMs shoudl be visible as well.
Current Behavior
Although config is present, no vCenter Server is shown in the list.
FunFact1: Data is visible in icinga2_vsphere MariaDB:
FunFact 2: Debug shows sync seems to run:
Possible Solution
Maybe the "@" sign in vCenter username is a problem?
Maybe the message "Task moRefs failed: Undefined property: stdClass::$overallStatus" in trace is an indicator?
Just a guess.
Steps to Reproduce (for bugs)
Create a new vCenter Server in icingaweb2 UI
Your Environment
The text was updated successfully, but these errors were encountered: