Bug 1362627

Summary: [RFE] Allow reporting relationship between OpenShift pods and the image they run
Product: Red Hat CloudForms Management Engine Reporter: John Prause <jprause>
Component: ReportingAssignee: zakiva
Status: CLOSED ERRATA QA Contact: Einat Pacifici <epacific>
Severity: medium Docs Contact:
Priority: high    
Version: 5.6.0CC: azellner, cpelland, dajohnso, fsimonce, jhardy, jjozwiak, obarenbo, simaishi
Target Milestone: GAKeywords: FutureFeature, ZStream
Target Release: 5.6.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: container
Fixed In Version: 5.6.2.0 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1357515 Environment:
Last Closed: 2016-10-04 14:29:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Container Management Target Upstream Version:
Embargoed:
Bug Depends On: 1357515    
Bug Blocks:    

Comment 2 Ari Zellner 2016-09-08 14:29:22 UTC
https://github.com/ManageIQ/manageiq/pull/10262

Comment 3 CFME Bot 2016-09-08 19:06:07 UTC
New commit detected on ManageIQ/manageiq/darga:
https://github.com/ManageIQ/manageiq/commit/306a8e75ddb17f1f84d0cef6f59d9f4d486df06b

commit 306a8e75ddb17f1f84d0cef6f59d9f4d486df06b
Author:     Oleg Barenboim <chessbyte>
AuthorDate: Sat Aug 20 08:58:29 2016 -0400
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Thu Sep 8 15:04:22 2016 -0400

    Merge pull request #10191 from zeari/project_relats
    
    Add relationship between container project\pod\node and container images
    (cherry picked from commit 929f817ba414957749352b596e7fb3c66886e241)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1362627

 .../container_group_helper/textual_summary.rb       |  2 +-
 .../container_node_helper/textual_summary.rb        |  2 +-
 .../container_project_helper/textual_summary.rb     |  2 +-
 app/models/container_definition.rb                  |  1 +
 app/models/container_group.rb                       |  1 +
 app/models/container_node.rb                        |  1 +
 app/models/container_project.rb                     |  7 +++++++
 app/views/container_group/show.html.haml            |  2 +-
 app/views/container_node/show.html.haml             |  3 +--
 app/views/container_project/show.html.haml          |  2 +-
 .../layouts/listnav/_container_group.html.haml      |  1 +
 app/views/layouts/listnav/_container_node.html.haml |  2 +-
 .../layouts/listnav/_container_project.html.haml    |  2 +-
 product/views/ContainerProject.yaml                 |  3 +++
 .../container_manager/container_group_spec.rb       | 14 ++++++++++++++
 .../container_manager/container_node_spec.rb        | 20 ++++++++++++++++++++
 .../container_manager/container_project_spec.rb     | 21 +++++++++++++++++++++
 17 files changed, 77 insertions(+), 9 deletions(-)
 create mode 100644 spec/models/manageiq/providers/kubernetes/container_manager/container_group_spec.rb

Comment 4 CFME Bot 2016-09-08 19:51:04 UTC
New commit detected on ManageIQ/manageiq/darga:
https://github.com/ManageIQ/manageiq/commit/7259a93b63b0d121daaa8ecda6a07f6e43542232

commit 7259a93b63b0d121daaa8ecda6a07f6e43542232
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Thu Sep 8 09:32:36 2016 -0400
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Thu Sep 8 15:49:49 2016 -0400

    Merge pull request #10262 from zeari/container_reports
    
    Added reports: Pod counts For Container Images by Project and Number of Pods per Node
    (cherry picked from commit 4a9a81e02167be2a32f8fc2c8777d82eb617863d)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1362627

 app/models/miq_expression.rb                       |  2 +
 ...Pod counts For Container Images by Project.yaml | 63 +++++++++++++++++++++
 .../110_Number of Images per Node.yaml             | 64 ++++++++++++++++++++++
 3 files changed, 129 insertions(+)
 create mode 100644 product/reports/170_Configuration Management - Containers/100_Pod counts For Container Images by Project.yaml
 create mode 100644 product/reports/170_Configuration Management - Containers/110_Number of Images per Node.yaml

Comment 5 Einat Pacifici 2016-09-24 14:15:00 UTC
Verified. In 5.6.2. Reports - there is a new option for Reports: Pod Counts for Container Images by Project"

Comment 6 Einat Pacifici 2016-09-29 08:36:31 UTC
Verified: 2 new reports created: 
Pod counts For Container Images by Project
Number of Images per Node

Comment 8 errata-xmlrpc 2016-10-04 14:29:33 UTC
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://rhn.redhat.com/errata/RHSA-2016-1996.html