Intially nova net-delete <Network ID> was raising an
"InternalServerError" in case the requested network to
delete was associated to any project.This error category
“InternalServerError” is appropriate but the error
message description is not informative enough.
Now, when the command is not able to delete the requested
network because it is associated with a project, a message
stating “network must be disassociated from project
<project-id> before delete” will be raised. Updated the
code to raise the new error message.
Closes-Bug: #1301373
Reviewed: https:/ /review. openstack. org/122741 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=911bae54032 336bfcab591dd13 aa250073a2bdf1
Committed: https:/
Submitter: Jenkins
Branch: master
commit 911bae54032336b fcab591dd13aa25 0073a2bdf1
Author: Abhishek Talwar <email address hidden>
Date: Mon Feb 2 15:57:34 2015 +0530
nova net-delete network is not informative enough
Intially nova net-delete <Network ID> was raising an rverError" in case the requested network to rverError” is appropriate but the error
"InternalSe
delete was associated to any project.This error category
“InternalSe
message description is not informative enough.
Now, when the command is not able to delete the requested
network because it is associated with a project, a message
stating “network must be disassociated from project
<project-id> before delete” will be raised. Updated the
code to raise the new error message.
Closes-Bug: #1301373
Change-Id: I82a6f8783ffce7 0934409177993de 477b1d25da1