Cinder Issues
Adam Schappell
Adam.Schappell at SteelToadConsulting.com
Tue Oct 13 13:39:49 UTC 2020
So I was able to get Keystone working. I had to add v3 to the end of the urls and changed the service project....Confusing to me.
Now I see this in the cinder volume logs on the storage node. No idea where the error is coming from:
2020-10-13 09:37:49.091 15002 ERROR cinder.cmd.volume Traceback (most recent call last):
2020-10-13 09:37:49.091 15002 ERROR cinder.cmd.volume File "/usr/lib/python2.7/site-packages/cinder/cmd/volume.py", line 104, in _launch_service
2020-10-13 09:37:49.091 15002 ERROR cinder.cmd.volume cluster=cluster)
2020-10-13 09:37:49.091 15002 ERROR cinder.cmd.volume File "/usr/lib/python2.7/site-packages/cinder/service.py", line 392, in create
2020-10-13 09:37:49.091 15002 ERROR cinder.cmd.volume cluster=cluster, **kwargs)
2020-10-13 09:37:49.091 15002 ERROR cinder.cmd.volume File "/usr/lib/python2.7/site-packages/cinder/service.py", line 155, in __init__
2020-10-13 09:37:49.091 15002 ERROR cinder.cmd.volume *args, **kwargs)
2020-10-13 09:37:49.091 15002 ERROR cinder.cmd.volume File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 194, in __init__
2020-10-13 09:37:49.091 15002 ERROR cinder.cmd.volume *args, **kwargs)
2020-10-13 09:37:49.091 15002 ERROR cinder.cmd.volume File "/usr/lib/python2.7/site-packages/cinder/manager.py", line 183, in __init__
2020-10-13 09:37:49.091 15002 ERROR cinder.cmd.volume self.scheduler_rpcapi = scheduler_rpcapi.SchedulerAPI()
2020-10-13 09:37:49.091 15002 ERROR cinder.cmd.volume File "/usr/lib/python2.7/site-packages/cinder/rpc.py", line 207, in __init__
2020-10-13 09:37:49.091 15002 ERROR cinder.cmd.volume obj_version_cap = self.determine_obj_version_cap()
2020-10-13 09:37:49.091 15002 ERROR cinder.cmd.volume File "/usr/lib/python2.7/site-packages/cinder/rpc.py", line 260, in determine_obj_version_cap
2020-10-13 09:37:49.091 15002 ERROR cinder.cmd.volume cinder.context.get_admin_context(), cls.BINARY)
2020-10-13 09:37:49.091 15002 ERROR cinder.cmd.volume File "/usr/lib/python2.7/site-packages/cinder/context.py", line 251, in get_admin_context
2020-10-13 09:37:49.091 15002 ERROR cinder.cmd.volume overwrite=False)
2020-10-13 09:37:49.091 15002 ERROR cinder.cmd.volume File "/usr/lib/python2.7/site-packages/cinder/context.py", line 101, in __init__
2020-10-13 09:37:49.091 15002 ERROR cinder.cmd.volume super(RequestContext, self).__init__(is_admin=is_admin, **kwargs)
2020-10-13 09:37:49.091 15002 ERROR cinder.cmd.volume File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 108, in inner
2020-10-13 09:37:49.091 15002 ERROR cinder.cmd.volume return wrapped(*args, **kwargs)
2020-10-13 09:37:49.091 15002 ERROR cinder.cmd.volume TypeError: __init__() got an unexpected keyword argument 'project_id'
2020-10-13 09:37:49.091 15002 ERROR cinder.cmd.volume
2020-10-13 09:37:49.095 15002 ERROR cinder.cmd.volume [-] No volume service(s) started successfully, terminating.
On 10/12/20, 4:33 PM, "Eugen Block" <eblock at nde.ag> wrote:
Hi,
did it ever work? Check the cinder logs, the service is apparently not
running. Double check your cinder configuration and keystone endpoint
for cinder.
And I think python2 is deprecated, are you trying to install an older version?
Regards
Eugen
Zitat von Adam Schappell <Adam.Schappell at steeltoadconsulting.com>:
> Hello Everyone.
>
> I am having a ton of trouble trying to get cinder working. Here is
> output of command with –debug enabled.
> hon-cinderclient" -H "X-Auth-Token:
> {SHA1}129e96e53eae89cfda31be3c0fcec26477597615"
> Starting new HTTP connection (1): 10.10.1.53
> http://10.10.1.53:8776 "GET
> /v2/7929351d491347788f5de228e135e67c/os-services HTTP/1.1" 503 218
> RESP: [503] Connection: keep-alive Content-Length: 218 Content-Type:
> application/json Date: Mon, 12 Oct 2020 13:50:26 GMT
> X-Openstack-Request-Id: req-1db26997-7450-4586-a106-70fc9804ee82
> RESP BODY: {"message": "The server is currently unavailable. Please
> try again at a later time.<br /><br />\nThe Keystone service is
> temporarily unavailable.\n\n", "code": "503 Service Unavailable",
> "title": "Service Unavailable"}
> GET call to volumev2 for
> http://10.10.1.53:8776/v2/7929351d491347788f5de228e135e67c/os-services used
> request id req-1db26997-7450-4586-a106-70fc9804ee82
> The server is currently unavailable. Please try again at a later
> time.<br /><br />
> The Keystone service is temporarily unavailable.
>
> (HTTP 503)
> Traceback (most recent call last):
> File "/usr/lib/python2.7/site-packages/cliff/app.py", line 402, 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 116, in run
> column_names, data = self.take_action(parsed_args)
> File
> "/usr/lib/python2.7/site-packages/openstackclient/volume/v2/service.py",
> line 71, in take_action
> parsed_args.service)
> File
> "/usr/lib/python2.7/site-packages/cinderclient/v2/services.py", line
> 47, in list
> return self._list(url, "services")
> File "/usr/lib/python2.7/site-packages/cinderclient/base.py", line
> 84, in _list
> resp, body = self.api.client.get(url)
> File "/usr/lib/python2.7/site-packages/cinderclient/client.py",
> line 200, in get
> return self._cs_request(url, 'GET', **kwargs)
> File "/usr/lib/python2.7/site-packages/cinderclient/client.py",
> line 191, in _cs_request
> return self.request(url, method, **kwargs)
> File "/usr/lib/python2.7/site-packages/cinderclient/client.py",
> line 177, in request
> raise exceptions.from_response(resp, body)
> ClientException: The server is currently unavailable. Please try
> again at a later time.<br /><br />
> The Keystone service is temporarily unavailable.
>
> (HTTP 503)
> clean_up ListService: The server is currently unavailable. Please
> try again at a later time.<br /><br />
> The Keystone service is temporarily unavailable.
>
> (HTTP 503)
> 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 281, in run
> result = self.run_subcommand(remainder)
> File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line
> 175, in run_subcommand
> ret_value = super(OpenStackShell, self).run_subcommand(argv)
> File "/usr/lib/python2.7/site-packages/cliff/app.py", line 402, 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 116, in run
> column_names, data = self.take_action(parsed_args)
> File
> "/usr/lib/python2.7/site-packages/openstackclient/volume/v2/service.py",
> line 71, in take_action
> parsed_args.service)
> File
> "/usr/lib/python2.7/site-packages/cinderclient/v2/services.py", line
> 47, in list
> return self._list(url, "services")
> File "/usr/lib/python2.7/site-packages/cinderclient/base.py", line
> 84, in _list
> resp, body = self.api.client.get(url)
> File "/usr/lib/python2.7/site-packages/cinderclient/client.py",
> line 200, in get
> return self._cs_request(url, 'GET', **kwargs)
> File "/usr/lib/python2.7/site-packages/cinderclient/client.py",
> line 191, in _cs_request
> return self.request(url, method, **kwargs)
> File "/usr/lib/python2.7/site-packages/cinderclient/client.py",
> line 177, in request
> raise exceptions.from_response(resp, body)
> ClientException: The server is currently unavailable. Please try
> again at a later time.<br /><br />
> The Keystone service is temporarily unavailable.
>
> (HTTP 503)
>
> END return value: 1
More information about the openstack-discuss
mailing list