[rdo-list] Mitaka upgrade to Newton

Mohammed Naser mnaser at vexxhost.com
Sun Oct 16 20:59:51 UTC 2016


Hi David,

I suspect that you have a running Cinder agent which is running an old code
base, or you did not run the database updates.

Did you make sure to run this:

cinder-manage db sync

I strongly suggest you have a look at the upgrade notes too.

Thanks
Mohammed

On Friday, 14 October 2016, Devin Acosta <devin at pabstatencio.com> wrote:

> Last night I shut down my entire RDO Mitaka environment and then did a
> "yum -y update" to upgrade to the Newton release. I worked on merging a lot
> of the .rpmnew files for Neutron, Nova, Cinder, to be the latest version of
> the files. I am a little confused on how I am suppose to upgrade the
> Database for each of the individual parts, because the openstack-db command
> is no longer available. I was able to update a few services like Neutron
> with "neutron-db-manage current", however the one issue i'm noticing right
> now is that Cinder won't start.
>
> I am seeing errors about "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.". I was running Mitaka just fine before
> the Newton update, I'm not sure what I need to change in order get get past
> this error. Anyone that can assist me or provide me a guide on the proper
> upgrade path when you take down the whole cluster would be appreciate!
>
> 2016-10-13 23:17:48.740 1037694 CRITICAL cinder
> [req-11ed371c-7132-417b-ae55-1c31934b3102 - - - - -] 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-13 23:17:48.740 1037694 ERROR cinder Traceback (most recent call
> last):
> 2016-10-13 23:17:48.740 1037694 ERROR cinder   File
> "/usr/bin/cinder-scheduler", line 10, in <module>
> 2016-10-13 23:17:48.740 1037694 ERROR cinder     sys.exit(main())
> 2016-10-13 23:17:48.740 1037694 ERROR cinder   File
> "/usr/lib/python2.7/site-packages/cinder/cmd/scheduler.py", line 53, in
> main
> 2016-10-13 23:17:48.740 1037694 ERROR cinder     server =
> service.Service.create(binary='cinder-scheduler')
> 2016-10-13 23:17:48.740 1037694 ERROR cinder   File
> "/usr/lib/python2.7/site-packages/cinder/service.py", line 382, in create
> 2016-10-13 23:17:48.740 1037694 ERROR cinder     cluster=cluster)
> 2016-10-13 23:17:48.740 1037694 ERROR cinder   File
> "/usr/lib/python2.7/site-packages/cinder/service.py", line 202, in
> __init__
> 2016-10-13 23:17:48.740 1037694 ERROR cinder     *args, **kwargs)
> 2016-10-13 23:17:48.740 1037694 ERROR cinder   File
> "/usr/lib/python2.7/site-packages/cinder/scheduler/manager.py", line 68,
> in __init__
> 2016-10-13 23:17:48.740 1037694 ERROR cinder     self.driver =
> importutils.import_object(scheduler_driver)
> 2016-10-13 23:17:48.740 1037694 ERROR cinder   File
> "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 44, in
> import_object
> 2016-10-13 23:17:48.740 1037694 ERROR cinder     return
> import_class(import_str)(*args, **kwargs)
> 2016-10-13 23:17:48.740 1037694 ERROR cinder   File
> "/usr/lib/python2.7/site-packages/cinder/scheduler/filter_scheduler.py",
> line 40, in __init__
> 2016-10-13 23:17:48.740 1037694 ERROR cinder     super(FilterScheduler,
> self).__init__(*args, **kwargs)
> 2016-10-13 23:17:48.740 1037694 ERROR cinder   File
> "/usr/lib/python2.7/site-packages/cinder/scheduler/driver.py", line 85,
> in __init__
> 2016-10-13 23:17:48.740 1037694 ERROR cinder     self.volume_rpcapi =
> volume_rpcapi.VolumeAPI()
> 2016-10-13 23:17:48.740 1037694 ERROR cinder   File
> "/usr/lib/python2.7/site-packages/cinder/rpc.py", line 194, in __init__
> 2016-10-13 23:17:48.740 1037694 ERROR cinder     obj_version_cap =
> self.determine_obj_version_cap()
> 2016-10-13 23:17:48.740 1037694 ERROR cinder   File
> "/usr/lib/python2.7/site-packages/cinder/rpc.py", line 233, in
> determine_obj_version_cap
> 2016-10-13 23:17:48.740 1037694 ERROR cinder     cinder.context.get_admin_context(),
> cls.BINARY)
> 2016-10-13 23:17:48.740 1037694 ERROR cinder   File
> "/usr/lib/python2.7/site-packages/cinder/objects/service.py", line 188,
> in get_minimum_obj_version
> 2016-10-13 23:17:48.740 1037694 ERROR cinder     binary)
> 2016-10-13 23:17:48.740 1037694 ERROR cinder   File
> "/usr/lib/python2.7/site-packages/cinder/objects/service.py", line 173,
> in _get_minimum_version
> 2016-10-13 23:17:48.740 1037694 ERROR cinder     raise
> exception.ServiceTooOld(msg)
> 2016-10-13 23:17:48.740 1037694 ERROR cinder 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.
>
> --
>
> Devin Acosta  RHCA|LFCE
> Red Hat Certified Architect, Linux Geek
> e: devin at linuxguru.co <javascript:_e(%7B%7D,'cvml','devin at linuxguru.co');>
>
>
> <https://www.postbox-inc.com/?utm_source=email&utm_medium=siglink&utm_campaign=reach>
>


-- 
Mohammed Naser — vexxhost
-----------------------------------------------------
D. 514-316-8872
D. 800-910-1726 ext. 200
E. mnaser at vexxhost.com
W. http://vexxhost.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rdo-list/attachments/20161016/20debdf0/attachment.htm>


More information about the rdo-list mailing list