UNSOLVED

rjmphd

updated

13 years ago

R

rjmphd

32 Posts

0

4006

August 14th, 2013 08:00

SUU returns failure when there is none

The suu.cmd batch file should not return an errorlevel of '-1' when there are no upgradable components. This causes Cluster Aware Update to register a failure, when, in fact, there is not a failure.

  • rjmphd

    32 Posts

    789

    0

    Posted September 30th, 2013 09:00

    Any update on this? This should be fixed.

  • 789

    0

    Posted October 1st, 2013 01:00

    Hi Rimphd,

    The SUU does not have force update option. So if there is no upgradable components available in the server, the SUU will not do any update operation & display a message "All the components up-to-date". So here there is no error in SUU to return an exit code "1".

    Can you let me know what failure  you got while registering the CAU with all components are up-to -date.

    Thanks & Regards,

    Venkatesan K

  • rjmphd

    32 Posts

    789

    0

    Posted October 1st, 2013 06:00

    Take a look at the SUUERRORLEVEL environment variable as it is set in the suu.cmd batch file --- when there are no updates applicable, it returns '-1'.

    java -DdebugEnabled=true -Dapp.name=%appname% -Dapp.home="%homedir%.\\" -Dapp.cmd=%appcommand% %logging% %javaapp% %args%set suuerrorlevel=%errorlevel%