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

'User' object has no attribute 'policy_code'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: High
    • Resolution: Done
    • Affects Version/s: 4.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Story Points:
      3

      Description

      openstack synchronizer logs are full of the following error

      MODEL POLICY: Object failed to update policed timestamp instance=<User: id-1>
      Traceback (most recent call last):
        File "/opt/xos/synchronizers/new_base/model_policy_loop.py", line 145, in execute_model_policy
          instance.policy_code = 1
        File "/usr/local/lib/python2.7/dist-packages/xosapi/orm.py", line 189, in __setattr__
          setattr(self._wrapped_class, name, value)
      AttributeError: 'User' object has no attribute 'policy_code'
      

      We are seeing this on qct-1 and qct-3

        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:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes