Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

3300

July 29th, 2015 20:00

Failed Create Volume and Datastore By using ScaleIO resource

I have build a ScaleIO system in Vmware. It have two network. One is manage IP.The other one is Data IP.And I added the ScaleIO to VIPR After create the virtual array and virtual block pool, When I want to create block volume and VMware Datastore.This errror coming out. Here is the log:

Logs

Date Level Message
Jul 30th 2015, 10:51:40 am INFO Logged into vCenter 'VIPR&SIO' VMware vCenter Server 6.0.0 build-2559268
Jul 30th 2015, 10:51:40 am INFO Host '10.204.28.169' connection state: connected
Jul 30th 2015, 10:51:40 am INFO Host '10.204.28.171' connection state: connected
Jul 30th 2015, 10:51:40 am INFO Host '10.204.28.170' connection state: connected
Jul 30th 2015, 10:51:40 am INFO Targeting Cluster 'ScaleIO' containing 3 hosts
Jul 30th 2015, 10:51:40 am INFO Host '10.204.28.169' connection state: connected
Jul 30th 2015, 10:51:51 am INFO Created Volume: urn:storageos:Volume:735cd4e9-63c1-4e80-ae8f-5e78131daed9:vdc1
Jul 30th 2015, 10:52:02 am ERROR Error 12000: An error occurred while executing the job. Operation failed due to the following error: java.lang.NullPointerException; Operation failed due to the following error: java.lang.NullPointerException; Operation failed due to the following error: java.lang.NullPointerException; Rollback error: Operation failed due to the following error: java.lang.NullPointerException; Rollback error: Operation failed due to the following error: java.lang.NullPointerException; Rollback error: Operation failed due to the following error: java.lang.NullPointerException
com.emc.vipr.client.exceptions.ServiceErrorException: Error 12000: An error occurred while executing the job. Operation failed due to the following error: java.lang.NullPointerException; Operation failed due to the following error: java.lang.NullPointerException; Operation failed due to the following error: java.lang.NullPointerException; Rollback error: Operation failed due to the following error: java.lang.NullPointerException; Rollback error: Operation failed due to the following error: java.lang.NullPointerException; Rollback error: Operation failed due to the following error: java.lang.NullPointerException at com.emc.vipr.client.core.impl.TaskUtil.checkForError(TaskUtil.java:79) at com.emc.vipr.client.Task.waitFor(Task.java:141) at com.emc.sa.service.vipr.tasks.LongRunningTask.executeTask(LongRunningTask.java:35) at com.emc.sa.service.vipr.tasks.LongRunningTask.executeTask(LongRunningTask.java:9) at com.emc.sa.engine.ExecutionUtils.execute(ExecutionUtils.java:80) at com.emc.sa.engine.ExecutionUtils.execute(ExecutionUtils.java:71) at com.emc.sa.service.vipr.ViPRExecutionUtils.execute(ViPRExecutionUtils.java:41) at com.emc.sa.service.vipr.block.BlockStorageUtils.createClusterExport(BlockStorageUtils.java:251) at com.emc.sa.service.vipr.block.CreateBlockVolumeHelper.createAndExportVolumes(CreateBlockVolumeHelper.java:89) at com.emc.sa.service.vmware.block.CreateVolumeAndVmfsDatastoreService.execute(CreateVolumeAndVmfsDatastoreService.java:98) at com.emc.sa.engine.ExecutionEngineImpl.execute(ExecutionEngineImpl.java:201) at com.emc.sa.engine.ExecutionEngineImpl.runService(ExecutionEngineImpl.java:131) at com.emc.sa.engine.ExecutionEngineImpl.executeOrder(ExecutionEngineImpl.java:72) at com.emc.sa.engine.ExecutionEngineDispatcher.processOrder(ExecutionEngineDispatcher.java:50) at com.emc.sa.engine.ExecutionEngineDispatcher$Consumer.consumeItem(ExecutionEngineDispatcher.java:94) at com.emc.sa.engine.ExecutionEngineDispatcher$Consumer.consumeItem(ExecutionEngineDispatcher.java:88) at com.emc.storageos.coordinator.client.service.impl.DistributedQueueConsumer$1.run(DistributedQueueConsumer.java:87) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)
Jul 30th 2015, 10:52:12 am INFO Releasing Lock urn:storageos:Host:86bf90c3-fb47-4e5e-a766-dfc0b88e2aac:vdc1
Jul 30th 2015, 10:52:12 am INFO Releasing Lock urn:storageos:Cluster:8ac31733-32d6-436b-95c9-d83b9a551cfc:vdc1

Am i miss setting something ? Why NullPointerException coming out?

July 31st, 2015 00:00

Hi,

As per the latest ViPR support matrix, only ScaleIO 1.30 and 1.31 are supported with ViPR 2.2 and 2.3.

Regards

8 Posts

July 30th, 2015 05:00

Hello! I have exactly the same issue (java NullPointerException) on ScaleIO and ViPR on VMware vSphere 6.0! I reinstalled the two solutions without results. Always fail task: CREATE EXPORT GROUP (create export group operation).

92 Posts

July 30th, 2015 15:00

Which version of scaleio are you using?  1.30 or 1.31?  ViPR 2.2 or 2.3?

53 Posts

July 30th, 2015 18:00

ScaleIO version is 1.32 and VIPR version is 2.3.The ScaleIO is deployed by VMware plugin in Vcenter 6.0.

