Fix check_service_vips_migrated_to_service()
This existing check would always fail for updates and upgrades as the existing stack would always have the mapping. Change-Id: Ia284efa3294463a1899cde659a21c99d03792b04
This commit is contained in:
parent
7adcd64952
commit
835c7fc275
@ -1177,7 +1177,8 @@ def check_service_vips_migrated_to_service(stack, environment):
|
||||
"'ServiceNetMap' and/or 'VipSubnetMap' parameters with the desired "
|
||||
"network and/or subnet for the service.")
|
||||
for resource in removed_resources:
|
||||
if resource in registry or resource in stack_registry:
|
||||
if ((resource in registry or resource in stack_registry) and
|
||||
registry.get(resource) != 'OS::Heat::None'):
|
||||
raise exceptions.InvalidConfiguration(msg)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user