Feature #4404
Add ONE_XMLRPC attribute in the scheduler configuration file
Status: | Closed | Start date: | 04/12/2016 | |
---|---|---|---|---|
Priority: | Normal | Due 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
Feature #4404: Add ONE_XMLRPC attribute in the scheduler configuration file
feature #4404: Include default value for ONE_XMLRPC
History
#1 Updated by Guillaume Oberlé about 5 years ago
Pull request : https://github.com/OpenNebula/one/pull/92/files
#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