Questions tagged [openstack-api]
20 questions
1
vote
1 answer
Openstack API not providing precise data
I am using Openstack - Stein in CentOS 7.9
I was using python to collect data about the openstack nova performance, like server names and id in the openstack project, i have 3 instance(server) created, i can see all three instance in openstack cli,…

Kavin Kumar
- 73
- 5
1
vote
0 answers
Fetch all questions using Python
Currently I am working on the project where I need to collect all questions from the Stack Overflow site.
from stackapi import StackAPI
SITENAME = 'stackoverflow'
SITE = StackAPI(SITENAME)
questions =…

Biggy Poopa
- 73
- 6
1
vote
0 answers
Error : Max retries exceeded with url: /v3/auth/tokens
I'm trying to use the Openstack API for the first time with the Python SDK.
But I am getting below error:
Unable to establish connection to https://172.23.13.30/v3/auth/tokens: HTTPSConnectionPool(host='172.23.13.30', port=443): Max retries exceeded…

Oshin aggrawal
- 79
- 1
- 8
1
vote
0 answers
Displaying desktop notification after getting a new message python tkinter
I wanted to make a notification system for StackOverflow using tkinter, when an item is unread in my inbox i want it to show the notification(but only once), which it does. But its not efficient. In some ways it shows notification once, and when i…

Delrius Euphoria
- 14,910
- 3
- 15
- 46
1
vote
1 answer
Authenticate against keystone API using Application Credential
I can authenticate against the keystone API using the following code:
from keystoneauth1 import session
from keystoneauth1.identity import v3
from openstack import connection
auth = v3.Password(
auth_url="http://localhost:5000/v3/",
…

crypticgamer
- 101
- 7
1
vote
0 answers
Extract and parse JSON Data with Python3
I want to ask how to get the list IP Address in my getproject():
addresses={
'int-ext': [
{
'version': 4,
'addr': '192.168.1.201',
'OS-EXT-IPS:type': 'fixed',
'OS-EXT-IPS-MAC:mac_addr': 'fa:16:3e:e1:95:33'
}
…

Surya
- 11
- 2
1
vote
0 answers
incomplete flavor info from get server detail list on compute endpoint
could anyone have any idea why does the flavor info returned from my api call of openstack list-servers return incomplete information?
Here is the documentation : https://developer.openstack.org/api-ref/compute/#list-servers-detailed
The api call…

user2986943
- 11
- 1
1
vote
1 answer
OpenStack:What is the difference between using "CLI to the OpenStack APIs" and the separate APIs of the components?
What is the difference between:
using "the Command-line interface to the OpenStack APIs" through the command "openstack"
and
using the separate APIs of the different components (for example using the command-line interface to the Neutron APIs…

Scampo
- 53
- 1
- 10
1
vote
1 answer
Openstack API - Creating instances does not accept user-data =
I am automating instance creation using OpenstackSDK and passing bash script with commands as userdata. But the script does not excute even though the instance is crated. When I do this manually via GUI, the bash scripts executes fine to the newly…

Buggy B
- 623
- 7
- 18
1
vote
1 answer
How to get right OSClient from token in Openstack4j java api for v2 and v3?
I am using openstack4j java api. I am able to access 2 openstack projects (image for projects that I can access), given instance id I want to shut down the instance. While getting OSClient, I loop over clients for both projects and check in which…

Rishi Anand
- 280
- 1
- 4
- 15
0
votes
0 answers
Access OpenStack API from a VM within the cluster
I am running VHI with OpenStack. I have configured the API to use a DNS name, as defined in the VHI documentation. The change is processed and when I make an API call to the catalog (/v3/auth/catalog) the public interface is returning the correct…

Lance Johnson
- 1
- 1
- 1
0
votes
1 answer
Does instance snapshot saves network configuration?
So, I want the user to make some network configurations, like firewall, QoS and so on, inside the instance using the console. And I want to save the instance with those configurations. If I take a snapshot after the user make those configuration,…

Bert
- 25
- 3
0
votes
0 answers
[Openstack]: Upload Image through API using cURL
I have set up Openstack 4.0.2 (Train release). I'm trying to provide APIs to my client for building a web application. Everything works on the command line as well as on Horizon Dashboard. However, through API right from the token generation to…

santhosh j
- 91
- 4
0
votes
2 answers
OVH "get_version_v3() got an unexpected keyword argument 'auth'"
I'm trying to switch from openStack v2 to v3 but I'm having trouble requesting a token.
here is the POST request
{
"auth": {
"identity": {
"methods": [
"password"
],
…

Mel
- 625
- 9
- 25
0
votes
0 answers
Why is my Openstack Auth Module no longer working?
I have a project that authenticates against the keystone API using python, in the last few weeks my auth method has stopped working and I can't see why.
The module looks like this:
from keystoneauth1.identity import v3
from keystoneauth1 import…

Lance Haig
- 332
- 4
- 13