Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Fix deprecation warnings #8

merged 1 commit into from

2 participants


The current stable release of libcloud deprecates the API overmind uses - this changes the import to use the current API.


Cool, thanks a lot. I was aware of these recent changes to the libcloud API, but hadn't got around to fix it yet.

Will test it thoroughly when I go on triaging #6

@tobami tobami merged commit 2e4c029 into tobami:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 5, 2011
  1. @Jc2k

    Fix deprecation warnings

    Jc2k authored
This page is out of date. Refresh to see the latest.
10 overmind/provisioning/
@@ -1,8 +1,8 @@
-from libcloud import types
-from libcloud.base import NodeAuthPassword, NodeAuthSSHKey, Node
-from libcloud.base import NodeImage, NodeSize, NodeLocation
-from libcloud.providers import get_driver
-from libcloud.deployment import SSHKeyDeployment
+from libcloud.compute import types
+from libcloud.compute.base import NodeAuthPassword, NodeAuthSSHKey, Node
+from libcloud.compute.base import NodeImage, NodeSize, NodeLocation
+from libcloud.compute.providers import get_driver
+from libcloud.compute.deployment import SSHKeyDeployment
from provisioning import plugins
from django.conf import settings
import copy, logging
4 overmind/provisioning/plugins/
@@ -1,6 +1,6 @@
# Dedicated Hardware plugin
-from libcloud.base import ConnectionKey, NodeDriver, Node
-from libcloud.types import NodeState
+from libcloud.compute.base import ConnectionKey, NodeDriver, Node
+from libcloud.compute.types import NodeState
display_name = "Dedicated Hardware"
access_key = None
4 overmind/provisioning/plugins/
@@ -1,6 +1,6 @@
# Hetzner plugin
-from libcloud.base import ConnectionUserAndKey, NodeDriver, Node
-from libcloud.types import NodeState, InvalidCredsException
+from libcloud.compute.base import ConnectionUserAndKey, NodeDriver, Node
+from libcloud.compute.types import NodeState, InvalidCredsException
import httplib2
import simplejson as json
from urllib import urlencode
Something went wrong with that request. Please try again.