This discussion is archived
5 Replies Latest reply: Jan 31, 2013 3:06 AM by Jeff_J RSS

Manager database not being updated?

Looney128 Newbie
Currently Being Moderated
I have had some problems adding iSCSI luns, so I decided to delete the luns and start over. I deleted the luns and tried to recreate them... but got an error stating that the object already exists.

I deleted the SAN servers and tried to re-add them.....I could not "the object already exists"

Can not set up a repository because the iSCSI LUN already exists?????

it appears that the database is not updating????? where do I go from here? Now I do not have any iSCSI server connectons, where I once had two, and not can not reconnect to them.


Any help would be great.

here is an example of an error

Job Construction Phase
----------------------
begin()
begin()
Appended operation 'Storage Array Validate' to object '0004fb00000900005988676e1ab12e12 (P4300)'.
Appended operation 'Storage Array Discover Info' to object '0004fb00000900005988676e1ab12e12 (P4300)'.
Appended operation 'Storage Server Discover Capabilities' to object '0004fb00000900005988676e1ab12e12 (P4300)'.
Appended operation 'Storage Server Discover Access Groups' to object '0004fb00000900005988676e1ab12e12 (P4300)'.
Operation 'Storage Array Discover Info' was not added, it already exists on object '0004fb00000900005988676e1ab12e12 (P4300)'.
Appended operation 'Storage Array Discover Storage Elements' to object '0004fb00000900005988676e1ab12e12 (P4300)'.
Appended operation 'ISCSI Storage Array Discover Targets' to object '0004fb00000900005988676e1ab12e12 (P4300)'.
commit()
Completed Step: COMMIT

Objects and Operations
----------------------
Object (IN_USE): [StorageArrayPlugin] oracle.generic.SCSIPlugin.GenericPlugin (1.1.0) (Oracle Generic SCSI Plugin)
Object (IN_USE): [Server] 35:37:33:31:32:32:55:53:45:31:34:31:4e:46:42:50 (OVMS2)
Object (CREATED): [IscsiStorageArray] 0004fb00000900005988676e1ab12e12 (P4300)
Operation: Storage Array Validate
Operation: Storage Array Discover Info
Operation: Storage Server Discover Capabilities
Operation: Storage Server Discover Access Groups
Operation: Storage Array Discover Storage Elements
Operation: ISCSI Storage Array Discover Targets
Object (CREATED): [AccessGroup] Default access group @ P4300 @ 0004fb00000900005988676e1ab12e12 (Default access group @ P4300)
Object (IN_USE): [Server] 35:37:33:31:32:32:55:53:45:31:35:33:52:30:4c:32 (OVMS1)

Job Running Phase at 12:26 on Wed, Oct 17, 2012
----------------------------------------------
Job Participants: [35:37:33:31:32:32:55:53:45:31:34:31:4e:46:42:50 (OVMS2)]


