FSM sam:dme:CapabilityUpdaterUpdater

Rule ID:520

FSM to apply a catalog change
Applies to MO: capability:Updater

Name: Updater
Stage: post-explicit
Message: downloading catalog file fileName from server(FSM:sam:dme:CapabilityUpdaterUpdater)

Begin State: Local


States
 Local
NO COMMENTS

  On Success: UnpackLocal
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 30000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: downloading catalog file fileName from server(FSM-STAGE:sam:dme:CapabilityUpdaterUpdater:Local)

  Notify:
   Target: sam:dcosAG
   Instance: self
   Purpose: mod
   Custom: false
   Data:
   Method: FsmCapabilityUpdaterUpdaterLocal

 UnpackLocal
NO COMMENTS

  On Success: DeleteLocal
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 30000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: unpacking catalog file fileName on primary(FSM-STAGE:sam:dme:CapabilityUpdaterUpdater:UnpackLocal)

  Notify:
   Target: sam:dcosAG
   Instance: self
   Purpose: mod
   Custom: false
   Data:
   Method: FsmCapabilityUpdaterUpdaterUnpackLocal

 DeleteLocal
NO COMMENTS

  On Success: CopyRemote
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 10000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: deleting temp image fileName on local(FSM-STAGE:sam:dme:CapabilityUpdaterUpdater:DeleteLocal)

  Notify:
   Target: sam:dcosAG
   Instance: self
   Purpose: mod
   Custom: false
   Data:
   Method: FsmCapabilityUpdaterUpdaterDeleteLocal

 CopyRemote
NO COMMENTS

  On Success: Apply
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 30000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: syncing catalog files to subordinate(FSM-STAGE:sam:dme:CapabilityUpdaterUpdater:CopyRemote)

  Notify:
   Target: sam:dcosAG
   Instance: peer
   Purpose: mod
   Custom: false
   Data:
   Method: FsmCapabilityUpdaterUpdaterCopyRemote

 Apply
NO COMMENTS

  On Success: RescanImages
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 30000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: applying changes to catalog(FSM-STAGE:sam:dme:CapabilityUpdaterUpdater:Apply)

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

 RescanImages
NO COMMENTS

  On Success: EvaluateStatus
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 120000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: rescanning image files(FSM-STAGE:sam:dme:CapabilityUpdaterUpdater:RescanImages)

  Notify:
   Target: sam:dcosAG
   Instance: self
   Purpose: mod
   Custom: false
   Data:
   Method: FsmCapabilityUpdaterUpdaterRescanImages

 EvaluateStatus
NO COMMENTS

  On Success:
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 10000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: evaluating status of update(FSM-STAGE:sam:dme:CapabilityUpdaterUpdater:EvaluateStatus)

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