Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-50312

Eventing RBAC: Internal server error when trying to deploy a function after deletion of owner

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.1.0
    • 7.1.0
    • eventing
    • Enterprise Edition 7.1.0 build 2021

    Description

      Issue is similar to MB-49514 and MB-49209.

      STEPS
      Create RBAC user john having following roles.

      Manage Scope Functions [src_bucket:_default] , Data Writer [*:*:*] , Data Reader [*:*:*] , Data DCP Reader [*:*:*]
      

      Create and deploy handler f1 having owner john.
      Delete user john and wait for handler to undeploy.
      Try to deploy handler via UI/REST.

      OBSERVATION
      Deployment fails with INTERNAL_SERVER_ERROR.

      curl -XPOST -k http://Administrator:password@10.112.190.102:8096/api/v1/functions/f1/deploy
      {
       "name": "INTERNAL_SERVER_ERROR",
       "code": 59,
       "attributes": [
        "retry"
       ],
       "description": null
      }
      

      Attachments

        For Gerrit Dashboard: MB-50312
        # Subject Branch Project Status CR V

        Activity

          People

            ankit.prabhu Ankit Prabhu
            sujay.gad Sujay Gad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty