hello,
I am trying to get the Chassis Rack VSphere sample working. After adding both the -ui and -service to the server, I am getting this error. What am I missing?
attached is the vsphere_client_virgo.log.
Appreciate the help.
[2013-07-15 14:10:59.591] ERROR [ERROR] data-service-pool-467 com.vmware.vise.data.query.impl.DataServiceImpl Error occurred while executing query:
QuerySpec
QueryName: urn:vmomi:Datastore:datastore-82112:61DBE5A0-BCE9-4164-B4EC-C6FF538CC8FD.properties
ResourceSpec
Constraint: CompositeConstraint
TargetType: null
Conjoiner: OR
Constraint: ObjectIdentityConstraint
TargetType: null
Target: ManagedObjectReference: type = Datastore, value = datastore-82112, serverGuid = 61DBE5A0-BCE9-4164-B4EC-C6FF538CC8FD
Constraint: ObjectIdentityConstraint
TargetType: null
Target: ManagedObjectReference: type = HostSystem, value = host-82486, serverGuid = 61DBE5A0-BCE9-4164-B4EC-C6FF538CC8FD
Constraint: ObjectIdentityConstraint
TargetType: null
Target: ManagedObjectReference: type = Datastore, value = datastore-82115, serverGuid = 61DBE5A0-BCE9-4164-B4EC-C6FF538CC8FD
Constraint: ObjectIdentityConstraint
TargetType: null
Target: ManagedObjectReference: type = HostSystem, value = host-82108, serverGuid = 61DBE5A0-BCE9-4164-B4EC-C6FF538CC8FD
Constraint: ObjectIdentityConstraint
TargetType: null
Target: ManagedObjectReference: type = Datastore, value = datastore-82182, serverGuid = 61DBE5A0-BCE9-4164-B4EC-C6FF538CC8FD
PropertySpec[2]
ProviderType: HostSystem
Relationship: null
Properties[1]
PropertyName: name
ProviderType: Datastore
Relationship: null
Properties[1]
PropertyName: name
ResultSpec:
Offset: null
MaxResultCount: null
OrderingCriteria
OrderPropertySpec[1]
ProviderType: Object
Relationship: null
SortType: ASCENDING
OrderingProperties[1]
PropertyName: id
java.lang.IllegalArgumentException: ChassisRackVSphereDataAdapter.invalidQuerySpec
at com.vmware.samples.chassisRackVSphere.ChassisRackVSphereDataAdapter.processQuery(ChassisRackVSphereDataAdapter.java:176)
at com.vmware.samples.chassisRackVSphere.ChassisRackVSphereDataAdapter.getData(ChassisRackVSphereDataAdapter.java:160)
at com.vmware.vise.data.query.impl.DataAdapterUtil.getDataFromAdapter(DataAdapterUtil.java:130)
at com.vmware.vise.data.query.impl.DataAdapterUtil.getResultFromAdapter(DataAdapterUtil.java:96)
at com.vmware.vise.data.query.impl.DataAdapterUtil.access$000(DataAdapterUtil.java:35)
at com.vmware.vise.data.query.impl.DataAdapterUtil$1.run(DataAdapterUtil.java:73)
at com.vmware.vise.util.concurrent.ExecutorUtil$1.run(ExecutorUtil.java:185)
at com.vmware.vise.util.concurrent.ExecutorUtil$ThreadContextPropagatingRunnable.run(ExecutorUtil.java:573)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)