fix relation check, remove varying unit data check

This commit is contained in:
Ryan Beisner 2015-10-16 16:36:52 +00:00
parent 6a773aa664
commit 4b8d5d5206

View File

@ -432,13 +432,6 @@ class NeutronGatewayBasicDeployment(OpenStackAmuletDeployment):
'password': u.not_null
}
if self._get_openstack_release() == self.precise_icehouse:
# Precise
expected['allowed_units'] = 'nova-cloud-controller/0 neutron-api/0'
else:
# Not Precise
expected['allowed_units'] = 'neutron-api/0'
ret = u.validate_relation_data(unit, relation, expected)
if ret:
message = u.relation_error('mysql shared-db', ret)