Can't access openstack dashboard - openstack

I installed Openstack in Ubuntu and started it using the ./start.sh command. When I try to login the dashboard, I get the error below about not being able to connect to Neuron:
ConnectionFailed at /project/
Connection to neutron failed: HTTPConnectionPool(host='192.168.204.173', port=9696): Max retries exceeded with url: /networking/v2.0/extensions (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7efde4f460>: Failed to establish a new connection: [Errno 111] Connection refused'))
How do I fix this?

Related

I can't connect watcher to openstack

I have the following scenario:
server: Ubuntu 20.04.3 LTS
openstack installed with devstack
watcher 2.2.0
Every services seem to be working and i can see the watcher dashboard on localhost.
But I think I have an auth problem between watcher and keystone :
Error contacting Watcher server: Unable to establish connection
to http://x.x.x.x:9322/v1/services: HTTPConnectionPool(host='x.x.x.x', port=9322):
Max retries exceeded with url: /v1/services (Caused by NewConnectionError('<urllib3.connection.
HTTP Connection object at 0x7fba33b1be50>: Failed to establish a new connection: [Errno 111] Connexion refusée')).
Attempt 6 of 6
I'm testing something on a VM, I put the same IP and the same password everywhere
Where should I look first ?

openstack Instance failed network setup

I have 2 ubuntu node (controller and compute) that i installed openstack, module by module.
but i can not create any instance.
in nova compute logs show this error:
ERROR nova.compute.manager [req-42d9d648-b39f-4214-9e5e-b8fb8799c10e 91704884e43f48fcbd156b8d7429fc3e 5e055db0a5464dc1997ab0f456792271 - default default] Instance failed network setup after 1 attempt(s): keystoneauth1.exceptions.connection.ConnectFailure: Unable to establish connection to http://localhost:9696/v2.0/networks?id=163f0b54-e337-40ac-81af-958c24ceeb7f: HTTPConnectionPool(host='localhost', port=9696): Max retries exceeded with url: /v2.0/networks?id=163f0b54-e337-40ac-81af-958c24ceeb7f (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f4ce476a820>: Failed to establish a new connection: [Errno 111] ECONNREFUSED')
please help me

Apache Atlas and Airflow Integration

I am trying to integrate an Apache Atlas instance I have running with Apache Airflow. Once I set up the connection in airflow.cfg I tried running a DAG from the Airflow scheduler. I get the following error in the log.
[2021-02-02 20:50:47,958] {connectionpool.py:752} WARNING - Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f464b856950>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/atlas/v2/types/typedefs
[2021-02-02 20:50:47,960] {taskinstance.py:1150} ERROR - HTTPConnectionPool(host='localhost', port=21000): Max retries exceeded with url: /api/atlas/v2/types/typedefs (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f464b8650d0>: Failed to establish a new connection: [Errno 111] Connection refused'))
My airflow.cfg is configured as the following:
[lineage]
backend = airflow.lineage.backend.atlas.AtlasBackend
[atlas]
username = <username>
password = <password>
host = localhost
port = 21000
I have tried changing the host to http://localhost as well. I am not sure where to investigate in Atlas to identify why the connection is being refused.
Connection Refused means either service is not listening on the configured port or the wrong hostname.
Try to replace localhost to fqdn,
A good way to configure it correctly is to access atlas ui and simply put the hostname from the url to config.
I was able to solve the problem by adding the --hostname flag when starting the docker container for atlas. I then used the hostname I provided as the host in airflow.cfg

Connection refused [Errno 111] when typing swift start command

When I type the swift stat command, this error appears:
HTTPConnectionPool(host='controller', port=8080): Max retries exceeded with url: /v1/AUTH_d17698cf7bbf4dcc8fc59ed6f7b48052 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1b0c2939a0>: Failed to establish a new connection: [Errno 111] Connection refused'))
And when I type this command to see if there's a listen on port 8080, nothing appears:
netstat -tanpu | grep ":8080"
and when I try to restart or start the swift service with service swift-proxy restart, an error appears:
Assertion failed on job for swift-proxy.service.

Flex application not loading in VPN

My Flex application is not loading in VPN Network.
Error message: Connection Problems: Channel.Connect.Failed
error NetConnection.Call.Failed: HTTP:
Failed: url: ‘http://172.16.46.246/PASSUS/messagebroker/amf’
-[RPC Fault faultString=”Send failed” faultCode=”Client.Error.MessageSend”
faultDetail=”Channel.Connect.Failed
error NetConnection.Call.Failed: HTTP:
Failed: url: http://XX.XX.XX.XX/PASSUS/messagebroker/amf’”]*
Change your channel url in services-config.xml:
"/PASSUS/messagebroker/amf"
Do not use ip address. You can look here for detail moving to production server
And here send failed error

Resources