Detailed bug description:
Sahara clusters (not in Error state) can't be deleted if keypair is removed previously. Not sure if this is an expected behavioiur. However, a --force option to remove clusters anyhow from DB would be a nice to have feature.
Steps to reproduce:
1. Create an temporary account and a key pair
2. Create a sahara cluster with those
3. Delete the temporary account and key pair
4. Delete the cluster by admin account
Expected results:
Cluster is deleted
Actual result:
Cluster is not deleted
Reproducibility:
Reproducible on 7.0
Workaround:
Delete cluster from DB with manual steps
Impact:
Low. Inability to delete clusters.
Description of the environment:
- Operating system: Ubuntu 14.04
- Versions of components: MOS 7.0
- Reference architecture: HA
- Network model: Neutron VxLAN DVR, but irrelevant here
- Related projects installed: Sahara
Additional information:
None.
Can you attach the logs of sahara-engine and sahara-api? It will useful to see what is going on.