← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1673818] Re: Misleading requirements for 'unpartitioned disks' for ConfigDrive in documentation

 

This bug is believed to be fixed in cloud-init in 17.1. If this is still
a problem for you, please make a comment and set the state back to New

Thank you.

** Changed in: cloud-init
       Status: Confirmed => Fix Released

-- 
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/1673818

Title:
  Misleading requirements for 'unpartitioned disks' for ConfigDrive in
  documentation

Status in cloud-init:
  Fix Released
Status in cloud-init package in Ubuntu:
  Fix Released
Status in cloud-init source package in Xenial:
  Fix Released
Status in cloud-init source package in Yakkety:
  Fix Released
Status in cloud-init source package in Zesty:
  Fix Released

Bug description:
  === Begin SRU Template ===
  [Impact] 
  This is a doc only change.  The related doc is not present in ubuntu
  binary packages.

  [Test Case]
  apt-get source cloud-init
  vi cloud-init*/doc/rtd/topics/datasources/configdrive.rst

  [Regression Potential] 
  None.
     
  [Other Info]
  Upstream commit:
   https://git.launchpad.net/cloud-init/commit/?id=58cc8f7521725d4f00

  === End SRU Template ===

  
  Current documentation states that:
  http://cloudinit.readthedocs.io/en/latest/topics/datasources/configdrive.html#version-2

  ... a config drive: ...Must be a un-partitioned block device
  (/dev/vdb, not /dev/vdb1)...

  This is not correct.

  1. Cloud-init actually, works with ConfigDrive as partition (e.g. /dev/sda1)
  2. Ironic uses partition at the end of disk to write metadata, and it's absurd for baremetal provisioning to dedicate whole disk (actual SATA, SSD, SAS/FC drive) just to tiny metada.
  3. According to @smoser at #cloud-init IRC, " i'm pretty sure the doc is just wrong, ... i'm pretty sure reading current code that if the filesystem has a label of 'config-2', then it will work".

  I think this part of documentation should be rewritten to avoid
  confusion with Ironic workflow for ConfigDrive.

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


References