[
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":1570436049.1596415,"logger":"wildlfyserver_resources","msg":"Failed
to create new
resource","WildFlyServer.Namespace":"pkremens-namespace","WildFlyServer.Name":"quickstart","Resource.Name":"quickstart-
loadbalancer","Resource.Type":"*v1.Service","error":"services
\"quickstart-loadbalancer\" already
exists","stacktrace":"github.com/go-logr/zapr.
(*zapLogger).Error\n\t/go/pkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128\ngithub.com/wildfly/wildfly-operator/pkg/resources.Create\n\t/go
/src/github.com/wildfly/wildfly-operator/pkg/resources/actions.go:37\ngithub.com/wildfly/wildfly-operator/pkg/resources
/services.CreateOrUpdateLoadBalancerService\n\t/go/src/github.com/wildfly/wildfly-operator/pkg/resources/services/service.go:63\ngithub.com
/wildfly/wildfly-operator/pkg/controller/wildflyserver.(*ReconcileWildFlyServer).Reconcile\n\t/go/src/github.com/wildfly/wildfly-operator
/pkg/controller/wildflyserver/wildflyserver_controller.go:195\nsigs.k8s.io/controller-runtime/pkg/internal/controller.
(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.1.12/pkg/internal/controller/controller.go:215\nsigs.k8s.io
/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime(a)v0.1.12/pkg/internal/controller
/controller.go:158\nk8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/go/pkg/mod/k8s.io/apimachinery@v0.0.0-20190221213512-86fb29eff628
/pkg/util/wait/wait.go:133\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/go/pkg/mod/k8s.io
/apimachinery@v0.0.0-20190221213512-86fb29eff628/pkg/util/wait/wait.go:134\nk8s.io/apimachinery/pkg/util/wait.Until\n\t/go/pkg/mod/k8s.io
/apimachinery@v0.0.0-20190221213512-86fb29eff628/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}
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.
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":1570436049.1596415,"logger":"wildlfyserver_resources","msg":"Failed
to create new
resource","WildFlyServer.Namespace":"pkremens-namespace","WildFlyServer.Name":"quickstart","Resource.Name":"quickstart-
loadbalancer","Resource.Type":"*v1.Service","error":"services
\"quickstart-loadbalancer\" already
exists","stacktrace":"github.com/go-logr/zapr.
(*zapLogger).Error\n\t/go/pkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128\ngithub.com/wildfly/wildfly-operator/pkg/resources.Create\n\t/go
/src/github.com/wildfly/wildfly-operator/pkg/resources/actions.go:37\ngithub.com/wildfly/wildfly-operator/pkg/resources
/services.CreateOrUpdateLoadBalancerService\n\t/go/src/github.com/wildfly/wildfly-operator/pkg/resources/services/service.go:63\ngithub.com
/wildfly/wildfly-operator/pkg/controller/wildflyserver.(*ReconcileWildFlyServer).Reconcile\n\t/go/src/github.com/wildfly/wildfly-operator
/pkg/controller/wildflyserver/wildflyserver_controller.go:195\nsigs.k8s.io/controller-runtime/pkg/internal/controller.
(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.1.12/pkg/internal/controller/controller.go:215\nsigs.k8s.io
/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime(a)v0.1.12/pkg/internal/controller
/controller.go:158\nk8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/go/pkg/mod/k8s.io/apimachinery@v0.0.0-20190221213512-86fb29eff628
/pkg/util/wait/wait.go:133\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/go/pkg/mod/k8s.io
/apimachinery@v0.0.0-20190221213512-86fb29eff628/pkg/util/wait/wait.go:134\nk8s.io/apimachinery/pkg/util/wait.Until\n\t/go/pkg/mod/k8s.io
/apimachinery@v0.0.0-20190221213512-86fb29eff628/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)