Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-108392

Automated test failed to configure lagg0 without failover VHID

    XMLWordPrintable

    Details

      Description

      We had that regression in the pass in NAS-106366. The UI HA automated test unable to create the lagg0 interface without failover VHID on 12.0.

      Error: Traceback (most recent call last):
        File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 137, in call_method
          result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self,
        File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1195, in _call
          return await methodobj(*prepared_call.args)
        File "/usr/local/lib/python3.8/site-packages/middlewared/service.py", line 455, in create
          rv = await self.middleware._call(
        File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1195, in _call
          return await methodobj(*prepared_call.args)
        File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 973, in nf
          return await f(*args, **kwargs)
        File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/network.py", line 821, in do_create
          await self._common_validation(verrors, 'interface_create', data, data['type'])
        File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/network.py", line 1122, in _common_validation
          if not data['failover_vhid'] and data['failover_group']:
      KeyError: 'failover_vhid'

       

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                caleb Caleb St. John
                Reporter:
                eturgeon Eric Turgeon
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: