[
https://issues.jboss.org/browse/WFWIP-231?page=com.atlassian.jira.plugin....
]
Petr Kremensky updated WFWIP-231:
---------------------------------
Description:
The following error log message appears in operator log:
{noformat}
{"level":"error","ts":1570433292.136392,"logger":"wildlfyserver_resources","msg":"Failed
to update resource","WildFlyServer.Namespace":"pkremens-
namespace","WildFlyServer.Name":"eap-cd","Resource.Name":"eap-
cd","Resource.Type":"*v1.StatefulSet","error":"Operation
cannot be fulfilled on
statefulsets.apps \"eap-cd\": the object has been modified; please apply your
changes to the
latest version and try
again","stacktrace":"github.com/wildfly/wildfly-opera...
/github.com/go-logr/zapr.(*zapLogger).Error\n\t/root/go/src/github.com/wildfly/wildfly-
operator/vendor/github.com/go-logr/zapr/zapr.go:128\ngithub.com/wildfly/w...
/pkg/resources.Update\n\t/root/go/src/github.com/wildfly/wildfly-operator/pkg/resources
/actions.go:73\ngithub.com/wildfly/wildfly-operator/pkg/controller/wildflyserver.
(*ReconcileWildFlyServer).checkStatefulSet\n\t/root/go/src/github.com/wildfly/wildfly-
operator/pkg/controller/wildflyserver/wildflyserver_controller.go:389\ngi...
/wildfly-operator/pkg/controller/wildflyserver.(*ReconcileWildFlyServer).Reconcile\n\t/root
/go/src/github.com/wildfly/wildfly-operator/pkg/controller/wildflyserver
/wildflyserver_controller.go:187\ngithub.com/wildfly/wildfly-operator/vendor/sigs.k8s.io
/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/root
/go/src/github.com/wildfly/wildfly-operator/vendor/sigs.k8s.io/controller-runtime
/pkg/internal/controller/controller.go:215\ngithub.com/wildfly/wildfly-operator/vendor
/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/root
/go/src/github.com/wildfly/wildfly-operator/vendor/sigs.k8s.io/controller-runtime
/pkg/internal/controller/controller.go:158\ngithub.com/wildfly/wildfly-operator/vendor
/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/root/go/src/github.com/wildfly
/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\ngithub.com/wildfly
/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/root/go/src
/github.com/wildfly/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util
/wait/wait.go:134\ngithub.com/wildfly/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util
/wait.Until\n\t/root/go/src/github.com/wildfly/wildfly-operator/vendor/k8s.io/apimachinery
/pkg/util/wait/wait.go:88"}
{noformat}
The error message appears every time during project creation, it can be reproduced using
the latest upstream (dd5a057) operator and provided quickstart-cr.yaml example.
was:
The following error log message appears in operator log:
{noformat}
{"level":"error","ts":1570433292.136392,"logger":"wildlfyserver_resources","msg":"Failed
to update resource","WildFlyServer.Namespace":"pkremens-
namespace","WildFlyServer.Name":"eap-cd","Resource.Name":"eap-
cd","Resource.Type":"*v1.StatefulSet","error":"Operation
cannot be fulfilled on
statefulsets.apps \"eap-cd\": the object has been modified; please apply your
changes to the
latest version and try
again","stacktrace":"github.com/wildfly/wildfly-opera...
/github.com/go-logr/zapr.(*zapLogger).Error\n\t/root/go/src/github.com/wildfly/wildfly-
operator/vendor/github.com/go-logr/zapr/zapr.go:128\ngithub.com/wildfly/w...
/pkg/resources.Update\n\t/root/go/src/github.com/wildfly/wildfly-operator/pkg/resources
/actions.go:73\ngithub.com/wildfly/wildfly-operator/pkg/controller/wildflyserver.
(*ReconcileWildFlyServer).checkStatefulSet\n\t/root/go/src/github.com/wildfly/wildfly-
operator/pkg/controller/wildflyserver/wildflyserver_controller.go:389\ngi...
/wildfly-operator/pkg/controller/wildflyserver.(*ReconcileWildFlyServer).Reconcile\n\t/root
/go/src/github.com/wildfly/wildfly-operator/pkg/controller/wildflyserver
/wildflyserver_controller.go:187\ngithub.com/wildfly/wildfly-operator/vendor/sigs.k8s.io
/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/root
/go/src/github.com/wildfly/wildfly-operator/vendor/sigs.k8s.io/controller-runtime
/pkg/internal/controller/controller.go:215\ngithub.com/wildfly/wildfly-operator/vendor
/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/root
/go/src/github.com/wildfly/wildfly-operator/vendor/sigs.k8s.io/controller-runtime
/pkg/internal/controller/controller.go:158\ngithub.com/wildfly/wildfly-operator/vendor
/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/root/go/src/github.com/wildfly
/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\ngithub.com/wildfly
/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/root/go/src
/github.com/wildfly/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util
/wait/wait.go:134\ngithub.com/wildfly/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util
/wait.Until\n\t/root/go/src/github.com/wildfly/wildfly-operator/vendor/k8s.io/apimachinery
/pkg/util/wait/wait.go:88"}
{noformat}
Error messages in operator logs
-------------------------------
Key: WFWIP-231
URL:
https://issues.jboss.org/browse/WFWIP-231
Project: WildFly WIP
Issue Type: Bug
Components: OpenShift
Reporter: Petr Kremensky
Assignee: Jeff Mesnil
Priority: Critical
Labels: operator
The following error log message appears in operator log:
{noformat}
{"level":"error","ts":1570433292.136392,"logger":"wildlfyserver_resources","msg":"Failed
to update resource","WildFlyServer.Namespace":"pkremens-
namespace","WildFlyServer.Name":"eap-cd","Resource.Name":"eap-
cd","Resource.Type":"*v1.StatefulSet","error":"Operation
cannot be fulfilled on
statefulsets.apps \"eap-cd\": the object has been modified; please apply your
changes to the
latest version and try
again","stacktrace":"github.com/wildfly/wildfly-opera...
/github.com/go-logr/zapr.(*zapLogger).Error\n\t/root/go/src/github.com/wildfly/wildfly-
operator/vendor/github.com/go-logr/zapr/zapr.go:128\ngithub.com/wildfly/w...
/pkg/resources.Update\n\t/root/go/src/github.com/wildfly/wildfly-operator/pkg/resources
/actions.go:73\ngithub.com/wildfly/wildfly-operator/pkg/controller/wildflyserver.
(*ReconcileWildFlyServer).checkStatefulSet\n\t/root/go/src/github.com/wildfly/wildfly-
operator/pkg/controller/wildflyserver/wildflyserver_controller.go:389\ngi...
/wildfly-operator/pkg/controller/wildflyserver.(*ReconcileWildFlyServer).Reconcile\n\t/root
/go/src/github.com/wildfly/wildfly-operator/pkg/controller/wildflyserver
/wildflyserver_controller.go:187\ngithub.com/wildfly/wildfly-operator/vendor/sigs.k8s.io
/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/root
/go/src/github.com/wildfly/wildfly-operator/vendor/sigs.k8s.io/controller-runtime
/pkg/internal/controller/controller.go:215\ngithub.com/wildfly/wildfly-operator/vendor
/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/root
/go/src/github.com/wildfly/wildfly-operator/vendor/sigs.k8s.io/controller-runtime
/pkg/internal/controller/controller.go:158\ngithub.com/wildfly/wildfly-operator/vendor
/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/root/go/src/github.com/wildfly
/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\ngithub.com/wildfly
/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/root/go/src
/github.com/wildfly/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util
/wait/wait.go:134\ngithub.com/wildfly/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util
/wait.Until\n\t/root/go/src/github.com/wildfly/wildfly-operator/vendor/k8s.io/apimachinery
/pkg/util/wait/wait.go:88"}
{noformat}
The error message appears every time during project creation, it can be reproduced using
the latest upstream (dd5a057) operator and provided quickstart-cr.yaml example.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)