Skip to content

WLO 1.5.0 - Liberty InstantOn app can't start with .spec.serviceability in WebSphereLibertyApplication CR #798

Description

@tam512

Test on Azure Kubernetes Service (AKS) with storage class azurefile-premium . When having .spec.serviceability in WebSphereLibertyApplication CR, Liberty InstantOn app can start okay if using WLO 1.4.4 but it fails to start with WLO 1.5.0

I have the following in the WebSphereLibertyApplication CR and deploy app with WLO 1.5.0

spec:
  serviceability:
    size: 1G
    storageClassName: azurefile-premium

the application failed to start without any message or error in the log

% oc -n ebuy-wlk-ubi9-j17 get po
NAME                  READY   STATUS             RESTARTS      AGE
ebuy-wlk-ubi9-j17-0   0/1     CrashLoopBackOff   2 (20s ago)   56s

% oc -n ebuy-wlk-ubi9-j17 logs ebuy-wlk-ubi9-j17-0  --previous
Found mounted TLS certificates, generating keystore
Found mounted TLS CA certificate, adding to truststore

% oc -n ebuy-wlk-ubi9-j17 get pvc 
NAME                               STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS        VOLUMEATTRIBUTESCLASS   AGE
ebuy-wlk-ubi9-j17-serviceability   Bound    pvc-0c53a767-6f3d-4725-be69-7a397fe4e89f   1G         RWX            azurefile-premium   <unset>                 53s
  • The app can start ok without resume from instantOn checkpoint by setting the env variable CRIU_RESTORE_DISABLE_RECOVERY="false" as following
spec:
  env:
  - name: CRIU_RESTORE_DISABLE_RECOVERY
    value: "false"

Below is the AKS cluster nodes info

% oc get nodes -o wide
NAME                              STATUS   ROLES    AGE   VERSION   INTERNAL-IP   EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION      CONTAINER-RUNTIME
aks-default-12122487-vmss000000   Ready    <none>   17h   v1.33.2   10.224.0.4    <none>        Ubuntu 22.04.5 LTS   5.15.0-1092-azure   containerd://1.7.28-1

This problem was opened in 32960 but has narrowed down to operator issue.

Metadata

Metadata

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions