Project

General

Profile

Bug #49279

Prevent VMware-Snapshot traceback for VFFS type

Added by Caleb St. John about 1 year ago. Updated 9 months ago.

Status:
Done
Priority:
No priority
Assignee:
Caleb St. John
Category:
Middleware
Target version:
Seen in:
TrueNAS - TrueNAS-11.1-U6.1
Severity:
Low
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

When configuring the vmware-snapshot functionality in the webUI, if a VFFS type is configured in the ESXi cluster, we will get a traceback to /var/log/debug.log. Similar to the one below:

[2018/10/01 19:14:46] (DEBUG) VMWareService.get_datastores():91 - Unknown volume type "VFFS": (vim.host.VffsVolume) {
   dynamicType = <unset>,
   dynamicProperty = (vmodl.DynamicProperty) [],
   type = 'VFFS',
   name = 'vffs-52991def-093a-7690-47de-1780db611061',
   capacity = 511906414592,
   majorVersion = 1,
   version = '1.00',
   uuid = '5b04b3a2-b159c5e8-f3e2-90e2ba8411b2',
   extent = (vim.host.ScsiDisk.Partition) [
      (vim.host.ScsiDisk.Partition) {
         dynamicType = <unset>,
         dynamicProperty = (vmodl.DynamicProperty) [],
         diskName = 't10.ATA_____Samsung_SSD_850_PRO_512GB_______________S39FNX0JA19109A_____',
         partition = 1
      }
   ]
}

Even though the functionality continues without problems, we should pass on VFFS filesystem types because they are local to the host so a VFFS filesystem is configured for each configured hypervisor in the ESXi cluster, we will get a traceback every time we iterate over that list for every hypervisor which can fill up the /var/log/debug.log file quite quickly.

Passing on this interface is perfectly fine as it's purpose is to only serve as a local read cache for VM's specific to that hypervisor or used as swap cache for the hypervisor OS.

History

#1 Updated by Bug Clerk about 1 year ago

  • Status changed from Unscreened to In Progress

#3 Updated by Bug Clerk about 1 year ago

  • Status changed from In Progress to Ready for Testing

#5 Updated by Dru Lavigne about 1 year ago

  • Subject changed from traceback with vmware-snapshot functionality to Prevent vmware-snapshot traceback for VFFS type
  • Needs Merging changed from Yes to No

#6 Updated by Dru Lavigne 11 months ago

  • Target version changed from 11.3 to 11.3-BETA1

#8 Updated by Dru Lavigne 10 months ago

  • Status changed from Ready for Testing to Done
  • Needs QA changed from Yes to No

#9 Updated by Dru Lavigne 9 months ago

  • Target version changed from 11.3-BETA1 to 11.3-ALPHA1

#10 Updated by Dru Lavigne 9 months ago

  • Subject changed from Prevent vmware-snapshot traceback for VFFS type to Prevent VMware-Snapshot traceback for VFFS type

Also available in: Atom PDF