Article ID: 125997, created on Jun 20, 2015, last review on Jun 20, 2015

  • Applies to:
  • Plesk Automation 11.5

Symptoms

  1. Moving subscription to Linux service node fails on copy-hosting/recreate-sysuser step:

    [ERROR]  copy-hosting/recreate-sysuser| Failed to perform an action on subscription 'example1.com'. Exception message: format_command() argument after ** must be a mapping, not list
    [ERROR]  copy-hosting/recreate-sysuser| Failed to perform an action on subscription 'example2.com'. Exception message: format_command() argument after ** must be a mapping, not list
    
  2. Following output is in migration log debug.log (Its location depends on the migration session folder):

    [2015-06-19 20:49:54,185] [DEBUG] parallels.common.utils.ssh_utils |copy-hosting/recreate-webusers/example.com| Exit status: 1, stdout: , stderr: Unable to execute usermng: usermng: /usr/sbin/
    useradd execution failed:
    useradd: user 'jdoe' already exists
    usermng: Unable to add user: jdoe
    

Cause

The user with the same name already exists on the target host.

Either the user with the same name was pre created on the target node or it was created as a result of previous subscription moving attempt (PA moving tool does not roll the changes made back in case of failure).

The behavior is considered as the software issue #PMT-1504. The fix will be included in future product updates.

Resolution

Contact Odin Technical Support.

Search Words

useradd execution failed

Exception message: format_command() argument after ** must be a mapping, not list

argument after ** must be a mapping, not list

subscription moving failed

Exception message

Failed to perform an action on subscription

move subscription

usermng: Unable to add user

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF