Questions tagged [openstack]
Only programming related questions!! OpenStack is a collection of open source projects that enables an open, scalable cloud infrastructure. The core of OpenStack is meant to provide consistent APIs and interfaces to a variety of potential back-ends.
openstack
2,410
questions
0
votes
0
answers
13
views
Openstack add multiple pools/listeners and members per script
i need to create for an existing octavia loadbalancer multiple pools, listeners and members. I do not want to do that for several envs manually and also not over the GUI in Openstack. Best way would ...
0
votes
0
answers
20
views
can i specify an source ip address for linux service, like openstack glance service? [closed]
The OpenStack controller node has installed some OpenStack services. I want to specify a source IP address for each service so that I can distinguish them. Is it possible to specify a source IP ...
0
votes
0
answers
18
views
Openstack Bobcat Instance creation failed - Unable to create volume in the specific Availability Zone [closed]
I am using Openstack Bobcat ..
My Cinder is configured to use NFS Driver and Multiple backends are defined with different AZ and mount points .. I have configured the same AZ on both nova and cinder ...
-1
votes
0
answers
13
views
Changing host adress for openstack [closed]
Sorry to bother you all, i just need help with openstack !
I'm an IT student in an internship about 5G
I have to use openstack to do it.
Also, i'm using differents wifis depending on where I am, so my ...
0
votes
1
answer
29
views
OpenStack Pulumi integration - Cannot connect due to apparently lacking parameter in YAML file
I am dealing with a strange situation in configuring a Pulumi deployment in order to maintain a IaC for an OpenStack environment.
The deployment is very simple as below, I started from Python:
import ...
0
votes
0
answers
24
views
How to access openstack api using idp provider (for eg.- zitadel or keyclock) access token?
when i try to access openstack api using zitadel access token, it gives a 401 unauthentiction.
I setup a openstack federation and websso using openid connect in devstack and i can login using keyclock ...
0
votes
0
answers
54
views
Openstack CLI AttributeError: module 'typing' has no attribute 'Literal'
I am trying to connect to my openstack instance using openstack CLI. I have Python version 3.6.8, and python-openstackclient version 5.8.1, I use pip version 21.3.1 as package manager.
However, when I ...
0
votes
0
answers
27
views
Cannot create server from snapshot using openstack sdk
Stuck creating server from snapshot.
I use compute method
server = conn.compute.create_server(
name='test-a2000-6-16-snapshot',
image_id=image.id, // id from my snapshot
flavor_id=flavor....
0
votes
0
answers
41
views
request X-Openstack-Request-Id is not same as response X-Openstack-Request-Id
when i operate instance with openstack api, the code is as follows:
def stop_server(self, server_id: str):
api_url = self.endpoint + f'/servers/{server_id}/action'
json = {"os-stop": ...
0
votes
1
answer
50
views
Using python to connect to MongoDB in OpenStack
I have 2 VM's running in VMWare. One is running OpenStack and one is just a regular rocky machine. In OpenStack I'm running an ubuntu image with MongoDB 4.4. My MongoDB is running with a 'private' ...
0
votes
0
answers
86
views
How can I upload a tar.bz2 file to Openstack Swift Object storage container using Python Swift Client?
I wrote a Python script that included the python-swiftclient module to connect to the OpenStack Object Storage and upload some files to the container after reading the python-swiftclient documentation:...
0
votes
2
answers
79
views
Terraform floating ip check
I need to check in terraform if a floating ip resource with a specific ip address has been yet allocated. I've tryed to use terraform datasources to do it but the problem is that when the resource is ...
0
votes
1
answer
190
views
How to use Auth token in Openstack Ansible Module
I am running the ansible-playbook command for a playbook containing a task using Ansible's openstack.cloud collection, attempting to use the Auth token returned from a previous task:
- name: "Use ...
2
votes
1
answer
78
views
python yaml openstack how to access element of one group
I have a yaml file like this:
clouds:
all:
gr1:
id: '202401'
gr2:
id: '202402'
gr3:
id: '202403'
gr4:
id: '202404'
group1:
gr1:
id: '202401'
group2:
gr2:
id: '...