← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1872836] [NEW] Swap file creation broken due to incorrect format specifiers

 

Public bug reported:

Swap file creation currently fails with the following error:
cc_mounts.py[WARNING]: failed to setup swap: %d format: a number is required, not str

This appears to be fallout from changes from this commit:
https://github.com/canonical/cloud-init/commit/6603706
https://github.com/canonical/cloud-init/pull/70

It appears several '%d' format specifiers are being incorrectly paired
with a string type variable instead of number type variable.

** 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/1872836

Title:
  Swap file creation broken due to incorrect format specifiers

Status in cloud-init:
  New

Bug description:
  Swap file creation currently fails with the following error:
  cc_mounts.py[WARNING]: failed to setup swap: %d format: a number is required, not str

  This appears to be fallout from changes from this commit:
  https://github.com/canonical/cloud-init/commit/6603706
  https://github.com/canonical/cloud-init/pull/70

  It appears several '%d' format specifiers are being incorrectly paired
  with a string type variable instead of number type variable.

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


Follow ups