Actioner
--------
Starting operation 'Storage Array Validate' on object '0004fb00000900005988676e1ab12e12 (P4300)'
Operation 'Storage Server Discover Capabilities' was not added, it already exists on object '0004fb00000900005988676e1ab12e12 (P4300)'.
Operation 'Storage Server Discover Access Groups' was not added, it already exists on object '0004fb00000900005988676e1ab12e12 (P4300)'.
Completed operation 'Storage Array Validate' completed with direction ==> DONE
Starting operation 'Storage Array Discover Info' on object '0004fb00000900005988676e1ab12e12 (P4300)'
Setting Context to model only in job with id=1350494815856
Setting Context to default in job with id=1350494815856
Completed operation 'Storage Array Discover Info' completed with direction ==> DONE
Starting operation 'Storage Server Discover Capabilities' on object '0004fb00000900005988676e1ab12e12 (P4300)'
Setting Context to model only in job with id=1350494815856
Setting Context to default in job with id=1350494815856
Completed operation 'Storage Server Discover Capabilities' completed with direction ==> DONE
Starting operation 'Storage Server Discover Access Groups' on object '0004fb00000900005988676e1ab12e12 (P4300)'
Completed operation 'Storage Server Discover Access Groups' completed with direction ==> DONE
Starting operation 'Storage Array Discover Storage Elements' on object '0004fb00000900005988676e1ab12e12 (P4300)'
Completed operation 'Storage Array Discover Storage Elements' completed with direction ==> LATER
Starting operation 'ISCSI Storage Array Discover Targets' on object '0004fb00000900005988676e1ab12e12 (P4300)'
Setting Context to model only in job with id=1350494815856
Setting Context to default in job with id=1350494815856
Completed operation 'ISCSI Storage Array Discover Targets' completed with direction ==> DONE
Starting operation 'Storage Array Discover Storage Elements' on object '0004fb00000900005988676e1ab12e12 (P4300)'
Setting Context to model only in job with id=1350494815856
Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_B000E Storage plugin command [storage_plugin_list] failed for storage server [0004fb00000900005988676e1ab12e12] failed with [com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: dispatch to server: OVMS2 failed. OVMAPI_4004E Server Failed Command: dispatch https://?uname?:?pwd?@172.20.1.12:8899/api/2 storage_plugin_list oracle.generic.SCSIPlugin.GenericPlugin, Status: exceptions.KeyError:'storage_id'
Wed Oct 17 12:27:01 CDT 2012
Wed Oct 17 12:27:01 CDT 2012] OVMAPI_4010E Attempt to send command: dispatch to server: OVMS2 failed. OVMAPI_4004E Server Failed Command: dispatch https://?uname?:?pwd?@172.20.1.12:8899/api/2 storage_plugin_list oracle.generic.SCSIPlugin.GenericPlugin, Status: org.apache.xmlrpc.XmlRpcException: exceptions.KeyError:'storage_id'
Wed Oct 17 12:27:01 CDT 2012
Wed Oct 17 12:27:01 CDT 2012
Wed Oct 17 12:27:01 CDT 2012
at com.oracle.ovm.mgr.action.StoragePluginAction.processException(StoragePluginAction.java:1371)
at com.oracle.ovm.mgr.action.StoragePluginAction.discoverStorageElements(StoragePluginAction.java:384)
at com.oracle.ovm.mgr.discover.ovm.StorageElementsDiscoverHandler.query(StorageElementsDiscoverHandler.java:49)
at com.oracle.ovm.mgr.discover.ovm.StorageElementsDiscoverHandler.query(StorageElementsDiscoverHandler.java:38)
at com.oracle.ovm.mgr.discover.ovm.DiscoverHandler.execute(DiscoverHandler.java:61)
at com.oracle.ovm.mgr.discover.StorageServerDiscover.handleDiscover(StorageServerDiscover.java:77)
at com.oracle.ovm.mgr.discover.StorageServerDiscover.discoverStorageServer(StorageServerDiscover.java:53)
at com.oracle.ovm.mgr.op.physical.storage.StorageArrayDiscoverStorageElements.discoverStorageArrayStorageElements(StorageArrayDiscoverStorageElements.java:56)
at com.oracle.ovm.mgr.op.physical.storage.StorageArrayDiscoverStorageElements.action(StorageArrayDiscoverStorageElements.java:47)
at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.executeCurrentJobOperationAction(ManagedObjectDbImpl.java:1009)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:330)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:822)
at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:245)
at com.oracle.ovm.mgr.api.physical.storage.IscsiStorageArrayProxy.executeCurrentJobOperationAction(Unknown Source)
at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:218)
at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:251)
at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:309)
at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1140)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:330)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:773)
at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: dispatch to server: OVMS2 failed. OVMAPI_4004E Server Failed Command: dispatch https://?uname?:?pwd?@172.20.1.12:8899/api/2 storage_plugin_list oracle.generic.SCSIPlugin.GenericPlugin, Status: org.apache.xmlrpc.XmlRpcException: exceptions.KeyError:'storage_id'
Wed Oct 17 12:27:01 CDT 2012
Wed Oct 17 12:27:01 CDT 2012
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:507)
at com.oracle.ovm.mgr.action.ActionEngine.sendDispatchedServerCommand(ActionEngine.java:444)
at com.oracle.ovm.mgr.action.ActionEngine.sendServerCommand(ActionEngine.java:378)
at com.oracle.ovm.mgr.action.StoragePluginAction.discoverStorageElements(StoragePluginAction.java:380)
... 33 more
Caused by: com.oracle.ovm.mgr.api.exception.IllegalOperationException: OVMAPI_4004E Server Failed Command: dispatch https://?uname?:?pwd?@172.20.1.12:8899/api/2 storage_plugin_list oracle.generic.SCSIPlugin.GenericPlugin, Status: org.apache.xmlrpc.XmlRpcException: exceptions.KeyError:'storage_id'
Wed Oct 17 12:27:01 CDT 2012
at com.oracle.ovm.mgr.action.ActionEngine.sendAction(ActionEngine.java:798)
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:503)
... 36 more


