Questions tagged [jclouds]

Apache jclouds® is an open source multi-cloud toolkit for the Java platform that gives you the freedom to create applications that are portable across clouds while giving you full control to use cloud-specific features.

Apache jclouds® is an open source multi-cloud toolkit for the Java platform that gives you the freedom to create applications that are portable across clouds while giving you full control to use cloud-specific features.

See http://jclouds.apache.org/

269 questions
1
vote
3 answers

jClouds + OpenStack: (NoSuchElementException) key [openstack-neutron] not in the list of providers or apis

I'm trying to integrate Apache jClouds into a Java project so I can access the OpenStack API. The following code fails: neutronApi = ContextBuilder.newBuilder("openstack-neutron") .credentials(USERNAME, API_KEY) …
1
vote
1 answer

Using Jclouds without Maven

I want to use jclouds in my project. But i saw that jclouds has some dependencies like (google inject, guava etc). So, is there any easy way to using jclouds without using maven?
Bilal Yasar
  • 947
  • 2
  • 11
  • 24
1
vote
2 answers

Jclouds example not working on host machine (devstack)

I installed Devstack on Virtualbox and I want to use Jclouds for application development on my host machine, when I test the homepage example import com.google.common.collect.ImmutableSet; import com.google.common.io.Closeables; import…
1
vote
1 answer

Install Linux with Desktop Environment via jClouds/Apache Brooklyn

I want to install a Linux machine (preferably Red Hat) with a Desktop Environment (lets say Xcfe, but it could be another one) via Brooklyn (with jClouds). In the same way that in Apache Brooklyn there is a VanillaWindowsProcess which installs a…
Iker Aguayo
  • 3,980
  • 4
  • 37
  • 49
1
vote
1 answer

jclouds IOExpection: Error writing request body to server

We are using jclouds with Rackspace and when uploading lots of files via cloudfile api (multi threaded) Once in while we are getting an exception on objectApi.put line (see example code at bottom) Exception 16-Jul-2015 11:58:00.811 SEVERE…
oak
  • 2,898
  • 2
  • 32
  • 65
1
vote
1 answer

Creating a custom logger using JClouds with Guice dependency injection

I am just stuck and need some pointers. I have followed instruction on creating my own logging implementation, logging factory, and guice module; but just aren't sure what I am missing... My custom logger implemented w/ Factory. This extends from…
Forrest
  • 95
  • 8
1
vote
1 answer

JClouds: Customizing volumes with Google Compute Engine

I am not able to find documentation or code examples for the following tasks using JClouds and Google Compute Engine: When you are creating an instance, how can you choose SSD instead Standard Disk ? How can you customize the size of the root…
Tk421
  • 6,196
  • 6
  • 38
  • 47
1
vote
1 answer

jclouds-labs azurecompute getting a ComputeService object

Using Jclouds and jclouds-labs azurecompute I have the following code snip-it which is working as expected ContextBuilder contextBuilder = ContextBuilder.newBuilder(cloudProvider); AzureComputeApi api = contextBuilder …
dmc
  • 401
  • 4
  • 14
1
vote
3 answers

JClouds: Define firewall rules at Google Compute Engine

I am trying to use JClouds to create instances in Google Compute Engine. I am not able to set properly the firewall rules, and the only port that is opened is the 22 (the default one). I found nothing in the documentation and examples. The…
Tk421
  • 6,196
  • 6
  • 38
  • 47
1
vote
1 answer

Guide to install keystone on SAIO

I'm new to openstack, I have just installed and configured Swift using vmware. Followed this instruction: http://docs.openstack.org/developer/swift/development_saio.html Right now SAIO uses tempauth to authenticate, I am able to access the cloud…
realitylex
  • 15
  • 3
1
vote
0 answers

create EBS volume giving error for amazon ec2 using jclouds

I'm using the below code to create EBS volume in amazon ec2. The same code is in production and was working fine. But from last couple of days I'm getting a new exception. I cant find out the certain error. Please help to understand the error. else…
bagui
  • 844
  • 4
  • 18
  • 37
1
vote
1 answer

Jcouds hardware Id not found

Why can't I have some r3.xlarge instances :( java.util.NoSuchElementException: hardwareId(r3.xlarge) not found at…
dmc
  • 401
  • 4
  • 14
1
vote
2 answers

Jclouds - Neutron specify a nic when associating a floating ip

I create instances with multiple network interfaces. However when I associate an floating ip to the instance as below, floating ip is always get allocated to the first interface of the instance. api.addToServer(ip, server-id); How do I get the…
Udara S.S Liyanage
  • 6,189
  • 9
  • 33
  • 34
1
vote
1 answer

In Jclouds for openstack while creating NeutronApi object it throws com.google.inject.ConfigurationException

I am using jclouds version : 1.8.0-SNAPSHOT My code snippet is as follows : String provider = "openstack-nova"; String identity = "admin:admin"; // tenantName:userName String credential = "admin123"; Properties prop = new…
Akhil V. Pillai
  • 93
  • 1
  • 2
  • 4
1
vote
1 answer

JClouds-Chef: IllegalAccessError on TokenType2?

I am using the JClouds-Chef API to bootstrap a Linux VM (myapp01.me.example.com) with Chef Client, and to then run the client and configure the VM with its app stack via a typicalapp role: package com.me.myorg.chef; import…
IAmYourFaja
  • 55,468
  • 181
  • 466
  • 756