Uploaded image for project: 'FreeNAS / TrueNAS'
  1. FreeNAS / TrueNAS
  2. NAS-101753

Fix traceback when processing alerts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Low
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 11.2-U5
    • Component/s: Middleware
    • Labels:
      None
    • Attempts to pass:
      1
    • Testing System:
      X10-HA
    • QA Status:
      Test Passes TrueNAS
    • Acceptance Criteria:
      Hide
      Connect USB storage to TN that has Silver or Gold support contract.

      Support ticket about this should appear within 5 minutes.
      Show
      Connect USB storage to TN that has Silver or Gold support contract. Support ticket about this should appear within 5 minutes.

      Description

      [2019/05/11 19:14:48] (ERROR) middlewared.job.run():339 - Transient job failed
      Traceback (most recent call last):
        File "/usr/local/lib/python3.6/site-packages/middlewared/job.py", line 332, in run
          await self.future
        File "/usr/local/lib/python3.6/site-packages/middlewared/job.py", line 363, in __run_body
          rv = await self.method(*([self] + args))
        File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/alert.py", line 256, in process_alerts
          if license and license.contract_type in [ContractType.silver.value, ContractType.gold.value]:
      AttributeError: 'tuple' object has no attribute 'contract_type'
      

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  themylogin Vladimir Vinogradenko
                  Reporter:
                  william William Grzybowski
                  QE Engineer:
                  Bonnie Follweiler
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Merged after freeze:

                    Summary Panel