My Oracle Support Banner

Cannot Delete Duplicate vServers That Have Been Created As A Result Of Using The Re-submit Option On A Failed create vServer Job (Doc ID 1516756.1)

Last updated on OCTOBER 09, 2018

Applies to:

Oracle Exalogic Elastic Cloud Software - Version 2.0.1.0.0 and later
Linux x86-64

Symptoms

You have performed operations via the Enterprise Manager OpCenter Control (EMOC) browser interface (BUI) that resulted in the creation of two vServers, both with identical "friendly" names, e.g. "MyTestServer".

Though each of the failed servers is distinct with respect to OVMM and XEN, neither the original or clone can be deleted though the "Delete vServer" action available under the "vDC Management" area of the EMOC BUI. When you invoke the "Delete vServer" action against either of the affected servers you receive the following failure, which can be found by reviewing the log entries for the failed "Job" in the EMOC BUI:

Job ID          : ec1-vm.408
Job Name        : -
Job Type        : Delete guest
Job Description        : -
Run ID          : 1
Status          : FAILED
Mode            : Actual run
Owner           : CloudAdmin
Create Date     : 12/12/2012 01:19:09 PM PST
Start Date      : 12/12/2012 01:19:09 PM PST
Last Updated    : 12/12/2012 01:19:10 PM PST
Execution Order : PARALLEL
Failure Policy  : CONTINUE_ON_FAILURE
    Task   : vDC-PrepareVServerRemoval
    Task Run ID : 2284
    Target : MyAccount
    Status : FAILED
    Result : Preparation of vServer removal failed. (117151)
    Logs   :

Job Id: ec1-vm.433
  Created By: CloudAdmin
  Type: Delete guest
  Name:
  Status: FAILED
  Creation Date: Thu Dec 13 12:17:43 PST 2012
  End Date: Thu Dec 13 12:17:44 PST 2012
  Run Id: 1
    Task Id: 2353
    Task Name: Main Execution Flow
    Task Id: 2354
    Task Name: vDC-PrepareVServerRemoval
      Target: com.sun.hss.domain:name=NORM-ACC-d4ed011a-5117-4752-a931-3d1ef9300c89,type=Tenancy
        Status: FAILED
        start time: Thu Dec 13 12:17:43 PST 2012
        end time: Thu Dec 13 12:17:43 PST 2012
        Cause Code: None
        Message: Preparation of vServer removal failed. (117151)

The above error can also be located within the virtual machine that is running the ExalogicControlOpsCenterEC1 component of the Exalogic Control Stack. After accessing the command prompt for the virtual machine (via "xm console" or "ssh"), the error can be located in one of the "cacao.N" files located in the following directory:

/var/opt/sun/cacao2/instances/oem-ec/logs

Within one of the cyclical logs you can find there you should be able to locate log etries similar to the following for the "vDC-PrepareVServerRemoval" task executed by the "Delete vServer" job:

INFO: thr#145295:"JM-ec1-vm.434.1.2362.com.sun.hss.domain:name=NORM-ACC-d4ed011a-5117-4752-a931-3d1ef9300c89,type=Tenancy" ************* Start Task - vDC-PrepareVServerRemoval
 TaskID - 2362
 TaskRunID - 2817
 Target - com.sun.hss.domain:name=NORM-ACC-d4ed011a-5117-4752-a931-3d1ef9300c89,type=Tenancy
 JobIDrunID - ec1-vm.434.1
 RebootPolicy - DEFAULT_REBOOT_POLICY
 TimeOut - 180
Dec 13, 2012 12:20:29 PM com.sun.scn.jobmanager.common.impl.atom.XMLSerializer serializeMsgs
FINE: thr#145295:"JM-ec1-vm.434.1.2362.com.sun.hss.domain:name=NORM-ACC-d4ed011a-5117-4752-a931-3d1ef9300c89,type=Tenancy" Serializing message envelopes - 1
:
Dec 13, 2012 12:20:29 PM com.oracle.sysman.services.cloudmgmt.impl.CloudUtil deallocateIPsForInternalInfrastructureNetworks
SEVERE: thr#145295:"JM-ec1-vm.434.1.2362.com.sun.hss.domain:name=NORM-ACC-d4ed011a-5117-4752-a931-3d1ef9300c89,type=Tenancy" Deallocation of IP failed for vServer with uuid=VSRV-4d8ac900-ca69-49ff-b865-b61d55adacc3. (117145)
Dec 13, 2012 12:20:29 PM com.sun.scn.jobmanager.util.JMUtils removeLogger
FINEST: thr#145295:"JM-ec1-vm.434.1.2362.com.sun.hss.domain:name=NORM-ACC-d4ed011a-5117-4752-a931-3d1ef9300c89,type=Tenancy" Removing logger from thread - JM-ec1-vm.434.1.2362.com.sun.hss.domain:name=NORM-ACC-d4ed011a-5117-4752-a931-3d1ef9300c89,type=Tenancy
Dec 13, 2012 12:20:29 PM com.sun.scn.jobmanager.common.impl.TaskExecutionThread finishTask
INFO: thr#145295:"JM-ec1-vm.434.1.2362.com.sun.hss.domain:name=NORM-ACC-d4ed011a-5117-4752-a931-3d1ef9300c89,type=Tenancy" ************* End Of Task - vDC-PrepareVServerRemoval
 TaskID - 2362
 TaskRunID - 2817
 Target - com.sun.hss.domain:name=NORM-ACC-d4ed011a-5117-4752-a931-3d1ef9300c89,type=Tenancy
 JobIDrunID - ec1-vm.434.1
 Status - FAILED
 Result - cloudmgmt$@!FailPrepareRemoval$@!
 CauseCode - null

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.