[GE issues] [Issue 2942] New - qconf -ke[j] must return non-zero exit code on failure

mpospisil michael.pospisil at sun.com
Mon Mar 2 16:44:38 GMT 2009


http://gridengine.sunsource.net/issues/show_bug.cgi?id=2942
                 Issue #|2942
                 Summary|qconf -ke[j] must return non-zero exit code on failure
               Component|gridengine
                 Version|6.0
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|clients
             Assigned to|mpospisil
             Reported by|mpospisil






------- Additional comments from mpospisil at sunsource.net Mon Mar  2 08:44:37 -0800 2009 -------
There is couple of situations, where qconf -ke[j] <host> return zero code, but execd is not shutdown. Displayed message clearly suggests
it's a failure!

This is a problem when users rely on the exit state in their scripts.

I can confirm that in maintrunk this problem exists. I tried the following procedure below with an incorrect exit code.

>qconf -ke host123
failed sending shutdown notification to unknown execd host host123
>echo $?
0

This exit code should definitely not be 0, as this indicates a success when clearly an error occured.

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=36&dsMessageId=118937

To unsubscribe from this discussion, e-mail: [issues-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list