[jboss-jira] [JBoss JIRA] (WFWIP-163) WildFlyServerStatus is not present in operator description

Petr Kremensky (Jira) issues at jboss.org
Tue Jul 9 04:58:00 EDT 2019


    [ https://issues.jboss.org/browse/WFWIP-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13757064#comment-13757064 ] 

Petr Kremensky commented on WFWIP-163:
--------------------------------------

Verifying the fix.

> WildFlyServerStatus is not present in operator description 
> -----------------------------------------------------------
>
>                 Key: WFWIP-163
>                 URL: https://issues.jboss.org/browse/WFWIP-163
>             Project: WildFly WIP
>          Issue Type: Bug
>          Components: OpenShift
>         Environment: *openshift:* {{v3.11.82}}
> *operator image:* {{quay.io/wildfly/wildfly-operator:0.2.0}}
> *runtime image:* {{quay.io/wildfly/wildfly-centos7:17.0}}
> *application image:* {{pkremens/simple-jaxrs-wildfly}}
>            Reporter: Petr Kremensky
>            Assignee: Jeff Mesnil
>            Priority: Blocker
>         Attachments: wildfly-operator.txt
>
>
> According to the [operator api documentation|https://github.com/wildfly/wildfly-operator/blob/master/doc/apis.adoc#wildflyserver], the deployment pods status should be pard of operator description, but I failed to find such on OCP.
> Install the wildfly operator on OCP as described by [wildfly-operator - openshift|https://github.com/wildfly/wildfly-operator#openshift] section.
> *steps to reproduce*
> {noformat}
> $ cat << EOF > simple-jaxrs-wildfly.yaml
> apiVersion: wildfly.org/v1alpha1
> kind: WildFlyServer
> metadata:
>   name: simple-jaxrs-wildfly
> spec:
>   applicationImage: "pkremens/simple-jaxrs-wildfly"
>   size: 2
> EOF
> $ oc apply -f simple-jaxrs-wildfly.yaml
> $ oc expose service/simple-jaxrs-wildfly-loadbalancer
> # verify that application is accessible 
> $ ROUTE=$(oc get route.route.openshift.io/simple-jaxrs-wildfly-loadbalancer --template='{{ .spec.host }}')
> $ curl $ROUTE/ping
> pong
> $ oc describe wildflyserver simple-jaxrs-wildfly 
> Name:         simple-jaxrs-wildfly
> Namespace:    myproject
> Labels:       <none>
> Annotations:  kubectl.kubernetes.io/last-applied-configuration={"apiVersion":"wildfly.org/v1alpha1","kind":"WildFlyServer","metadata":{"annotations":{},"name":"simple-jaxrs-wildfly","namespace":"myproject"},"spec":...
> API Version:  wildfly.org/v1alpha1
> Kind:         WildFlyServer
> Metadata:
>   Creation Timestamp:  2019-07-02T13:11:58Z
>   Generation:          1
>   Resource Version:    4318
>   Self Link:           /apis/wildfly.org/v1alpha1/namespaces/myproject/wildflyservers/simple-jaxrs-wildfly
>   UID:                 f8eb76bf-9cca-11e9-b8ee-52540043aed8
> Spec:
>   Application Image:  pkremens/simple-jaxrs-wildfly
>   Size:               2
> Events:               <none>
> {noformat}
> Operator status is not part of the object.
> For wildfly operator pod logs see  [^wildfly-operator.txt] attachment.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list