ARTESCA Upgrade Fails to Start After OS Update

Problem Description

The ARTESCA upgrade fails to start after the operating system update.

The following error message is displayed:

Waiting for the Post OS update Job to complete
Error: Failure while running 'post-os-update' upgrade pre-checks: The post OS update Job failed check /var/log/artesca/post-os-update.log for more information

Root Cause

After updating the ARTESCA operating system, the servers may be rebooted and services may not restart fast enough, which makes the post-os-update command fail.

Problem Resolution

  1. Ensure all ARTESCA services are up and running:

    [artesca-os@bootstrap ~]$
    
    sudo kubectl --kubeconfig=/etc/kubernetes/admin.conf wait pods \
    --for=condition=Ready --timeout=0 --all-namespaces \
    --selector='!job-name'
    

    Successful results will end with condition met.

    Example
    pod/zenko-operator-859d7cb7bc-9ssjr condition met
    
  2. Manually launch the post-os-update command.

    [artesca-os@bootstrap ~]$
    
    sudo ./artesca-installer post-os-update
    
    
    PROGRESS - OS upgrade completed on all nodes
    
  3. Resume the Upgrade process.