Bug 1187778

Summary: Email notification - Katello promotion summary - Missing/Unclear information in notification email
Product: Red Hat Satellite Reporter: sthirugn <sthirugn>
Component: Content ManagementAssignee: Stephen Benjamin <stbenjam>
Status: CLOSED CURRENTRELEASE QA Contact: sthirugn <sthirugn>
Severity: high Docs Contact:
Priority: unspecified    
Version: NightlyCC: bbuckingham, sthirugn
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 14:00:27 UTC Type: Bug
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:    
Bug Blocks: 1130651, 1188301    
Attachments:
Description Flags
katello promotion summary email
none
Promotion mail none

Description sthirugn@redhat.com 2015-01-30 20:33:56 UTC
Description of problem:
Email notification - Katello promotion summary - Missing/Unclear information in notification email

Version-Release number of selected component (if applicable):
* apr-util-ldap-1.3.9-3.el6_0.1.x86_64
* candlepin-0.9.38-1.el6.noarch
* candlepin-common-1.0.18-1.el6.noarch
* candlepin-selinux-0.9.38-1.el6.noarch
* candlepin-tomcat6-0.9.38-1.el6.noarch
* elasticsearch-0.90.10-7.el6.noarch
* foreman-1.8.0-0.develop.201501290916git1f0e9bd.el6.noarch
* foreman-compute-1.8.0-0.develop.201501290916git1f0e9bd.el6.noarch
* foreman-gce-1.8.0-0.develop.201501290916git1f0e9bd.el6.noarch
* foreman-libvirt-1.8.0-0.develop.201501290916git1f0e9bd.el6.noarch
* foreman-ovirt-1.8.0-0.develop.201501290916git1f0e9bd.el6.noarch
* foreman-postgresql-1.8.0-0.develop.201501290916git1f0e9bd.el6.noarch
* foreman-proxy-1.8.0-0.develop.201501280951gite1bc928.el6.noarch
* foreman-release-1.8.0-0.develop.201501290916git1f0e9bd.el6.noarch
* foreman-selinux-1.8.0-0.develop.201412151103gite2863e4.el6.noarch
* foreman-vmware-1.8.0-0.develop.201501290916git1f0e9bd.el6.noarch
* katello-2.1.0-1.201411061509gitb0b8f43.el6.noarch
* katello-certs-tools-2.0.1-1.el6.noarch
* katello-default-ca-1.0-1.noarch
* katello-installer-2.2.0-1.201501272021gitf707d62.el6.noarch
* katello-installer-base-2.2.0-1.201501272021gitf707d62.el6.noarch
* katello-repos-2.1.1-1.el6.noarch
* katello-server-ca-1.0-1.noarch
* openldap-2.4.39-8.el6.x86_64
* openldap-devel-2.4.39-8.el6.x86_64
* pulp-docker-plugins-0.2.1-0.2.beta.el6.noarch
* pulp-katello-0.3-3.el6.noarch
* pulp-nodes-common-2.5.1-1.el6.noarch
* pulp-nodes-parent-2.5.1-1.el6.noarch
* pulp-puppet-plugins-2.5.1-1.el6.noarch
* pulp-puppet-tools-2.5.1-1.el6.noarch
* pulp-rpm-plugins-2.5.1-1.el6.noarch
* pulp-selinux-2.5.1-1.el6.noarch
* pulp-server-2.5.1-1.el6.noarch
* python-ldap-2.3.10-1.el6.x86_64
* ruby193-rubygem-ldap_fluff-0.3.3-1.el6.noarch
* ruby193-rubygem-net-ldap-0.10.0-1.el6.noarch
* ruby193-rubygem-runcible-1.3.0-1.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1. Install Sat6
2. Make sure to enable the notification for Katello promotion summary
3. Upload a manifest, enable a repository, sync
4. Create a content view, publish, promote
4. Review the Katello promotion summary email

Actual results:
(see attachment)

Expected results:
The following needs attention/fix:
1. "0 needed errata are installable on your hosts" - I do have more than 1 errata
2. "Hosts with Installable errata" - The title reads like this.  But it has Security, Bugfix, Enhancement under this section - I do have content hosts registered to this content view/environment.  I expected to see those here.  Also clicking on "0" should take me to the relevant page in Satellite.
3. I do not understand what "Unapplied Errata" means.  I always see that empty in my emails.

Additional info:

Comment 1 sthirugn@redhat.com 2015-01-30 20:34:16 UTC
Created attachment 986232 [details]
katello promotion summary email

Comment 3 Stephen Benjamin 2015-01-30 22:01:09 UTC
Created attachment 986298 [details]
Promotion mail

Comment 4 Stephen Benjamin 2015-01-30 22:03:00 UTC
1) Can you clarify by what you mean by you have more than 1 errata? What does the Katello Content Hosts page say? This is only from the hosts registered to that Content View Environment.

2) The number there is the number of hosts affected by each type of errata (e.g. if 5 osts have a security update, then you see 5 there).  The links didn't exist when the mail notification was written - but it may now, thanks

3) Unapplied would show you summaries of each errata that affect your hosts (see attached screenshot), it seems you don't have any.

Comment 6 Stephen Benjamin 2015-02-24 07:53:42 UTC
Why was need info removed? Please see comment 4....

Comment 9 sthirugn@redhat.com 2015-03-06 16:50:46 UTC
Things look good in latest compose.  I will do more testing on this in the next few days too and can open specific bugs if there are any.

Verified.
Satellite-6.1.0-RHEL-6-20150303.0

Comment 10 Bryan Kearney 2015-08-11 13:35:12 UTC
This bug is slated to be released with Satellite 6.1.

Comment 11 Bryan Kearney 2015-08-12 14:00:27 UTC
This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015.