Skip to Main Content
Cumulocity IoT Feedback Portal
Status Clarification needed
Created by Santhosh Thakkalapally
Created on Apr 8, 2024

Inappropriate response for error reporting during the migration of lwm2m devices

We have noticed an inappropriate response for error reporting during the migration of lwm2m devices in one of our customer tenancy.

  • device count for migration success/failure is reported as null instead of actual count.

Customer attempted to migrate 2 devices(866416047975975 & 864700045057429) from connector device with below shell command.

migrateLwm2mDevices --devices 4660160670 4660158980

The above operation is failed with below response:

{
"message" : "Devices not found or already migrated",
"numberOfDevicesSuccessful" : null,
"numberOfDevicesFailed" : null,
"issues" : { }
}

Looking at the response -

"numberOfDevicesSuccessful" : null,

"numberOfDevicesFailed" : null,

"issues" : { }

Expected response:

"numberOfDevicesSuccessful" : 0

"numberOfDevicesFailed" : 2,

issues" : { } → possible reason for failure


  • Attach files
  • Admin
    Aaron Raab
    Reply
    |
    Jun 7, 2024

    Hi Santhosh,


    This migration tool was meant to be used only for migrating to 10.15 as we introduced the LwM2M connector device. As this is already a quite old version, we are not planning to do any improvements on that tool or are you using this also in another context?


    Best regards,

    Aaron