hyper-v: Unable to take backups of Generation 2 VMs

Bug #1298192 reported by Abhishek Gupta
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Tim Gardner
Trusty
Fix Released
Undecided
Tim Gardner

Bug Description

We are unable to take backups of Generation 2 VMs because they include a FAT 32 EFI partition. This patch ignores such partitions while freezing the file-system to take a snapshot during the initial stages of the backup process. Since EFI partition is not expected to be modified regularly, the ignore functionality should address the problem. Please include the following upstream patch in the vss daemon:

Tools: hv: vssdaemon: Ignore VFAT mounts during the Freeze operation
If the guest has a FAT file system mounted, skip it during the FREEZE
operation. With this change we can support host initiated backup of
the guest even when the guest may have FAT file systems mounted.

https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/tools/hv/hv_vss_daemon.c?id=f33b215549938f89aebf862b942366d2aa41c191

Thanks,
Abhishek

CVE References

Revision history for this message
Abhishek Gupta (abgupta) wrote :

Please ensure that both server and azure images include the patch.

affects: linux (Ubuntu) → hv-kvp-daemon-init (Ubuntu)
Revision history for this message
Abhishek Gupta (abgupta) wrote :

No logs required as defect is verified by Microsoft Hyper-V team.

summary: - hv: Unable to take backups of Generation 2 VMs
+ hyper-v: Unable to take backups of Generation 2 VMs
Abhishek Gupta (abgupta)
Changed in hv-kvp-daemon-init (Ubuntu):
status: New → Confirmed
Tim Gardner (timg-tpi)
affects: hv-kvp-daemon-init (Ubuntu Trusty) → linux (Ubuntu Trusty)
Changed in linux (Ubuntu Trusty):
assignee: nobody → Tim Gardner (timg-tpi)
status: Confirmed → Fix Committed
Revision history for this message
Chris Valean (chvale) wrote :

Hi Tim,
Should we expect to see this included with tomorrow's Ubuntu Server build?
Thank you!

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (8.4 KiB)

This bug was fixed in the package linux - 3.13.0-20.42

---------------
linux (3.13.0-20.42) trusty; urgency=low

  [ Adam Conrad ]

  * [Packaging] Set bootloader and loader on ppc64el to grub

  [ Andy Whitcroft ]

  * rebase to v3.13.7
  * [Config] updateconfigs following rebase to v3.13.7
  * cloud-tools -- pull in init scripts for Hyper-V daemons
  * cloud-tools -- detect Hyper-V VM to avoid starting
  * cloud-tools -- update IF_NAME to DEVICE in hv_* scripts
    - LP: #1295401
  * [Config] cloud-tools -- ensure we force older hv-kvp-daemon-init off
  * [Config] fix up Breaks/Replaces on linux-cloud-tools-common to fix upgrades

  [ Emmanuel Grumbach ]

  * SAUCE: (no-up) iwlwifi: mvm: disable uAPSD due to bugs in the firmware

  [ James Bottomley ]

  * SAUCE: (no-up) fix our current target reap infrastructure
    - LP: #1283604
  * SAUCE: (no-up) dual scan thread bug fix
    - LP: #1283604

  [ K. Y. Srinivasan ]

  * SAUCE: (no-up) Tools: hv: vssdaemon: Ignore VFAT mounts during the
    Freeze operation
    - LP: #1298192

  [ Paolo Pisati ]

  * [Config] disable HW_RANDOM_EXYNOS, USB_DWC3_EXYNOS,
    PHY_EXYNOS_MIPI_VIDEO
    - LP: #1294353
  * [Config] armhf: generic: AHCI_IMX=y, SERIAL_FSL_LPUART=m
    - LP: #1294951
  * [Config] armhf: generic: MFD_TI_AM335X_TSCADC and USB_DWC3_OMAP = m
    - LP: #1294962

  [ Tim Gardner ]

  * Release Tracking Bug
    - LP: #1298585
  * [Config] ignore.modules
  * SAUCE: i2c-cpm: Add missing includes for powerpc
  * [Config] CONFIG_ABX500_CORE=y for ppc64el
  * [Config] CONFIG_ALX=m for powerpc
  * [Config] CONFIG_ACENIC_OMIT_TIGON_I=n for ppc64el
  * [Config] CONFIG_ACORN_PARTITION_*=n for ppc64el
  * [Config] CONFIG_ANDROID=n for powerpc
  * [Config] CONFIG_ASYNC_RAID6_TEST=m for ppc64el
  * [Config] CONFIG_BIG_KEYS=y for ppc64el
  * [Config] CONFIG_BLK_DEV_INTEGRITY=y for ppc64el
  * [Config] CONFIG_BSD_PROCESS_ACCT=y for ppc64el
  * [Config] CONFIG_BLK_DEV_SR_VENDOR=n for ppc64el
  * [Config] CONFIG_CFG80211=m for ppc64el
  * [Config] CONFIG_CHARGER_BQ24190=m for powerpc
  * [Config] CONFIG_CHARGER_BQ24735=m for powerpc
  * [Config] CONFIG_EXPERT=y for ppc64el
  * [Config] CONFIG_ATA_SFF=y on ppc64el
  * [Config] CONFIG_ATA_GENERIC=y for ppc64el, powerpc
  * [Config] CONFIG_CHR_DEV_ST=m for ppc64el
  * [Config] CONFIG_CHECKPOINT_RESTORE=y for ppc64el
  * [Config] CONFIG_CHELSIO_T1_1G=y for ppc64el
  * [Config] CONFIG_CHR_DEV_OSST=m for ppc64el
  * [Config] CONFIG_CHR_DEV_SCH=m for ppc64el
  * [Config] CONFIG_CPU_FREQ_STAT=y for powerpc
  * [Config] CONFIG_DDR=y for ppc64el
  * [Config] CONFIG_DEBUG_BUGVERBOSE=y for powerpc
  * [Config] CONFIG_EXT4_USE_FOR_EXT23=y for powerpc, ppc64el
  * [Config] CONFIG_E100=m, CONFIG_E1000=m, CONFIG_E1000E=m for ppc64el
  * [Config] CONFIG_EZX_PCAP=n for all arches
  * [Config] CONFIG_DYNAMIC_DEBUG=y for powerpc
  * [Config] CONFIG_ENABLE_MUST_CHECK=n for ppc64el
  * [Config] CONFIG_ENABLE_WARN_DEPRECATED=n for ppc64el
  * [Config] CONFIG_FB_3DFX=m for all arches
  * [Config] CONFIG_FB_MATROX=m for ppc64el
  * [Config] CONFIG_FB_RADEON=m for ppc64el
  * [Config] CONFIG_FB_SAVAGE_I2C=y for all arches
  * [Config] CONFIG_FIREWIRE=m for ppc64el
  * [Config] CO...

Read more...

Changed in linux (Ubuntu Trusty):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.