Re: [openstack-dev] usability anti-pattern, part 2

2014-09-24 Thread Ed Leafe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/19/2014 09:01 PM, Monty Taylor wrote: except exc.Unauthorized: raise exc.CommandError(Invalid OpenStack credentials.) except exc.AuthorizationFailure: raise exc.CommandError(Unable to authorize user)

Re: [openstack-dev] usability anti-pattern

2014-09-22 Thread Solly Ross
@lists.openstack.org Sent: Friday, September 19, 2014 9:52:46 PM Subject: [openstack-dev] usability anti-pattern Hey, Not to name names, but some of our client libs do this: client.Client(API_VERSION, os_username, ... ) I'm pretty sure they got the idea from python-glanceclient, so I blame Brian

[openstack-dev] usability anti-pattern

2014-09-19 Thread Monty Taylor
Hey, Not to name names, but some of our client libs do this: client.Client(API_VERSION, os_username, ... ) I'm pretty sure they got the idea from python-glanceclient, so I blame Brian Waldon, since he left us for CoreOS. PLEASE STOP DOING THIS - IT CAUSES BABIES TO CRY. MORE. As a

[openstack-dev] usability anti-pattern, part 2

2014-09-19 Thread Monty Taylor
except exc.Unauthorized: raise exc.CommandError(Invalid OpenStack credentials.) except exc.AuthorizationFailure: raise exc.CommandError(Unable to authorize user) This is pervasive enough that both of those exceptions come from openstack.common. Anyone?

Re: [openstack-dev] usability anti-pattern, part 2

2014-09-19 Thread Dean Troyer
[OK, I'll bite...just once more...because dammit I want this crap fixed too.] I know you know this Monty, but for the benefit of the folks who don't, the client library situation is a result of them belonging to the projects they serve, each one[0] forked from a different one forked from jkm's

Re: [openstack-dev] usability anti-pattern, part 2

2014-09-19 Thread Monty Taylor
On 09/19/2014 10:05 PM, Dean Troyer wrote: [OK, I'll bite...just once more...because dammit I want this crap fixed too.] It's tough to avoid when I toss you such juicy bones isn't it? I know you know this Monty, but for the benefit of the folks who don't, the client library situation is a