Unsolved

This post is more than 5 years old

32 Posts

3984

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.

32 Posts

September 30th, 2013 09:00

Any update on this? This should be fixed.

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

32 Posts

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%

0 events found

No Events found!

Top