-
Notifications
You must be signed in to change notification settings - Fork 386
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
"nova boot" should not log an error if subsidiary commands fail
Fix: Intially the cli was raising "CommadError" in case the requested flavor or image were not present. This error category was not approrpiate as it signifies an error in the command syntax. When the requested resource (flavour/image) does not exist, a ResourceNotFound error should be raised. So, added a new error category "ResourceNotFound" to cater for this scenario and updated the code to raise this new error. "nova show <instance_name>" command has also been updated to raise "ResourceNotFound" error when the requested vm for which details have to be displayed does not exist. Closes-Bug: #1258488 Change-Id: If64a087944586ef5792efe3baa62e455b9bbaa07
- Loading branch information
Showing
4 changed files
with
10 additions
and
5 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