[JBoss JIRA] (DROOLS-4604) Query code generation neglects query parameter(s)
by Mario Fusco (Jira)
[ https://issues.jboss.org/browse/DROOLS-4604?page=com.atlassian.jira.plugi... ]
Mario Fusco updated DROOLS-4604:
--------------------------------
Priority: Minor (was: Blocker)
> Query code generation neglects query parameter(s)
> -------------------------------------------------
>
> Key: DROOLS-4604
> URL: https://issues.jboss.org/browse/DROOLS-4604
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 7.27.0.Final
> Reporter: IVAN ZILOTTI
> Assignee: Mario Fusco
> Priority: Minor
>
> The Drools _query_ code generated by the test method below is not including the query parameter ({{String eventId}}) specified via {{PackageDescrBuilder}}.
> Note that parameters to Drools _functions_ constructed through the same process are correctly included. See _org.drools.compiler.lang.api.DescrBuilderTest#testFunctions_.
>
> h3. Generated code
> {code:java}
> package org.test.rules
> import org.test.event.TemporalEvent
> query "getTemporalEventById"
> TemporalEvent( id == eventId ) from entry-point "TemporalEventStream"
> end
> {code}
> h3. Test
> {code:java}
> @Test
> public void testFluentQuery() {
> PackageDescrBuilder packBuilder =
> DescrFactory.newPackage()
> .name("org.test.rules")
> .newImport()
> .target("org.test.event.TemporalEvent")
> .end()
> .newQuery()
> .name("getTemporalEventById")
> .parameter("String", "eventId")
> .lhs()
> .pattern( "TemporalEvent")
> .constraint("id == eventId")
> .from()
> .entryPoint("EventStream")
> .end()
> .end()
> .end()
> .end();
> String query = new DrlDumper().dump(packBuilder.getDescr());
> System.out.println(query);
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 7 months
[JBoss JIRA] (WFLY-12563) org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL flag ignored when WARs are embedded in EAR
by Teresa Miyar Gil (Jira)
[ https://issues.jboss.org/browse/WFLY-12563?page=com.atlassian.jira.plugin... ]
Teresa Miyar Gil reassigned WFLY-12563:
---------------------------------------
Assignee: Teresa Miyar Gil (was: Farah Juma)
> org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL flag ignored when WARs are embedded in EAR
> ------------------------------------------------------------------------------------
>
> Key: WFLY-12563
> URL: https://issues.jboss.org/browse/WFLY-12563
> Project: WildFly
> Issue Type: Bug
> Components: JSF
> Affects Versions: 15.0.0.Final, 16.0.0.Final, 17.0.0.Final, 18.0.0.Beta1
> Reporter: Bartosz Ryndak
> Assignee: Teresa Miyar Gil
> Priority: Critical
>
> Due to changes indroduced to fix bug WFLY-10796 it is no longer possible to configure wars embedded in ear to bundle jsf implementation.
> Changes made in file JSFDependencyProcessor.java in commit 40f72548985a9f5ca31317b01a4a0ce09ee759aa
> From:
> {code}
> final DeploymentUnit tl = deploymentUnit.getParent() == null ? deploymentUnit : deploymentUnit.getParent();
> String jsfVersion = JsfVersionMarker.getVersion(tl);
> {code}
> To:
> {code}
> String jsfVersion = JsfVersionMarker.getVersion(deploymentUnit);
> {code}
> modified the way jsf version is aquired. Before the change it was always taken from top level deployment. After it is taken directly from scanned deployment unit without searching in parent. Unfortunately there was no matching change in a way context params from web.xml are processed in JSFVersionProcessor:
> {code}
> final DeploymentUnit topLevelDeployment = deploymentUnit.getParent() == null ? deploymentUnit : deploymentUnit.getParent();
> final WarMetaData metaData = deploymentUnit.getAttachment(WarMetaData.ATTACHMENT_KEY);
> List<ParamValueMetaData> contextParams = new ArrayList<ParamValueMetaData>();
> if ((metaData.getWebMetaData() != null) && (metaData.getWebMetaData().getContextParams() != null)) {
> contextParams.addAll(metaData.getWebMetaData().getContextParams());
> }
> for (final ParamValueMetaData param : contextParams) {
> if ((param.getParamName().equals(WAR_BUNDLES_JSF_IMPL_PARAM) &&
> (param.getParamValue() != null) &&
> (param.getParamValue().toLowerCase(Locale.ENGLISH).equals("true")))) {
> JsfVersionMarker.setVersion(topLevelDeployment, JsfVersionMarker.WAR_BUNDLES_JSF_IMPL);
> break; // WAR_BUNDLES_JSF_IMPL always wins
> }
> if (param.getParamName().equals(JSF_CONFIG_NAME_PARAM)) {
> JsfVersionMarker.setVersion(topLevelDeployment, param.getParamValue());
> break;
> }
> }
> {code}
> So the information about org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL flag is only set in top level deployment unit.
> This causes Mojarra-2.0 to be returned as jsf version during checks in JSFDependencyProcessor for embedded wars and leads to initialization of default mojarra implementation before bundled implementation is processed. As both implementations are loaded class conflicts occur and it is not possible to properly initialize jsf. In case of myfaces this leads to below error:
> {code}
> 2019-09-16 10:46:23,405 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 86) MSC000001: Failed to start service jboss.deployment.subunit."xxx.ear"."yyy.war".undertow-deployment: org.jboss.msc.service.StartException in service jboss.deployment.subunit."xxx.ear"."yyy.war".undertow-deployment: java.lang.RuntimeException: java.lang.IllegalStateException: Could not find backup for factory javax.faces.application.ApplicationFactory.
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:81)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
> at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
> at java.lang.Thread.run(Thread.java:748)
> at org.jboss.threads.JBossThread.run(JBossThread.java:485)
> Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: Could not find backup for factory javax.faces.application.ApplicationFactory.
> at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:252)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:96)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:78)
> ... 8 more
> Caused by: java.lang.IllegalStateException: Could not find backup for factory javax.faces.application.ApplicationFactory.
> at javax.faces.FactoryFinderInstance.notNullFactory(FactoryFinderInstance.java:524)
> at javax.faces.FactoryFinderInstance.getFactory(FactoryFinderInstance.java:207)
> at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:279)
> at org.apache.myfaces.context.servlet.FacesContextImplBase.getApplication(FacesContextImplBase.java:159)
> at org.apache.myfaces.context.servlet.FacesContextImplBase.getELContext(FacesContextImplBase.java:210)
> at javax.faces.component.UIViewRoot.setLocale(UIViewRoot.java:1602)
> at org.apache.myfaces.webapp.AbstractFacesInitializer._createFacesContext(AbstractFacesInitializer.java:477)
> at org.apache.myfaces.webapp.AbstractFacesInitializer.initStartupFacesContext(AbstractFacesInitializer.java:449)
> at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:113)
> at io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:187)
> at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:216)
> at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:185)
> at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
> at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
> at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
> at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:250)
> ... 10 more
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 7 months
[JBoss JIRA] (DROOLS-4607) DMN DT Analysis for symbols
by Matteo Mortari (Jira)
Matteo Mortari created DROOLS-4607:
--------------------------------------
Summary: DMN DT Analysis for symbols
Key: DROOLS-4607
URL: https://issues.jboss.org/browse/DROOLS-4607
Project: Drools
Issue Type: Feature Request
Components: dmn engine
Reporter: Matteo Mortari
Assignee: Matteo Mortari
Extend analysis to symbolic processing in the possible cases
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 7 months
[JBoss JIRA] (DROOLS-4606) DMN alpha network
by Matteo Mortari (Jira)
Matteo Mortari created DROOLS-4606:
--------------------------------------
Summary: DMN alpha network
Key: DROOLS-4606
URL: https://issues.jboss.org/browse/DROOLS-4606
Project: Drools
Issue Type: Task
Components: dmn engine
Reporter: Matteo Mortari
Assignee: Matteo Mortari
Start refactoring work to support alpha network
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 7 months
[JBoss JIRA] (WFWIP-231) Error messages in operator logs
by Petr Kremensky (Jira)
[ 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-operator/vendor
/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)
6 years, 7 months
[JBoss JIRA] (WFWIP-231) Error messages in operator logs
by Petr Kremensky (Jira)
[ 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-operator/vendor
/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-operator/vendor
/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-operator/vendor
> /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)
6 years, 7 months
[JBoss JIRA] (WFWIP-231) Error messages in operator logs
by Petr Kremensky (Jira)
Petr Kremensky created WFWIP-231:
------------------------------------
Summary: 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
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-operator/vendor
/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}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 7 months