Comment 2 for bug 873686

Revision history for this message
Bavirisetty Ramya (bavirisetty-ramya) wrote :

 def lease_fixed_ip(self, context, address):
        """Called by dhcp-bridge when ip is leased."""
        LOG.debug(_('Leased IP |%(address)s|'), locals(), context=context)
        fixed_ip = self.db.fixed_ip_get_by_address(context, address)
        if fixed_ip['instance_id'] is None:
            raise exception.Error(_('IP %s leased that is not associated') %
                                      address)
.
.
.
I see that this was the exception raised. Can you be more specific regarding this exception to be changed to InstanceNotFoundException.