Comment 12 for bug 1301373

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/122741
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=911bae54032336bfcab591dd13aa250073a2bdf1
Submitter: Jenkins
Branch: master

commit 911bae54032336bfcab591dd13aa250073a2bdf1
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
    "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

    Change-Id: I82a6f8783ffce70934409177993de477b1d25da1