FailedOperationCleanup
----------
Starting failed operation 'Storage Array Discover Storage Elements' cleanup on object 'P4300'
Complete rollback operation 'Storage Array Discover Storage Elements' completed with direction=P4300

Rollbacker
----------
Executing rollback operation 'Storage Array Discover Storage Elements' on object '0004fb00000900005988676e1ab12e12 (P4300)'
Complete rollback operation 'Storage Array Discover Storage Elements' completed with direction=DONE
Executing rollback operation 'ISCSI Storage Array Discover Targets' on object '0004fb00000900005988676e1ab12e12 (P4300)'
Complete rollback operation 'ISCSI Storage Array Discover Targets' completed with direction=DONE
Executing rollback operation 'Storage Server Discover Access Groups' on object '0004fb00000900005988676e1ab12e12 (P4300)'
Complete rollback operation 'Storage Server Discover Access Groups' completed with direction=DONE
Executing rollback operation 'Storage Server Discover Capabilities' on object '0004fb00000900005988676e1ab12e12 (P4300)'
Complete rollback operation 'Storage Server Discover Capabilities' completed with direction=DONE
Executing rollback operation 'Storage Array Discover Info' on object '0004fb00000900005988676e1ab12e12 (P4300)'
Complete rollback operation 'Storage Array Discover Info' completed with direction=DONE
Executing rollback operation 'Storage Array Validate' on object '0004fb00000900005988676e1ab12e12 (P4300)'
Complete rollback operation 'Storage Array Validate' completed with direction=DONE

Objects To Be Rolled Back
-------------------------
Object (CREATED): [VolumeGroup] Generic_iSCSI_Volume_Group @ 0004fb00000900005988676e1ab12e12 (Generic_iSCSI_Volume_Group)
Object (IN_USE): [StorageArrayPlugin] oracle.generic.SCSIPlugin.GenericPlugin (1.1.0) (Oracle Generic SCSI Plugin)
Object (IN_USE): [Server] 35:37:33:31:32:32:55:53:45:31:34:31:4e:46:42:50 (OVMS2)
Object (CREATED): [IscsiStorageArray] 0004fb00000900005988676e1ab12e12 (P4300)
Object (CREATED): [AccessGroup] Default access group @ P4300 @ 0004fb00000900005988676e1ab12e12 (Default access group @ P4300)
Object (IN_USE): [Server] 35:37:33:31:32:32:55:53:45:31:35:33:52:30:4c:32 (OVMS1)


