Failed to call refresh: 'cinder-manage db sync' [closed]

asked 2019-12-17 17:32:54 -0500

Sheik gravatar image

Packstack install fails with error "Database schema file with version 73 doesn't exist.". Running on cli gives same error.

How can a reset version?

New install in lab so no data to protect.

Copying Puppet modules and manifests                 [ DONE ]
Applying 10.152.117.221_controller.pp
10.152.117.221_controller.pp:                     [ ERROR ]             
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: 10.152.117.221_controller.pp
Error: /Stage[main]/Cinder::Db::Sync/Exec[cinder-manage db_sync]: Failed to call refresh: 'cinder-manage  db sync' returned 1 instead of one of [0]
You will find full trace in log /var/tmp/packstack/20191212-123440-aAqZyf/manifests/10.152.117.221_controller.pp.log
Please check log file /var/tmp/packstack/20191212-123440-aAqZyf/openstack-setup.log for more information
Additional information:
 * Parameter CONFIG_NEUTRON_L2_AGENT: You have choosen OVN neutron backend. Note that this backend does not support LBaaS, VPNaaS or FWaaS services. Geneve will be used as encapsulation method for tenant networks
 * A new answerfile was created in: /root/packstack-answers-20191212-123441.txt
 * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
 * File /root/keystonerc_admin has been created on OpenStack client host 10.152.117.221. To use the command line tools you need to source the file.
 * To access the OpenStack Dashboard browse to http://10.152.117.221/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.


# cinder-manage db sync
Deprecated: Option "logdir" from group "DEFAULT" is deprecated. Use option "log-dir" from group "DEFAULT".
Error during database migration: "Database schema file with version 73 doesn't exist."

(keystone_admin)]# cinder-manage db version
Deprecated: Option "logdir" from group "DEFAULT" is deprecated. Use option "log-dir" from group "DEFAULT".
72

(keystone_admin)]# cinder-manage --version
Deprecated: Option "logdir" from group "DEFAULT" is deprecated. Use option "log-dir" from group "DEFAULT".
14.0.2
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Sheik
close date 2020-02-01 10:44:53.941782

Comments

how did you fix this issue?

bhoknoi gravatar imagebhoknoi ( 2020-02-13 04:25:54 -0500 )edit