[jboss-jira] [JBoss JIRA] (WFWIP-237) Wildfly operator scale down stuck with wildfly18 image
Petr Kremensky (Jira)
issues at jboss.org
Wed Oct 9 03:43:00 EDT 2019
Petr Kremensky created WFWIP-237:
------------------------------------
Summary: Wildfly operator scale down stuck with wildfly18 image
Key: WFWIP-237
URL: https://issues.jboss.org/browse/WFWIP-237
Project: WildFly WIP
Issue Type: Bug
Components: OpenShift
Reporter: Petr Kremensky
Assignee: Jeff Mesnil
*quay.io/wildfly/wildfly-centos7:17.0*
{noformat}
$ docker run -ti quay.io/wildfly/wildfly-centos7:17.0 /bin/bash
[jboss at 1cc52cbad596 ~]$ echo $JBOSS_HOME
/opt/jboss/wildfly
[jboss at 1cc52cbad596 ~]$ ll /opt/wildfly
ls: cannot access /opt/wildfly: No such file or directory
[jboss at 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
{noformat}
*quay.io/wildfly/wildfly-centos7:18.0*
{noformat}
$ docker run -ti quay.io/wildfly/wildfly-centos7:18.0 /bin/bash
[jboss at 8a0a5cd2e76a ~]$ echo $JBOSS_HOME
/opt/wildfly
[jboss at 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 at 8a0a5cd2e76a ~]$ ll /opt/jboss/wildfly
ls: cannot access /opt/jboss/wildfly: No such file or directory
{noformat}
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:
{noformat}
{"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"}
{noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list