Skip to content

Commit

Permalink
Updated patch paths and instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
casusbelli committed Apr 13, 2018
1 parent 98ad972 commit 9ff2a36
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
8 changes: 4 additions & 4 deletions full_quobyte_patch/Ocata/full_quobyte_ocata_nova.patch
Original file line number Diff line number Diff line change
@@ -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)
Expand All @@ -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
Expand Down
6 changes: 5 additions & 1 deletion full_quobyte_patch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9ff2a36

Please sign in to comment.