FSM ifc:vmmmgr:CompCtrlrAdd

Rule ID:54

FSM for Add-Controller. Options: "vm" is for vcenter "iaas" is for vshield "network" for vcd. Each stage has retry count of 3 and retry interval of 5 secs
Applies to MO: comp:Ctrlr

Name: Add
Stage: end-explicit
Message: Add-FSM for VM Controller: name VM Domain: domName VM Provider: name Error: remoteErrMsg(FSM:ifc:vmmmgr:CompCtrlrAdd)

Begin State: Init


States
 Init
Initialization stage

  On Success: Connect
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET
  Retry Interval: 60000
  Retry Count: 3
  Unavailable: UNAVAIL_RETRY
  Message: Init stage for VM Controller: name VM Domain: domName VM Provider: name Error: remoteErrMsg(FSM-STAGE:ifc:vmmmgr:CompCtrlrAdd:Init)

  Notify:
   Target:
   Instance: active
   Purpose: mod
   Custom: true
   Data:

 Connect
Stage to establish connection to the controller Establishing the connection can take time. So using higher timeout value

  On Success: GetTimestamp
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET
  Retry Interval: 15000
  Retry Count: 3
  Unavailable: UNAVAIL_RETRY
  Message: Connect stage for VM Controller: name VM Domain: domName VM Provider: name Error: remoteErrMsg(FSM-STAGE:ifc:vmmmgr:CompCtrlrAdd:Connect)

  Notify:
   Target:
   Instance: active
   Purpose: mod
   Custom: true
   Data:

 GetTimestamp
Get current TimeStamp

  On Success: GetInventory
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET
  Retry Interval: 60000
  Retry Count: 3
  Unavailable: UNAVAIL_RETRY
  Message: Get Current Timestamp stage for VM Controller: name VM Domain: domName VM Provider: name Error: remoteErrMsg(FSM-STAGE:ifc:vmmmgr:CompCtrlrAdd:GetTimestamp)

  Notify:
   Target:
   Instance: active
   Purpose: mod
   Custom: true
   Data:

 GetInventory
Get inventory from controllers

  On Success: SubscribeEvents
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET
  Retry Interval: 300000
  Retry Count: 3
  Unavailable: UNAVAIL_RETRY
  Message: Inventory pull stage for VM Controller: name VM Domain: domName VM Provider: name Error: remoteErrMsg(FSM-STAGE:ifc:vmmmgr:CompCtrlrAdd:GetInventory)

  Notify:
   Target:
   Instance: active
   Purpose: mod
   Custom: true
   Data:

 SubscribeEvents
Stage to register for compute and network events

  On Success: PostInventory
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET
  Retry Interval: 15000
  Retry Count: 3
  Unavailable: UNAVAIL_RETRY
  Message: Event Registration stage for VM Controller: name VM Domain: domName VM Provider: name Error: remoteErrMsg(FSM-STAGE:ifc:vmmmgr:CompCtrlrAdd:SubscribeEvents)

  Notify:
   Target:
   Instance: active
   Purpose: mod
   Custom: true
   Data:

 PostInventory
Post Inventory - DVS creation Stage. For eg: creating IFC folder, DVS in vcenter

  On Success: Online
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET
  Retry Interval: 60000
  Retry Count: 3
  Unavailable: UNAVAIL_RETRY
  Message: Post Inventory stage for VM Controller: name VM Domain: domName VM Provider: name Error: remoteErrMsg(FSM-STAGE:ifc:vmmmgr:CompCtrlrAdd:PostInventory)

  Notify:
   Target:
   Instance: active
   Purpose: mod
   Custom: true
   Data:

 Online
Online Stage, ready to process policies, events etc

  On Success:
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET
  Retry Interval: 60000
  Retry Count: 3
  Unavailable: UNAVAIL_RETRY
  Message: Online stage VM Controller: name VM Domain: domName VM Provider: name Error: remoteErrMsg(FSM-STAGE:ifc:vmmmgr:CompCtrlrAdd:Online)

  Notify:
   Target: ifc:vmmmgr
   Instance: active
   Purpose: mod
   Custom: false
   Data: