Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  Migration Manager issue - MAS Manage 8.8

    Posted Mon April 03, 2023 09:48 AM

    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
    ------------------------------


  • 2.  RE: Migration Manager issue - MAS Manage 8.8

    Posted Tue April 04, 2023 02:15 AM

    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
    ------------------------------



  • 3.  RE: Migration Manager issue - MAS Manage 8.8

    Posted Wed April 05, 2023 02:50 AM

    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
    ------------------------------



  • 4.  RE: Migration Manager issue - MAS Manage 8.8

    Posted Tue April 04, 2023 11:25 AM

    Some additional info will be helpful:  What is Source environment comprised of?  (e.g. what is version info? Is it the same? what about database? Is the DB encryption set? I agree with Witold that you likely have a mismatch in your data encryption keys.  What are the package contents? what are you trying to move? have you set up your package dependencies?



    ------------------------------
    Bradley K. Downing , MBA
    Senior Brand Technical Specialist
    IBM
    Bakersfield CA
    ------------------------------