Uploaded image for project: 'WildFly WIP'
  1. WildFly WIP
  2. WFWIP-237

Wildfly operator scale down stuck with wildfly18 image

    XMLWordPrintable

Details

    Description

      quay.io/wildfly/wildfly-centos7:17.0

      $ docker run -ti quay.io/wildfly/wildfly-centos7:17.0 /bin/bash
      
      [jboss@1cc52cbad596 ~]$ echo $JBOSS_HOME
      /opt/jboss/wildfly
      
      [jboss@1cc52cbad596 ~]$ ll /opt/wildfly
      ls: cannot access /opt/wildfly: No such file or directory
      
      [jboss@1cc52cbad596 ~]$ ll /opt/jboss/wildfly
      total 540
      -rw-rw-r--. 1 jboss root  26530 Jun 11 12:46 LICENSE.txt
      -rw-rw-r--. 1 jboss root   2221 Jun 11 12:46 README.txt
      drwxrwxr-x. 3 jboss root   4096 Jun 11 12:46 appclient
      drwxrwxr-x. 4 jboss root   4096 Jun 11 12:46 bin
      -rw-rw-r--. 1 jboss root   2451 Jun 11 12:46 copyright.txt
      drwxrwxr-x. 6 jboss root   4096 Jun 11 12:46 docs
      -rw-rw-r--. 1 jboss root 489207 Jun 11 12:46 jboss-modules.jar
      drwxrwxr-x. 5 jboss root   4096 Jun 11 12:46 modules
      drwxrwxr-x. 5 jboss root   4096 Jun 11 12:46 standalone
      drwxrwxr-x. 2 jboss root   4096 Jun 11 12:46 welcome-content
      

      quay.io/wildfly/wildfly-centos7:18.0

      $ docker run -ti quay.io/wildfly/wildfly-centos7:18.0 /bin/bash
      
      [jboss@8a0a5cd2e76a ~]$ echo $JBOSS_HOME
      /opt/wildfly
      
      [jboss@8a0a5cd2e76a ~]$ ll /opt/wildfly
      total 540
      -rw-rw-r--. 1 jboss root  26530 Oct  4 09:15 LICENSE.txt
      -rw-rw-r--. 1 jboss root   2224 Oct  4 09:15 README.txt
      drwxrwxr-x. 3 jboss root   4096 Oct  4 09:15 appclient
      drwxrwxr-x. 4 jboss root   4096 Oct  4 09:15 bin
      -rw-rw-r--. 1 jboss root   2451 Oct  4 09:15 copyright.txt
      drwxrwxr-x. 7 jboss root   4096 Oct  4 09:15 docs
      -rw-rw-r--. 1 jboss root 489207 Oct  4 09:15 jboss-modules.jar
      drwxrwxr-x. 5 jboss root   4096 Oct  4 09:15 modules
      drwxrwxr-x. 5 jboss root   4096 Oct  4 09:16 standalone
      drwxrwxr-x. 2 jboss root   4096 Oct  4 09:15 welcome-content
      
      [jboss@8a0a5cd2e76a ~]$ ll /opt/jboss/wildfly
      ls: cannot access /opt/jboss/wildfly: No such file or directory
      

      The JBOSS_HOME variable is hard coded in a operator code - https://github.com/wildfly/wildfly-operator/blob/master/build/Dockerfile#L4 (/opt/jboss/wildfly at the moment - operator doesn't work with wildfly18 image).

      doesn't work here means that scale down stuck due to:

      {"level":"info","ts":1570603971.690961,"logger":"wildflyserver_controller","msg":"Statefulset was not scaled to the desired replica size 0 (current StatefulSet size: 1). Transaction recovery scaledown process has not cleaned all pods. Please, check status of the WildflyServer simple-jaxrs-wildfly","StatefulSet.Namespace":"pkremens-namespace","StatefulSet.Name":"simple-jaxrs-wildfly"}
      

      Attachments

        Activity

          People

            jmesnil1@redhat.com Jeff Mesnil
            pkremens@redhat.com Petr Kremensky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: