| Summary: | need error message for image import with incorrect parms | ||
|---|---|---|---|
| Product: | [Retired] CloudForms Cloud Engine | Reporter: | Dave Johnson <dajohnso> |
| Component: | rubygem-aeolus-image | Assignee: | Maros Zatko <mzatko> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | wes hayutin <whayutin> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.0.0 | CC: | akarol, dajohnso, deltacloud-maint, dgao, jguiditt, morazi, mzatko, pblaho, slinaber, ssachdev |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Dave Johnson
2011-10-20 20:30:26 UTC
another troubling thing in this output is that we do not use qmf anymore, so there should never be a qmf error. tried to recreate, this is current output # aeolus-cli import --id cef85154-552e-4a2f-8f1a-a2f47d21ec0c --target rhevm ERROR: ParameterDataIncorrect => Failed. Response code = 400. Response message = Bad Request. Should be resolved by this set of commits:
commit ebd81ca158c705156fd609eacb95be1979cabc67
Author: Matt Wagner <matt.wagner>
Date: Thu Dec 22 17:57:04 2011 -0500
Import command does not support :target, and :description is optional
Also updates tests to match
commit 7e1bd27b83ea502715b6ac840ad5f1a68de3c2a8
Author: Petr Blaho <pblaho>
Date: Thu Dec 22 23:05:55 2011 +0100
Add tests for new methods in Aeolus::CLI::ImportCommand
Signed-off-by: Matt Wagner <matt.wagner>
commit e0173cdb9adcac8ac23b0700f2288964c63f6606
Author: Petr Blaho <pblaho>
Date: Thu Dec 22 23:05:54 2011 +0100
Correct typo and delete commented out code
Signed-off-by: Matt Wagner <matt.wagner>
commit 5b4740f58caaf4baaa5f16d183f3ae6e5e8b2167
Author: Petr Blaho <pblaho>
Date: Thu Dec 22 23:05:53 2011 +0100
Simple refactor of base_command_spec.rb
Signed-off-by: Matt Wagner <matt.wagner>
commit 78d61c6bf6ad951f0b5cbd92e6c31ba2b1a74d52
Author: Maros Zatko <mzatko>
Date: Thu Dec 22 23:05:52 2011 +0100
change :provider to :provider_account
Signed-off-by: Matt Wagner <matt.wagner>
commit 21f8b1d9fc6878b7b688a3fbf1d097ecd5921547
Author: Maros Zatko <mzatko>
Date: Thu Dec 22 23:05:51 2011 +0100
change :provider to :provider_account
Signed-off-by: Matt Wagner <matt.wagner>
commit 4999f317dd6044551eccaa764749d1400f82dfac
Author: Maros Zatko <mzatko>
Date: Thu Dec 22 23:05:50 2011 +0100
fix known error code condition
Signed-off-by: Matt Wagner <matt.wagner>
commit 604ea069fefb131f6b6498f2fd31d2735c9cb710
Author: Maros Zatko <mzatko>
Date: Thu Dec 22 23:05:49 2011 +0100
bz#747719: Relax NG schema for image description xml
Signed-off-by: Matt Wagner <matt.wagner>
commit 50c08854d87859be230069fdfa6a71d51924867d
Author: Maros Zatko <mzatko>
Date: Thu Dec 22 23:05:48 2011 +0100
bz#747719: error handling for import params validations
commit 87b325b1a35869088eb87b35901990dc4f861cc4
Author: Maros Zatko <mzatko>
Date: Thu Dec 22 23:05:47 2011 +0100
bz#747719: validation of import parameters
Signed-off-by: Matt Wagner <matt.wagner>
the commits listed in the previous comment are included in rubygem-aeolus-cli-0.3.0-2. Not sure if the component for this BZ needs to be changed to aeolus-cli, so I am leaving that alone. Error messaging looks much better aeolus-all-0.8.0-5.el6.noarch aeolus-conductor-0.8.0-5.el6.noarch aeolus-conductor-daemons-0.8.0-5.el6.noarch aeolus-conductor-doc-0.8.0-5.el6.noarch aeolus-configure-2.5.0-3.el6.noarch rubygem-aeolus-cli-0.3.0-3.el6.noarch rubygem-aeolus-image-0.3.0-2.el6.noarch |