IBM Support

PH57385: DEPLOYING URBANCODE DEPLOY ZOS VERSIONS RESULTS IN 'ERROR - DEPLOYING VERSION.STATUS CODE 400'

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • THE DEPLOY-DATASET PLUGIN STEP FAILS WITH THE FOLLOWING ERROR
    WHILE ADDING ARTIFACT INFORMATION TO THE ZINVENTORY WHEN
    DEPLOYING A ZOS VERSION. THIS IS OBSERVED WHEN THE INPUTS AND
    INPUT TAG FOR A GIVEN RESOURCE IN THE SHIPLIST HAVE ATTRIBUTE
    VALUES MORE THAN 1024 BYTES
    
    Adding data to zInventory
    Error deploying version.Status code - 400
    Reason phrase
    Validation failed for classes
    [com.urbancode.ds.zos.ZInventoryEntry] during persist time for
    groups [javax.validation.groups.Default, ]
    List of constraint violations:[
    	ConstraintViolationImpl{interpolatedMessage='length must be
    between 0 and 1024', propertyPath=inputs, rootBeanClass=class
    com.urbancode.ds.zos.ZInventoryEntry,
    messageTemplate='{org.hibernate.validator.constraints.Length.mes
    sage}'}
    ]
    

Local fix

  • Follow the below steps for local fix.
    1) Upgrade the z/OS Utility plugin to version 89 or above:
    https://urbancode.github.io/IBM-UCx-PLUGIN-DOCS/UCD/zos-deploy
    2) Take a backup of AGENT_HOME/bin/setenv-zos.sh file
    3) Edit AGENT_HOME/bin/setenv-zos.sh file and add
    ignore.zsearch.inputs property in ZOS_JAVA_OPTS export command
    as below setting it to true.
    export ZOS_JAVA_OPTS='-Xmx128m -Dignore.zsearch.inputs=true'
    4) Restart the Agent for changes to be applied.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * zos users using zos agent and zos utility plugin             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * HE DEPLOY-DATASET PLUGIN STEP FAILS WITH THE FOLLOWING ERROR *
    * WHILE ADDING ARTIFACT INFORMATION TO THE ZINVENTORY WHEN     *
    * DEPLOYING A ZOS VERSION. THIS IS OBSERVED WHEN THE INPUTS    *
    * AND                                                          *
    * INPUT TAG FOR A GIVEN RESOURCE IN THE SHIPLIST HAVE          *
    * ATTRIBUTE                                                    *
    * VALUES MORE THAN 1024 BYTES                                  *
    *                                                              *
    * Adding data to zInventory with error deploying               *
    * version.Status code - 400                                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Upgrade to version 801 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH57385

  • Reported component name

    UC DEPLOY

  • Reported component ID

    5725M5400

  • Reported release

    731

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-10-06

  • Closed date

    2024-03-22

  • Last modified date

    2024-03-25

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    UC DEPLOY

  • Fixed component ID

    5725M5400

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS4GSP","label":"IBM UrbanCode Deploy"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"731","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"}}]

Document Information

Modified date:
27 March 2024