Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Swift connection time out

Hi,

Can you please help,

I am not able to run openstack swift service commands. All other openstack commands are working fine except swift.

for example:

[root@localhost ~(keystone_admin)]#openstack container list Unable to establish connection to http://192.168.187.129:8080/v1/AUTH_6ccefe26d415442aaff1ab5200c65fa9: HTTPConnectionPool(host='192.168.187.129', port=8080): Max retries exceeded with url: /v1/AUTH_6ccefe26d415442aaff1ab5200c65fa9?format=json (Caused by NewConnectionError('<requests.packages.urllib3.connection.httpconnection object="" at="" 0x441e650="">: Failed to establish a new connection: [Errno 111] Connection refused',))

All other openstack commands are working fine.

my /etc/swift/proxy-server.conf have the following,

[filter:authtoken]
paste.filter_factory = keystonemiddleware.auth_token:filter_factory
admin_tenant_name = %SERVICE_TENANT_NAME%
admin_user = %SERVICE_USER%
admin_password = %SERVICE_PASSWORD%
auth_host = 127.0.0.1
auth_port = 35357
auth_protocol = http
signing_dir = /var/cache/swift
log_name=swift

auth_uri=http://192.168.187.129:5000/v3
auth_url=http://192.168.187.129:35357
auth_plugin=password
project_domain_id=default
user_domain_id=default
project_name=services
username=swift
password=7515a970e2454511
delay_auth_decision=1
cache=swift.cache
include_service_catalog=False

openstack container list --debug is below

-bash: my: command not found

