Uploaded image for project: 'WildFly WIP'
  1. WildFly WIP
  2. WFWIP-163

WildFlyServerStatus is not present in operator description

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • OpenShift
    • None

      According to the operator api documentation, 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 section.

      steps to reproduce

      $ 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>
      

      Operator status is not part of the object.

      For wildfly operator pod logs see wildfly-operator.txt attachment.

              jmesnil1@redhat.com Jeff Mesnil
              pkremens@redhat.com Petr Kremensky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: