yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #79655
[Bug 1826519] Re: Ephemeral disk volume was not mounted after resizing from non-ephemeral flavor
[Expired for cloud-init because there has been no activity for 60 days.]
** Changed in: cloud-init
Status: Incomplete => Expired
--
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/1826519
Title:
Ephemeral disk volume was not mounted after resizing from non-
ephemeral flavor
Status in cloud-init:
Expired
Bug description:
Description
===========
After resizing from m1.flavor(no ephemeral disk) to d1.flavor(with ephemeral disk), ephemeral
disk does not mounted on the VM.
After digging the related code, I realize there is no action to re-run cloudinit's mount module.
By default, cloudinit does not rerun previously running module. Since mount module does not take action, cloudinit does not write ephemeral disk data to /etc/fstab.
Steps to reproduce
==================
1. Make VM with m1.small flavor which does not have ephemeral disk
2. Resize VM with d1.small flavor which have ephemeral disk
Expected result
===============
1. Ephemeral disk volume (/dev/sdb) was mounted at /mnt
Actual result
=============
1. There is /dev/sdb in there by 'lsblk', but not mounted
Environment
===========
Stable/ocata
Libvirt driver
Logs & Configs
==============
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1826519/+subscriptions
References