[root@localhost swift(keystone_admin)]# [root@localhost swift(keystone_admin)]# [filter:authtoken] -bash: [filter:authtoken]: command not found [root@localhost swift(keystone_admin)]# paste.filter_factory = keystonemiddleware.auth_token:filter_factory -bash: paste.filter_factory: command not found [root@localhost swift(keystone_admin)]# admin_tenant_name = %SERVICE_TENANT_NAME% -bash: admin_tenant_name: command not found [root@localhost swift(keystone_admin)]# admin_user = %SERVICE_USER% -bash: admin_user: command not found [root@localhost swift(keystone_admin)]# admin_password = %SERVICE_PASSWORD% -bash: admin_password: command not found [root@localhost swift(keystone_admin)]# auth_host = 127.0.0.1 -bash: auth_host: command not found [root@localhost swift(keystone_admin)]# auth_port = 35357 -bash: auth_port: command not found [root@localhost swift(keystone_admin)]# auth_protocol = http -bash: auth_protocol: command not found [root@localhost swift(keystone_admin)]# signing_dir = /var/cache/swift -bash: signing_dir: command not found [root@localhost swift(keystone_admin)]# log_name=swift [root@localhost swift(keystone_admin)]# auth_uri=http://192.168.187.129:5000/v3 [root@localhost swift(keystone_admin)]# auth_url=http://192.168.187.129:35357 [root@localhost swift(keystone_admin)]# auth_plugin=password [root@localhost swift(keystone_admin)]# project_domain_id=default [root@localhost swift(keystone_admin)]# user_domain_id=default [root@localhost swift(keystone_admin)]# project_name=services [root@localhost swift(keystone_admin)]# username=swift [root@localhost swift(keystone_admin)]# password=7515a970e2454511 [root@localhost swift(keystone_admin)]# delay_auth_decision=1 [root@localhost swift(keystone_admin)]# cache=swift.cache [root@localhost swift(keystone_admin)]# include_service_catalog=False [root@localhost swift(keystone_admin)]# [root@localhost swift(keystone_admin)]# [root@localhost swift(keystone_admin)]# [root@localhost swift(keystone_admin)]# clear [root@localhost swift(keystone_admin)]# openstack container list --debug START with options: [u'container', u'list', u'--debug'] options: Namespace(access_key='', access_secret='', access_token='', access_token_endpoint='', access_token_type='', aodh_endpoint='', auth_type='', auth_url='http://192.168.187.129:5000/v3', cacert=None, cert='', client_id='', client_secret='', cloud='', code='', consumer_key='', consumer_secret='', debug=True, default_domain='default', default_domain_id='', default_domain_name='', deferred_help=False, discovery_endpoint='', domain_id='', domain_name='', endpoint='', identity_provider='', identity_provider_url='', insecure=None, interface='', key='', log_file=None, old_profile=None, openid_scope='', os_alarming_api_version='2', os_beta_command=False, os_compute_api_version='', os_data_processing_api_version='1.1', os_data_processing_url='', os_database_api_version='1', os_dns_api_version='2', os_identity_api_version='3', os_image_api_version='', os_key_manager_api_version='1', os_metrics_api_version='1', os_network_api_version='', os_object_api_version='', os_orchestration_api_version='1', os_project_id=None, os_project_name=None, os_volume_api_version='', os_workflow_api_version='2', passcode='', password='', profile=None, project_domain_id='', project_domain_name='Default', project_id='', project_name='admin', protocol='', redirect_uri='', region_name='', roles='', timing=False, token='', trust_id='', url='', user='', user_domain_id='', user_domain_name='Default', user_id='', username='admin', verbose_level=3, verify=None) Auth plugin password selected auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', 'key': None, u'database_api_version': '1', 'metrics_api_version': '1', 'data_processing_api_version': '1.1', 'auth_url': 'http://192.168.187.129:5000/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': u'2', 'verify': True, u'dns_api_version': '2', u'object_store_api_version': u'1', 'username': 'admin', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': '', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'user_domain_name': 'Default', 'project_name': 'admin', 'project_domain_name': 'Default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': '1', 'timing': False, 'password': '', u'application_catalog_api_version': u'1', 'cacert': None, u'key_manager_api_version': '1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', 'workflow_api_version': '2', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', 'alarming_api_version': '2', 'debug': True, u'interface': None, u'disable_vendor_agent': {}} defaults: {u'auth_type': 'password', u'status': u'active', u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', 'api_timeout': None, u'baremetal_api_version': u'1', u'image_api_version': u'2', u'container_infra_api_version': u'1', u'metering_api_version': u'2', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1', 'cacert': None, u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', u'application_catalog_api_version': u'1', u'key_manager_api_version': u'v1', 'verify': True, u'identity_api_version': u'2.0', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', u'container_api_version': u'1', u'dns_api_version': u'2', u'object_store_api_version': u'1', u'interface': None, u'disable_vendor_agent': {}} cloud cfg: {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', 'key': None, u'database_api_version': '1', 'metrics_api_version': '1', 'data_processing_api_version': '1.1', 'auth_url': 'http://192.168.187.129:5000/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': u'2', 'verify': True, u'dns_api_version': '2', u'object_store_api_version': u'1', 'username': 'admin', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': '', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'user_domain_name': 'Default', 'project_name': 'admin', 'project_domain_name': 'Default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': '1', 'timing': False, 'password': '', u'application_catalog_api_version': u'1', 'cacert': None, u'key_manager_api_version': '1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', 'workflow_api_version': '2', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', 'alarming_api_version': '2', 'debug': True, u'interface': None, u'disable_vendor_agent': {}} compute API version 2, cmd group openstack.compute.v2 network API version 2, cmd group openstack.network.v2 image API version 2, cmd group openstack.image.v2 volume API version 2, cmd group openstack.volume.v2 identity API version 3, cmd group openstack.identity.v3 object_store API version 1, cmd group openstack.object_store.v1 neutronclient API version 2, cmd group openstack.neutronclient.v2 key_manager API version 1, cmd group openstack.key_manager.v1 dns API version 2, cmd group openstack.dns.v2 database API version 1, cmd group openstack.database.v1 data_processing API version 1.1, cmd group openstack.data_processing.v1 orchestration API version 1, cmd group openstack.orchestration.v1 workflow_engine API version 2, cmd group openstack.workflow_engine.v2 metric API version 1, cmd group openstack.metric.v1 alarming API version 2, cmd group openstack.alarming.v2 Auth plugin password selected auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', 'key': None, u'database_api_version': '1', 'metrics_api_version': '1', 'data_processing_api_version': '1.1', 'auth_url': 'http://192.168.187.129:5000/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': u'2', 'verify': True, u'dns_api_version': '2', u'object_store_api_version': u'1', 'username': 'admin', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': '', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'user_domain_name': 'Default', 'project_name': 'admin', 'project_domain_name': 'Default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': '1', 'timing': False, 'password': '', u'application_catalog_api_version': u'1', 'cacert': None, u'key_manager_api_version': '1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', 'workflow_api_version': '2', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', 'alarming_api_version': '2', 'debug': True, u'interface': None, u'disable_vendor_agent': {}} Auth plugin password selected auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', 'key': None, u'database_api_version': '1', 'metrics_api_version': '1', 'data_processing_api_version': '1.1', 'auth_url': 'http://192.168.187.129:5000/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': u'2', 'verify': True, u'dns_api_version': '2', u'object_store_api_version': u'1', 'username': 'admin', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': '', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'user_domain_name': 'Default', 'project_name': 'admin', 'project_domain_name': 'Default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': '1', 'timing': False, 'password': '', u'application_catalog_api_version': u'1', 'cacert': None, u'key_manager_api_version': '1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', 'workflow_api_version': '2', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', 'alarming_api_version': '2', 'debug': True, u'interface': None, u'disable_vendor_agent': {}} command: container list -> openstackclient.object.v1.container.ListContainer Auth plugin password selected auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', 'key': None, u'database_api_version': '1', 'metrics_api_version': '1', 'data_processing_api_version': '1.1', 'auth_url': 'http://192.168.187.129:5000/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': u'2', 'verify': True, u'dns_api_version': '2', u'object_store_api_version': u'1', 'username': 'admin', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': '', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'user_domain_name': 'Default', 'project_name': 'admin', 'project_domain_name': 'Default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': '1', 'timing': False, 'password': '', u'application_catalog_api_version': u'1', 'cacert': None, u'key_manager_api_version': '1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', 'workflow_api_version': '2', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', 'alarming_api_version': '2', 'debug': True, u'interface': None, u'disable_vendor_agent': {}} Using auth plugin: password Using parameters {'username': 'admin', 'project_name': 'admin', 'user_domain_name': 'Default', 'auth_url': 'http://192.168.187.129:5000/v3', 'password': '', 'project_domain_name': 'Default'} Get auth_ref REQ: curl -g -i -X GET http://192.168.187.129:5000/v3 -H "Accept: application/json" -H "User-Agent: osc-lib/1.3.0 keystoneauth1/2.18.0 python-requests/2.11.1 CPython/2.7.5" Starting new HTTP connection (1): 192.168.187.129 "GET /v3 HTTP/1.1" 200 197 RESP: [200] Date: Sat, 10 Mar 2018 14:00:32 GMT Server: Apache/2.4.6 (CentOS) Vary: X-Auth-Token,Accept-Encoding x-openstack-request-id: req-f69666eb-3c90-458a-8ce2-09caf4277fa3 Content-Encoding: gzip Content-Length: 197 Connection: close Content-Type: application/json RESP BODY: {"version": {"status": "stable", "updated": "2017-02-22T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.8", "links": [{"href": "http://192.168.187.129:5000/v3/", "rel": "self"}]}}

