Bug 1391709

Summary: Cloud instance does not have relation to service
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvisioningAssignee: Bill Wei <bilwei>
Status: CLOSED CURRENTRELEASE QA Contact: Shveta <sshveta>
Severity: medium Docs Contact:
Priority: high    
Version: 5.6.0CC: cpelland, gmccullo, jhardy, obarenbo
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: cloud:service
Fixed In Version: 5.7.0.10 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1387342 Environment:
Last Closed: 2017-01-11 20:28:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1387342    
Bug Blocks:    

Comment 2 CFME Bot 2016-11-04 18:41:24 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/e2934b1a1964544a9e7f2a3f374a4c0d151d9a3d

commit e2934b1a1964544a9e7f2a3f374a4c0d151d9a3d
Author:     Greg McCullough <gmccullo>
AuthorDate: Wed Nov 2 09:16:12 2016 -0400
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Fri Nov 4 14:40:17 2016 -0400

    Merge pull request #12319 from bzwei/vm_service
    
    Link an instance to the service through the containing orchestration stack
    (cherry picked from commit d911435a0a5618c0def426846acba020bfcf58bc)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1391709

 app/helpers/vm_helper/textual_summary.rb           |  2 +-
 app/models/manageiq/providers/cloud_manager/vm.rb  |  8 ++++
 app/models/orchestration_stack.rb                  |  4 +-
 .../cloud_manager/orchestration_stack_spec.rb      | 43 +++++++++++++++-------
 .../manageiq/providers/cloud_manager/vm_spec.rb    | 28 ++++++++++++++
 5 files changed, 69 insertions(+), 16 deletions(-)

Comment 3 Shveta 2016-11-12 14:51:31 UTC
Cloud Instance now shows service name.
Verified in 5.7.0.10-beta3.20161109111947_9a61b18