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

Add a note for character length in metadata.name of ansible jobs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • rhos-18.0.6
    • rhos-18.0.2
    • documentation
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • None
    • Hide
      .Documentation: Limitation added detailing maximum length of `OpenStackDataPlaneNodeSet` CR names

      The description of the rules around naming`OpenStackDataPlaneNodeSet` CRs has been updated to include that the maximum length is 53 characters.
      Show
      .Documentation: Limitation added detailing maximum length of `OpenStackDataPlaneNodeSet` CR names The description of the rules around naming`OpenStackDataPlaneNodeSet` CRs has been updated to include that the maximum length is 53 characters.
    • Bug Fix
    • Done
    • Important

      When the name of OpenStackDataPlaneNodeSet is long, ansible jobs created by OpenStackDeployment cannot be distinguished identically.

      For example, the job list shows the following resutls.

      NAME                                                              COMPLETIONS   DURATION   AGE
      bootstrap-openstack-data-plane-deploy-openstack-data-plane001     1/1           4m19s      109m
      bootstrap-openstack-data-plane-deploy-openstack-data-plane002     1/1           4m13s      109m
      configure-network-openstack-data-plane-deploy-openstack-data-pl   0/1           9s         9s
      

      It looks the maximum length of the job name is 54 characters.
      If it bigger than 55 and it cannot be identical between the jobs, the resources cannot be unique between resources.

      We should have a warning that every metadata.name should be less characters but unique among the same CR.
      For example,
      If OpenStackDataPlaneNodeSet has metadata.name like below.

      metadata:
        name: compute-zone1-rack1-10
      

      Other OpenStackDataPlaneNodeSet has like follows

      metadata:
        name: compute-zone2-rack1-15
      

      Those are should be shorten like:

      metadata:
        name: cmp-z1-r1-10
      
      metadata:
        name: cmp-z2-r1-15
      

              igallagh@redhat.com Irina Gallagher
              rhn-support-knoha Keigo Noha
              rhos-dfg-df
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: