Default fuelweb_admin doesn't belong to any node group, so we can't use
the same SQL query to this network. So let's fallback to default admin
network in case there's no admin network in conroller's node group.
Closes-Bug: #1484181
Change-Id: I93034d9555b0851cf9c3d525cd7118de5a089dc3
Signed-off-by: Igor Kalnitsky <email address hidden>
Reviewed: https:/ /review. openstack. org/232555 /git.openstack. org/cgit/ stackforge/ fuel-web/ commit/ ?id=caf5d0e4541 7a6f4206921178a 8947664438fc2b
Committed: https:/
Submitter: Jenkins
Branch: stable/7.0
commit caf5d0e45417a6f 4206921178a8947 664438fc2b
Author: Igor Kalnitsky <email address hidden>
Date: Wed Sep 23 15:06:04 2015 +0300
Fix assign_vip for default admin network case
Default fuelweb_admin doesn't belong to any node group, so we can't use
the same SQL query to this network. So let's fallback to default admin
network in case there's no admin network in conroller's node group.
Closes-Bug: #1484181
Change-Id: I93034d9555b085 1cf9c3d525cd711 8de5a089dc3
Signed-off-by: Igor Kalnitsky <email address hidden>