Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

operator sonataflow-operator (10.0.0) #5428

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ricardozanini
Copy link
Contributor

Thanks submitting your Operator. Please check below list before you create your Pull Request.

New Submissions

Updates to existing Operators

  • Did you create a ci.yaml file according to the update instructions?
  • Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
  • Is your new CSV referenced in the appropriate channel defined in the package.yaml or annotations.yaml ?
  • Have you tested an update to your Operator when deployed via OLM?
  • Is your submission signed?

Your submission should not

  • Modify more than one operator
  • Modify an Operator you don't own
  • Rename an operator - please remove and add with a different name instead
  • Modify any files outside the above mentioned folders
  • Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

  1. Description about the managed Application and where to find more information
  2. Features and capabilities of your Operator and how to use it
  3. Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

  • Human readable name and 1-liner description about your Operator
  • Valid category name1
  • One of the pre-defined capability levels2
  • Links to the maintainer, source code and documentation
  • Example templates for all Custom Resource Definitions intended to be used
  • A quadratic logo

Remember that you can preview your CSV here.

--

1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need

2 For more information see here

@ricardozanini
Copy link
Contributor Author

cc @wmedvede @porcelli @krisv

@ricardozanini
Copy link
Contributor Author

ricardozanini commented Dec 13, 2024

@mporrato @tomasbakk, can you shed some light on this?

I can see in the logs the pod kind-registry-5000-test-operator-sonataflow-operator-v10-0-0:

TASK [test_operator_update : Show logs] ****************************************
ok: [localhost] => 
  tou_pods:
    changed: true
    cmd: kubectl get pods --all-namespaces
    delta: '0:00:00.119098'
    end: '2024-12-12 22:53:18.887315'
    failed: false
    msg: ''
    rc: 0
    start: '2024-12-12 22:53:18.768217'
    stderr: ''
    stderr_lines: []
    stdout: |-
      NAMESPACE            NAME                                                              READY   STATUS      RESTARTS   AGE
      kube-system          coredns-7db6d8ff4d-f7g5j                                          1/1     Running     0          7m32s
      kube-system          coredns-7db6d8ff4d-ngm2c                                          1/1     Running     0          7m32s
      kube-system          etcd-operator-test-control-plane                                  1/1     Running     0          7m48s
      kube-system          kindnet-w7r6w                                                     1/1     Running     0          7m33s
      kube-system          kube-apiserver-operator-test-control-plane                        1/1     Running     0          7m48s
      kube-system          kube-controller-manager-operator-test-control-plane               1/1     Running     0          7m48s
      kube-system          kube-proxy-lhltc                                                  1/1     Running     0          7m33s
      kube-system          kube-scheduler-operator-test-control-plane                        1/1     Running     0          7m48s
      local-path-storage   local-path-provisioner-988d74bc-g26x7                             1/1     Running     0          7m32s
      olm                  catalog-operator-78857dfb48-w52qb                                 1/1     Running     0          7m32s
      olm                  olm-operator-6bf4f9c984-lmdgj                                     1/1     Running     0          7m32s
      olm                  operatorhubio-catalog-lpl5f                                       1/1     Running     0          7m24s
      olm                  packageserver-76957d85-2fg7x                                      1/1     Running     0          7m25s
      olm                  packageserver-76957d85-p6bxj                                      1/1     Running     0          7m25s
      testupgrade          8b6a457c2dca5e15695bcd50d364fb2d1db6e42966dcc6e4eb08f96265bzjrk   0/1     Completed   0          72s
      testupgrade          d7c55809d21fd1c24dd68daf57d014e3178a80aef9042eeb56cf6fbaa98mfns   0/1     Completed   0          21s
      testupgrade          kind-registry-5000-test-operator-sonataflow-operator-v10-0-0      1/1     Running     0          23s
      testupgrade          sonataflow-operator-controller-manager-955b8ccb-cl7q4             2/2     Running     0          56s
    stdout_lines:
    - NAMESPACE            NAME                                                              READY   STATUS      RESTARTS   AGE
    - kube-system          coredns-7db6d8ff4d-f7g5j                                          1/1     Running     0          7m32s
    - kube-system          coredns-7db6d8ff4d-ngm2c                                          1/1     Running     0          7m32s
    - kube-system          etcd-operator-test-control-plane                                  1/1     Running     0          7m48s
    - kube-system          kindnet-w7r6w                                                     1/1     Running     0          7m33s
    - kube-system          kube-apiserver-operator-test-control-plane                        1/1     Running     0          7m48s
    - kube-system          kube-controller-manager-operator-test-control-plane               1/1     Running     0          7m48s
    - kube-system          kube-proxy-lhltc                                                  1/1     Running     0          7m33s
    - kube-system          kube-scheduler-operator-test-control-plane                        1/1     Running     0          7m48s
    - local-path-storage   local-path-provisioner-988d74bc-g26x7                             1/1     Running     0          7m32s
    - olm                  catalog-operator-78857dfb48-w52qb                                 1/1     Running     0          7m32s
    - olm                  olm-operator-6bf4f9c984-lmdgj                                     1/1     Running     0          7m32s
    - olm                  operatorhubio-catalog-lpl5f                                       1/1     Running     0          7m24s
    - olm                  packageserver-76957d85-2fg7x                                      1/1     Running     0          7m25s
    - olm                  packageserver-76957d85-p6bxj                                      1/1     Running     0          7m25s
    - testupgrade          8b6a457c2dca5e15695bcd50d364fb2d1db6e42966dcc6e4eb08f96265bzjrk   0/1     Completed   0          72s
    - testupgrade          d7c55809d21fd1c24dd68daf57d014e3178a80aef9042eeb56cf6fbaa98mfns   0/1     Completed   0          21s
    - testupgrade          kind-registry-5000-test-operator-sonataflow-operator-v10-0-0      1/1     Running     0          23s
    - testupgrade          sonataflow-operator-controller-manager-955b8ccb-cl7q4             2/2     Running     0          56s

But then the test is trying to fetch the pod in the default namespace. It won't find it of course:

ok: [localhost] => 
 tou_pod_log:
   changed: true
   cmd: kubectl logs kind-registry-5000-test-operator-sonataflow-operator-v10-0-0 -n default
   delta: '0:00:00.065531'
   end: '2024-12-12 22:53:19.503746'
   failed: true
   msg: non-zero return code
   rc: 1
   start: '2024-12-12 22:53:19.438215'
   stderr: 'error: error from server (NotFound): pods "kind-registry-5000-test-operator-sonataflow-operator-v10-0-0" not found in namespace "default"'
   stderr_lines:
   - 'error: error from server (NotFound): pods "kind-registry-5000-test-operator-sonataflow-operator-v10-0-0" not found in namespace "default"'
   stdout: ''
   stdout_lines: []

Is this expected?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants