Bug 1700338
Summary: | [RFE] Alternate method to configure the email Event Notifier for a user in RHV through API (instead of RHV GUI) | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Bhushan Ranpise <branpise> |
Component: | ovirt-engine | Assignee: | Ori Liel <oliel> |
Status: | CLOSED ERRATA | QA Contact: | Guilherme Santos <gdeolive> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.3.0 | CC: | amarirom, aperotti, dconsoli, emarcus, lleistne, lsvaty, mkalinin, mperina, oliel, pelauter, rdlugyhe, rmcswain, shipatil |
Target Milestone: | ovirt-4.4.0 | Keywords: | FutureFeature |
Target Release: | --- | Flags: | lsvaty:
testing_plan_complete-
|
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: |
This enhancement enables you to use the RHV Manager's REST API to manage subscriptions and receive notifications based on specific events. In previous versions, you could do this only in the Administration Portal.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2020-08-04 13:17:36 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1736852, 1789090 |
Comment 8
Martin Perina
2019-08-15 08:05:59 UTC
WARN: Bug status (ON_QA) wasn't changed but the folowing should be fixed: [Found non-acked flags: '{}', ] For more info please contact: rhv-devops: Bug status (ON_QA) wasn't changed but the folowing should be fixed: [Found non-acked flags: '{}', ] For more info please contact: rhv-devops WARN: Bug status (ON_QA) wasn't changed but the folowing should be fixed: [Found non-acked flags: '{}', ] For more info please contact: rhv-devops: Bug status (ON_QA) wasn't changed but the folowing should be fixed: [Found non-acked flags: '{}', ] For more info please contact: rhv-devops WARN: Bug status (ON_QA) wasn't changed but the folowing should be fixed: [Found non-acked flags: '{}', ] For more info please contact: rhv-devops: Bug status (ON_QA) wasn't changed but the folowing should be fixed: [Found non-acked flags: '{}', ] For more info please contact: rhv-devops WARN: Bug status (ON_QA) wasn't changed but the folowing should be fixed: [Found non-acked flags: '{}', ] For more info please contact: rhv-devops: Bug status (ON_QA) wasn't changed but the folowing should be fixed: [Found non-acked flags: '{}', ] For more info please contact: rhv-devops WARN: Bug status (ON_QA) wasn't changed but the folowing should be fixed: [Found non-acked flags: '{}', ] For more info please contact: rhv-devops: Bug status (ON_QA) wasn't changed but the folowing should be fixed: [Found non-acked flags: '{}', ] For more info please contact: rhv-devops Verified on: ovirt-engine-4.4.0-0.25.master.el8ev.noarch Steps: 1. # curl -X POST -H "Content-Type: application/xml" -u admin@internal:<password> --insecure https://<engine-fqdn>/ovirt-engine/api/v4/users/<user-id>/eventsubscriptions -d '<event_subscription> <event>vm_paused</event> <address>user</address> </event_subscription>' 2. # curl -X GET -H "Content-Type: application/xml" -u admin@internal:<password> --insecure https://<engine-fqdn>/ovirt-engine/api/v4/users/<user-id>/eventsubscriptions 3. Logged in the engine UI and checked the events notifier for the target user ('Administration' -> 'Users'; select the target user on 'User Name' and then select 'Events Notifier' tab) Results: Event notifier 'VM has been paused' created for the target user and showing through the API as well as through the engine UI 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 (Important: RHV Manager (ovirt-engine) 4.4 security, bug fix, and enhancement update), 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/RHSA-2020:3247 |