Skip to content

(t) replication spawn error #2766

@phillxnet

Description

@phillxnet

Thanks to forum member niko for highlighting this issue. Testing branch exhibits the following when attempting to activate a replication receiver:

Failed to start Replication due to an error: Error running a command. cmd = /opt/rockstor/.venv/bin/supervisorctl start replication. rc = 7. stdout = ['replication: ERROR (spawn error)', '']. stderr = ['']

            Traceback (most recent call last):
  File "/opt/rockstor/src/rockstor/smart_manager/views/replication_service.py", line 82, in post
    superctl(service.name, command)
  File "/opt/rockstor/src/rockstor/system/services.py", line 147, in superctl
    out, err, rc = run_command([SUPERCTL_BIN, switch, service], throw=throw)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/rockstor/src/rockstor/system/osi.py", line 263, in run_command
    raise CommandException(cmd, out, err, rc)
system.exceptions.CommandException: Error running a command. cmd = /opt/rockstor/.venv/bin/supervisorctl start replication. rc = 7. stdout = ['replication: ERROR (spawn error)', '']. stderr = ['']

Forum reference: https://forum.rockstor.com/t/failed-to-start-replication-due-to-an-error-error-running-a-command-cmd-opt-rockstor-venv-bin-supervisorctl-start-replication-rc-7-stdout-replication-error-spawn-error-stderr/9136

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions