libcloud-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Montgomery <>
Subject You specified an invalid image for Droplet creation.
Date Thu, 31 Dec 2015 05:06:12 GMT
Wowee.....It worked yesterday but now i get the below.  I go back to rest
with issues.

I mean...I list images, I find the image I want to use...yet I get the
below error where the same code worked yesterday.  I have to revert back to
rest which works with out fail.

Why the variance with libclould? I have tried for years to get libclould to
work with ec2 and DO.  I always have to revert back to rest for DO and boto
with ec2.  I will probably try again in another year.


image: <NodeImage: id=14782728, name=14.04.3 x64, driver=DigitalOcean  ...>
getting locations
location <NodeLocation: id=sfo1, name=San Francisco 1, country=None,
getting sizes
size: <NodeSize: id=4gb, name=4gb, ram=4096 disk=60 bandwidth=4.0
price=0.05952 driver=DigitalOcean ...>
Traceback (most recent call last):
  File "/home/ubuntu/workspace/new-devops/", line 37, in
  File "/home/ubuntu/workspace/new-devops/classes/",
line 212, in boot
    node = self.driver.create_node(name, image, size, location,
line 400, in create_node
    data=json.dumps(attr), method='POST')
  File "/usr/local/lib/python2.7/dist-packages/libcloud/common/",
line 797, in request
    response = responseCls(**kwargs)
  File "/usr/local/lib/python2.7/dist-packages/libcloud/common/",
line 143, in __init__
libcloud.common.exceptions.BaseHTTPError: You specified an invalid image
for Droplet creation. (code: 422)

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message