Feature #4404

Add ONE_XMLRPC attribute in the scheduler configuration file

Added by Guillaume Oberlé about 5 years ago. Updated about 5 years ago.

Status:ClosedStart date:04/12/2016
Priority:NormalDue date:
Assignee:Guillaume Oberlé% Done:

0%

Category:Scheduler
Target version:Release 5.0
Resolution:fixed Pull request:

Description

The URL of the OpenNebula XML-RPC API is currently hard coded in the code of the scheduler : https://github.com/OpenNebula/one/blob/master/src/scheduler/src/sched/Scheduler.cc#L149

If for any reason you tell oned to listen of anything else than localhost or 0.0.0.0, the scheduler will never be able to contact the XML-RPC API.

The proposal is to remove the attribute ONED_PORT and to add the full OpenNebula XML-RPC API URL in the configuration file of the scheduler.

Example : ONE_XMLRPC = http://localhost:2633/RPC

Associated revisions

Revision 3e40d558
Added by Guillaume Oberlé about 5 years ago

Feature #4404: Add ONE_XMLRPC attribute in the scheduler configuration file

Revision 1713a7aa
Added by Ruben S. Montero about 5 years ago

Merge pull request #92 from unistra/feature-4404

Feature #4404: Add ONE_XMLRPC attribute in the scheduler configuration file

Revision 1fa8b03c
Added by Ruben S. Montero about 5 years ago

feature #4404: Include default value for ONE_XMLRPC

History

#2 Updated by Ruben S. Montero about 5 years ago

  • Status changed from Pending to Closed
  • Target version set to Release 5.0
  • Resolution set to fixed

Also available in: Atom PDF