-
Bug
-
Resolution: Done-Errata
-
Blocker
-
rhos-18.0.0
-
None
-
False
-
-
False
-
?
-
?
-
openstack-operator-container-1.0.0-42
-
openstack-operator-container-1.0.0-42
-
?
-
?
-
None
-
Release Note Not Required
-
-
-
Moderate
The short summary, if I have a NodeSet called openstack-edpm-az1 and custom service name called neutron-metadata-custom-cell2, the dataplane deployment will fail on:
024-07-16T01:23:45Z ERROR Controllers.OpenStackAnsibleEE Job CreateOrPatch failed {"controller": "openstackansibleee", "controllerGroup": "ansibleee.openstack.org", "controllerKind": "OpenStackAnsibleEE", "OpenStackAnsibleEE": {"name":"install-certs-edpm-deployment-post-ceph-az1-openstack-edpm-az1","namespace":"openstack"}, "namespace": "openstack", "name": "install-certs-edpm-deployment-post-ceph-az1-openstack-edpm-az1", "reconcileID": "49742d42-0d53-4b5e-ace9-3d4537270518", "job": "install-certs-edpm-deployment-post-ceph-az1-openstack-edpm-az1", "error": "Job.batch \"install-certs-edpm-deployment-post-ceph-az1-openstack-edpm-az1\" is invalid: [spec.template.spec.volumes[3].name: Invalid value: \"openstack-edpm-az1-neutron-metadata-custom-cell2-default-certs-0\": must be no more than 63 characters, spec.template.spec.containers[0].volumeMounts[3].name: Not found: \"openstack-edpm-az1-neutron-metadata-custom-cell2-default-certs-0\"]"}
The Extra service mounts volume names or Cert mounts volume names are not truncated to 63 characters and in the case of user deploying multiple NodeSets and custom dataplane services which means they may different from default/example names It may happen easily that the names will exceed the limit. I believe users are allowed to specify their names of services, nodesets and deployments which is even needed in the case of DCN or Multicells deployments with multiple nodesets and custom dataplane services.
I guess we either need to smartly truncate the names or document that a user should make sure that the join of nodeset name + service name + possible cert/secret name should not exceed the limit of 63 characters and throw a warning?