16 questions
1
vote
1
answer
121
views
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,...
1
vote
0
answers
210
views
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 ...
1
vote
0
answers
2k
views
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(...
0
votes
2
answers
566
views
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": {
...
1
vote
0
answers
437
views
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 ...
1
vote
1
answer
674
views
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(
...
1
vote
0
answers
86
views
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-...
0
votes
0
answers
268
views
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 ...
0
votes
1
answer
501
views
'openstack ip availability list/show' in Python API
I would like to use this openstack command using the Python API. Going through the Neutron documentation, I found this page.
I tried executing 'network_ip_availability.ListIpAvailability(neutron....
0
votes
1
answer
328
views
Getting Nova Server From Metadata
Getting Nova Server From Metadata
Hi,
I'm using jclouds SDK with Java to retrieve OpenStack Nova Servers, i can retrieve the server through its id, but i didn't find any other way that i can get a ...
1
vote
1
answer
273
views
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 ...
1
vote
1
answer
1k
views
Openstack API - Creating instances does not accept user-data = <bash script>
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 ...
1
vote
1
answer
667
views
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 ...
1
vote
2
answers
1k
views
Openstack allow api access from vm
We are currently using Openstack newtown. We can access the API using client on public endpoint from any computer, but the vm don't have access to it, they can ping the IP and dns name but can't curl ...
0
votes
1
answer
727
views
OpenStack SDK - How to create image with Kernel id and Ramdisk parameters?
I've been trying to create an OpenStack image informing the Kernel Id and Ramdisk Id, using the OpenStack Unified SDK (https://github.com/openstack/python-openstacksdk), but without success. I know ...
0
votes
1
answer
316
views
Openstack Python SDK - Glance does not return image MD5
I'm trying to download an OpenStack image from glance using only the Openstack Python SDK, but I only get this error:
Traceback (most recent call last):
File "/home/openstack/discovery/discovery.py"...