IBM Support

IT27276: PUREAPPLICATION: PARALLEL EXECUTED PYTHON SCRIPTS CAN FAIL TO DECODE THE PASSWORD DURING STARTUP CORRECTLY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Ø
    This leads to a deployment in error.
    
    A concurrently written /0config/enckey file triggers one of the
    scripts to fail with:
    *****
    [Mon 06 Aug 2018 11:38:39 AM CEST] invoker 139987760920384
    pid=13542 DEBUG Traceback (most recent call last):
      File
    "/opt/IBM/maestro/agent/usr/servers/LINUX_RH7.11533547869160/pyt
    hon/invoker.py", line 227, in execute
        execfile(pyfile, _pyglobals)
      File
    "/opt/IBM/maestro/agent/usr/servers/LINUX_RH7.11533547869160/scr
    ipts/Script/start.py", line 30, in <module>
        maestro.vsys.scriptUtils.handle_script(name=name,
    version=version,
    target_exec_modes=maestro.vsys.scriptUtils.AT_VS_CREATION)
      File
    "/0config/nodepkgs/common/python/maestro/vsys/scriptUtils.py",
    line 543, in handle_script
        execute_script(script_json, temp_path, parms, hidden_parms)
      File
    "/0config/nodepkgs/common/python/maestro/vsys/scriptUtils.py",
    line 466, in execute_script
        _execute_script(script_json, temp_path, parms)
      File
    "/0config/nodepkgs/common/python/maestro/vsys/scriptUtils.py",
    line 351, in _execute_script
        _populate_env_var(script_env, keys, input_parms=parms)
      File
    "/0config/nodepkgs/common/python/maestro/vsys/scriptUtils.py",
    line 570, in _populate_env_var
        env['WAS_PASSWORD'] =
    maestro.decode(ovf_env_data['ConfigPWD_USER.password'])
      File "/0config/nodepkgs/common/python/maestro/__init__.py",
    line 923, in decode
        return decrypt (s);
      File "/0config/nodepkgs/common/python/maestro/__init__.py",
    line 938, in decrypt
        did_key = json.load(f)
      File "/usr/lib64/python2.7/json/__init__.py", line 290, in
    load
        **kw)
      File "/usr/lib64/python2.7/json/__init__.py", line 338, in
    loads
        return _default_decoder.decode(s)
      File "/usr/lib64/python2.7/json/decoder.py", line 366, in
    decode
        obj, end = self.raw_decode(s, idx=_w(s, 0).end())
      File "/usr/lib64/python2.7/json/decoder.py", line 384, in
    raw_decode
        raise ValueError("No JSON object could be decoded")
    ValueError: No JSON object could be decoded
    *****
    

Local fix

  • N/A
    

Problem summary

  • Must Gather Logs script package failure
    

Problem conclusion

  • Failure is because of the race condition, it
    is the script packages that are trying to
    simultaneously download the same file. This
    race condition is fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT27276

  • Reported component name

    PUREAPP SOFTWAR

  • Reported component ID

    5725Q5200

  • Reported release

    223

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-12-11

  • Closed date

    2020-09-18

  • Last modified date

    2020-09-18

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

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

Modules/Macros

  • UNKNOWN
    

Fix information

  • Fixed component name

    PUREAPP SOFTWAR

  • Fixed component ID

    5725Q5200

Applicable component levels

  • R233 PSY

       UP

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSL5ES","label":"PureApplication Software"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"223"}]

Document Information

Modified date:
27 September 2021