]
Ondrej Chaloupka commented on WFWIP-209:
----------------------------------------
I assume it was fixed with recent changes
WildFlyServerStatus is not present in operator description
-----------------------------------------------------------
Key: WFWIP-209
URL:
https://issues.jboss.org/browse/WFWIP-209
Project: WildFly WIP
Issue Type: Bug
Components: OpenShift
Reporter: Petr Kremensky
Assignee: Jeff Mesnil
Priority: Blocker
Labels: operator
WFWIP-163 is back.
Operator image build from
https://github.com/wildfly/wildfly-operator/commit/73722306343d8650b7d3f9...
Install the operator using the run-openshift.sh script (yaml files from ^ are used)
reproduce:
{noformat}
$ oc apply -f quickstart-cr.yaml
$ oc get pods
NAME READY STATUS RESTARTS AGE
quickstart-0 1/1 Running 0 3m39s
quickstart-1 1/1 Running 0 3m39s
wildfly-operator-777b5ccd87-cf2vf 1/1 Running 0 4m22s
$ oc describe wildflyserver quickstart
Name: quickstart
Namespace: pkremens-namespace
Labels: <none>
Annotations: kubectl.kubernetes.io/last-applied-configuration:
{"apiVersion":"wildfly.org/v1alpha1","kind":"WildFlyServer","metadata":{"annotations":{},"name":"quickstart","namespace":"pkremens-namespa...
API Version:
wildfly.org/v1alpha1
Kind: WildFlyServer
Metadata:
Creation Timestamp: 2019-09-26T10:10:43Z
Generation: 1
Resource Version: 337905
Self Link:
/apis/wildfly.org/v1alpha1/namespaces/pkremens-namespace/wildflyservers/quickstart
UID: e63168ce-e045-11e9-9045-52fdfc072182
Spec:
Application Image: quay.io/wildfly-quickstarts/wildfly-operator-quickstart:17.0
Size: 2
Storage:
Volume Claim Template:
Spec:
Resources:
Requests:
Storage: 3Gi
Events: <none>
{noformat}
Status is missing.
Operator log error:
{noformat}
{"level":"error","ts":1569492856.288481,"logger":"wildlfyserver_resources","msg":"Failed
to update status of
WildFlyServer","WildFlyServer.Namespace":"pkremens-namespace","WildFlyServer.Name":"quickstart","error":"the
server could not find the requested resource (put
wildflyservers.wildfly.org
quickstart)","stacktrace":"github.com/go-logr/zapr.(*...
{"level":"error","ts":1569492856.288641,"logger":"wildflyserver_controller","msg":"Failed
to update WildFlyServer
status.","Request.Namespace":"pkremens-namespace","Request.Name":"quickstart","error":"the
server could not find the requested resource (put
wildflyservers.wildfly.org
quickstart)","stacktrace":"github.com/go-logr/zapr.(*...
{"level":"error","ts":1569492856.288895,"logger":"kubebuilder.controller","msg":"Reconciler
error","controller":"wildflyserver-controller","request":"pkremens-namespace/quickstart","error":"the
server could not find the requested resource (put
wildflyservers.wildfly.org
quickstart)","stacktrace":"github.com/go-logr/zapr.(*...
{noformat}