You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Message: "'VM ID' column is missing or empty in the vInfo sheet - VMs cannot be identified",
123
+
Message: "No VMs found in vInfo sheet - cannot build inventory without VM data",
121
124
})
125
+
return
126
+
}
127
+
128
+
p.appendNonEmptyColumnIssue(ctx, result, table, "VM ID", CodeMissingVMID, "'VM ID' column is missing or empty in the vInfo sheet - VMs cannot be identified")
129
+
p.appendNonEmptyColumnIssue(ctx, result, table, "VM", CodeMissingVMName, "'VM' column is missing or empty in the vInfo sheet - VMs cannot be identified")
130
+
p.appendNonEmptyColumnIssue(ctx, result, table, "Cluster", CodeMissingCluster, "'Cluster' column is missing or empty in the vInfo sheet - cannot determine cluster membership")
131
+
132
+
iftable=="vinfo_raw" {
133
+
p.appendNonEmptyColumnIssue(ctx, result, table, "VI SDK UUID", CodeMissingVISDKUUID, "The RVTools export is missing the 'VI SDK UUID' column on the vInfo sheet, or all values are empty. That column is required to identify your vCenter. Re-export the file using RVTools so the vInfo sheet includes a non-empty VI SDK UUID for at least one VM.")
122
134
}
135
+
}
123
136
124
-
if!p.hasValidColumnData(ctx, table, "VM") {
137
+
// appendNonEmptyColumnIssue appends a user-facing error if the column has no non-empty values,
138
+
// or COLUMN_VALIDATION_FAILED if the database query fails (so query errors are not mistaken for bad data).
0 commit comments