← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1869114] [NEW] swap module runs before mount module

 

Public bug reported:

1. cloud-init's swap module runs before the mount module, which causes swapfile creation on runtime mounted disks to fail.
2. cloud-init's swap create does not ensure it has a path to the file (if specified with a directory that does not exist yet).

Bug exists in all clouds, but the bug was discovered through deploying
an Azure VM, mounting the Azure resource disk, and then creating a
swapfile within the mounted resource disk.

Relevant logs: https://paste.ubuntu.com/p/QdGybC2wyc/

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1869114

Title:
  swap module runs before mount module

Status in cloud-init:
  New

Bug description:
  1. cloud-init's swap module runs before the mount module, which causes swapfile creation on runtime mounted disks to fail.
  2. cloud-init's swap create does not ensure it has a path to the file (if specified with a directory that does not exist yet).

  Bug exists in all clouds, but the bug was discovered through deploying
  an Azure VM, mounting the Azure resource disk, and then creating a
  swapfile within the mounted resource disk.

  Relevant logs: https://paste.ubuntu.com/p/QdGybC2wyc/

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1869114/+subscriptions


Follow ups