Bug 1411511
Summary: | Notifications - subject may not have tenant. | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Satoe Imaishi <simaishi> | ||||||||||||
Component: | Appliance | Assignee: | Šimon Lukašík <slukasik> | ||||||||||||
Status: | CLOSED ERRATA | QA Contact: | Pavol Kotvan <pakotvan> | ||||||||||||
Severity: | medium | Docs Contact: | |||||||||||||
Priority: | unspecified | ||||||||||||||
Version: | 5.7.0 | CC: | abellott, jhardy, obarenbo, simaishi, slukasik, tfitzger, wfitzger | ||||||||||||
Target Milestone: | GA | Keywords: | ZStream | ||||||||||||
Target Release: | 5.7.1 | ||||||||||||||
Hardware: | Unspecified | ||||||||||||||
OS: | Unspecified | ||||||||||||||
Whiteboard: | cfme_tenant:notification | ||||||||||||||
Fixed In Version: | 5.7.1.0 | Doc Type: | If docs needed, set a value | ||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||
Clone Of: | 1400246 | Environment: | |||||||||||||
Last Closed: | 2017-02-27 19:19:26 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: | 1400246 | ||||||||||||||
Bug Blocks: | |||||||||||||||
Attachments: |
|
Comment 2
CFME Bot
2017-01-09 21:21:03 UTC
In euwe since: ab70868bc73d23e8b64c7ed63cfa3c1948fb82f9 Created attachment 1255823 [details]
Simulation
Pavol, To test notification do the following: - Create System/Request/TestNotification instance. - Configure System/Request/TestNotification instance to run TestNotification method. - Create System/Request/TestNotification method. - Navigate to Automation/Automate/Simulation - Select Request - Set Message to ‘create' - Set Request to 'TestNotification' - Select Host / Node for type - Set Selection to an available host. - Click on Execute Methods - Select submit and run If you check the Automation.log you will see the following: [----] I, [2017-02-17T16:54:56.290781 #646:3fe71ad018d0] INFO -- : Validating Notification type: automate_tenant_info [----] I, [2017-02-17T16:54:56.296053 #646:3fe71ad018d0] INFO -- : Calling Create Notification type: automate_tenant_info subject type: Host id: 6 options: {} You will also see an entry every time it runs in the Notifications table. If there is a problem, you should be able to see it in the automation.log. Let me know if you have any problem or questions. Thanks Billy Created attachment 1255833 [details]
TestNotification instance
Created attachment 1255836 [details]
TestNotification method
Created attachment 1255837 [details]
Simulation
Pavol, Here is my method: # # Description: Test Notification # $evm.log("info", "notification test") host = $evm.root['host'] n = $evm.create_notification(:type => :automate_tenant_info, :subject => host) $evm.log("info", "notification returned: #{n.inspect}") Billy Created attachment 1255841 [details]
TestNotification method
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-2017-0320.html |