Bug 1768520
Summary: | [v2v] Ordering a migration plan, that contains MIGRATED VM/s, fails with an unclear error message. | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Satoe Imaishi <simaishi> |
Component: | V2V | Assignee: | Fabien Dupont <fdupont> |
Status: | CLOSED ERRATA | QA Contact: | Md Nadeem <mnadeem> |
Severity: | medium | Docs Contact: | Red Hat CloudForms Documentation <cloudforms-docs> |
Priority: | medium | ||
Version: | unspecified | CC: | apinnick, bthurber, mshriver |
Target Milestone: | GA | Keywords: | ZStream |
Target Release: | 5.11.1 | Flags: | simaishi:
cfme-5.11.z+
|
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 5.11.1.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1744197 | Environment: | |
Last Closed: | 2019-12-13 00:35:56 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | V2V | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1744197 | ||
Bug Blocks: |
Comment 2
CFME Bot
2019-11-04 18:00:42 UTC
New commit detected on ManageIQ/manageiq-api/ivanchuk: https://github.com/ManageIQ/manageiq-api/commit/f852e171afddb2f52d772126e958fa24c27c519b commit f852e171afddb2f52d772126e958fa24c27c519b Author: Alberto Bellotti <abellotti.github.com> AuthorDate: Wed Sep 11 08:48:40 2019 -0400 Commit: Alberto Bellotti <abellotti.github.com> CommitDate: Wed Sep 11 08:48:40 2019 -0400 Merge pull request #656 from fdupont-redhat/v2v_allow_error_messages_in_service_template_orderable Expose error messages from ServiceTemplate.orderable? (cherry picked from commit 2aa1e4cfd2a4c12fc81a76533aba95b5b1050149) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1768520 app/controllers/api/mixins/service_templates.rb | 8 +- spec/requests/service_templates_spec.rb | 9 +- 2 files changed, 8 insertions(+), 9 deletions(-) verified in 5.11.1.1
on this current CFME-5.11.1 version, it is no longer possible to re-order a successful plan from UI, that was migrated.
Therefore we verify it via api.
1. Get plan id
>> https://<cfme fqdn>/api/service_templates/?filter[]=name=<migration_plan_name> &expand=resources
2. Send Post request
https://<cfme fqdn>/api/service_templates/<plan-id>
with Body:
{
"action": "order"
}
3. I got below respond
~~~~~~~~~~~~~~~~~~~
{
"error": {
"kind": "bad_request",
"message": "Service Template id:1 name:'plan_eB3XG' cannot be ordered - All VMs of the migration plan have already been successfully migrated",
"klass": "Api::BadRequestError"
}
}
~~~~~~~~~~~~~~~~~~~~~~~
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:4201 |