[openstack-dev] usability anti-pattern, part 2
Dean Troyer
dtroyer at gmail.com
Sat Sep 20 05:05:34 UTC 2014
[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 original,
without having any sort of mechanism to stay in sync, like a cross-project
(BINGO!) effort to keep things consistent.
We may not want a BDFL, but we NEED someone to say NO when necessary for
the sake of the entire project. Jeez, now I'm sounding all enterprisey.
On Fri, Sep 19, 2014 at 9:01 PM, Monty Taylor <mordred at inaugust.com> wrote:
> 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.
>
If thats from apiclient, I have a guess. apiclient was an attempt (by
someone who got frustrated and left us) to build a common core for the
clients. However, in many ways wound up being a UNION of them. And scene.
I'm guessing that what it actually is is that randomly some things
>
return one, some things return the other, and there is absolutely no
> rhyme nor reason. Or, more likely, that termie liked the spelling of one
> of them better.
>
I like that explanation but this isn't from OCL. Actually we'd have been
much farther down the road if we had used Termie's bits a year ago. Whether
that is a bug or a feature is left to the reader to decide.
Code speaks, sometimes, so I'm going back to writing some more client bits.
Someone come help.
dt
[0] except swift and glance, both of which were originally in the server
repo.
--
Dean Troyer
dtroyer at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140920/b65f9672/attachment.html>
More information about the OpenStack-dev
mailing list