GET call to None for http://192.168.187.129:5000/v3 used request id req-f69666eb-3c90-458a-8ce2-09caf4277fa3 Making authentication request to http://192.168.187.129:5000/v3/auth/tokens Resetting dropped connection: 192.168.187.129 "POST /v3/auth/tokens HTTP/1.1" 201 7864 {"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "503778692bea448e8479ed27ac4c2e90", "name": "admin"}], "expires_at": "2018-03-10T15:00:32.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "6ccefe26d415442aaff1ab5200c65fa9", "name": "admin"}, "catalog": [{"endpoints": [{"url": "http://192.168.187.129:8080/v1/AUTH_6ccefe26d415442aaff1ab5200c65fa9", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "d2bc1b21570f48b2aaa02fa794edfa5c"}, {"url": "http://192.168.187.129:8080/v1/AUTH_6ccefe26d415442aaff1ab5200c65fa9", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "e3aa809cfeea4156b0c5a0a6539acecb"}, {"url": "http://192.168.187.129:8080/v1/AUTH_6ccefe26d415442aaff1ab5200c65fa9", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "fd67f9f835ac40efa2ff71669005f3a3"}], "type": "object-store", "id": "10f50e27de3d4781b3b6839681b7ddbb", "name": "swift"}, {"endpoints": [{"url": "http://192.168.187.129:35357/v3", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "a1cebd24a36c4850984209a5788118f0"}, {"url": "http://192.168.187.129:5000/v3", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "bca024f07318470785df58e7a85cae1c"}, {"url": "http://192.168.187.129:5000/v3", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "d42ea3103aaa45cc8f6c574f17315308"}], "type": "identity", "id": "11009e2bc12e44b5aecbeb967dc3b55b", "name": "keystone"}, {"endpoints": [{"url": "http://192.168.187.129:8776/v3/6ccefe26d415442aaff1ab5200c65fa9", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "1e8a5f8e1d2d4ebe88b9dbcf1446e29e"}, {"url": "http://192.168.187.129:8776/v3/6ccefe26d415442aaff1ab5200c65fa9", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "5d4db1cdf0734468b48f7334023e539c"}, {"url": "http://192.168.187.129:8776/v3/6ccefe26d415442aaff1ab5200c65fa9", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "b4521e8476684865910eb85d391c7840"}], "type": "volumev3", "id": "117c32cff05c40579d7073d244de1a3c", "name": "cinderv3"}, {"endpoints": [{"url": "http://192.168.187.129:8774/v2.1/6ccefe26d415442aaff1ab5200c65fa9", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "257d3280c0c74b3da16b6bb966b2bb67"}, {"url": "http://192.168.187.129:8774/v2.1/6ccefe26d415442aaff1ab5200c65fa9", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "2ce150184f1b410ea7b37c469180b688"}, {"url": "http://192.168.187.129:8774/v2.1/6ccefe26d415442aaff1ab5200c65fa9", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "f1d602031250407fab8208582762709a"}], "type": "compute", "id": "142e63e8bdc347e8ba879419e698a3d9", "name": "nova"}, {"endpoints": [{"url": "http://192.168.187.129:8778/placement", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "476fea8d7e944d51aacc66053fe49c3e"}, {"url": "http://192.168.187.129:8778/placement", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "a31dbb25c60943b393dc9ab9e3990cc4"}, {"url": "http://192.168.187.129:8778/placement", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "d60cc61bd802481e94f906a6648ac6df"}], "type": "placement", "id": "2ecd489470424ae2a3ecf47421200ec2", "name": "placement"}, {"endpoints": [{"url": "http://192.168.187.129:8042", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "b84d6183737647079c16d8cad4cd21fc"}, {"url": "http://192.168.187.129:8042", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "cb14a84055464f41a66c0612c634581b"}, {"url": "http://192.168.187.129:8042", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "f628c3a279664a1ca3e87844bd7326b9"}], "type": "alarming", "id": "59186f85a8404a0d8b563b967ce328b6", "name": "aodh"}, {"endpoints": [{"url": "http://192.168.187.129:9292", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "146b4d9025e842a2928e697e4df17359"}, {"url": "http://192.168.187.129:9292", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "2e4b133bf37744deb071bc716fd588a5"}, {"url": "http://192.168.187.129:9292", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "7e1f9ca7811440e5a72957546d03547b"}], "type": "image", "id": "5a4c2b222dd64d2094c64f412b5cc7d0", "name": "glance"}, {"endpoints": [{"url": "http://192.168.187.129:9696", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "1547c8cb926b416d9fb78c32855822d8"}, {"url": "http://192.168.187.129:9696", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "2acaa1c8b1734b0b8409527ae2b2d3a7"}, {"url": "http://192.168.187.129:9696", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "4ad352ae70c14c4486b39e37ffde2628"}], "type": "network", "id": "9bd2012ca55e41d08dc4fb70c8b48929", "name": "neutron"}, {"endpoints": [{"url": "http://192.168.187.129:8041", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "00f7ad4837004b4ea8e334558537ac52"}, {"url": "http://192.168.187.129:8041", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "71ee34e16e6442bc8aad68c946bf6979"}, {"url": "http://192.168.187.129:8041", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "f198755cff5e41fe9f82ae9e93b1f300"}], "type": "metric", "id": "a392acc12da64c92952b500de55cfa76", "name": "gnocchi"}, {"endpoints": [{"url": "http://192.168.187.129:8776/v1/6ccefe26d415442aaff1ab5200c65fa9", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "248e15a286604052a883905129d239e9"}, {"url": "http://192.168.187.129:8776/v1/6ccefe26d415442aaff1ab5200c65fa9", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "54c4baaaef2048cea0caffa2cb40b7ce"}, {"url": "http://192.168.187.129:8776/v1/6ccefe26d415442aaff1ab5200c65fa9", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "e10ffef11f794df3b28c01b8468c3d3b"}], "type": "volume", "id": "a53a46699b054247a2ba1456df1c7b78", "name": "cinder"}, {"endpoints": [{"url": "http://192.168.187.129:8776/v2/6ccefe26d415442aaff1ab5200c65fa9", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "05dcd6aae2634c72aa4329a793c6d73a"}, {"url": "http://192.168.187.129:8776/v2/6ccefe26d415442aaff1ab5200c65fa9", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "0bb228838e92485d96fdd8de8c7d575e"}, {"url": "http://192.168.187.129:8776/v2/6ccefe26d415442aaff1ab5200c65fa9", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "4b22f32d16e848cfbb7fe8f7f63874e1"}], "type": "volumev2", "id": "b5172eb7eb8b426b933aa130330c62ce", "name": "cinderv2"}, {"endpoints": [{"url": "http://192.168.187.129:8777", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "0c562e1b68ca4db6b1cea756ad4e7be8"}, {"url": "http://192.168.187.129:8777", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "21f18ab8e72f4f688361571d25701b54"}, {"url": "http://192.168.187.129:8777", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "dee5bd41c6384a9cbbf62cdc310c8d5f"}], "type": "metering", "id": "e0e03b5bf6174488a48e361ddebdfd0a", "name": "ceilometer"}], "user": {"domain": {"id": "default", "name": "Default"}, "password_expires_at": null, "name": "admin", "id": "bc5938e16a6c4a5a925eaccd47808cb8"}, "audit_ids": ["5qfuW9u7Q5irlgpnlfXL0g"], "issued_at": "2018-03-10T14:00:32.000000Z"}} run(Namespace(all=False, columns=[], end_marker=None, formatter='table', limit=None, long=False, marker=None, max_width=0, noindent=False, prefix=None, print_empty=False, quote_mode='nonnumeric')) Making authentication request to http://192.168.187.129:5000/v3/auth/tokens Resetting dropped connection: 192.168.187.129 "POST /v3/auth/tokens HTTP/1.1" 201 7864 {"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "503778692bea448e8479ed27ac4c2e90", "name": "admin"}], "expires_at": "2018-03-10T15:00:32.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "6ccefe26d415442aaff1ab5200c65fa9", "name": "admin"}, "catalog": [{"endpoints": [{"url": "http://192.168.187.129:8080/v1/AUTH_6ccefe26d415442aaff1ab5200c65fa9", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "d2bc1b21570f48b2aaa02fa794edfa5c"}, {"url": "http://192.168.187.129:8080/v1/AUTH_6ccefe26d415442aaff1ab5200c65fa9", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "e3aa809cfeea4156b0c5a0a6539acecb"}, {"url": "http://192.168.187.129:8080/v1/AUTH_6ccefe26d415442aaff1ab5200c65fa9", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "fd67f9f835ac40efa2ff71669005f3a3"}], "type": "object-store", "id": "10f50e27de3d4781b3b6839681b7ddbb", "name": "swift"}, {"endpoints": [{"url": "http://192.168.187.129:35357/v3", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "a1cebd24a36c4850984209a5788118f0"}, {"url": "http://192.168.187.129:5000/v3", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "bca024f07318470785df58e7a85cae1c"}, {"url": "http://192.168.187.129:5000/v3", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "d42ea3103aaa45cc8f6c574f17315308"}], "type": "identity", "id": "11009e2bc12e44b5aecbeb967dc3b55b", "name": "keystone"}, {"endpoints": [{"url": "http://192.168.187.129:8776/v3/6ccefe26d415442aaff1ab5200c65fa9", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "1e8a5f8e1d2d4ebe88b9dbcf1446e29e"}, {"url": "http://192.168.187.129:8776/v3/6ccefe26d415442aaff1ab5200c65fa9", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "5d4db1cdf0734468b48f7334023e539c"}, {"url": "http://192.168.187.129:8776/v3/6ccefe26d415442aaff1ab5200c65fa9", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "b4521e8476684865910eb85d391c7840"}], "type": "volumev3", "id": "117c32cff05c40579d7073d244de1a3c", "name": "cinderv3"}, {"endpoints": [{"url": "http://192.168.187.129:8774/v2.1/6ccefe26d415442aaff1ab5200c65fa9", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "257d3280c0c74b3da16b6bb966b2bb67"}, {"url": "http://192.168.187.129:8774/v2.1/6ccefe26d415442aaff1ab5200c65fa9", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "2ce150184f1b410ea7b37c469180b688"}, {"url": "http://192.168.187.129:8774/v2.1/6ccefe26d415442aaff1ab5200c65fa9", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "f1d602031250407fab8208582762709a"}], "type": "compute", "id": "142e63e8bdc347e8ba879419e698a3d9", "name": "nova"}, {"endpoints": [{"url": "http://192.168.187.129:8778/placement", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "476fea8d7e944d51aacc66053fe49c3e"}, {"url": "http://192.168.187.129:8778/placement", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "a31dbb25c60943b393dc9ab9e3990cc4"}, {"url": "http://192.168.187.129:8778/placement", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "d60cc61bd802481e94f906a6648ac6df"}], "type": "placement", "id": "2ecd489470424ae2a3ecf47421200ec2", "name": "placement"}, {"endpoints": [{"url": "http://192.168.187.129:8042", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "b84d6183737647079c16d8cad4cd21fc"}, {"url": "http://192.168.187.129:8042", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "cb14a84055464f41a66c0612c634581b"}, {"url": "http://192.168.187.129:8042", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "f628c3a279664a1ca3e87844bd7326b9"}], "type": "alarming", "id": "59186f85a8404a0d8b563b967ce328b6", "name": "aodh"}, {"endpoints": [{"url": "http://192.168.187.129:9292", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "146b4d9025e842a2928e697e4df17359"}, {"url": "http://192.168.187.129:9292", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "2e4b133bf37744deb071bc716fd588a5"}, {"url": "http://192.168.187.129:9292", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "7e1f9ca7811440e5a72957546d03547b"}], "type": "image", "id": "5a4c2b222dd64d2094c64f412b5cc7d0", "name": "glance"}, {"endpoints": [{"url": "http://192.168.187.129:9696", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "1547c8cb926b416d9fb78c32855822d8"}, {"url": "http://192.168.187.129:9696", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "2acaa1c8b1734b0b8409527ae2b2d3a7"}, {"url": "http://192.168.187.129:9696", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "4ad352ae70c14c4486b39e37ffde2628"}], "type": "network", "id": "9bd2012ca55e41d08dc4fb70c8b48929", "name": "neutron"}, {"endpoints": [{"url": "http://192.168.187.129:8041", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "00f7ad4837004b4ea8e334558537ac52"}, {"url": "http://192.168.187.129:8041", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "71ee34e16e6442bc8aad68c946bf6979"}, {"url": "http://192.168.187.129:8041", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "f198755cff5e41fe9f82ae9e93b1f300"}], "type": "metric", "id": "a392acc12da64c92952b500de55cfa76", "name": "gnocchi"}, {"endpoints": [{"url": "http://192.168.187.129:8776/v1/6ccefe26d415442aaff1ab5200c65fa9", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "248e15a286604052a883905129d239e9"}, {"url": "http://192.168.187.129:8776/v1/6ccefe26d415442aaff1ab5200c65fa9", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "54c4baaaef2048cea0caffa2cb40b7ce"}, {"url": "http://192.168.187.129:8776/v1/6ccefe26d415442aaff1ab5200c65fa9", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "e10ffef11f794df3b28c01b8468c3d3b"}], "type": "volume", "id": "a53a46699b054247a2ba1456df1c7b78", "name": "cinder"}, {"endpoints": [{"url": "http://192.168.187.129:8776/v2/6ccefe26d415442aaff1ab5200c65fa9", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "05dcd6aae2634c72aa4329a793c6d73a"}, {"url": "http://192.168.187.129:8776/v2/6ccefe26d415442aaff1ab5200c65fa9", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "0bb228838e92485d96fdd8de8c7d575e"}, {"url": "http://192.168.187.129:8776/v2/6ccefe26d415442aaff1ab5200c65fa9", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "4b22f32d16e848cfbb7fe8f7f63874e1"}], "type": "volumev2", "id": "b5172eb7eb8b426b933aa130330c62ce", "name": "cinderv2"}, {"endpoints": [{"url": "http://192.168.187.129:8777", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "0c562e1b68ca4db6b1cea756ad4e7be8"}, {"url": "http://192.168.187.129:8777", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "21f18ab8e72f4f688361571d25701b54"}, {"url": "http://192.168.187.129:8777", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "dee5bd41c6384a9cbbf62cdc310c8d5f"}], "type": "metering", "id": "e0e03b5bf6174488a48e361ddebdfd0a", "name": "ceilometer"}], "user": {"domain": {"id": "default", "name": "Default"}, "password_expires_at": null, "name": "admin", "id": "bc5938e16a6c4a5a925eaccd47808cb8"}, "audit_ids": ["n012te7SS-2Gzvo-4d-LGg"], "issued_at": "2018-03-10T14:00:32.000000Z"}} REQ: curl -g -i -X GET "http://192.168.187.129:8080/v1/AUTH_6ccefe26d415442aaff1ab5200c65fa9?format=json" -H "User-Agent: osc-lib/1.3.0 keystoneauth1/2.18.0 python-requests/2.11.1 CPython/2.7.5" -H "X-Auth-Token: {SHA1}008a1586d315013de0f39199328ffca9754d791c" Starting new HTTP connection (1): 192.168.187.129 Unable to establish connection to http://192.168.187.129:8080/v1/AUTH_6ccefe26d415442aaff1ab5200c65fa9: HTTPConnectionPool(host='192.168.187.129', port=8080): Max retries exceeded with url: /v1/AUTH_6ccefe26d415442aaff1ab5200c65fa9?format=json (Caused by NewConnectionError('<requests.packages.urllib3.connection.httpconnection object="" at="" 0x3c76650="">: Failed to establish a new connection: [Errno 111] Connection refused',)) Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/cliff/app.py", line 400, in run_subcommand result = cmd.run(parsed_args) File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args) File "/usr/lib/python2.7/site-packages/cliff/display.py", line 112, in run column_names, data = self.take_action(parsed_args) File "/usr/lib/python2.7/site-packages/openstackclient/object/v1/container.py", line 160, in take_action kwargs File "/usr/lib/python2.7/site-packages/openstackclient/api/object_store_v1.py", line 124, in container_list return self.list('', *params) File "/usr/lib/python2.7/site-packages/openstackclient/api/api.py", line 198, in list params=params, File "/usr/lib/python2.7/site-packages/openstackclient/api/api.py", line 84, in _request return session.request(url, method, *kwargs) File "/usr/lib/python2.7/site-packages/osc_lib/session.py", line 40, in request resp = super(TimingSession, self).request(url, method, *kwargs) File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner return wrapped(args, *kwargs) File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 616, in request resp = send(kwargs) File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 690, in _send_request raise exceptions.ConnectFailure(msg) ConnectFailure: Unable to establish connection to http://192.168.187.129:8080/v1/AUTH_6ccefe26d415442aaff1ab5200c65fa9: HTTPConnectionPool(host='192.168.187.129', port=8080): Max retries exceeded with url: /v1/AUTH_6ccefe26d415442aaff1ab5200c65fa9?format=json (Caused by NewConnectionError('<requests.packages.urllib3.connection.httpconnection object="" at="" 0x3c76650="">: Failed to establish a new connection: [Errno 111] Connection refused',)) clean_up ListContainer: Unable to establish connection to http://192.168.187.129:8080/v1/AUTH_6ccefe26d415442aaff1ab5200c65fa9: HTTPConnectionPool(host='192.168.187.129', port=8080): Max retries exceeded with url: /v1/AUTH_6ccefe26d415442aaff1ab5200c65fa9?format=json (Caused by NewConnectionError('<requests.packages.urllib3.connection.httpconnection object="" at="" 0x3c76650="">: Failed to establish a new connection: [Errno 111] Connection refused',)) Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 135, in run ret_val = super(OpenStackShell, self).run(argv) File "/usr/lib/python2.7/site-packages/cliff/app.py", line 279, in run result = self.run_subcommand(remainder) File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 180, in run_subcommand ret_value = super(OpenStackShell, self).run_subcommand(argv) File "/usr/lib/python2.7/site-packages/cliff/app.py", line 400, in run_subcommand result = cmd.run(parsed_args) File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args) File "/usr/lib/python2.7/site-packages/cliff/display.py", line 112, in run column_names, data = self.take_action(parsed_args) File "/usr/lib/python2.7/site-packages/openstackclient/object/v1/container.py", line 160, in take_action kwargs File "/usr/lib/python2.7/site-packages/openstackclient/api/object_store_v1.py", line 124, in container_list return self.list('', *params) File "/usr/lib/python2.7/site-packages/openstackclient/api/api.py", line 198, in list params=params, File "/usr/lib/python2.7/site-packages/openstackclient/api/api.py", line 84, in _request return session.request(url, method, *kwargs) File "/usr/lib/python2.7/site-packages/osc_lib/session.py", line 40, in request resp = super(TimingSession, self).request(url, method, *kwargs) File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner return wrapped(args, *kwargs) File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 616, in request resp = send(kwargs) File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 690, in _send_request raise exceptions.ConnectFailure(msg) ConnectFailure: Unable to establish connection to http://192.168.187.129:8080/v1/AUTH_6ccefe26d415442aaff1ab5200c65fa9: HTTPConnectionPool(host='192.168.187.129', port=8080): Max retries exceeded with url: /v1/AUTH_6ccefe26d415442aaff1ab5200c65fa9?format=json (Caused by NewConnectionError('<requests.packages.urllib3.connection.httpconnection object="" at="" 0x3c76650="">: Failed to establish a new connection: [Errno 111] Connection refused',))

END return value: 1 [root@localhost swift(keystone_admin)]#