53 Posts

July 30th, 2015 18:00

yeah,during the CREATE EXPORT GROUP task. I can't find out why. The NullPointerException, how could this coming out?

8 Posts

July 30th, 2015 22:00

I get this error on ScaleIO 1.32 and ViPR 2.2 and 2.3...

53 Posts

July 31st, 2015 01:00

Oh,I am sorry. I didn't read the document about the ViPR support matrix.Do you know when the VIPR will support the ScaleIO 1.32?

53 Posts

July 31st, 2015 01:00

ViPR Support Matrix - REV 14c.pdf

We should read this document firstly.

53 Posts

August 3rd, 2015 23:00

I have build the ScaleIO 1.31. Can create the volume for a host. But it can not create the volume and datastore for a cluster in Vcenter. It failed during creating the volume. Here is the log message:

Date Level Message
Aug 4th 2015, 9:22:34 am INFO Logged into vCenter 'Storage_Vcenter' VMware vCenter Server 5.5.0 build-2442329
Aug 4th 2015, 9:22:34 am INFO Host '10.204.28.169' connection state: connected
Aug 4th 2015, 9:22:34 am INFO Host '10.204.28.170' connection state: connected
Aug 4th 2015, 9:22:35 am INFO Host '10.204.28.171' connection state: connected
Aug 4th 2015, 9:22:35 am INFO Targeting Cluster 'ScaleIO' containing 3 hosts
Aug 4th 2015, 9:22:35 am INFO Host '10.204.28.170' connection state: connected
Aug 4th 2015, 9:22:56 am ERROR Error 60002: Error encountered while trying to create volume. Could not create volume ScaleIO volume: Error: Unknown parameters in command line; Rollback error: Volume does not exist or is already deleted
com.emc.vipr.client.exceptions.ServiceErrorException: Error 60002: Error encountered while trying to create volume. Could not create volume ScaleIO volume: Error: Unknown parameters in command line; Rollback error: Volume does not exist or is already deleted at com.emc.vipr.client.core.impl.TaskUtil.checkForErrors(TaskUtil.java:91) at com.emc.vipr.client.Tasks.waitFor(Tasks.java:131) at com.emc.sa.service.vipr.tasks.LongRunningTasks.executeTask(LongRunningTasks.java:47) at com.emc.sa.service.vipr.tasks.LongRunningTasks.executeTask(LongRunningTasks.java:11) at com.emc.sa.engine.ExecutionUtils.execute(ExecutionUtils.java:80) at com.emc.sa.engine.ExecutionUtils.execute(ExecutionUtils.java:71) at com.emc.sa.service.vipr.ViPRExecutionUtils.execute(ViPRExecutionUtils.java:41) at com.emc.sa.service.vipr.block.BlockStorageUtils.createVolumes(BlockStorageUtils.java:201) at com.emc.sa.service.vipr.block.CreateBlockVolumeHelper.createAndExportVolumes(CreateBlockVolumeHelper.java:71) at com.emc.sa.service.vmware.block.CreateVolumeAndVmfsDatastoreService.execute(CreateVolumeAndVmfsDatastoreService.java:98) at com.emc.sa.engine.ExecutionEngineImpl.execute(ExecutionEngineImpl.java:201) at com.emc.sa.engine.ExecutionEngineImpl.runService(ExecutionEngineImpl.java:131) at com.emc.sa.engine.ExecutionEngineImpl.executeOrder(ExecutionEngineImpl.java:72) at com.emc.sa.engine.ExecutionEngineDispatcher.processOrder(ExecutionEngineDispatcher.java:50) at com.emc.sa.engine.ExecutionEngineDispatcher$Consumer.consumeItem(ExecutionEngineDispatcher.java:94) at com.emc.sa.engine.ExecutionEngineDispatcher$Consumer.consumeItem(ExecutionEngineDispatcher.java:88) at com.emc.storageos.coordinator.client.service.impl.DistributedQueueConsumer$1.run(DistributedQueueConsumer.java:87) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)
Aug 4th 2015, 9:22:56 am INFO Releasing Lock urn:storageos:Host:5f2af0e6-546e-4fe6-b2aa-8a523f2872f8:vdc1
Aug 4th 2015, 9:22:56 am INFO Releasing Lock urn:storageos:Cluster:2829c64e-a9e5-4261-b689-9e3adb9525ee:vdc1

And I want to know where can i find the detail log?

thank you

92 Posts

August 4th, 2015 05:00

check out the controllersvc.log

/opt/storageos/logs....

53 Posts

August 4th, 2015 20:00

here is the log info.But i can not find the error from here, Could you help me ?

1 Attachment

92 Posts

August 6th, 2015 07:00

Doesn't look like a lot of information in this log.  Have you tried with other vcenter clusters or hosts?  So basically you can export a volume to a vcenter cluster but just not a datastore?  Have you tried another datastore name?  Please provide as much detail as possible.  Providing full logs from the ViPR GUI would help us as well.  Is this a greenfield vcenter or does it have existing exports to these hosts/cluster?

53 Posts

August 6th, 2015 18:00

I am so sorry ,I have updated the log. The log file should be controllersvc.log, not be log2.txt. And I already know where was wrong. I just add a "space" when i define a volume name.Then give out this error. Thank you so much .

No Events found!

Top