Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-8514

ovncontroller error message not propagated to status

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Minor Minor
    • rhos-18.0.7
    • None
    • ovn-operator
    • None
    • Neutron Sprint 9, Neutron Sprint 10, Neutron Sprint 11
    • 3
    • Low

      ovncontroller resource was not deploying with no indication as to why. The latest status was just "Deployment not started". I had to look in the ovn-operator logs to see what the actual issue was. This error message should be propagated up to the ovncontroller resource status.

       

      2024-07-10T14:50:58.959Z        ERROR   Reconciler error        {"controller": "ovncontroller", "controllerGroup": "ovn.openstack.org", "controllerKind": "OVNController", "
      OVNController": {"name":"ovncontroller","namespace":"openstack"}, "namespace": "openstack", "name": "ovncontroller", "reconcileID": "c09a0ddf-81e0-44fb-8e0a-2889b026cb42", "error": "cannot create NetworkAttachmentDefinition <network_name/nic_name>: NetworkAttachmentDefinition.k8s.cni.cncf.io \"<network_name\" is invalid: metadata.name: Invali
      d value: \"<network_name\": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric chara
      cter (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')"}                                                sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler                                                                                       
              /remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.6/pkg/internal/controller/controller.go:329                                                  
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem                                                                                            /remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.6/pkg/internal/controller/controller.go:266                                                  
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2                                                                                          
      

              ykarel@redhat.com Yatin Karel
              jslagle@redhat.com James Slagle
              Renjing Xiao Renjing Xiao
              rhos-dfg-networking-squad-neutron
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: