Bug 957495
| Summary: | nova client "network-delete/modify" command is missing | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Ofer Blaut <oblaut> |
| Component: | python-novaclient | Assignee: | Jakub Ruzicka <jruzicka> |
| Status: | CLOSED ERRATA | QA Contact: | Ofer Blaut <oblaut> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.1 | CC: | ajeain, dallan, jruzicka, ndipanov, ykaul |
| Target Milestone: | snapshot1 | ||
| Target Release: | 3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-novaclient-2.13.0-1.el6ost | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-05-29 15:12:02 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Ofer Blaut
2013-04-28 14:02:42 UTC
I belive this functionality was added by https://review.openstack.org/18986 included in 2.11.0. This patch provides following commands: net Show a network net-create Create a network net-delete Delete a network net-list List networks Although modify command is not provided, network has only 2 arguments (label and CIDR) so re-creation should be easy enough. from Yair Fried test: summary: 1. nova create" works 2. nova delete" works rpm -qa | grep nova openstack-nova-common-2013.1.1-2.el6ost.noarch openstack-nova-cert-2013.1.1-2.el6ost.noarch openstack-nova-novncproxy-0.4-4.el6ost.noarch python-novaclient-2.13.0-1.el6ost.noarch python-nova-2013.1.1-2.el6ost.noarch openstack-nova-api-2013.1.1-2.el6ost.noarch openstack-nova-scheduler-2013.1.1-2.el6ost.noarch openstack-nova-compute-2013.1.1-2.el6ost.noarch openstack-nova-network-2013.1.1-2.el6ost.noarch openstack-nova-conductor-2013.1.1-2.el6ost.noarch openstack-nova-console-2013.1.1-2.el6ost.noarch # nova --version 2.13.0 # nova net-create novanetwork 192.168.32.0/22 +----------+--------------------------------------+ | Property | Value | +----------+--------------------------------------+ | cidr | 192.168.32.0/24 | | id | 538877c6-e435-46a1-b1d9-5f1e650bec85 | | label | novanetwork | +----------+--------------------------------------+ # nova net-list +--------------------------------------+-------------+-----------------+ | ID | Label | CIDR | +--------------------------------------+-------------+-----------------+ | 538877c6-e435-46a1-b1d9-5f1e650bec85 | novanetwork | 192.168.32.0/24 | +--------------------------------------+-------------+-----------------+ # nova net 538877c6-e435-46a1-b1d9-5f1e650bec85 +----------+--------------------------------------+ | Property | Value | +----------+--------------------------------------+ | cidr | 192.168.32.0/24 | | id | 538877c6-e435-46a1-b1d9-5f1e650bec85 | | label | novanetwork | +----------+--------------------------------------+ <before deleting VMs from network:> # nova net-delete 538877c6-e435-46a1-b1d9-5f1e650bec85 ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-f73498ac-d35f-4122-a239-043e6c4c5714) <after deleting VMs from network:> # nova net-delete 538877c6-e435-46a1-b1d9-5f1e650bec85 # <empty console> # nova net-list <empty console> # # nova-manage network list id IPv4 IPv6 start address DNS1 DNS2 VlanID project uuid No networks found Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-0878.html |