Bug 1614059

Summary: [v2v] Ansible Pre-migration/Post-Migration logs cannot be downloaded
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: UI - OPSAssignee: Brett Thurber <bthurber>
Status: CLOSED CURRENTRELEASE QA Contact: Kedar Kulkarni <kkulkarn>
Severity: high Docs Contact:
Priority: high    
Version: 5.10.0CC: bthurber, fdupont, hkataria, jprause, lavenel, mpovolny, obarenbo, smallamp
Target Milestone: GAKeywords: ZStream
Target Release: 5.9.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: v2v
Fixed In Version: 5.9.4.5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1613019 Environment:
Last Closed: 2018-09-05 12:56:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1613019    
Bug Blocks:    

Comment 2 Kedar Kulkarni 2018-08-17 19:44:17 UTC
On 5.9.4.4 I could not download pre-migration logs. Still see:

URL https://x.x.x.x/api/orchestration_stacks/1?attributes=stdout
Status 404 Not Found

Comment 3 Kedar Kulkarni 2018-08-17 20:13:35 UTC
Also could not download Post-migration playbook logs .

Comment 4 Fabien Dupont 2018-08-20 15:00:01 UTC
I'm experiencing the same with a brand new 5.9.4.4 appliance.

`/api/orchestration_stacks` returns HTTP 404 on 5.9.4.4, even though it returns a JSON array with a ManageIQ developer setup. Probably a PR not backported, or a feature not enabled.

Comment 6 CFME Bot 2018-08-20 20:53:05 UTC
New commit detected on ManageIQ/manageiq-api/gaprindashvili:

https://github.com/ManageIQ/manageiq-api/commit/3046931294d0e0df000045b7756129379ef302fd
commit 3046931294d0e0df000045b7756129379ef302fd
Author:     Alberto Bellotti <abellotti.github.com>
AuthorDate: Wed Nov 22 10:17:06 2017 -0500
Commit:     Alberto Bellotti <abellotti.github.com>
CommitDate: Wed Nov 22 10:17:06 2017 -0500

    Merge pull request #196 from jntullo/enhancement/orchestration_stacks

    Add support for /api/orchestration_stacks

    (cherry picked from commit 9aeaebd44337d1d76a6a431cb9cd1df9597f7f3e)

    https://bugzilla.redhat.com/show_bug.cgi?id=1614059

 app/controllers/api/orchestration_stacks_controller.rb | 4 +
 config/api.yml | 22 +-
 spec/requests/collections_spec.rb | 10 +
 spec/requests/custom_actions_spec.rb | 27 +
 spec/requests/orchestration_stacks_spec.rb | 48 +
 5 files changed, 107 insertions(+), 4 deletions(-)

Comment 8 Kedar Kulkarni 2018-08-22 19:33:41 UTC
on 5.9.4.5 I was able to download Pre-migration and Post-migration playbook execution logs for migration.