Uploaded image for project: 'Database as a Service'
  1. Database as a Service
  2. DBAAS-779

[RHODA]Service Binding Max Length Error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • None
    • 0.2.0 [R3]
    • Core - DBaaS Operator
    • False
    • Hide

      None

      Show
      None
    • False
    • No
    • Hide
      1. Import a provider account under AWS RDS 
      2. Navigate to Developer topology
      3. Deploy the AWS RDS DB instance and an application for connection
      4. Create Service binding between Application and DBSC (Make sure the Service binding name has more than 63 characters)
      5. Service binding reconciliation failed
      Show
      Import a provider account under AWS RDS  Navigate to Developer topology Deploy the AWS RDS DB instance and an application for connection Create Service binding between Application and DBSC (Make sure the Service binding name has more than 63 characters) Service binding reconciliation failed
    • Low

      Description

      Service binding failed when the name has more than 63 characters. This issue potentially occurs on more RDS due to db instance naming.

      Workaround

      Manually update the service binding naming, this will resolve the issue.

       

      Error message

      {"level":"info","ts":1658941042.6623626,"logger":"controllers.ServiceBinding","msg":"Reconciling","serviceBinding":"rr-test-002/rhoda-qa-python-git-d-rhoda-adopted-db-instance-rhoda-database-mariadb-se-mariadb-dbsc"} {"level":"info","ts":1658941042.8811727,"logger":"controllers.ServiceBinding","msg":"Done","serviceBinding":"rr-test-002/rhoda-qa-python-git-d-rhoda-adopted-db-instance-rhoda-database-mariadb-se-mariadb-dbsc","retry":true,"error":"Deployment.apps \"rhoda-qa-python-git\" is invalid: [spec.template.spec.volumes[0].name: Invalid value: \"rhoda-qa-python-git-d-rhoda-adopted-db-instance-rhoda-database-mariadb-se-mariadb-dbsc\": must be no more than 63 characters, spec.template.spec.containers[0].volumeMounts[0].name: Not found: \"rhoda-qa-python-git-d-rhoda-adopted-db-instance-rhoda-database-mariadb-se-mariadb-dbsc\"]"} {"level":"error","ts":1658941042.8813014,"logger":"controller.servicebinding","msg":"Reconciler error","reconciler group":"binding.operators.coreos.com","reconciler kind":"ServiceBinding","name":"rhoda-qa-python-git-d-rhoda-adopted-db-instance-rhoda-database-mariadb-se-mariadb-dbsc","namespace":"rr-test-002","error":"Deployment.apps \"rhoda-qa-python-git\" is invalid: [spec.template.spec.volumes[0].name: Invalid value: \"rhoda-qa-python-git-d-rhoda-adopted-db-instance-rhoda-database-mariadb-se-mariadb-dbsc\": must be no more than 63 characters, spec.template.spec.containers[0].volumeMounts[0].name: Not found: \"rhoda-qa-python-git-d-rhoda-adopted-db-instance-rhoda-database-mariadb-se-mariadb-dbsc\"]","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/remote-source/service-binding-operator/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:227"}

              rhn-support-rravi Rajan Ravi
              rhn-support-rravi Rajan Ravi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: