Uploaded image for project: 'CORD'
  1. CORD
  2. CORD-1519

Users not able to get permanently deleted

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: XOS
    • Labels:
    • Environment:

      3.0.1

    • Story Points:
      2
    • Sprint:
      SD Sprint #3, SD Sprint #4
    • Epic Link:

      Description

      We see errors when trying POST/DELETE the same User twice from REST
      Error in rcord_xos_chameleon_1:

      20170628T180928.657 ERROR    grpc_client.invoke {event: <_Rendezvous of RPC that terminated with (StatusCode.UNKNOWN, Exception calling application: duplicate key value violates unique constraint "core_user_email_key"
      DETAIL:  Key (email)=(TestUser001@onlab.us) already exists.
      )>, exception: Traceback (most recent call last):
        File "/chameleon/chameleon/grpc_client/grpc_client.py", line 282, in invoke
          response, rendezvous = method.with_call(request, metadata=metadata)
        File "/usr/local/lib/python2.7/dist-packages/grpc/_channel.py", line 485, in with_call
          return _end_unary_response_blocking(state, True, deadline)
        File "/usr/local/lib/python2.7/dist-packages/grpc/_channel.py", line 432, in _end_unary_response_blocking
          raise _Rendezvous(state, None, None, deadline)
      _Rendezvous: <_Rendezvous of RPC that terminated with (StatusCode.UNKNOWN, Exception calling application: duplicate key value violates unique constraint "core_user_email_key"
      DETAIL:  Key (email)=(TestUser001@onlab.us) already exists.
      )>, instance_id: f9ce0aa8e0e2}
      

      And rcord_xos_core_1 log is full of errors:

      INFO:xos.log:REAPER: cannot purge object <User: TestUser001@onlab.us> because its cascade_set is nonempty: mysite_MyDeployment_openstack OpenStack Kilo TestUser001@onlab.us
      

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            scottb Scott Baker
            Reporter:
            You You Wang (Inactive)
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes