OpenStack4j is an open source OpenStack client which allows provisioning and control of an OpenStack system. The library and has been broken out into several major API abstractions.
Questions tagged [openstack4j]
20 questions
5
votes
1 answer
monitor the amount of requests openstack4j does
Jenkins's openstack-plugin uses openstack4j for talking to an openstack cloud. I'm looking for a way that we can we can monitor the amount of http(s) API calls openstack4j does, from client side perspective.
Some possible things to know:
Jenkins…

Jan Heylen
- 129
- 8
2
votes
1 answer
RestEasyProviderFactory ClassCastException in openstack4j
I have upgraded my version of openstack4j to the 3.0.3 (from v2) and I'm having this error when running it from Tomcat with both OKHTTP Connector and HTTPCLIENT Connector.
java.lang.ClassCastException:…

moondaisy
- 4,303
- 6
- 41
- 70
2
votes
1 answer
Get uploaded object URL using openstack4j
Currently I'm using openstack4j to put objects into a publicly readable container. The upload works fine (I can get the URL of the object by piecing it together), but I'd like to be able to get the public URL of the uploaded object straight from the…

Casey Richardson
- 23
- 4
2
votes
0 answers
OpenStack4J: How do I list roles for identity(keystone) v3?
I am using OpenStack4J as a client to OpenStack Identity (keystone) v2. I am able to successfully authenticate and to list roles using OpenStack4J against keystone v2.
I've now started to port my software to use identity(keystone) v3. OpenStack4J…

mashton
- 21
- 2
1
vote
0 answers
How to use a non-JDBC connector in a custom Policy Information Point (PIP)
I want my custom Policy Information Point (PIP) to be able to connect to OpenStack Swift (an Object Storage application) thanks to this connector. The connector is able to retrieve metadata from an object, which would be sent back to the Policy…

jnamdar
- 11
- 2
1
vote
2 answers
Does openstack4j support set header when upload image?
I have some problem about OpenStack swift object storage. I want to set an expiration for objects. I use openstack4j. My upload object code
public void add(String objectName, InputStream imageStream) {
OSClientV3 clientV3 =…

coldesleon
- 11
- 1
1
vote
1 answer
Authenticating to IBM Object Storage with OpenStack4j
I'm having a hard time authenticating to the Object Storage Service in IBM Cloud from an external Java application using the OpenStack4j library (version 3.1.0). Here's how I'm trying:
Identifier domainIdentifier =…

Tuomas Tikka
- 201
- 6
- 13
1
vote
0 answers
Connection timeout with openstack4j compute query
I'm trying out openstack4j, and I've run into a problem I don't know what could be causing.
Authentication to the cloud went smoothly:
OSClient os =…

Ehrendil
- 233
- 3
- 13
1
vote
0 answers
OpenStack4j - maven unresolved dependencies
In scala I am trying to use openstack4j library.
libraryDependencies += "org.pacesys" % "openstack4j" % "1.0.1"
I get following error/warning with unresolved dependencies. OpenStack4j is found
and installed, however indirectly depended modules…

Jure Polutnik
- 577
- 6
- 16
0
votes
0 answers
OpenStack4j Core on Karaf ConnectorNotFoundException
I have an OSGi (Karaf 4.2.1) application that uses OpenStack4j 3.10. To connect the application to OpenStack, I want to use the openstack4j-httpclient. For authentication, I use credentials as follows:
os = OSFactory.builderV3()
…

Marcel Jahnke
- 1
- 1
0
votes
0 answers
How to pass parameters as input to the python script while VM creation in OpenStack?
[Unit]
Description=IDP project service
After=multi-user.target
Conflicts=getty@tty1.service
[Service]
Type=simple
ExecStart=/usr/bin/python3…

anonymous
- 11
- 3
0
votes
0 answers
Not able to fetch Open stack Hypervisor IPV6 address using openstack4j SDK in case compute host is in dual stack network
In Open stack Hypervisor which has bot IPV4 and IPV6 address.
Tried to get the Hypervisor details using compute().hypervisors().list();
The return Object does not has a IPV6 Address
Currently in openstack4j version 3.10.
getting Hypervisor List…
0
votes
0 answers
Secret getPayload() openstack4j
I'm unable to get the secret's payload from openstack4j, it always returns null.
Secret secret = os.barbican().secrets().get("19cbc4e8-cd06-450b-aa5d-2a4d20bf7d60");
secret.getPayload(); //Always returns null
The same works when using the OpenStack…
0
votes
1 answer
openstack4j sending request to wrong host
I have a OpenStack running on a Google Cloud Plataform VM. Even tough I create a openstack4j os with external IP, when I call any method I got connect timed out, because openstack4j is using internal IP. Can I set manually my host when calling…

Kilmer Luiz Aleluia
- 305
- 1
- 3
- 14
0
votes
1 answer
Why Im getting Connect timed out?
After authenticating, if I call any method, like os.compute().flavors().list() or os.images().list(), I get connect timed out. Why is this happening?
I set up a OpenStack with RDO packstack at a GoogleCloudsPlataform VM. I am doing auth with domain…

Kilmer Luiz Aleluia
- 305
- 1
- 3
- 14