Skip to content
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

Issue fetching VSAN stats after upgrade to 0.99b #53

Closed
khjerpe opened this issue Mar 10, 2016 · 11 comments
Closed

Issue fetching VSAN stats after upgrade to 0.99b #53

khjerpe opened this issue Mar 10, 2016 · 11 comments
Assignees
Labels
Milestone

Comments

@khjerpe
Copy link

khjerpe commented Mar 10, 2016

Attached VsanDisksPullStatistics.log

@khjerpe
Copy link
Author

khjerpe commented Mar 10, 2016

@khjerpe
Copy link
Author

khjerpe commented Mar 10, 2016

Last pull before upgrade the log reads :
[2016/03/10 12:03:01] /root/VsanPullStatistics.pl line58 - [INFO] Start processing vCenter vck.lio.se
[2016/03/10 12:03:01] /root/VsanPullStatistics.pl line67 - [INFO] Login to vCenter vck.lio.se
[2016/03/10 12:03:02] /root/VsanPullStatistics.pl line81 - [INFO] vCenter vck.lio.se session file saved
[2016/03/10 12:03:02] /root/VsanPullStatistics.pl line101 - [INFO] Processing vCenter vck.lio.se datacenters
[2016/03/10 12:03:02] /root/VsanPullStatistics.pl line109 - [INFO] Processing vCenter vck.lio.se clusters
[2016/03/10 12:03:02] /root/VsanPullStatistics.pl line116 - [INFO] Processing vCenter vck.lio.se VSAN cluster clk10
[2016/03/10 12:03:16] /root/VsanPullStatistics.pl line292 - [INFO] End processing vCenter vck.lio.se

After upgrade, seems like it does not find our VSAN cluster (CLK10):

[2016/03/10 12:04:01] /root/VsanPullStatistics.pl line59 - [INFO] Looking for another VsanPullStatistics from vck.lio.se
[2016/03/10 12:04:01] /root/VsanPullStatistics.pl line73 - [INFO] Start processing vCenter vck.lio.se
[2016/03/10 12:04:01] /root/VsanPullStatistics.pl line82 - [INFO] Login to vCenter vck.lio.se
[2016/03/10 12:04:01] /root/VsanPullStatistics.pl line92 - [INFO] vCenter vck.lio.se session file saved
[2016/03/10 12:04:01] /root/VsanPullStatistics.pl line133 - [INFO] Processing vCenter vck.lio.se datacenters
[2016/03/10 12:04:01] /root/VsanPullStatistics.pl line141 - [INFO] Processing vCenter vck.lio.se clusters
[2016/03/10 12:04:01] /root/VsanPullStatistics.pl line152 - DIE Can't use an undefined value as a HASH reference at /root/VsanPullStatistics.pl line 152.

@rschitz
Copy link
Member

rschitz commented Mar 10, 2016

I may have an idea...
Are you on VSAN 5.5 ?

@khjerpe
Copy link
Author

khjerpe commented Mar 10, 2016

No, VSAN 6.1

@khjerpe
Copy link
Author

khjerpe commented Mar 10, 2016

Maybe i should mention that there are three clusters in the particular vcenter but just one of them are a VSAN enabled cluster

@rschitz
Copy link
Member

rschitz commented Mar 10, 2016

ok, could you give me what returns this powercli command where you'll replace by the first esx of your cluster :
(get-vmhost vmvisor0|get-view -property config.vsanHostConfig.clusterInfo.uuid).config.vsanHostConfig.clusterInfo

@khjerpe
Copy link
Author

khjerpe commented Mar 10, 2016

5243f798-5102-d602-4e2f-f0902bc25d7e

@rschitz
Copy link
Member

rschitz commented Mar 10, 2016

That might be mix of clusters, i'm testing that right now

@rschitz
Copy link
Member

rschitz commented Mar 10, 2016

it is the cause of the issue, thanks a lot for reporting us that, i'm already working on a workaround.

@rschitz
Copy link
Member

rschitz commented Mar 10, 2016

@rschitz
Copy link
Member

rschitz commented Mar 10, 2016

could you try the new version of the file or modify yours?

@rschitz rschitz closed this as completed Mar 10, 2016
@rschitz rschitz added the bug label Mar 10, 2016
@rschitz rschitz added this to the 0.99b1 - Xen milestone Mar 10, 2016
@rschitz rschitz self-assigned this Mar 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants