"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.
Reviewed: https:/ /review. openstack. org/99915 /git.openstack. org/cgit/ openstack/ python- novaclient/ commit/ ?id=b78c0d4f469 a7e257962ede60c ff472bf118e3d4
Committed: https:/
Submitter: Jenkins
Branch: master
commit b78c0d4f469a7e2 57962ede60cff47 2bf118e3d4
Author: Jyotsna <email address hidden>
Date: Fri Jun 13 17:23:27 2014 +0530
"nova boot" should not log an error if subsidiary commands fail
Fix: tFound" error when the requested vm for which details
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
"ResourceNo
have to be displayed does not exist.
Closes-Bug: #1258488 f5792efe3baa62e 455b9bbaa07
Change-Id: If64a087944586e