1 Reply Latest reply: Jun 8, 2012 7:43 AM by Klausm-Oracle RSS

    How To Debug Opscenter 12c

    832842
      I am trying to migrate a Solaris 10 zone in a server pool with OpsCenter, it fails with the error below, first the detail log, then the list of the tasks. It moves the ZFS pool to the other node, imports it there and configures the zone so it is in configured state. But it does not get the zone out of the configured state, it fails back before. Any clever idea on how to debug this?

      Fritz



      h1. Opscenter detailed log of error
      -----

      Job ID : <_Hostname_>.441
      Job Name : -
      Job Type : Cold Migration Job
      Job Description : -
      Run ID : 1
      Status : FAILED
      Mode : Actual run
      Owner : <_Username_>
      Create Date : 06/08/2012 06:42:08 AM GMT+01:00
      Start Date : 06/08/2012 06:42:08 AM GMT+01:00
      Last Updated : 06/08/2012 07:10:43 AM GMT+01:00
      Execution Order : SEQUENTIAL
      Failure Policy : ABORT_ON_ANY_FAILURE
      -----

      Task : ZoneMigrate
      Task Run ID : 3867
      Target : <_TargetHost_>
      Status : FAILED
      Result : Exception occurred while running the task. (15033) : 1
      Logs :
      06/08/2012 06:45:28 AM GMT+01:00 INFO <_Hostname_>.441.1.3873 acquired the recursive lock on the target - <_Hostname_>-a9631a46/<_TargetHost_>-d3fc5e55/com.sun.hss.domain:name=NORM-localhost,type=ZoneServerContainer for the duration of Task
      06/08/2012 06:45:28 AM GMT+01:00 INFO Task is posted to the Proxy Controller (<_Hostname_>-a9631a46), from the Enterprise Controller. (15011)
      06/08/2012 06:45:32 AM GMT+01:00 INFO Task is received by the Proxy Controller. (15012)
      06/08/2012 06:45:32 AM GMT+01:00 INFO Task is posted to the Virtualization Host (<_TargetHost_>-d3fc5e55), from the Proxy Controller. (15015)
      06/08/2012 06:45:32 AM GMT+01:00 INFO Task is received by the Virtualization Host. (15016)
      06/08/2012 06:45:32 AM GMT+01:00 ERROR Exception occurred while running the task
      06/08/2012 06:45:32 AM GMT+01:00 ERROR 1
      06/08/2012 06:45:32 AM GMT+01:00 ERROR com.sun.hss.domain.virtimagelib.impl.AbstractVirtImageMXBeanDelegate.getDeviceName(AbstractVirtImageMXBeanDelegate.java:896)
      06/08/2012 06:45:32 AM GMT+01:00 ERROR com.sun.hss.domain.virtimagelib.impl.VirtDiskImageMXBeanDelegate.getDeviceName(VirtDiskImageMXBeanDelegate.java:294)
      06/08/2012 06:45:32 AM GMT+01:00 ERROR com.sun.hss.services.virtualization.guestservice.impl.ZoneCreateTask.createZone(ZoneCreateTask.java:671)
      06/08/2012 06:45:32 AM GMT+01:00 ERROR com.sun.hss.services.virtualization.migrationservice.impl.ZoneMigrateTask.run(ZoneMigrateTask.java:81)
      06/08/2012 06:45:32 AM GMT+01:00 ERROR sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      06/08/2012 06:45:32 AM GMT+01:00 ERROR sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      06/08/2012 06:45:32 AM GMT+01:00 ERROR sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      06/08/2012 06:45:32 AM GMT+01:00 ERROR java.lang.reflect.Method.invoke(Method.java:597)
      06/08/2012 06:45:32 AM GMT+01:00 ERROR com.sun.scn.jobmanager.common.impl.TaskExecutionThread.run(TaskExecutionThread.java:194)
      06/08/2012 06:45:33 AM GMT+01:00 INFO <_Hostname_>.441.1.3873 released the recursive lock on the target - <_Hostname_>-a9631a46/<_TargetHost_>-d3fc5e55/com.sun.hss.domain:name=NORM-localhost,type=ZoneServerContainer for the duration of Task



      h1. Opscenter list of tasks
      -----

      Oracle Enterprise Manager Ops Center - Job Target Details
      Job Composition for DEFAULT_TARGET Elapsed Time: 00 hr, 28 min, 34 sec

      Task Target of the task Result Elapsed Time

      DEFAULT_TARGET DEFAULT_TARGET Flow execution is failed 00 hr, 28 min, 34 sec
      ZoneMigrationUserCommandTask <_SourceHost_> User command execution succeeded. (73201) Less than a second

      ZoneMigrationUserCommandTask <_TargetHost_> User command execution succeeded. (73201) Less than a second

      FreeZoneName <_TargetHost_> Zone name is not in use by another zone (60404) Less than a second

      Lock/Unlock VirtServerContainer <_SourceHost_> Successfully updated virtservercontainer lock to true. (60373) Less than a second

      Lock/Unlock VirtServerContainer <_TargetHost_> Successfully updated virtservercontainer lock to true. (60373) Less than a second

      CompositeIfElseTask -
      CompositeTierFreeTask -
      ZoneCreateSnapshot <_SourceHost_> Successfully created snapshot for zpool / guest image : [nfs://<_emocServer_>/export/zonelib,3ba6031a-465a-4b5f-bdb4-cd3038cefbac]. (63023) Less than a second

      ZoneMigrationUserCommandTask <_SourceHost_> User command execution succeeded. (73201) Less than a second

      ZoneShutdown <_SourceHost_> Successfully shutdown the NG Zone : <_Hostname_>. (72082) 00 hr, 00 min, 59 sec

      MXBean Action Task <_Hostname_> Method invocation 'configureSerialConsoleAccessAccount' is successfully completed Less than a second

      ZoneSystemUnconfigure <_SourceHost_> Successfully sys-unconfigured zone <_Hostname_> (72062) 00 hr, 01 min, 04 sec

      VirtServerImageUpdate <_SourceHost_> Successfully updated guest image [nfs://<_emocServer_>/export/zonelib,3ba6031a-465a-4b5f-bdb4-cd3038cefbac]. (63014) Less than a second

      ZoneDetach <_SourceHost_> Zone <_Hostname_> successfully detached (72042) 00 hr, 00 min, 09 sec

      ZoneDetachNetwork <_SourceHost_> Network <_Subnet_>.0/24 successfully detached from the guest <_Hostname_> (60557) Less than a second

      DetachNetwork <_SourceHost_> Network successfully detached from the guest (62508) Less than a second

      ZoneRefreshDomainModel <_SourceHost_> Unable to refresh domain model. (60334) Less than a second

      ZoneMigrationUserCommandTask <_SourceHost_> User command execution succeeded. (73201) Less than a second

      ZoneExportPool <_SourceHost_> Successfully exported zpool z3ba6031a-465a-4b5f-bdb4-cd3038cefbac. (63011) Less than a second

      ZoneImportPool <_TargetHost_> Successfully imported zpool z3ba6031a-465a-4b5f-bdb4-cd3038cefbac. (63008) Less than a second

      VirtServerImageBind <_TargetHost_> Library images successfully bound to server. (62195) 00 hr, 00 min, 09 sec

      VirtServerImageUnbind <_SourceHost_> Library image [nfs://<_emocServer_>/export/zonelib,3ba6031a-465a-4b5f-bdb4-cd3038cefbac] successfully unbound from server. (62193) 00 hr, 00 min, 05 sec

      ZoneMigrationUserCommandTask <_TargetHost_> User command execution succeeded. (73201) Less than a second

      ZoneMigrate <_TargetHost_> Exception occurred while running the task. (15033):1 Less than a second

      CreateGuestTask <_TargetHost_> Previous task failed.:Failure policy -

      AttachNetwork <_TargetHost_> Previous task failed.:Failure policy -

      CreateVnic <_TargetHost_> Previous task failed.:Failure policy -

      ZoneStart <_TargetHost_> Previous task failed.:Failure policy -

      ZoneMigrationUserCommandTask <_TargetHost_> Previous task failed.:Failure policy -

      ZoneRefreshDomainModel <_TargetHost_> Previous task failed.:Failure policy -


      CompositeTierFreeTask