Hello Witold, thanks for hint about encryption. I've checked encryption keys between our systems and DEV has different keys than TEST and PROD.
https://www.ibm.com/docs/en/maximo-manage/continuous-delivery?topic=encryption-database-overview
I did a few tests and package from DEV did not work in TEST or PROD. But package from TEST works in PROD. If I create simple package for custom object structure in DEV, I am able to deploy it into TEST. I need to do more tests but it looks like different encryption is the key.
------------------------------
Jan Ondrusek
------------------------------
Original Message:
Sent: Tue April 04, 2023 02:15 AM
From: Witold Wierzchowski
Subject: Migration Manager issue - MAS Manage 8.8
Can You share what are You trying to migrate in this package?
I would assume that there is an encrypted field in this package (like password or API key etc) and since Manage (by default) use different encryption keys for each environment, the target environment is not able to decrypt the data from package. If You remove this field from the package definition it should be fine.
------------------------------
Witold Wierzchowski
Original Message:
Sent: Mon April 03, 2023 04:45 AM
From: Jan Ondrusek
Subject: Migration Manager issue - MAS Manage 8.8
I cannot deploy Migration Manager package into MAS Manage. I am getting an error message about final block padding. I've tested preview and also deploy without preview with the same result.
Do you have any idea which secrete/key is used for decryption or what could be a problem?
Given final block not properly padded. Such issues can arise if a bad key is used during decryption.
[ERROR] [MXServer] [] Error importing staging table entry with configuration object DMPKGDSTTRGT and data order 1 to target environment.
psdi.util.MXSystemException: BMXAA4160E - A major exception has occurred. Check the system log to see if there are any companion errors logged. Report this error to your system administrator.
Given final block not properly padded. Such issues can arise if a bad key is used during decryption.
at psdi.util.MXCipher.decData(MXCipher.java:269) ~[businessobjects.jar:?]
at psdi.iface.mos.MboXMLUtil.setColumnInMbo(MboXMLUtil.java:581) ~[businessobjects.jar:?]
at psdi.iface.mos.MboXMLUtil.mosXmlToMbo(MboXMLUtil.java:390) ~[businessobjects.jar:?]
at psdi.iface.mos.MosProcessImpl.setMboData(MosProcessImpl.java:2365) ~[businessobjects.jar:?]
Thanks for any advice, Jan.
------------------------------
Jan Ondrusek
------------------------------