SignalResponder delete fails if the created user
has already been deleted.
This change catches the 404 as for the User resource.
Change-Id: I55034469d10f2742296f0415fe26272d3683530d
Closes-bug: #
1211633
from keystoneclient.contrib.ec2 import utils as ec2_utils
from heat.common import exception
+from heat.engine import clients
from heat.engine import resource
from heat.openstack.common import log
def handle_delete(self):
if self.resource_id is None:
return
- self.keystone().delete_stack_user(self.resource_id)
+ try:
+ self.keystone().delete_stack_user(self.resource_id)
+ except clients.hkc.kc.exceptions.NotFound:
+ pass
def _get_signed_url(self, signal_type=SIGNAL):
"""Create properly formatted and pre-signed URL.