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

The name of -configuration job for OVN controller can overflow the max length for a job name

XMLWordPrintable

    • Neutron 2023Q4
    • 2023Q4
    • Networking; Neutron

      Right now the name of the job is contructed as follows:

       

      ```

      Name:      instance.Name + "configuration" + ovsNode,

      ```

       

      The problem is that the final name candidate can be longer than the max length allowed for a job name by kubernetes api (63 chars). The result is the job fails to get created.

       

      We should handle the situation gracefully - probably by truncating the name to fit in the limit.

            ykarel@redhat.com Yatin Karel
            ihrachys Ihar Hrachyshka
            rhos-dfg-networking-squad-neutron
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: