Ask Your Question

Revision history [back]

Instead of passing Label use ID to remove network. below is the small example. stack@openstack:~/devstack$ nova net-delete demo-net ERROR (NotFound): Network not found (HTTP 404) (Request-ID: req-2b525b09-4e08-4ef2-ac03-7d5912ad20eb) stack@openstack:~/devstack$ nova net-delete 1eddde16-8c58-4c6f-a9e3-5d2bba605a4e stack@openstack:~/devstack$ nova net-list +--------------------------------------+---------+-------------+ | ID | Label | CIDR | +--------------------------------------+---------+-------------+ | 3b70964d-1d12-40bb-86ce-835f283ace8b | private | 10.0.0.0/24 | +--------------------------------------+---------+-------------+

Instead While deleting network use ID instead of passing Label use ID Label to remove network. below is the small example. stack@openstack:~/devstack$ nova net-delete demo-net ERROR (NotFound): Network not found (HTTP 404) (Request-ID: req-2b525b09-4e08-4ef2-ac03-7d5912ad20eb) stack@openstack:~/devstack$ nova net-delete 1eddde16-8c58-4c6f-a9e3-5d2bba605a4e stack@openstack:~/devstack$ nova net-list +--------------------------------------+---------+-------------+ | ID | Label | CIDR | +--------------------------------------+---------+-------------+ | 3b70964d-1d12-40bb-86ce-835f283ace8b | private | 10.0.0.0/24 | +--------------------------------------+---------+-------------+

While deleting network use ID instead of Label to remove network. below is the small example. stack@openstack:~/devstack$ nova net-delete demo-net demo-net ERROR (NotFound): Network not found (HTTP 404) (Request-ID: req-2b525b09-4e08-4ef2-ac03-7d5912ad20eb) stack@openstack:~/devstack$ nova net-delete 1eddde16-8c58-4c6f-a9e3-5d2bba605a4e 1eddde16-8c58-4c6f-a9e3-5d2bba605a4e stack@openstack:~/devstack$ nova net-list +--------------------------------------+---------+-------------+ | ID | Label | CIDR | +--------------------------------------+---------+-------------+ | 3b70964d-1d12-40bb-86ce-835f283ace8b | private | 10.0.0.0/24 | +--------------------------------------+---------+-------------+

While deleting network use ID instead of Label to remove network. below is the small example. stack@openstack:~/devstack$ nova net-delete demo-net ERROR (NotFound): Network not found (HTTP 404) (Request-ID: req-2b525b09-4e08-4ef2-ac03-7d5912ad20eb) stack@openstack:~/devstack$ nova net-delete 1eddde16-8c58-4c6f-a9e3-5d2bba605a4e and check the stack@openstack:~/devstack$ nova net-list +--------------------------------------+---------+-------------+ | ID | Label | CIDR | +--------------------------------------+---------+-------------+ | 3b70964d-1d12-40bb-86ce-835f283ace8b | private | 10.0.0.0/24 | +--------------------------------------+---------+-------------+net-list