Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove backward compatibility with pre-grizzly releases
Method get_instance_path libvirt/utils.py contained code that keeps compatibility with pre-grizzly releases, where instance-path was instance.name. This patch removes extra param from that method, and code, that was used for pre-grizzly. Change-Id: I50f3003f82f50a4b8d61b2c558093ec849ba86e1
- Loading branch information
1 parent
7cf8ab7
commit 5ce0dbd
Showing
6 changed files
with
20 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
upgrade: | ||
- Prior to Grizzly release default instance directory names were based on | ||
instance.id field, for example directory for instance could be named | ||
``instance-00000008``. In Grizzly this mechanism was changed, | ||
instance.uuid is used as an instance directory name, e.g. path to instance: | ||
``/opt/stack/data/nova/instances/34198248-5541-4d52-a0b4-a6635a7802dd/``. | ||
In Newton backward compatibility is dropped. For instances that haven't | ||
been restarted since Folsom and earlier maintanance should be scheduled | ||
before upgrade(stop, rename directory to instance.uuid, then start) so Nova | ||
will start using new paths for instances. |