-
Notifications
You must be signed in to change notification settings - Fork 930
[Libcloud-556] Azure Compute Driver Support #305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Libcloud-556] Azure Compute Driver Support #305
Conversation
from xml.sax.saxutils import escape as xml_escape | ||
from httplib import (HTTPSConnection) | ||
|
||
if sys.version_info < (3,): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should use libcloud.utils.urlquote
and libcloud.utils.urlunquote
which handles this for you.
Thanks! Just added some quick comments. Will do a more complete review later on. |
Thanks Tomaz. I'll begin to address these items. -matt On Thu, Jun 5, 2014 at 2:58 AM, Tomaz Muraus notifications@github.com
|
Looking forward to seeing this in a release |
I'm back from being out of town on business for too many weeks and have turned to squashing these items. Should have something shortly. |
Is there anyone following up with the merge of this pull request ? |
Hi Pham: Yes, we're currently re-working this compute driver to utilize ET versus Thanks. On Mon, Sep 22, 2014 at 6:48 PM, Pham Nam Long notifications@github.com
|
Started the ET support this week Matt - will commit this weekend and pickup with you. |
Sweet. Thanks Richard! On Wed, Sep 24, 2014 at 12:51 AM, Richard Conway notifications@github.com
|
Can you take a look at the PR now - we've updated the xml serialization to use element tree as advised as can successfully run all compute functions and all unit tests pass |
Thanks David. I'll review this over the weekend. Then we can go from there. On Fri, Oct 3, 2014 at 2:24 AM, davidcrossland notifications@github.com
|
I've been working on a branch of this, adding in some functionality I needed for a project. You can see my branch here: https://github.com/SecurityCompass/libcloud/commits/LIBCLOUD-556_azure_compute_driver_rebased I've added some functionality like displaying custom VM images along with the azure provided ones, creating nodes using custom VMs, and using NodeSize, NodeLocation, and NodeImage for the arguments to create node. I also rebased this branch on almost the latest trunk and fixed some issues there. It looks like there might be some overlap in some of the current efforts and I imagine the easiest approach is for me to pull in the changes and then open a PR back to this branch. Is anything else being actively worked on that I should wait for? |
Hi Michael – we did a recent commit to add ET. We need this functionality too as does Matt B. We’ve got a full test coverage currently. Please feel free to pull in the changes. We’re still waiting for this branch to be merged as it happens. All the best, Richard Conway From: Michael Bennett [mailto:notifications@github.com] I've working on a branch of this, adding in some functionality I needed for a project. You can see my branch here: https://github.com/SecurityCompass/libcloud/commits/LIBCLOUD-556_azure_compute_driver_rebased I've added some functionality like displaying custom VM images along with the azure provided ones, creating nodes using custom VMs, and using NodeSize, NodeLocation, and NodeImage for the arguments to create node. I also rebased this branch on almost the latest trunk and fixed some issues there. It looks like there might be some overlap in some of the current efforts and I imagine the easiest approach is for me to pull in the changes and then open a PR back to this branch. Is anything else being actively worked on that I should wait for? — |
Hey so I created this pull request against your branch: baldwinSPC#3 I merged in the update for XML generation and also added support for handling 307 responses from Azure (before the driver had 307 as a successful call but threw an exception when handling it). I was getting these during testing which was getting in the way. I've also rebased this onto apache's trunk which makes the branch able to be automatically merged so hopefully we can get this merged (I checked that it indeed can be) in soon :) |
Hey Michael: Just updating the thread. Thanks for sending this over. I see it and will Thanks. On Mon, Nov 24, 2014 at 7:04 AM, Michael Bennett notifications@github.com
|
Hi folks, can you rebase and squash all commits. If it contains tests and passes the travis builds, I am happy to merge it. |
@Kami can you check this. It's large... |
There is still a pending pull request on their branch here: baldwinSPC#3 which included a rebase. For the branch waiting to be merged (https://github.com/SecurityCompass/libcloud/tree/LIBCLOUD-556_azure_compute_driver_rebased) it looks like it can still be merged automatically (just checked) so it's a matter of whether it passes a travis build. I can either create a new PR for my branch and address any issues there, or we can stick with this PR |
@bennettaur in order to give credits to the right folks, it'd be better if you created another PR with your work. We can merge that, and then folks can patch it with new PR. |
Sorry for the other PR being stuck. I have no time to commit to it at this
|
@bennettaur @baldwinSPC so you have a pending PR on a fork of libcloud. In any case PR from different individuals should come straight upstream so we can properly keep track or authorship. So tell me what I can merge in libcloud upstream right now, and I will do so. Then you can patch this upstream driver. Does that make sense ? |
@davidcrossland and I did quite a bit of initial work on this but I think all code is in @baldwinSPC branch so a single PR from there should suffice. |
…_driver_rebased Support for Virtual Machine Images and handling of Temp Redirects
I just merged your PR @bennettaur into the branch. @Runseb PR 305 is On Fri, Feb 27, 2015 at 9:07 AM, Richard Conway notifications@github.com
|
Let me check with @Kami cause we may have an authorship tracking problem here. |
OK, thanks @Runseb I believe the current PR has all authors in it, who are, @bennettaur -matt On Fri, Feb 27, 2015 at 9:35 AM, runseb notifications@github.com wrote:
|
Sorry everyone for the delay. The pull request and the patch itself is just big and I'm busy and had problems finding a big enough chunk of time which would allow me to thoroughly review the changes. I finally started working on it today though. I created a new branch based on this pull request where I will push any cleanup or changes which are needed (I will open a new PR shortly). Hopefully patch will finally land in trunk soon. |
Lets continue in #499. |
We have completed support for the Azure compute driver. This adds support for the core compute driver functions against Azure. The JIRA ticket can be found here:
https://issues.apache.org/jira/browse/LIBCLOUD-556?jql=project%20%3D%20LIBCLOUD
Let me know if there are any issues or if it can be accepted or not.
Thanks.
-matt