Bug 1325007

Summary: Customer needs to enable automate role in UI zone to which thousands of messages are being queued but not processed
Product: Red Hat CloudForms Management Engine Reporter: Thomas Hennessy <thenness>
Component: AutomateAssignee: Tina Fitzgerald <tfitzger>
Status: CLOSED ERRATA QA Contact: Milan Falešník <mfalesni>
Severity: high Docs Contact:
Priority: high    
Version: 5.5.0CC: cpelland, dajohnso, jhardy, jprause, mfalesni, mfeifer, mkanoor, obarenbo, simaishi, tfitzger, thenness
Target Milestone: GAKeywords: ZStream
Target Release: 5.6.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: zone
Fixed In Version: 5.6.0.0 Doc Type: Bug Fix
Doc Text:
Previously, if the Automate role was not enabled in the UI zone in a multi-zone environment, thousands of messages were being queued but not processed. This happened because the code set the zone to default, which directed the messages into the UI zone and prevented them from being picked up by workers in a zone where the Automate role was enabled. This patch clears the zone setting if the Automate role is not enabled in that zone, and messages are processed as expected.
Story Points: ---
Clone Of:
: 1327604 (view as bug list) Environment:
Last Closed: 2016-06-29 15:47:51 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:
Bug Depends On:    
Bug Blocks: 1327604    
Attachments:
Description Flags
spreadsheet with example automate role messages directed to UI zone none

Description Thomas Hennessy 2016-04-07 20:27:39 UTC
Description of problem:5.5.2.4


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.gerenrate messages to any role to one particular zone for which no  worker is active in the zone.
2.
3.

Actual results:
queue counts build

Expected results:
queue counts build

Additional info:

Comment 6 mkanoor 2016-05-10 13:17:21 UTC
Tom just to validate can we get one of the Queue entries from the customers environment.
The zone from the code looks like was setting the zone = default which would prevent it from getting picked up by workers in a different zone with Automate role.

There was a similar bug
https://bugzilla.redhat.com/show_bug.cgi?id=1302107

which has been fixed.

We would have to back port that fix to the 5.5

Comment 7 Thomas Hennessy 2016-05-10 19:55:07 UTC
Madhu and I spoke about this case today and I am uuploading a spreadsheet that provides several thousand message instances (with all message elements provided) as requested.

Tom Hennessy

Comment 8 Thomas Hennessy 2016-05-10 19:57:09 UTC
Created attachment 1155859 [details]
spreadsheet with example automate role messages directed to UI zone

Comment 9 Tina Fitzgerald 2016-05-10 22:06:23 UTC
This issue has been resolved:
https://gitlab.cloudforms.lab.eng.rdu2.redhat.com/cloudforms/cfme/merge_requests/818

Comment 13 Milan Falešník 2016-06-28 11:31:35 UTC
Checked in 5.6.0.13. I used a setu pvery similar to the one I used to verify BZ#1302107.

I could provision a VM with such setup.

Comment 15 errata-xmlrpc 2016-06-29 15:47:51 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://access.redhat.com/errata/RHBA-2016:1348