[ovirt-users] removing neutron networks

Moti Asayag masayag at redhat.com
Wed Apr 29 19:48:27 UTC 2015



----- Original Message -----
> From: "Jorick Astrego" <j.astrego at netbulae.eu>
> To: users at ovirt.org
> Sent: Wednesday, April 29, 2015 6:32:29 PM
> Subject: [ovirt-users] removing neutron networks
> 
> Hi,
> 
> After my update to 3.5.2 final, I started messing about with the Neutron
> integration again.
> 
> I created and removed several networks but the list keeps adding each new
> network when I use import, the old ones still remain.
> 
> 
> 
> 
> 2015-04-29 17:28:21,293 INFO
> [org.ovirt.engine.core.bll.network.dc.RemoveNetworkCommand]
> (org.ovirt.thread.pool-8-thread-45) [58f7886b] Running command:
> RemoveNetworkCommand internal: false. Entities affected : ID:
> 4526582c-eef6-4562-97ad-facdf4590356 Type: NetworkAction group
> CONFIGURE_STORAGE_POOL_NETWORK with role type ADMIN
> 2015-04-29 17:28:21,545 ERROR
> [org.ovirt.engine.core.bll.network.dc.RemoveNetworkCommand]
> (org.ovirt.thread.pool-8-thread-45) [58f7886b] Command
> org.ovirt.engine.core.bll.network.dc.RemoveNetworkCommand throw Vdc Bll
> exception. With error message VdcBLLException: (Failed with error
> PROVIDER_FAILURE and code 5050)
> 2015-04-29 17:28:21,548 INFO
> [org.ovirt.engine.core.bll.network.dc.RemoveNetworkCommand]
> (org.ovirt.thread.pool-8-thread-45) [58f7886b] Command
> [id=163db1a8-d281-43e7-8bc1-a5229ffe4555]: Compensating
> DELETED_OR_UPDATED_ENTITY of
> org.ovirt.engine.core.common.businessentities.network.Network; snapshot:
> id=4526582c-eef6-4562-97ad-facdf4590356.
> 2015-04-29 17:28:21,598 ERROR
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (org.ovirt.thread.pool-8-thread-45) [58f7886b] Correlation ID: 58f7886b,
> Call Stack: null, Custom Event ID: -1, Message: Failed to remove Network
> EN_uplink from Data Center: Netbulae
> 
> And in neutron server.log:
> 
> 
> 
> 2015-04-29 19:28:23.347 1027 INFO neutron.api.v2.resource
> [req-44768a7f-7443-4da7-b162-c91b3f8d78d3 None] delete failed (client
> error): Network 36a7a012-d94c-4a0f-b369-47d1d04f5942 could not be found
> 
> When I check in Neutron, there are only two listed.
> 
> 
> neutron net-list
> +--------------------------------------+---------+-------------------------------------------------------+
> | id | name | subnets |
> +--------------------------------------+---------+-------------------------------------------------------+
> | 66ef5f7f-b0d1-4ef9-8b5e-d7a7aa315d58 | public |
> | 37ea25da-68a1-478b-ab30-8cf6ad104ccb ***.***.***.**/26 |
> | 5e90abfb-19c1-4b09-b387-8f2b815cad30 | private |
> | 60f29e92-5461-4eba-a375-4016bc4c6f39 172.17.0.0/24 |
> +--------------------------------------+---------+-------------------------------------------------------+
> 
> 
> So it appears oVirt doesn't handle things correctly when I remove the
> networks from neutron directly.
> 

If you've removed the network from neutron directly, you should uncheck the option in
the 'Remove network' dialog which says "Remove network(s) from the external provider(s) as well.".

In that case ovirt won't attempt to access the provider and remove the network from it.

> 
> 
> 
> Met vriendelijke groet, With kind regards,
> 
> Jorick Astrego
> 
> Netbulae Virtualization Experts
> 
> Tel: 053 20 30 270 	info at netbulae.eu 	Staalsteden 4-3A 	KvK 08198180
> 	Fax: 053 20 30 271 	www.netbulae.eu 	7547 TA Enschede 	BTW NL821234584B01
> 
> 
> 
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 



More information about the Users mailing list