To delete the keypair preparing for update replacement
If the keypair resource is in *_FAILED, to update it will
enter UpdateReplacement, but maybe the keypair exists still
in nova, then we can't recreate the new one, so try to delete
the old one preparing for update replacement.
Reviewed: https:/ /review. openstack. org/338697 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=bc782538d6c 1966dcd86cc7808 1945d16f68b316
Committed: https:/
Submitter: Jenkins
Branch: master
commit bc782538d6c1966 dcd86cc78081945 d16f68b316
Author: huangtianhua <email address hidden>
Date: Thu Jul 7 13:36:38 2016 +0800
To delete the keypair preparing for update replacement
If the keypair resource is in *_FAILED, to update it will
enter UpdateReplacement, but maybe the keypair exists still
in nova, then we can't recreate the new one, so try to delete
the old one preparing for update replacement.
Change-Id: Ic5a4e1eb4625dc efe5accc484b2c8 db7fbb2940d
Closes-Bug: #1597602