oneadmin 的主位置(即 /var/)中缺少 open.db。正因为如此,每当我开始打开星云数据库时就会发生不匹配,该怎么办?有什么建议么?
-琳达
OpenNebula sqlite DB (OpenNebula default DB) is called one.db
, and it is placed in /var/lib/one
. Database version mismatch errors arise when an update is performed to OpenNebula and 'oned' is started before the DB is migrated.
The straight solution would be to run onedb upgrade -s /var/lib/one/one.db
and start OpenNebula. The radical solution (that entails losing all the information about hosts, VMs, vnets, etc) would be to erase the DB and start OpenNebula.