[cinder] db sync error upgrading from pike to queens

Jay Bryant jungleboyj at gmail.com
Thu Jan 10 19:01:27 UTC 2019


I am thinking you are hitting this bug: 

I think you can work around it by retrying the migration with the volume 
service running.  You may, however, want to check with Iain MacDonnell 
as he has been looking at this for a while.


On 1/10/2019 12:34 PM, Brandon Caulder wrote:
> Hi,
> I am receiving the following error when performing an offline upgrade 
> of cinder from RDO openstack-cinder-1:11.1.0-1.el7 to 
> openstack-cinder-1:12.0.3-1.el7.
> # cinder-manage db version
> 105
> # cinder-manage --debug db sync
> Error during database migration: (pymysql.err.OperationalError) (2013, 
> 'Lost connection to MySQL server during query') [SQL: u'UPDATE volumes 
> SET shared_targets=%(shared_targets)s'] [parameters: 
> {'shared_targets': 1}]
> # cinder-manage db version
> 114
> The db version does not upgrade to queens version 117.  Any help would 
> be appreciated.
> Thank you

More information about the openstack-discuss mailing list