Ask Your Question
0

Cinder gives ServiceTooOld: One of the services is in Liberty version after upgrade.

asked 2016-10-14 17:51:49 -0500

devinacosta gravatar image

updated 2017-01-05 05:58:24 -0500

I upgraded my Openstack from Mitaka to Newton this morning and now Cinder won't because it complains about some service being to old. Help anyone? :)

2016-10-14 15:41:32.431 1379701 INFO cinder.rpc [req-9b1d2a01-2747-4320-beed-508481bd3d73 - - - - -] Automatically selected cinder-scheduler objects version 1.11 as minimum service version.
2016-10-14 15:41:32.438 1379701 INFO cinder.rpc [req-9b1d2a01-2747-4320-beed-508481bd3d73 - - - - -] Automatically selected cinder-scheduler RPC version 3.0 as minimum service version.
2016-10-14 15:41:32.446 1379701 CRITICAL cinder [req-9b1d2a01-2747-4320-beed-508481bd3d73 - - - - -] ServiceTooOld: One of the services is in Liberty version. We do not provide backward compatibility with Liberty now, you need to upgrade to Mitaka first.
2016-10-14 15:41:32.446 1379701 ERROR cinder Traceback (most recent call last):
2016-10-14 15:41:32.446 1379701 ERROR cinder   File "/usr/bin/cinder-api", line 10, in <module>
2016-10-14 15:41:32.446 1379701 ERROR cinder     sys.exit(main())
2016-10-14 15:41:32.446 1379701 ERROR cinder   File "/usr/lib/python2.7/site-packages/cinder/cmd/api.py", line 60, in main
2016-10-14 15:41:32.446 1379701 ERROR cinder     server = service.WSGIService('osapi_volume')
2016-10-14 15:41:32.446 1379701 ERROR cinder   File "/usr/lib/python2.7/site-packages/cinder/service.py", line 499, in __init__
2016-10-14 15:41:32.446 1379701 ERROR cinder     self.app = self.loader.load_app(name)
2016-10-14 15:41:32.446 1379701 ERROR cinder   File "/usr/lib/python2.7/site-packages/oslo_service/wsgi.py", line 353, in load_app
2016-10-14 15:41:32.446 1379701 ERROR cinder     return deploy.loadapp("config:%s" % self.config_path, name=name)
2016-10-14 15:41:32.446 1379701 ERROR cinder   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
2016-10-14 15:41:32.446 1379701 ERROR cinder     return loadobj(APP, uri, name=name, **kw)
2016-10-14 15:41:32.446 1379701 ERROR cinder   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
2016-10-14 15:41:32.446 1379701 ERROR cinder     return context.create()
2016-10-14 15:41:32.446 1379701 ERROR cinder   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
2016-10-14 15:41:32.446 1379701 ERROR cinder     return self.object_type.invoke(self)
2016-10-14 15:41:32.446 1379701 ERROR cinder   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2016-10-14 15:41:32.446 1379701 ERROR cinder     **context.local_conf)
2016-10-14 15:41:32.446 1379701 ERROR cinder   File "/usr/lib/python2.7/site-packages/paste/deploy/util.py", line 55, in fix_call
2016-10-14 15:41:32.446 1379701 ERROR cinder     val = callable(*args, **kw)
2016-10-14 15:41:32.446 1379701 ERROR cinder   File "/usr/lib/python2.7/site-packages/cinder/api/__init__.py", line 34, in root_app_factory
2016-10-14 15:41:32.446 1379701 ERROR cinder     return paste.urlmap.urlmap_factory(loader, global_conf, **local_conf)
2016-10-14 15:41:32.446 1379701 ERROR cinder   File "/usr/lib/python2.7/site-packages/paste/urlmap.py", line 25, in urlmap_factory
2016-10-14 15:41:32.446 1379701 ERROR cinder     app = loader.get_app(app_name, global_conf=global_conf)
2016-10-14 15:41:32.446 1379701 ERROR cinder ...
(more)
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2017-01-05 04:16:30 -0500

bertly gravatar image

Did you find a way to solve the problem? I am running in the same now.

Thanks

bert

edit flag offensive delete link more
0

answered 2017-01-06 01:28:06 -0500

johngarbutt gravatar image

In case it's useful, I would check you have started the services in the correct order, based on this bug report: https://bugs.launchpad.net/devstack/+...

I would also check for any orphaned service records that need deleting by looking at the output of "cinder service-list"

I hope that helps pin the issue down.

edit flag offensive delete link more

Comments

is it save to remove the cinder services and they will be recreated?

bertly gravatar imagebertly ( 2017-01-06 02:36:44 -0500 )edit

yes deleting the services with None as RPC version and Object version worked.

bertly gravatar imagebertly ( 2017-01-06 03:52:44 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-10-14 17:51:49 -0500

Seen: 330 times

Last updated: Jan 06 '17