ephemeral/swap disk creation fails for local storage with image type raw/lvm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Dr. Jens Harbott | ||
Mitaka |
Fix Released
|
High
|
Matt Riedemann | ||
Ubuntu Cloud Archive |
Fix Released
|
High
|
Unassigned | ||
Liberty |
Fix Released
|
High
|
Jorge Niedbalski | ||
Mitaka |
Fix Released
|
High
|
Unassigned | ||
Newton |
Fix Released
|
High
|
Unassigned | ||
nova (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Xenial |
Fix Released
|
High
|
Unassigned |
Bug Description
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/
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/
Actual result
=============
Instance does not start, ephemeral disk seems to be created at /var/lib/
TRACE: http://
Environment
===========
I am running OpenStack mitaka on Ubuntu 16.04 in the latest version with Libvirt + KVM as hypervisor (also latest stable in xenial).
Config
======
nova.conf:
...
[libvirt]
images_type = raw
rbd_secret_uuid = XXX
virt_type = kvm
inject_key = true
snapshot_
disk_cachemodes = "network=writeback"
rng_dev_path = /dev/random
rbd_user = cinder
...
Related branches
- James Page: Pending requested
- Ubuntu Server Developers: Pending requested
-
Diff: 145 lines (+123/-0)3 files modifieddebian/changelog (+7/-0)
debian/patches/fix-resizing-imagebackend-cache.patch (+115/-0)
debian/patches/series (+1/-0)
description: | updated |
Changed in nova: | |
status: | New → Confirmed |
summary: |
- ephemeral disk not available in checked path + ephemeral disk creation fails for local storage with image type raw |
Changed in nova: | |
assignee: | nobody → Dr. Jens Rosenboom (j-rosenboom-j) |
status: | Confirmed → In Progress |
tags: | added: sts |
Changed in nova: | |
importance: | Undecided → High |
tags: | added: newton-rc-potential |
Changed in nova: | |
assignee: | Dr. Jens Rosenboom (j-rosenboom-j) → nobody |
status: | In Progress → Confirmed |
Changed in nova (Ubuntu): | |
importance: | Undecided → High |
Changed in nova: | |
status: | Confirmed → In Progress |
assignee: | nobody → Dr. Jens Rosenboom (j-rosenboom-j) |
Changed in nova (Ubuntu): | |
status: | Triaged → Fix Released |
Changed in nova (Ubuntu Xenial): | |
importance: | Undecided → High |
i think this patch might be related since it also targets the issue of the naming of ephemerals (disk.local vs disk.ephX) https:/ /review. openstack. org/#/c/ 320759/