1 2 Previous Next 20 Replies Latest reply on Mar 19, 2015 8:18 PM by Bill Robinson

    blcli commands failing with com.bladelogic.om.infra.session.client.SessionLoginException: No cached Session Credential for named service profile - please login.

    Paul Seager-Smith

      I have a very simple blcli script:

       

       

      blcli_setoption authType BLSSO

      blcli_setoption roleName RBACAdmins

      blcli_setoption serviceProfileName defaultProfile

       

      blcli_execute AuthorizationProfile addAuthorization "Security" "ACLPolicy.*"

       

      When I authenticate to the app server and run this script, it fails:

       

      bl-appserver# blcred cred -acquire

      profile name: defaultProfile

      username: RBACAdmin

      password:

      Authentication succeeded: acquired session credential

      bl-appserver# ./test.nsh

      com.bladelogic.om.infra.session.client.SessionLoginException: No cached Session

      Credential for named service profile - please login.

       

      However, if I paste the 4 lines directly into the NSH shell, it works fine.

       

      This script used to work fine on the test VM I have (win2k8r1 with latest patches, BL 8.2.0), but no longer does. We are also seeing the problem on a similarly patched win2k8r2 system.

       

      Has anyone else been having problems running blcli scripts on their win2k8 machines recently?

       

      Thanks,

       

       

      Paul

        1 2 Previous Next