[Bug 1064835] Re: keystoneclient fails on SSL certificates that work for other services

2012-10-21 Thread Sam Morrison
** Package changed: keystone (Ubuntu) = python-keystoneclient (Ubuntu)

** Changed in: python-keystoneclient (Ubuntu)
   Status: Invalid = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to keystone in Ubuntu.
https://bugs.launchpad.net/bugs/1064835

Title:
  keystoneclient fails on SSL certificates that work for other services

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1064835] Re: keystoneclient fails on SSL certificates that work for other services

2012-10-19 Thread Alan Pevec
So does the following fix this issue?

--- a/keystoneclient/shell.py
+++ b/keystoneclient/shell.py
@@ -131,7 +131,7 @@ class OpenStackIdentityShell(object):
 
 parser.add_argument('--os-cacert',
 metavar='ca-certificate',
-default=env('OS_CA_CERT'),
+default=env('OS_CA_CERT', default=None),
 help='Defaults to env[OS_CACERT]')
 parser.add_argument('--os_cacert',
 help=argparse.SUPPRESS)


or more generic:

--- a/keystoneclient/shell.py
+++ b/keystoneclient/shell.py
@@ -42,7 +42,7 @@ def env(*vars, **kwargs):
 value = os.environ.get(v, None)
 if value:
 return value
-return kwargs.get('default', '')
+return kwargs.get('default', None)
 
 
 class OpenStackIdentityShell(object):

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to keystone in Ubuntu.
https://bugs.launchpad.net/bugs/1064835

Title:
  keystoneclient fails on SSL certificates that work for other services

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1064835] Re: keystoneclient fails on SSL certificates that work for other services

2012-10-19 Thread OpenStack Hudson
Fix proposed to branch: master
Review: https://review.openstack.org/14572

** Changed in: python-keystoneclient
   Status: Confirmed = In Progress

** Changed in: python-keystoneclient
 Assignee: (unassigned) = Sam Morrison (sorrison)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to keystone in Ubuntu.
https://bugs.launchpad.net/bugs/1064835

Title:
  keystoneclient fails on SSL certificates that work for other services

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1064835] Re: keystoneclient fails on SSL certificates that work for other services

2012-10-19 Thread Alan Pevec
Removing tag for backport, keystoneclient doesn't have stable/folsom
branch, all clients are trunk-only now (for better or worse).


** Tags removed: folsom-backport-potential

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to keystone in Ubuntu.
https://bugs.launchpad.net/bugs/1064835

Title:
  keystoneclient fails on SSL certificates that work for other services

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1064835] Re: keystoneclient fails on SSL certificates that work for other services

2012-10-18 Thread Sam Morrison
This is a bug in the ubuntu cloud archive

** Also affects: keystone (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: python-keystoneclient
   Status: New = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to keystone in Ubuntu.
https://bugs.launchpad.net/bugs/1064835

Title:
  keystoneclient fails on SSL certificates that work for other services

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1064835] Re: keystoneclient fails on SSL certificates that work for other services

2012-10-18 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: keystone (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to keystone in Ubuntu.
https://bugs.launchpad.net/bugs/1064835

Title:
  keystoneclient fails on SSL certificates that work for other services

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1064835] Re: keystoneclient fails on SSL certificates that work for other services

2012-10-18 Thread Sam Morrison
** Tags added: cloud-archive

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to keystone in Ubuntu.
https://bugs.launchpad.net/bugs/1064835

Title:
  keystoneclient fails on SSL certificates that work for other services

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1064835] Re: keystoneclient fails on SSL certificates that work for other services

2012-10-18 Thread Sam Morrison
On further investigation it is a problem in keystone, whoops

** Changed in: keystone (Ubuntu)
   Status: Confirmed = Invalid

** Changed in: python-keystoneclient
   Status: Invalid = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to keystone in Ubuntu.
https://bugs.launchpad.net/bugs/1064835

Title:
  keystoneclient fails on SSL certificates that work for other services

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1064835] Re: keystoneclient fails on SSL certificates that work for other services

2012-10-18 Thread Sam Morrison
OK I have tracked this down. It looks to me that keystone-client is
unusable with an an https keystone endpoint.

If --os-cacert is not set it will default to an empty string. This then
gets passed down to underlying http classes and it will use the empty
string as the ca path.

What needs to happen is that is this option is not set it needs to be
set as None.

That way httplib will use the default CA path but only if it is None,
None !=  for this checking.


** Tags removed: cloud-archive
** Tags added: folsom-backport-potential

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to keystone in Ubuntu.
https://bugs.launchpad.net/bugs/1064835

Title:
  keystoneclient fails on SSL certificates that work for other services

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs