Bug 1410629
| Summary: | [Fusor API] Can create deployment without selecting RHV or OpenStack | ||
|---|---|---|---|
| Product: | Red Hat Quickstart Cloud Installer | Reporter: | Landon LaSmith <llasmith> |
| Component: | fusor-server | Assignee: | John Matthews <jmatthew> |
| Status: | NEW --- | QA Contact: | Sudhir Mallamprabhakara <smallamp> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.1 | CC: | qci-bugzillas |
| Target Milestone: | --- | Keywords: | Automation, Triaged |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Description of problem: QCI allows creating a deployment without including RHV or OpenStack when creating a deployment. This is even allowed when CFME is selected. QCI Media Version: QCI-1.1-RHEL-7-20170104.t.0 How reproducible: 100% Steps to Reproduce: 1. Install QCI from ISO 2. Using the fusor api create a deployment curl -k -X POST -u <user>:<pass> https://<fusor ip>/fusor/api/v21/deployments -H "Content-Type: application/json" -d '{"deployment": { "deploy_openshift": false, "organization_id": "1", "deploy_cfme": True, "deploy_openstack": false, "name": "no-product", "enable_access_insights": false, "deploy_rhev": false, "lifecycle_environment_id": null, "description": null}}' Actual results: Returns HTTP 200 OK with deployment json Expected results: At the very least it should fail since I didn't specify RHV or OSP but chose to deploy a product (CFME) that requires RHV or OSP