← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1826519] [NEW] Ephemeral disk volume was not mounted after resizing from non-ephemeral flavor

 

Public bug reported:

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
==============

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1826519

Title:
  Ephemeral disk volume was not mounted after resizing from non-
  ephemeral flavor

Status in OpenStack Compute (nova):
  New

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/nova/+bug/1826519/+subscriptions


Follow ups