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.
Related
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?
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
I'm trying to use RobotFramework template to test an internet website but getting the following error:
$ robot_cli $ROBOT_OPTIONS --variable BROWSER:${ROBOT_BROWSER} --outputdir "rf_reports/" --xunit robot-junit.xml $ROBOT_TESTS_DIR
[INFO] Upstream environment_url.txt file found: use base url https://toscatoolbox.orange.com/
==============================================================================
Statistics
==============================================================================
Statistics.Get StatsPortailTOSCAToolbox
==============================================================================
Get_Stats_TOSCAToolboxPortal [ WARN ] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f4eb7677b20>: Failed to establish a new connection: [Errno 110] Operation timed out')': /wd/hub/session
[ WARN ] Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f4eb7677c40>: Failed to establish a new connection: [Errno 110] Operation timed out')': /wd/hub/session
[ WARN ] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f4eb7677d90>: Failed to establish a new connection: [Errno 110] Operation timed out')': /wd/hub/session
| FAIL |
MaxRetryError: HTTPConnectionPool(host='10.170.227.195', port=5555): Max retries exceeded with url: /wd/hub/session (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f4eb7677ee0>: Failed to establish a new connection: [Errno 110] Operation timed out'))
------------------------------------------------------------------------------
Statistics.Get StatsPortailTOSCAToolbox | FAIL |
1 test, 0 passed, 1 failed
==============================================================================
Statistics | FAIL |
1 test, 0 passed, 1 failed
==============================================================================
Are you using the BASE_URL variable in your RobotFramework scripts to retrieve the auto-evaluated base URL ?
Have a look at this example.
Because RobotFramework here seems to be trying opening a connection on 10.170.227.195:5555, which does not seem to correspond with https://toscatoolbox.orange.com/
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
I am new to Oracle, installed oracle SQL developer but each time I try to connect, I get the error:
Status: Failure -Test failed: IO Error: The Network Adapter could not
establish the connection
and the oracleTNSlistener service turns off on its own. Each time I start the service, it turns off immediately on its own.