← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1176190] Re: 'openssl' returned non-zero exit status 4 w/ SSL enabled

 

** Changed in: keystone
       Status: Expired => Confirmed

** Changed in: keystone
     Assignee: (unassigned) => Adam Young (ayoung)

** Project changed: keystone => python-keystoneclient

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1176190

Title:
  'openssl' returned non-zero exit status 4 w/ SSL enabled

Status in Python client library for Keystone:
  Confirmed

Bug description:
  From this thread on the openstack-operators mailing list:
  http://lists.openstack.org/pipermail/openstack-
  operators/2013-May/002903.html

  Version: grizzly

  If SSL is enabled in keystone, cinder command-line client commands
  don't work.

  Changing the following settings in keystone.conf and restarting
  resolves the issue:

  [ssl]
  enable = False

  [signing]
  token_format = UUID

  Error in cinder-api.log is:

  2013-04-30 20:00:42    DEBUG [keystoneclient.middleware.auth_token] Token
  validation failure.
  Traceback (most recent call last):
    File
  "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py",
  line 688, in _validate_user_token
      verified = self.verify_signed_token(user_token)
    File
  "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py",
  line 1043, in verify_signed_token
      if self.is_signed_token_revoked(signed_text):
    File
  "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py",
  line 1007, in is_signed_token_revoked
      revocation_list = self.token_revocation_list
    File
  "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py",
  line 1079, in token_revocation_list
      self.token_revocation_list = self.fetch_revocation_list()
    File
  "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py",
  line 1109, in fetch_revocation_list
      return self.cms_verify(data['signed'])
    File
  "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py",
  line 1038, in cms_verify
      raise err
  CalledProcessError: Command 'openssl' returned non-zero exit status 4
  *2013-04-30 20:00:42    DEBUG [keystoneclient.middleware.auth_token]
  Marking token *MIIMbwYJKoZ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jrYwPm6NC+sRvDZ0Mg2MCMHtt1eK4o0GRBtmq8sTtUGqHuT5Ns41whp+r+diTGNfkW6mOaJBwpQhxbjXiTGcCHWJni3RkDTDinY-O7Zto3ct0etVmxvE62lqSFSQUKoyAg==
  *2013-04-30 20:00:42     INFO [keystoneclient.middleware.auth_token]
  Invalid user token - rejecting request*
  *
  *

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-keystoneclient/+bug/1176190/+subscriptions