How do I regain control of an LSF cluster from RTM?

The controlling LSF cluster from RTM returns an error : "Error: 400 Bad Request".

About this task

For example, in Job Details page, select a running job and click Terminate Job. You receive the error "Error: 400 Bad Request. Please make sure that you have chosen the correct entry."

To correct this, first check if Advocate is running. If so, the Advocate authentication token in RTM_TOP/rtm/etc/.appkey may be out of sync with the key in the database table settings.

Procedure

  1. Check if advocate is running.
    #service advocate status
  2. Check the authentication token in RTM_TOP/rtm/etc/.appkey against the app_key in table settings.
    mysql> select * from settings where name = 'app_key';
  3. Make sure the two app_key files match. If not, update the app_key in settings.
    mysql > replace into settings (name, value) values ('app_key', '<appkeystring>');