Wanted to create a replication Service

Hello everybody,

i wanted to create this replication service and the message I got is the following:

File “/opt/rockstor/src/rockstor/smart_manager/views/replication_service.py”, line 65, in post
config = self._get_config(service)
File “/opt/rockstor/src/rockstor/smart_manager/views/base_service.py”, line 43, in _get_config
return json.loads(service.config)
File “/usr/lib64/python2.7/json/init.py”, line 339, in loads
return _default_decoder.decode(s)
File “/usr/lib64/python2.7/json/decoder.py”, line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
TypeError: expected string or buffer

Thanks for your help in advandce

eskoW

1 Like

Hi @Hesko, and welcome to the community!

I’m sorry you’re having some issue here. I quickly tested to configure and turn on the Replication service and couldn’t unfortunately reproduce that error so would it be possible for you to give the following details?

What version of Rockstor are you using?
Did you have any problem configuring the Replication service (little wrench icon next to the service name in the “Services” page)?
What network connection are you using and have selected during the configuration of the Replication service… was it a ethernet/bond/team?

Any detail you can provide might prove useful.

2 Likes