From 9ff2a361060f39fb896ca4f781d1320599f655e8 Mon Sep 17 00:00:00 2001 From: Silvan Kaiser Date: Fri, 13 Apr 2018 14:43:25 +0200 Subject: [PATCH] Updated patch paths and instructions. --- full_quobyte_patch/Ocata/full_quobyte_ocata_nova.patch | 8 ++++---- full_quobyte_patch/README.md | 6 +++++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/full_quobyte_patch/Ocata/full_quobyte_ocata_nova.patch b/full_quobyte_patch/Ocata/full_quobyte_ocata_nova.patch index 75f27b9..150516d 100644 --- a/full_quobyte_patch/Ocata/full_quobyte_ocata_nova.patch +++ b/full_quobyte_patch/Ocata/full_quobyte_ocata_nova.patch @@ -1,7 +1,7 @@ diff --git a/nova/virt/libvirt/imagebackend.py b/nova/virt/libvirt/imagebackend.py index 0f66888..8f42110 100644 ---- a/nova/virt/libvirt/imagebackend.py -+++ b/nova/virt/libvirt/imagebackend.py +--- a/virt/libvirt/imagebackend.py ++++ b/virt/libvirt/imagebackend.py @@ -247,9 +247,11 @@ class Image(object): if os.path.exists(base) and size > self.get_disk_size(base): self.resize_image(size) @@ -19,8 +19,8 @@ index 0f66888..8f42110 100644 """Check once per class, whether fallocate(1) is available, diff --git a/nova/virt/libvirt/volume/quobyte.py b/nova/virt/libvirt/volume/quobyte.py index 284a084..1d41f6f 100644 ---- a/nova/virt/libvirt/volume/quobyte.py -+++ b/nova/virt/libvirt/volume/quobyte.py +--- a/virt/libvirt/volume/quobyte.py ++++ b/virt/libvirt/volume/quobyte.py @@ -19,6 +19,7 @@ import os from oslo_concurrency import processutils from oslo_log import log as logging diff --git a/full_quobyte_patch/README.md b/full_quobyte_patch/README.md index d4bb736..d464b6b 100644 --- a/full_quobyte_patch/README.md +++ b/full_quobyte_patch/README.md @@ -41,10 +41,14 @@ For __example__, to patch a cinder installation based on a stripped package run: #### Usage for the full source tree driver patches -These patches can be applied by navigating to the respective project source root directory and running: +These patches can be applied by navigating to the respective project source root directory and running for Cinder: patch -p0 < /path/to/patchfile +And for Nova: + + patch -p1 < /path/to/patchfile + ### Changelog #### 0.2 (2018-04-13)