Description of problem: ======================= Adding interface to a router cause Unexpected error Adding interface to a router cause Unexpected error FATAL -- : Error caught: [NoMethodError] undefined method `cloud_subnets' for nil:NilClass Version-Release number of selected component: ============================================= RHOS13 CFME 5.9.2.4 How reproducible: ================= 100% Steps to Reproduce: =================== 1. Deploy RHOS 10 SSL HA (Undercloud, 3*Controller, 2*Compute) 2. Add Undercloud as Infrastructure Provider 3. Add Ovrercloud as Cloud Provider 4. Create a External Network and Subnet 5. Create a private Network and Subnet 6. Create a Router with External Gateway using the network you have created on step 4 7. Select the router you have created on step 6 click Configuration --> 'Add Interface to this Router' Actual results: =============== Unexpected error encountered FATAL -- : Error caught: [NoMethodError] undefined method `cloud_subnets' for nil:NilClass /opt/rh/cfme-gemset/bundler/gems/cfme-ui-classic-cbe46a84e127/app/controllers/network_router_controller.rb:261:in `add_interface_select' Expected results: ================= Interface add successfully Additional info: =============== Screenshot and log are enclosed
Created attachment 1436185 [details] screenshot_unexpected
Created attachment 1436190 [details] production log
Created attachment 1436191 [details] evm log
Sorry for typo on Steps to Reproduce, step 1 should be --> Deploy RHOS 13
Ido, does the router you used when discovering this bug have a network manager associated with it? This only seems to reproduce on routers that don't have a network manager due to a refresh bug that was fixed by https://github.com/ManageIQ/manageiq-providers-openstack/pull/290 (not yet backported to 5.9)
(In reply to Sam Lucidi from comment #5) > Ido, does the router you used when discovering this bug have a network > manager associated with it? This only seems to reproduce on routers that > don't have a network manager due to a refresh bug that was fixed by > https://github.com/ManageIQ/manageiq-providers-openstack/pull/290 (not yet > backported to 5.9) Correct. Routers don't have a network manager
Fixed by https://github.com/ManageIQ/manageiq-providers-openstack/pull/290 in the sense that Routers won't appear without network managers, which is how the scenario described in this bug is possible.
Verified on 5.10.0.2