pyrax icon indicating copy to clipboard operation
pyrax copied to clipboard

Add client to talk to RackConnect api

Open pratikmallya opened this issue 10 years ago • 26 comments

This patch adds a client to talk with the rackconnect api. Currently, it only deals with adding/removing dedicated loadbalancers and assigning/removing public IP's to cloudservers. These are the only services which are currently (at the time of this PR) exposed via the rackconnect api: http://docs.rcv3.apiary.io/

pratikmallya avatar Dec 10 '14 22:12 pratikmallya

I'm not too familiar with RackConnect, but what would it take to bring your patch from a simple client to a fully featured client?

briancurtin avatar Dec 10 '14 23:12 briancurtin

@briancurtin what do you mean by a "fully featured client"?

pratikmallya avatar Dec 10 '14 23:12 pratikmallya

I haven't reviewed this yet, but your first message is worded as if this is only a subset of the available functionality, as a simple client that only does a few things. Can you expand on what isn't supported in this change, if anything?

briancurtin avatar Dec 10 '14 23:12 briancurtin

@briancurtin will do. Thanks for the clarification!

pratikmallya avatar Dec 10 '14 23:12 pratikmallya

Coverage Status

Coverage remained the same when pulling 79211ef21f631fd9150d0056d98df3d4dd1d8fa7 on pratikmallya:master into 6657a541a5fae8fc5abf7b4d1258c36bcfc91f07 on rackspace:working.

coveralls avatar Dec 11 '14 21:12 coveralls

:-1: for some minor nits inline.

AFAIK, this client implements everything that's currently available via the RCv3 API; not sure what you think is missing @pratikmallya.

rs-randallburt avatar Dec 17 '14 21:12 rs-randallburt

@rs-randallburt update the code to take care of the minor nits. @rs-randallburt @briancurtin yes, this client implements everything that is currently available via the RackConnect API. I was referring to the features mentioned under "Coming Soon" in the api page.

pratikmallya avatar Dec 18 '14 17:12 pratikmallya

:+1: Thanks!

rs-randallburt avatar Dec 18 '14 17:12 rs-randallburt

Coverage Status

Coverage decreased (-0.65%) when pulling 5351467144240ff1d93b53318826479e62247a15 on pratikmallya:master into ab62b33a287e9ab4a8039cdff483302c3ee83cd2 on rackspace:working.

coveralls avatar Dec 20 '14 22:12 coveralls

Hey guys, what is the status on this PR? Is there a timeline for it to be reviewed and merged? @briancurtin @sivel

pratikmallya avatar Dec 30 '14 16:12 pratikmallya

@rs-randallburt made the change that you suggested.

pratikmallya avatar Jan 08 '15 18:01 pratikmallya

:+1: thanks, lgtm.

rs-randallburt avatar Jan 08 '15 18:01 rs-randallburt

ping. I would really love for this patch to get merged in.

pratikmallya avatar Jan 26 '15 09:01 pratikmallya

Ping. Is there any kind of roadmap/plan to merge these patches in?

pratikmallya avatar Feb 16 '15 15:02 pratikmallya

It would indeed be nice to see this RCv3 functionality in pyrax.

ghost avatar Mar 30 '15 22:03 ghost

We're using this branch to successfully add and remove cloud servers to our load balancer pool.

Anything we can do to help get it merged? Does it need some docs?

mhsparks avatar Jul 29 '15 14:07 mhsparks

I asked several times internally and never got any response about who will not only finish but also maintain this code. We are moving away from pyrax and will soon be announcing deprecation, so while this is something that has been around and would be acceptable to merge at some point before the deprecation, no one actively works on pyrax so this has to be taken on by some other person/team at Rackspace.

@pratikmallya are you willing to write documentation and look after this code once it's merged?

briancurtin avatar Jul 29 '15 15:07 briancurtin

@briancurtin sure thing. Where should I add the documentation? Are we talking about inline code documentation?

pratikmallya avatar Jul 29 '15 15:07 pratikmallya

In the docs folder, similar to how the other services are documented. It's more of a user guide.

briancurtin avatar Jul 29 '15 15:07 briancurtin

I hate to say this, but you've already deprecated pyrax. If you are telling people not to invest in development of pyrax for the future, it's deprecated. No one with any sense would continue to develop anything except a trivial throw-away app with it. You just haven't given a path forward yet, and that's totally un-fanatical.

EdLeafe avatar Jul 29 '15 16:07 EdLeafe

As I said, we're working on it.

briancurtin avatar Jul 29 '15 16:07 briancurtin

@pratikmallya @briancurtin is there any update here? is there anything we can do to help if this is still blocked? i would very much like to write a few new ansible modules around this code, whether it is soon-to-be-deprecated or not (unless there is another option?), and i'm happy to help out here in whatever fashion to get this stuff live. fwiw we'll fork, rebase and test in the near-term.

davidquarles avatar Jan 13 '16 18:01 davidquarles

I don't have any plans of merging this because we don't have any plans of releasing or supporting it at this time. I've heard rumblings of adding RackConnect support to the Rackspace plugin for OpenStack SDK, but don't have any estimates for that yet.

briancurtin avatar Jan 13 '16 18:01 briancurtin

@davidquarles fwiw, we've resigned ourselves to maintaining our own fork of this code until there's a supported client.

rs-randallburt avatar Jan 13 '16 18:01 rs-randallburt

@rs-randallburt Is that fork available anywhere? We need to talk to a RC v3 in a new env (all the previous ones appear to be RC v2) and it would be great to be able to install your version of PyRAX into our venv's...

proffalken avatar May 23 '16 09:05 proffalken

@proffalken no, but you should be able to grab this patch and merge it locally. In the meantime, I can ask around and see what we can make available if anything.

rs-randallburt avatar May 23 '16 14:05 rs-randallburt