Make rabbitmq user and vhost name shorter in kuttl tests#1121
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: amoralej The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Build failed (check pipeline). Post ❌ openstack-meta-content-provider FAILURE in 13m 01s |
be8016a to
1be93f7
Compare
|
Build failed (check pipeline). Post ❌ openstack-meta-content-provider FAILURE in 11m 06s |
Some recent change (maybe [1a)], the string used in infra-operator for rabbitmquser creation has changed from `nova-kuttl-notification-transport-nova-notifications-user` to `rabbitmq-notifications-nova-notifications-user-nova-notifications` which is longer that 63 char openshift limit, leading to error: RabbitMQ user error occurred Secret "rabbitmq-user-rabbitmq-notifications-nova-notifications-user-nova-notifications" is invalid: metadata.labels: Invalid value: "rabbitmq-notifications-nova-notifications-user-nova-notifications": must be no more than 63 characters While this may be understood as a bug, this patch is making vhost and user names shorter to unblock the kuttl test. [1] openstack-k8s-operators/infra-operator@fcc8556#diff-627c3e6f14aec9dd16405a764cf2e60199490e15a399bd3df182df26f00e999d Signed-off-by: Alfredo Moralejo <amoralej@redhat.com>
1be93f7 to
45265a3
Compare
|
Build failed (check pipeline). Post ✔️ openstack-meta-content-provider SUCCESS in 3h 34m 24s |
|
fixed in infra-operator openstack-k8s-operators/infra-operator#583 |
Some recent change (maybe [1a)], the string used in infra-operator for rabbitmquser creation has changed from
nova-kuttl-notification-transport-nova-notifications-usertorabbitmq-notifications-nova-notifications-user-nova-notificationswhich is longer that 63 char openshift limit, leading to error:RabbitMQ user error occurred Secret "rabbitmq-user-rabbitmq-notifications-nova-notifications-user-nova-notifications" is invalid: metadata.labels: Invalid value: "rabbitmq-notifications-nova-notifications-user-nova-notifications": must be no more than 63 characters
While this may be understood as a bug, this patch is making vhost and user names shorter to unblock the kuttl test.
[1] openstack-k8s-operators/infra-operator@fcc8556#diff-627c3e6f14aec9dd16405a764cf2e60199490e15a399bd3df182df26f00e999d