Network must be disassociated from project

Asked by Maximiliano Caceres

I'm trying to delete a network within my openstack and I get the following message:

root@ubuntu10-10-64bits-1rev78:/var/lib/nova# nova-manage network delete 192.168.0.0/25
Command failed, please check log for more info

and in the /var/log/nova/nova-manage.log:

2011-04-26 20:04:53,638 CRITICAL nova [-] Network must be disassociated from project testing before delete
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "/usr/bin/nova-manage", line 1127, in <module>
(nova): TRACE: main()
(nova): TRACE: File "/usr/bin/nova-manage", line 1116, in main
(nova): TRACE: fn(*argv)
(nova): TRACE: File "/usr/bin/nova-manage", line 565, in delete
(nova): TRACE: ' before delete' % network.project_id))
(nova): TRACE: ValueError: Network must be disassociated from project testing before delete
(nova): TRACE:

what is the problem? How can I fix it?

I tried deleting the project, including users, but got no results

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Maximiliano Caceres
Solved:
Last query:
Last reply:
Revision history for this message
Vish Ishaya (vishvananda) said :
#1

You can disassociate with:
nova-manage project scrub testing

On Apr 26, 2011, at 12:09 PM, Maximiliano Caceres wrote:

> New question #154343 on OpenStack Compute (nova):
> https://answers.launchpad.net/nova/+question/154343
>
> I'm trying to delete a network within my openstack and I get the following message:
>
> root@ubuntu10-10-64bits-1rev78:/var/lib/nova# nova-manage network delete 192.168.0.0/25
> Command failed, please check log for more info
>
> and in the /var/log/nova/nova-manage.log:
>
> 2011-04-26 20:04:53,638 CRITICAL nova [-] Network must be disassociated from project testing before delete
> (nova): TRACE: Traceback (most recent call last):
> (nova): TRACE: File "/usr/bin/nova-manage", line 1127, in <module>
> (nova): TRACE: main()
> (nova): TRACE: File "/usr/bin/nova-manage", line 1116, in main
> (nova): TRACE: fn(*argv)
> (nova): TRACE: File "/usr/bin/nova-manage", line 565, in delete
> (nova): TRACE: ' before delete' % network.project_id))
> (nova): TRACE: ValueError: Network must be disassociated from project testing before delete
> (nova): TRACE:
>
> what is the problem? How can I fix it?
>
> I tried deleting the project, including users, but got no results
>
>
> --
> You received this question notification because you are a member of Nova
> Core, which is an answer contact for OpenStack Compute (nova).

Revision history for this message
Maximiliano Caceres (ussarg-maxkcr) said :
#2

Thanks
That solved the problem :)