App Layering - Layer Stuck in "Editing" State

App Layering - Layer Stuck in "Editing" State

book

Article ID: CTX328163

calendar_today

Updated On:

Description

  • Layer stuck in 'Editing' State
  • Layer doesn't get finalized even after cliking on the 'Finalize' button

Resolution

  • Ensure that there is no active task running
  • Take a snapshot of the appliance to be able to revert back in case of any issues
  • Connect to the appliance using SSH or serial console/hypervisor console as root and run the below command
mysql -proot MAData -e "UPDATE LayerRevision set lrStatus = 'Broken' where lrStatus in ('Editing', 'Finalizable', 'Finalizing')"
  • The layer would be visible as Not deployable. You may delete the particular version of the layer or the app layer if not needed