[qa][patrole] get_tenant_network found None

Ghanshyam Mann gmann at ghanshyammann.com
Thu Apr 4 16:03:48 UTC 2019


---- On Thu, 04 Apr 2019 09:46:27 -0500 Ghanshyam Mann <gmann at ghanshyammann.com> wrote ----
 > ---- On Thu, 04 Apr 2019 08:57:06 -0500 Sergey Vilgelm <sergey at vilgelm.info> wrote ---- 
 >  >  Hello,  
 >  >  There is an issue with get_tenant_network function in the Patrole tests. Zuul failed on patch set [0] due to 'Multiple possible networks found, use a Network ID to be more specific’[1]. Tempest logs[2] contain an message: '(ServerActionsRbacTest:setUpClass) Found network None available for tenant’.  
 >  
 > Ok, that is because of creating the shared network in devstack which merged recently. I will push the fix. 

This should fix the issue. patrole was not creating the network for used credential which is what Tempest use for
creating the server.

- https://review.openstack.org/#/c/650059/

-gmann

 >  
 > -gmann 
 >  
 >  >  Who knows why this can happen? I have an idea, that this could happen in case of a parallel test running and one test rewrote the roles and another test didn’t find a tenant's network at same time because of the wrong roles.  
 >  >   
 >  >  [0] https://review.openstack.org/#/c/648255/ [1] http://logs.openstack.org/55/648255/1/check/patrole-admin/63b6639/testr_results.html.gz [2] http://logs.openstack.org/55/648255/1/check/patrole-admin/63b6639/controller/logs/tempest_log.txt.gz  
 >  >    
 >  >   -- Sergey Vilgelm  https://www.vilgelm.info   
 >  > 
 >




More information about the openstack-discuss mailing list