Bug 1026718

Summary: [RFE] Notification service - use API instead of health servlet for keep alive
Product: [oVirt] ovirt-engine Reporter: Alon Bar-Lev <alonbl>
Component: Services.NotifierAssignee: Eli Mesika <emesika>
Status: CLOSED WONTFIX QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: ---CC: bazulay, bugs, iheim, oourfali, rbalakri, Rhev-m-bugs, yeylon, ylavi
Target Milestone: ---Keywords: FutureFeature, Improvement
Target Release: ---Flags: sherold: Triaged+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-27 06:57:13 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: 1009843    
Bug Blocks:    

Description Alon Bar-Lev 2013-11-05 09:53:22 UTC
The health servlet is a legacy interface that IMO should not be used at all, marked obsolete and removed as soon as we can.

Please make the notification service use the formal supported API to pull engine status.

It should be simple either use the java binding of our sdk, or just perform HTTP request and expect valid response.

Thanks!

Comment 1 Itamar Heim 2013-11-05 23:32:17 UTC
for easy configuration, would need api to expose this info to anonymous user?

Comment 2 Alon Bar-Lev 2013-11-05 23:35:36 UTC
(In reply to Itamar Heim from comment #1)
> for easy configuration, would need api to expose this info to anonymous user?



you are right (bug#1009843), in this case (unlike the setup and hosted) we do not have account information.

Comment 4 Alon Bar-Lev 2015-08-05 14:52:03 UTC
*MUST* be for 4.0.

Comment 5 Alon Bar-Lev 2015-08-05 14:55:01 UTC
(In reply to Alon Bar-Lev from comment #4)
> *MUST* be for 4.0.

sorry, not a must, I see I already used the /services/ servlet, but it should not be used any more and dropped in 4.0.

Comment 7 Oved Ourfali 2016-01-27 06:57:13 UTC
The API doesn't perform authentication, it is performed by the AAA
subsystem. However, the AAA subsystem currently doesn't allow "guest" or "anonymous" access to anything so the API will not be able to serve such requests to public queries.

As we don't plan work around allowing that in the AAA layer, closing it as WONTFIX.