Apache Libcloud is a standard Python library that abstracts away differences from multiple cloud provider APIs.
Questions tagged [libcloud]
57 questions
1
vote
1 answer
How to use libcloud library in python
I am trying to to list images in CloudStack, using libcloud api in Python:
from libcloud.compute.types import Provider
from libcloud.compute.providers import get_driver
from libcloud.common.base import Response
#import libcloud.security as sec…

user4223185
- 55
- 6
1
vote
1 answer
How do I test if provider credentials are valid in apache libcloud?
I was trying to create a driver for openstack using apache libcloud. It doesn't raise any error even if the user credentials are wrong. So When i checked the faq i found an answer as given in the link
Apache libcloud FAQ
But it doesn't seem to be…

midhun
- 157
- 2
- 2
- 10
1
vote
1 answer
Creating sshKeys for gce instance using libcloud
I need help! I am trying to create sshKeys(protocol pub_key username) for gce instance using libcloud API create_node with parameter ex_metadata while creating an instance. But username value is not getting saved when I check in google cloud console…

hebbar10
- 13
- 2
1
vote
1 answer
python libcloud create VM inside vAPP
i am able to create a node(vAPP) in cloud using libcloud, however the API does not mention a way to create a VM inside an existing vAPP. Has anyone tried this?
http://libcloud.readthedocs.org/en/latest/compute/drivers/vcloud.html
from…

krisdigitx
- 7,068
- 20
- 61
- 97
1
vote
0 answers
apache-libcloud create temporary url
I would like to generate a temporary download url using cloudlib.
I understand how to create the link by manually contructing the url, but I would like to use libcloud if possible so I can easily swap out google cloud storage.

Rich Tier
- 9,021
- 10
- 48
- 71
1
vote
2 answers
Instance failing to boot from disk on Google Compute Engine
I'm trying to boot an instance on GCE through libcloud.
When I boot through the libcloud function, ex_create_multiple_nodes (with 1 machine specified), the instance and the disk are created successfully, and the disk is attached. I verify this…

Daniel Winkler
- 15
- 4
1
vote
2 answers
How to list nodes in ec2 west in libcloud
I want to list nodes in ec2 region using libcoud. How do I do that? Below gives east only.
Driver = get_driver(Provider.EC2)
conn = Driver(key, secret)
conn.list_nodes()

Tampa
- 75,446
- 119
- 278
- 425
1
vote
3 answers
How to install apache-libcloud on ubuntu
I am having issues with libcloud install on ubuntu with python 2.7.2
I installed libcloud from the apache libcloud website http://libcloud.apache.org/downloads.html. The apache-libcloud-0.9.1.zip file.
When I follow the examples I can import…

Tampa
- 75,446
- 119
- 278
- 425
0
votes
0 answers
S3 Get Object API returning status 204 (libcloud)
So, I'm using libcloud on python to access an S3 bucket and download CSV files to process them.
It all works fine, but today I got this error:
[...]
return self.driver.download_object_as_stream(obj=self, chunk_size=chunk_size)
File…

Yago Dórea
- 336
- 1
- 3
- 12
0
votes
1 answer
Apache-libcloud raises 403 for Azure Blob Storage
I have a celery task which copies data from one azure container to another using apache libcloud.
Task works fine but after some time I get 403 error.(For example task copies 50 files and then suddenly raises 403)
What could be the…

kamoloff
- 118
- 1
- 9
0
votes
1 answer
Object metadata keys are lowercased when uploading to GCS with Apache Libcloud
I'm using Apache Libcloud to upload files to a Google Cloud Storage bucket together with object metadata.
In the process, the keys in my metadata dict are being lowercased. I'm not sure whether this is due to Cloud Storage or whether this happens in…

sdcbr
- 7,021
- 3
- 27
- 44
0
votes
1 answer
Using Google Cloud API with Python - Using libs to creating Schedule Sanpshots
I'm probably very confused with the API concepts but I'm not understanding how to use REST Google API with Python.
On the API documentation, it said to use HTTP Requests or client libs (in case of Python, libcloud or Google API Python Client…

BernardoMorais
- 571
- 2
- 6
- 14
0
votes
1 answer
libcloud and GCP. How to autheticate using service account
I am trying to use Apache libcloud to access GCP and hopefully be able to launch compute instances. So, following the documentation, I have created a service account on GCP associated with my email and given it the owner access for the moment. After…

Luca
- 10,458
- 24
- 107
- 234
0
votes
1 answer
How can I get list of instances where stackdriver monitoring agent is not installed in gcp?
I have 100's of instances I want to make sure that stackdriver monitoring agent is installed in all my gcp instances. Is there any way I can get a list of instances which does not have stackdriver monitoring agent installed in a project or the other…

shrey tyagi
- 164
- 1
- 2
- 14
0
votes
1 answer
How to access a folder "/" in the Google bucket using Python libcloud?
I have a Google bucket with the following tree (Note the folder named "/"!):
"bucket-1"
|
|--- "data.csv"
|
|--- "/"
|
|--- "runs"
|
|--- "run-1"
| |
…