Hi,
No, the file has been always edited with linux vi.
The appearence of the ^M in the config file is correct in linux because it is the display character of a carry return, nevertheless looks the mm_sched process includes it (the ^M character) in the ONE_XMLRPC url when tries to request one_server.
In the error log the ^M appears and I think it shoudn’t.
cat -v /etc/one/sched.conf
# system_ds_usage = system_ds_usage + memory_system_ds_scale * memory^M
#^M
#*******************************************************************************^M
^M
MESSAGE_SIZE = 1073741824^M
TIMEOUT = 60^M
^M
ONE_XMLRPC = http://vdiconeserver1:2633/RPC2^M
^M
SCHED_INTERVAL = 30^M
–
cat /etc/one/sched.conf
(without the -v)
# system_ds_usage = system_ds_usage + memory_system_ds_scale * memory
#
#*******************************************************************************
MESSAGE_SIZE = 1073741824
TIMEOUT = 60
ONE_XMLRPC = http://vdiconeserver1:2633/RPC2
SCHED_INTERVAL = 30
I have added the double quotes (as the default):
MESSAGE_SIZE = 1073741824
TIMEOUT = 60
ONE_XMLRPC = "http://vdiconeserver1:2633/RPC2"
SCHED_INTERVAL = 30
And the log looks like the following:
[oneadmin@93f96d6bdf8d one]$ cat -v sched.log
Wed May 29 16:04:52 2019 [Z0][SCHED][E]: Cannot contact oned, will retry... Error: HTTP POST to URL '"http://vdiconeserver1:2633/RPC2"^M' failed. libcurl failed even to execute the HTTP transaction, explaining: Illegal characters found in URL
Anyone has tried to deploy scheduler in a separate host?
If I delete the parameter ONE_XMLRPC from sched.conf in order to force the use of the default value one can see that the ^M has disappeared:
[oneadmin@b06baf5973fb one]$ cat -v sched.log
Wed May 29 16:22:40 2019 [Z0][SCHED][E]: Cannot contact oned, will retry... Error: HTTP POST to URL 'http://localhost:2633/RPC2' failed. libcurl failed even to execute the HTTP transaction, explaining: Failed to connect to ::1: Network is unreachable
Thanks a lot.