Write Methods Invoked
-------------------
Class=InternalJobDbImpl vessel_id=12134 method=addTransactionIdentifier accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=addAdminServer accessLevel=6
Class=ServerDbImpl vessel_id=7075 method=addStorageServer accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=addAdminServer accessLevel=6
Class=ServerDbImpl vessel_id=4883 method=addStorageServer accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=validate accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=refresh accessLevel=6
Class=InternalJobDbImpl vessel_id=12134 method=setCompletedStep accessLevel=6
Class=InternalJobDbImpl vessel_id=12134 method=setAssociatedHandles accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setValidated accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=addJobOperation accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=addJobOperation accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setCurrentJobOperationComplete accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=nextJobOperation accessLevel=6
Class=InternalJobDbImpl vessel_id=12134 method=setContext accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=lock accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=createVolumeGroup accessLevel=6
Class=VolumeGroupDbImpl vessel_id=12154 method=setName accessLevel=6
Class=VolumeGroupDbImpl vessel_id=12154 method=setFoundryContext accessLevel=6
Class=VolumeGroupDbImpl vessel_id=12154 method=onPersistableCreate accessLevel=6
Class=VolumeGroupDbImpl vessel_id=12154 method=setLifecycleState accessLevel=6
Class=VolumeGroupDbImpl vessel_id=12154 method=setRollbackLifecycleState accessLevel=6
Class=VolumeGroupDbImpl vessel_id=12154 method=setStorageArray accessLevel=6
Class=VolumeGroupDbImpl vessel_id=12154 method=setSimpleName accessLevel=6
Class=VolumeGroupDbImpl vessel_id=12154 method=lock accessLevel=6
Class=InternalJobDbImpl vessel_id=12134 method=setContext accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setCurrentJobOperationComplete accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=nextJobOperation accessLevel=6
Class=InternalJobDbImpl vessel_id=12134 method=setContext accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setAbility accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setAbility accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setAbility accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setAbility accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setAbility accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setAbility accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setAbility accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setAbility accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setAbility accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setAbility accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setAbility accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setAbility accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setAbility accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setAbility accessLevel=6
Class=InternalJobDbImpl vessel_id=12134 method=setContext accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setCurrentJobOperationComplete accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=nextJobOperation accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setCurrentJobOperationComplete accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=nextJobOperation accessLevel=6
Class=InternalJobDbImpl vessel_id=12134 method=setTuringMachineFlag accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setCurrentOperationToLater accessLevel=6
Class=InternalJobDbImpl vessel_id=12134 method=setTuringMachineFlag accessLevel=6
Class=InternalJobDbImpl vessel_id=12134 method=setContext accessLevel=6
Class=InternalJobDbImpl vessel_id=12134 method=setContext accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setCurrentJobOperationComplete accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=nextJobOperation accessLevel=6
Class=InternalJobDbImpl vessel_id=12134 method=setContext accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=nextJobOperation accessLevel=6
Class=InternalJobDbImpl vessel_id=12134 method=setFailedOperation accessLevel=6
Class=StorageArrayPluginDbImpl vessel_id=1657 method=nextJobOperation accessLevel=6
Class=ServerDbImpl vessel_id=4883 method=nextJobOperation accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=nextJobOperation accessLevel=6
Class=AccessGroupDbImpl vessel_id=12148 method=nextJobOperation accessLevel=6
Class=ServerDbImpl vessel_id=7075 method=nextJobOperation accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=nextJobOperation accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=nextJobOperation accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=nextJobOperation accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=nextJobOperation accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=nextJobOperation accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=nextJobOperation accessLevel=6
Class=InternalJobDbImpl vessel_id=12134 method=addTransactionIdentifier accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setName accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setFoundryContext accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=onPersistableCreate accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setLifecycleState accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setRollbackLifecycleState accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setStoragePlugin accessLevel=6
Class=StorageArrayPluginDbImpl vessel_id=1657 method=addStorageServer accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setAdminHostname accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setAdminUsername accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setAdminPassword accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setSimpleName accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=createAccessGroup accessLevel=6
Class=AccessGroupDbImpl vessel_id=12148 method=setName accessLevel=6
Class=AccessGroupDbImpl vessel_id=12148 method=setFoundryContext accessLevel=6
Class=AccessGroupDbImpl vessel_id=12148 method=onPersistableCreate accessLevel=6
Class=AccessGroupDbImpl vessel_id=12148 method=setLifecycleState accessLevel=6
Class=AccessGroupDbImpl vessel_id=12148 method=setRollbackLifecycleState accessLevel=6
Class=AccessGroupDbImpl vessel_id=12148 method=setSimpleName accessLevel=6
Class=AccessGroupDbImpl vessel_id=12148 method=setStorageServer accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setDescription accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setAccessHost accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setUsername accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setPassword accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=12143 method=setUseChapAuth accessLevel=6
Completed Step: ROLLBACK
Job failed commit (internal) due to OVMAPI_B000E Storage plugin command [storage_plugin_list] failed for storage server [0004fb00000900005988676e1ab12e12] failed with [com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: dispatch to server: OVMS2 failed. OVMAPI_4004E Server Failed Command: dispatch https://?uname?:?pwd?@172.20.1.12:8899/api/2 storage_plugin_list oracle.generic.SCSIPlugin.GenericPlugin, Status: exceptions.KeyError:'storage_id'
Wed Oct 17 12:27:01 CDT 2012
Wed Oct 17 12:27:01 CDT 2012] OVMAPI_4010E Attempt to send command: dispatch to server: OVMS2 failed. OVMAPI_4004E Server Failed Command: dispatch https://?uname?:?pwd?@172.20.1.12:8899/api/2 storage_plugin_list oracle.generic.SCSIPlugin.GenericPlugin, Status: org.apache.xmlrpc.XmlRpcException: exceptions.KeyError:'storage_id'
Wed Oct 17 12:27:01 CDT 2012
Wed Oct 17 12:27:01 CDT 2012
Wed Oct 17 12:27:01 CDT 2012
com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_B000E Storage plugin command [storage_plugin_list] failed for storage server [0004fb00000900005988676e1ab12e12] failed with [com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: dispatch to server: OVMS2 failed. OVMAPI_4004E Server Failed Command: dispatch https://?uname?:?pwd?@172.20.1.12:8899/api/2 storage_plugin_list oracle.generic.SCSIPlugin.GenericPlugin, Status: exceptions.KeyError:'storage_id'
Wed Oct 17 12:27:01 CDT 2012
Wed Oct 17 12:27:01 CDT 2012] OVMAPI_4010E Attempt to send command: dispatch to server: OVMS2 failed. OVMAPI_4004E Server Failed Command: dispatch https://?uname?:?pwd?@172.20.1.12:8899/api/2 storage_plugin_list oracle.generic.SCSIPlugin.GenericPlugin, Status: org.apache.xmlrpc.XmlRpcException: exceptions.KeyError:'storage_id'
Wed Oct 17 12:27:01 CDT 2012
Wed Oct 17 12:27:01 CDT 2012
Wed Oct 17 12:27:01 CDT 2012
at com.oracle.ovm.mgr.action.StoragePluginAction.processException(StoragePluginAction.java:1371)
at com.oracle.ovm.mgr.action.StoragePluginAction.discoverStorageElements(StoragePluginAction.java:384)
at com.oracle.ovm.mgr.discover.ovm.StorageElementsDiscoverHandler.query(StorageElementsDiscoverHandler.java:49)
at com.oracle.ovm.mgr.discover.ovm.StorageElementsDiscoverHandler.query(StorageElementsDiscoverHandler.java:38)
at com.oracle.ovm.mgr.discover.ovm.DiscoverHandler.execute(DiscoverHandler.java:61)
at com.oracle.ovm.mgr.discover.StorageServerDiscover.handleDiscover(StorageServerDiscover.java:77)
at com.oracle.ovm.mgr.discover.StorageServerDiscover.discoverStorageServer(StorageServerDiscover.java:53)
at com.oracle.ovm.mgr.op.physical.storage.StorageArrayDiscoverStorageElements.discoverStorageArrayStorageElements(StorageArrayDiscoverStorageElements.java:56)
at com.oracle.ovm.mgr.op.physical.storage.StorageArrayDiscoverStorageElements.action(StorageArrayDiscoverStorageElements.java:47)
at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.executeCurrentJobOperationAction(ManagedObjectDbImpl.java:1009)
at sun.reflect.GeneratedMethodAccessor3974.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:330)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:822)
at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:245)
at com.oracle.ovm.mgr.api.physical.storage.IscsiStorageArrayProxy.executeCurrentJobOperationAction(Unknown Source)
at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:218)
at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:251)
at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:309)
at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1140)
at sun.reflect.GeneratedMethodAccessor1148.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:330)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:773)
at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: dispatch to server: OVMS2 failed. OVMAPI_4004E Server Failed Command: dispatch https://?uname?:?pwd?@172.20.1.12:8899/api/2 storage_plugin_list oracle.generic.SCSIPlugin.GenericPlugin, Status: org.apache.xmlrpc.XmlRpcException: exceptions.KeyError:'storage_id'
Wed Oct 17 12:27:01 CDT 2012
Wed Oct 17 12:27:01 CDT 2012
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:507)
at com.oracle.ovm.mgr.action.ActionEngine.sendDispatchedServerCommand(ActionEngine.java:444)
at com.oracle.ovm.mgr.action.ActionEngine.sendServerCommand(ActionEngine.java:378)
at com.oracle.ovm.mgr.action.StoragePluginAction.discoverStorageElements(StoragePluginAction.java:380)
... 33 more
Caused by: com.oracle.ovm.mgr.api.exception.IllegalOperationException: OVMAPI_4004E Server Failed Command: dispatch https://?uname?:?pwd?@172.20.1.12:8899/api/2 storage_plugin_list oracle.generic.SCSIPlugin.GenericPlugin, Status: org.apache.xmlrpc.XmlRpcException: exceptions.KeyError:'storage_id'
Wed Oct 17 12:27:01 CDT 2012
at com.oracle.ovm.mgr.action.ActionEngine.sendAction(ActionEngine.java:798)
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:503)
... 36 more


