Public bug reported:

When specifying the device and partition number in fs_setup according to
sample documentation, cloud-init fails to successfully partition the
device. If I use

- {device: /dev/vdb1, filesystem: ext3}

instead, the partitioning succeeds.

1. Cloud Provider: Openstack
2. 0.7.8-49-g9e904bb-0ubuntu1~16.04.4
3. Cloud init config

#cloud-config

disk_setup:
  /dev/vdb: {layout: true, table_type: gpt}
fs_setup:
- {device: /dev/vdb, filesystem: ext3, partition: 1}
mounts:
- [/dev/vdb1, /work]

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

** Attachment added: "cloud-init.tar"
   
https://bugs.launchpad.net/bugs/1709513/+attachment/4929104/+files/cloud-init.tar

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

Title:
  fs_setup fails when specifying partition

Status in cloud-init:
  New

Bug description:
  When specifying the device and partition number in fs_setup according
  to sample documentation, cloud-init fails to successfully partition
  the device. If I use

  - {device: /dev/vdb1, filesystem: ext3}

  instead, the partitioning succeeds.

  1. Cloud Provider: Openstack
  2. 0.7.8-49-g9e904bb-0ubuntu1~16.04.4
  3. Cloud init config

  #cloud-config

  disk_setup:
    /dev/vdb: {layout: true, table_type: gpt}
  fs_setup:
  - {device: /dev/vdb, filesystem: ext3, partition: 1}
  mounts:
  - [/dev/vdb1, /work]

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to