Comment 0 for bug 1608934

Revision history for this message
Jan Klare (j-klare) wrote : ephemeral disk not available in checked path

Description
===========
I am currently trying to launch an instance in my mitaka cluster with a flavor with ephemeral and root storage. Whenever i am trying to start the instance i am running into an "DiskNotFound" Error (see trace below). Starting instances without ephemeral works perfectly fine and the root disk is created as expected in /var/lib/nova/instance/$INSTANCEID/disk .

Steps to reproduce
==================
1. Create a flavor with ephemeral and root storage.
2. Start an instance with that flavor.

Expected result
===============
Instance starts and ephemeral disk is created in /var/lib/nova/instances/$INSTANCEID/disk.eph0 or disk.local ? (Not sure where the switchase for the naming is)

Actual result
=============
Instance does not start, ephemeral disk seems to be created at /var/lib/nova/instances/$INSTANCEID/disk.eph0, but nova checks /var/lib/nova/instances/_base/ephemeral_* for disk_size

TRACE: http://pastebin.com/raw/TwtiNLY2

Environment
===========
I am running OpenStack mitaka on Ubuntu 16.04 in the latest version with Libvirt + KVM as hypervisor (also latest stable in xenial). I am using default

Config
======

nova.conf:

...
[libvirt]
images_type = raw
rbd_secret_uuid = XXX
virt_type = kvm
inject_key = true
snapshot_image_format = raw
disk_cachemodes = "network=writeback"
rng_dev_path = /dev/random
rbd_user = cinder
...