----------
End of Job
----------
  • 1. Re: Manager database not being updated?
    Looney128 Newbie
    Currently Being Moderated
    Could this "out of syncness" be caused by the system clocks on the manager and servers?

    if so.....what would be a quick way to check the ntp?
  • 2. Re: Manager database not being updated?
    kiranss Newbie
    Currently Being Moderated
    Did you resolve this, i have the same problem. In my case the database had stalled due to drive space filling up and in the mean time it missed some transactions.

    Now i am stuck with not able to add the storage back, as the VM Manager assumes it is already there based on the information stored in the DB.
  • 3. Re: Manager database not being updated?
    Looney128 Newbie
    Currently Being Moderated
    Well I did not get it resolved with ver 3.1.1. I scrapped everything and started fresh with their 3.2.1 beta.
    http://www.oracle.com/technetwork/server-storage/vm/downloads/ovm-early-access-1743261.html

    The first beta I tried was the 258 build and was shockingly please for a beta! I installed the "simple" installation. This thing was very fast and stable! All my iSCSI LUNS connected without issue. The only problem I had was with the java console for the VMs.....but I think that was more on my workstation than the manager.
    They are using MySQL for the backend of the simple installation and it is very noticeable. (and yes, I was told it would be a supported install)

    They then updated the website with a newer build (35901). This resolved the problem that I was having with the console, but now have different iSCSI problems. I don't think it would be a problem if one uses just one SAN and one IP address for the SAN server. The system get confused with multiple SANs and complex setups.

    3.2.1 is definitely going in the right direction....just wish they were a bit faster getting to the release version.....
  • 4. Re: Manager database not being updated?
    kiranss Newbie
    Currently Being Moderated
    Do you think i can upgrade just the VM Manager and leave the VM Servers at 3.1.1 ?
  • 5. Re: Manager database not being updated?
    Jeff_J Newbie
    Currently Being Moderated
    Argh. I also had to add, remove and then re-add a SAN solution into our Oracle VM setup - and am getting this very same error:

    Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_B000E Storage plugin command [storage_plugin_list] failed for storage server [0004fb0000090000776d63df0c6a451f] failed with [com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: dispatch to server: ovm1 failed. OVMAPI_4004E Server Failed Command: dispatch https://?uname?:?pwd?@x.x.x.x:8899/api/2 storage_plugin_list oracle.generic.SCSIPlugin.GenericPlugin, Status: exceptions.KeyError:'storage_id'

    Does anyone know of a fix / workaround that does not involve upgrading to 3.2.1!?!?

    Jeff                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points