mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-26 16:15:50 +03:00
[PR #202] [MERGED] for rbd devices, evaluate name field for graceful error message #593
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/retspen/webvirtmgr/pull/202
Author: @EmbeddedAndroid
Created: 1/26/2014
Status: ✅ Merged
Merged: 1/26/2014
Merged by: @retspen
Base:
master← Head:master📝 Commits (1)
01410e3for rbd devices, evaluate name field for graceful error message📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
vrtManager/instance.py(+1 -1)📄 Description
When using rbd devices such as:
Viewing the instance configuration causes a 500, as disk.xpathEval('source/@file|source/@dev')[0] throws an index error as one might expect. If we use the name field to lookup the storage volume, the instance view is displayed, however a graceful error is displayed:
https://drive.google.com/file/d/0B9DbsE2BbZ7uQzlrSEZBbG1UUnM/edit?usp=sharing
Signed-off-by: Tyler Baker tyler.baker@linaro.org
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.