Openstack Stack issues

Premkumar Subramaniyan premkumar at aarnanetworks.com
Fri Apr 30 05:06:32 UTC 2021


Hi,

   I am using the Openstack *USURI *version in *Centos7*. Due to some
issues my disk size is full,I freed up the space. Afte that some service
went down. After that I have issues in creating the stack and list stack.
Attached the Screenshot for your reference

[opnfv at aio1 ~]$ openstack stack list --debug
START with options: stack list --debug
options: Namespace(access_token='***', access_token_endpoint='',
access_token_type='', application_credential_id='',
application_credential_name='', application_credential_secret='***',
auth_methods='', auth_type='', auth_url='http://10.200.134.218:5000/v3',
cacert=None, cert='', client_id='', client_secret='***', cloud='', code='',
debug=True, default_domain='default', default_domain_id='',
default_domain_name='', deferred_help=False, discovery_endpoint='',
domain_id='', domain_name='', endpoint='', identity_provider='',
insecure=None, interface='public', key='', log_file=None, openid_scope='',
os_beta_command=False, os_compute_api_version='',
os_identity_api_version='3', os_image_api_version='',
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='', passcode='', password='***',
project_domain_id='default', project_domain_name='',
project_id='0e75229392c54a398ab302a8e43aebe6', project_name='admin',
protocol='', redirect_uri='', region_name='RegionOne',
remote_project_domain_id='', remote_project_domain_name='',
remote_project_id='', remote_project_name='', service_provider='',
system_scope='', timing=False, token='***', trust_id='', user_domain_id='',
user_domain_name='Default', user_id='', username='admin', verbose_level=3,
verify=None)
Auth plugin password selected
auth_config_hook(): {'api_timeout': None, 'verify': True, 'cacert': None,
'cert': None, 'key': None, 'baremetal_status_code_retries': '5',
'baremetal_introspection_status_code_retries': '5',
'image_status_code_retries': '5', 'disable_vendor_agent': {}, 'interface':
'public', 'floating_ip_source': 'neutron', 'image_api_use_tasks': False,
'image_format': 'qcow2', 'message': '', 'network_api_version': '2',
'object_store_api_version': '1', 'secgroup_source': 'neutron', 'status':
'active', 'auth': {'user_domain_name': 'Default', 'project_domain_id':
'default', 'project_id': '0e75229392c54a398ab302a8e43aebe6',
'project_name': 'admin'}, 'verbose_level': 3, 'deferred_help': False,
'debug': True, 'region_name': 'RegionOne', 'default_domain': 'default',
'timing': False, 'username': 'admin', 'password': '***', 'auth_url': '
http://10.200.134.218:5000/v3', 'beta_command': False,
'identity_api_version': '3', 'orchestration_api_version': '1', 'auth_type':
'password', 'networks': []}
defaults: {'api_timeout': None, 'verify': True, 'cacert': None, 'cert':
None, 'key': None, 'auth_type': 'password',
'baremetal_status_code_retries': 5,
'baremetal_introspection_status_code_retries': 5,
'image_status_code_retries': 5, 'disable_vendor_agent': {}, 'interface':
None, 'floating_ip_source': 'neutron', 'image_api_use_tasks': False,
'image_format': 'qcow2', 'message': '', 'network_api_version': '2',
'object_store_api_version': '1', 'secgroup_source': 'neutron', 'status':
'active'}
cloud cfg: {'api_timeout': None, 'verify': True, 'cacert': None, 'cert':
None, 'key': None, 'baremetal_status_code_retries': '5',
'baremetal_introspection_status_code_retries': '5',
'image_status_code_retries': '5', 'disable_vendor_agent': {}, 'interface':
'public', 'floating_ip_source': 'neutron', 'image_api_use_tasks': False,
'image_format': 'qcow2', 'message': '', 'network_api_version': '2',
'object_store_api_version': '1', 'secgroup_source': 'neutron', 'status':
'active', 'auth': {'user_domain_name': 'Default', 'project_domain_id':
'default', 'project_id': '0e75229392c54a398ab302a8e43aebe6',
'project_name': 'admin'}, 'verbose_level': 3, 'deferred_help': False,
'debug': True, 'region_name': 'RegionOne', 'default_domain': 'default',
'timing': False, 'username': 'admin', 'password': '***', 'auth_url': '
http://10.200.134.218:5000/v3', 'beta_command': False,
'identity_api_version': '3', 'orchestration_api_version': '1', 'auth_type':
'password', 'networks': []}
compute API version 2.1, cmd group openstack.compute.v2
identity API version 3, cmd group openstack.identity.v3
image API version 2, cmd group openstack.image.v2
network API version 2, cmd group openstack.network.v2
object_store API version 1, cmd group openstack.object_store.v1
volume API version 3, cmd group openstack.volume.v3
orchestration API version 1, cmd group openstack.orchestration.v1
command: stack list -> heatclient.osc.v1.stack.ListStack (auth=True)
Auth plugin password selected
auth_config_hook(): {'api_timeout': None, 'verify': True, 'cacert': None,
'cert': None, 'key': None, 'baremetal_status_code_retries': '5',
'baremetal_introspection_status_code_retries': '5',
'image_status_code_retries': '5', 'disable_vendor_agent': {}, 'interface':
'public', 'floating_ip_source': 'neutron', 'image_api_use_tasks': False,
'image_format': 'qcow2', 'message': '', 'network_api_version': '2',
'object_store_api_version': '1', 'secgroup_source': 'neutron', 'status':
'active', 'auth': {'user_domain_name': 'Default', 'project_domain_id':
'default', 'project_id': '0e75229392c54a398ab302a8e43aebe6',
'project_name': 'admin'}, 'additional_user_agent': [('osc-lib', '2.3.1')],
'verbose_level': 3, 'deferred_help': False, 'debug': True, 'region_name':
'RegionOne', 'default_domain': 'default', 'timing': False, 'username':
'admin', 'password': '***', 'auth_url': 'http://10.200.134.218:5000/v3',
'beta_command': False, 'identity_api_version': '3',
'orchestration_api_version': '1', 'auth_type': 'password', 'networks': []}
Using auth plugin: password
Using parameters {'auth_url': 'http://10.200.134.218:5000/v3',
'project_id': '0e75229392c54a398ab302a8e43aebe6', 'project_name': 'admin',
'project_domain_id': 'default', 'username': 'admin', 'user_domain_name':
'Default', 'password': '***'}
Get auth_ref
REQ: curl -g -i -X GET http://10.200.134.218:5000/v3 -H "Accept:
application/json" -H "User-Agent: openstacksdk/0.55.0 keystoneauth1/4.3.1
python-requests/2.25.1 CPython/3.6.8"
Starting new HTTP connection (1): 10.200.134.218:5000
http://10.200.134.218:5000 "GET /v3 HTTP/1.1" 200 254
RESP: [200] Connection: close Content-Length: 254 Content-Security-Policy:
default-src 'self' https: wss:; Content-Type: application/json Date: Thu,
29 Apr 2021 05:26:21 GMT Server: nginx/1.18.0 Vary: X-Auth-Token
X-Content-Type-Options: nosniff X-Frame-Options: DENY X-XSS-Protection: 1;
mode=block x-openstack-request-id: req-5e95ffe0-5fde-4234-9e7c-f79287e539a0
RESP BODY: {"version": {"id": "v3.14", "status": "stable", "updated":
"2020-04-07T00:00:00Z", "links": [{"rel": "self", "href": "
http://10.200.134.218:5000/v3/"}], "media-types": [{"base":
"application/json", "type": "application/vnd.openstack.identity-v3+json"}]}}
GET call to http://10.200.134.218:5000/v3 used request id
req-5e95ffe0-5fde-4234-9e7c-f79287e539a0
Making authentication request to http://10.200.134.218:5000/v3/auth/tokens
Resetting dropped connection: 10.200.134.218
http://10.200.134.218:5000 "POST /v3/auth/tokens HTTP/1.1" 201 6037
{"token": {"methods": ["password"], "user": {"domain": {"id": "default",
"name": "Default"}, "id": "b3c6351eb7d841678297401969eb01c7", "name":
"admin", "password_expires_at": null}, "audit_ids":
["-pXpoN1cRyS5ioGPNOEdkg"], "expires_at": "2021-04-29T17:26:22.000000Z",
"issued_at": "2021-04-29T05:26:22.000000Z", "project": {"domain": {"id":
"default", "name": "Default"}, "id": "0e75229392c54a398ab302a8e43aebe6",
"name": "admin"}, "is_domain": false, "roles": [{"id":
"5123dc78efec436dad719099e4979536", "name": "admin"}, {"id":
"6ddb974942354b53a6cc1dfe10cc58a9", "name": "member"}, {"id":
"24de7013b1124fcd99c31482ede6a855", "name": "reader"}], "catalog":
[{"endpoints": [{"id": "9ef24c86cb5e49f6aecb882adfe8b8be", "interface":
"admin", "region_id": "RegionOne", "url": "http://172.29.236.100:5000",
"region": "RegionOne"}, {"id": "c43060c06da940ab9c9de47d96efca5f",
"interface": "internal", "region_id": "RegionOne", "url": "
http://172.29.236.100:5000", "region": "RegionOne"}, {"id":
"ff7a8af4a859400584fc2f4025f8110a", "interface": "public", "region_id":
"RegionOne", "url": "http://10.200.134.218:5000", "region": "RegionOne"}],
"id": "0177ada716b8496390b53f88de002762", "type": "identity", "name":
"keystone"}, {"endpoints": [{"id": "01dcd05263a5499a9222459614c19099",
"interface": "admin", "region_id": "RegionOne", "url": "
http://172.29.236.100:8776/v2/0e75229392c54a398ab302a8e43aebe6", "region":
"RegionOne"}, {"id": "8f8d9172c7b94baf8971d6fce50c3c22", "interface":
"public", "region_id": "RegionOne", "url": "
http://10.200.134.218:8776/v2/0e75229392c54a398ab302a8e43aebe6", "region":
"RegionOne"}, {"id": "abe2895da1fc47e2a795136a0f154dad", "interface":
"internal", "region_id": "RegionOne", "url": "
http://172.29.236.100:8776/v2/0e75229392c54a398ab302a8e43aebe6", "region":
"RegionOne"}], "id": "2a8111a2e7224baaa928ba19545754cd", "type":
"volumev2", "name": "cinderv2"}, {"endpoints": [{"id":
"027033523daf4adc8d1a180e41f57c00", "interface": "admin", "region_id":
"RegionOne", "url": "
http://172.29.236.100:8004/v1/0e75229392c54a398ab302a8e43aebe6", "region":
"RegionOne"}, {"id": "765c7ea8a9c4456bb23ba5d519ffa033", "interface":
"internal", "region_id": "RegionOne", "url": "
http://172.29.236.100:8004/v1/0e75229392c54a398ab302a8e43aebe6", "region":
"RegionOne"}, {"id": "f3a264f72c0a4960b9740e466eb52d83", "interface":
"public", "region_id": "RegionOne", "url": "
http://10.200.134.218:8004/v1/0e75229392c54a398ab302a8e43aebe6", "region":
"RegionOne"}], "id": "31803d9d7a3e4d4e92d9522459526a68", "type":
"orchestration", "name": "heat"}, {"endpoints": [{"id":
"1183338890744524b28c274ca61e93ff", "interface": "admin", "region_id":
"RegionOne", "url": "http://172.29.236.100:8780", "region": "RegionOne"},
{"id": "21bcc1ebb4de44d2931f0220d6fa1576", "interface": "internal",
"region_id": "RegionOne", "url": "http://172.29.236.100:8780", "region":
"RegionOne"}, {"id": "70f912ca1dc44c3a826e987d1ea9f5b4", "interface":
"public", "region_id": "RegionOne", "url": "http://10.200.134.218:8780",
"region": "RegionOne"}], "id": "5c4974e041d34241bc7edf17f8ce07ae", "type":
"placement", "name": "placement"}, {"endpoints": [{"id":
"3c105203c90845d0a523f34cf6bc037b", "interface": "public", "region_id":
"RegionOne", "url": "http://10.200.134.218:8000/v1", "region":
"RegionOne"}, {"id": "cf77bee702da43d68aee3863d4fa68f0", "interface":
"internal", "region_id": "RegionOne", "url": "http://172.29.236.100:8000/v1",
"region": "RegionOne"}, {"id": "deda0fe9872d472e8ad04bf9cf65caab",
"interface": "admin", "region_id": "RegionOne", "url": "
http://172.29.236.100:8000/v1", "region": "RegionOne"}], "id":
"675d604be05245e38156198a2e0c955c", "type": "cloudformation", "name":
"heat-cfn"}, {"endpoints": [{"id": "0f358e9c8a9e4d4aa87ba5827c5612a7",
"interface": "public", "region_id": "RegionOne", "url": "
http://10.200.134.218:9696", "region": "RegionOne"}, {"id":
"e0fda98441e442ad84ad9638b97fb5a9", "interface": "admin", "region_id":
"RegionOne", "url": "http://172.29.236.100:9696", "region": "RegionOne"},
{"id": "f63223fe921a44e48fffaa90a22619b2", "interface": "internal",
"region_id": "RegionOne", "url": "http://172.29.236.100:9696", "region":
"RegionOne"}], "id": "679d6c52473b4b87867b0839238a2533", "type": "network",
"name": "neutron"}, {"endpoints": [{"id":
"04618143b8764565bd1f292c481ec9fc", "interface": "internal", "region_id":
"RegionOne", "url": "http://172.29.236.100:9292", "region": "RegionOne"},
{"id": "131339c1c9564d0d9f0cfdf6311c2893", "interface": "admin",
"region_id": "RegionOne", "url": "http://172.29.236.100:9292", "region":
"RegionOne"}, {"id": "f0725b46e74549d1b3d58efaa46dbf02", "interface":
"public", "region_id": "RegionOne", "url": "http://10.200.134.218:9292",
"region": "RegionOne"}], "id": "df050da4381c4209968693e4aca92da5", "type":
"image", "name": "glance"}, {"endpoints": [{"id":
"7cb5429849d741238e31f929132b224d", "interface": "admin", "region_id":
"RegionOne", "url": "http://172.29.236.100:8774/v2.1", "region":
"RegionOne"}, {"id": "ab640e3d4ccf4d66832b0d2d38f30be9", "interface":
"internal", "region_id": "RegionOne", "url": "
http://172.29.236.100:8774/v2.1", "region": "RegionOne"}, {"id":
"d707d5092628423397cb02a46cb1deca", "interface": "public", "region_id":
"RegionOne", "url": "http://10.200.134.218:8774/v2.1", "region":
"RegionOne"}], "id": "e807659ac4f74b78805b0f9e605081f0", "type": "compute",
"name": "nova"}, {"endpoints": [{"id": "152f11cd02de47069bb7fee11954395d",
"interface": "public", "region_id": "RegionOne", "url": "
http://10.200.134.218:8776/v3/0e75229392c54a398ab302a8e43aebe6", "region":
"RegionOne"}, {"id": "71b96d9f9b994d72bf21c10810a532f9", "interface":
"admin", "region_id": "RegionOne", "url": "
http://172.29.236.100:8776/v3/0e75229392c54a398ab302a8e43aebe6", "region":
"RegionOne"}, {"id": "935b1c8e4da547ca891334fe476291b6", "interface":
"internal", "region_id": "RegionOne", "url": "
http://172.29.236.100:8776/v3/0e75229392c54a398ab302a8e43aebe6", "region":
"RegionOne"}], "id": "ff62f9bcded14444bbb4f1e1cdcaf60b", "type":
"volumev3", "name": "cinderv3"}]}}
run(Namespace(all_projects=False, columns=[], deleted=False,
fit_width=False, formatter='table', hidden=False, limit=None, long=False,
marker=None, max_width=0, nested=False, noindent=False, print_empty=False,
properties=None, quote_mode='nonnumeric', short=False, sort=None,
sort_columns=[], sort_direction=None, tag_mode=None, tags=None))
take_action(Namespace(all_projects=False, columns=[], deleted=False,
fit_width=False, formatter='table', hidden=False, limit=None, long=False,
marker=None, max_width=0, nested=False, noindent=False, print_empty=False,
properties=None, quote_mode='nonnumeric', short=False, sort=None,
sort_columns=[], sort_direction=None, tag_mode=None, tags=None))
Instantiating orchestration client: <class 'heatclient.v1.client.Client'>
REQ: curl -g -i -X GET
http://10.200.134.218:8004/v1/0e75229392c54a398ab302a8e43aebe6/stacks? -H
"Accept: application/json" -H "Content-Type: application/json" -H
"User-Agent: python-heatclient" -H "X-Auth-Token:
{SHA256}a0ae405fe8fdb29acbcc65b1ce4feb9a304448592d6a8ae982955e903f45f3c0"
-H "X-Region-Name: RegionOne"
Starting new HTTP connection (1): 10.200.134.218:8004
http://10.200.134.218:8004 "GET /v1/0e75229392c54a398ab302a8e43aebe6/stacks
HTTP/1.1" 503 None
RESP: [503] Cache-Control: no-cache Connection: close Content-Type:
text/html
RESP BODY: Omitted, Content-Type is set to text/html. Only application/json
responses have their bodies logged.
ERROR: b'<html><body><h1>503 Service Unavailable</h1>\nNo server is
available to handle this request.\n</body></html>\n'
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/cliff/app.py", line 401, in
run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/local/lib/python3.6/site-packages/osc_lib/command/command.py",
line 39, in run
    return super(Command, self).run(parsed_args)
  File "/usr/local/lib/python3.6/site-packages/cliff/display.py", line 115,
in run
    column_names, data = self.take_action(parsed_args)
  File "/usr/local/lib/python3.6/site-packages/heatclient/osc/v1/stack.py",
line 577, in take_action
    return _list(client, args=parsed_args)
  File "/usr/local/lib/python3.6/site-packages/heatclient/osc/v1/stack.py",
line 691, in _list
    data = list(data)
  File "/usr/local/lib/python3.6/site-packages/heatclient/v1/stacks.py",
line 136, in paginate
    stacks = self._list(url, 'stacks')
  File "/usr/local/lib/python3.6/site-packages/heatclient/common/base.py",
line 114, in _list
    body = self.client.get(url).json()
  File "/usr/local/lib/python3.6/site-packages/keystoneauth1/adapter.py",
line 395, in get
    return self.request(url, 'GET', **kwargs)
  File "/usr/local/lib/python3.6/site-packages/heatclient/common/http.py",
line 323, in request
    raise exc.from_response(resp)
heatclient.exc.HTTPServiceUnavailable: ERROR: b'<html><body><h1>503 Service
Unavailable</h1>\nNo server is available to handle this
request.\n</body></html>\n'
clean_up ListStack: ERROR: b'<html><body><h1>503 Service
Unavailable</h1>\nNo server is available to handle this
request.\n</body></html>\n'
END return value: 1



Warm Regards,
Premkumar Subramaniyan
Technical staff
M: +91 9940743669

*CRN Top 10 Coolest Edge Computing Startups of 2020
<https://www.crn.com/slide-shows/networking/the-10-coolest-edge-computing-startups-of-2020/2>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20210430/cec8fc72/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot_2021-04-30 Stacks - OpenStack Dashboard.png
Type: image/png
Size: 22264 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20210430/cec8fc72/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot_2021-04-30 System Information - OpenStack Dashboard(1).png
Type: image/png
Size: 28556 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20210430/cec8fc72/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot_2021-04-30 Hypervisors - OpenStack Dashboard.png
Type: image/png
Size: 31447 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20210430/cec8fc72/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot_2021-04-30 System Information - OpenStack Dashboard.png
Type: image/png
Size: 32880 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20210430/cec8fc72/attachment-0007.png>


More information about the openstack-discuss mailing list