IBM Support

Node migration fails with MIGR0272E and rc = 409 error

Troubleshooting


Problem

Multiple runs of a profile migration can leave files within the targets profile's temporary directories, causing migration failures on subsequent attempts.

Symptom

Typically, this occurs in migration scenarios involving federated nodes. The migration of the Deployment Manager beforehand is successful. The problem occurs when migrating a federated node, during WASPostUpgrade.

The deployment manager must be running during the migration of a federated node. As part of the migration process, the migration tool will contact the deployment manager and transfer files to the deployment manager. In this scenario, the file transfer process fails, resulting in an error with return code 409 (rc = 409).

When migrating to V6.0, these errors will appear in the deployment manager's SystemOut.log:

SystemOut     O com.ibm.websphere.management.exception.RepositoryException:
com.ibm.websphere.management.filetransfer.client.
TransferFailedException: File upload to upload/cells/CELLNAME/nodes/NODES/perftuners.xml failed with rc = 409
SystemOut     O com.ibm.websphere.migration.exceptions.WASUpgradeWrapperException
SystemOut     O MIGR0272E: The migration function cannot complete the command.

Note that when migrating to V6.1 and later, those errors may not appear in the deployment manager's log. However, errors will be present in the WASPostUpgrade.log.


The WASPostUpgrade.log will show the following messages:

MIGR0393E: Unable to update configuration files because of an inconsistency in the configuration.

com.ibm.websphere.management.exception.RepositoryException:
com.ibm.websphere.management.filetransfer.client.TransferFailedException: File upload to
upload/cells/CELLNAME/nodes/NODES/perftuners.xml failed with rc = 409
...
Caused by: com.ibm.websphere.management.exception.RepositoryException:
com.ibm.websphere.management.filetransfer.client.TransferFailedException: File upload to
upload/cells/CELLNAME/nodes/NODES/perftuners.xml failed with rc = 409
...
com.ibm.websphere.migration.exceptions.WASUpgradeWrapperException
MIGR0272E: The migration function cannot complete the command.


The key messages are that the file transfer failed with rc = 409. When tracing is enabled, the trace will indicate that the error 409 is an HTTP response from the deployment manager's file transfer servlet. (HTTP Error 409.)

Cause

The return code, rc = 409, indicates that a file already exists and can not be overwritten. In that scenario, the migration had been tried several times unsuccessfully. The previous migration attempts created temp files, and due to the nature of the previous failures, the files were not properly cleaned-up like they are under normal circumstances. These temporary files cannot be overwritten in the subsequent migration attempts until they are manually removed.

Resolving The Problem

Have all users log out of the admin console associated with the deployment manager, and also make sure that no "wsadmin" tasks are running. Then, delete the files and directories under the $WAS_PROFILE_DIR/config/temp path. The migration can be attempted again once the files are deleted.

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Migration","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"8.5;8.0;7.0;6.1;6.0","Edition":"Base;Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Java SDK","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}},{"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"6.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg21242307