[Kimchi-devel] [PATCH 0/4 V2] Upgrade ObjectStore data to Kimchi-2.0
Paulo Ricardo Paz Vital
pvital at linux.vnet.ibm.com
Mon Nov 23 13:12:51 UTC 2015
If Ginger and GingerBase use the objectstore databases, so it's
necessary to work on them. I'll see this and send a patch.
Best regards,
Paulo Vital.
On Mon, 2015-11-23 at 10:49 -0200, Daniel Henrique Barboza wrote:
> I believe this patch set broke the existing objectstores of Ginger
> and
> Ginger-base. Here's the output when I've tried to use the existing
> Ginger
> objstore with current WoK:
>
> dir:
> '/home/danielhb/kimchi/wok/kimchi/src/wok/plugins/ginger/ui/images'
>
> [23/Nov/2015:10:45:18] ENGINE Started monitor thread 'Autoreloader'.
> [23/Nov/2015:10:45:19] ENGINE Serving on http://127.0.0.1:37848
> [23/Nov/2015:10:45:19] ENGINE Bus STARTED
> Traceback (most recent call last):
> File "/home/danielhb/kimchi/wok/kimchi/src/wok/asynctask.py", line
> 65, in _save_helper
> session.store('task', self.id, obj)
> File "/home/danielhb/kimchi/wok/kimchi/src/wok/objectstore.py",
> line
> 92, in store
> (ident, obj_type, jsonstr, version))
> OperationalError: table objects has no column named version
>
> WOKASYNC0002E: WOKASYNC0002E
>
> The same changes made here must be made to the existing object stores
> of
> Ginger and Ginger base, in my opinion.
>
>
>
>
> On 11/05/2015 04:47 PM, pvital at linux.vnet.ibm.com wrote:
> > From: Paulo Vital <pvital at linux.vnet.ibm.com>
> >
> > This patch-set contains some fixes and changes related to upgrade
> > process
> > of objectstore data from Kimchi-1.5.1 (or older) to the new Wok and
> > Kimchi-2.0 structure.
> >
> > This is a V2 submission completely different from V1, since it's
> > solving the
> > problem using a different approach, common to all supported
> > distros, during
> > the startup of Kimchi plugin. The patch-set was tested on Fedora 22
> > and
> > Ubuntu-14.04 distros.
> >
> > Paulo Vital (4):
> > Add version to objectstore information.
> > Add Kimchi version to objectstore entries.
> > Upgrade Kimchi objectstore content.
> > Change Kimchi version.
> >
> > src/wok/objectstore.py | 20 +++++--
> > src/wok/plugins/kimchi/VERSION | 2 +-
> > src/wok/plugins/kimchi/config.py.in | 5 ++
> > src/wok/plugins/kimchi/i18n.py | 1 +
> > src/wok/plugins/kimchi/model/diskutils.py | 7 ++-
> > src/wok/plugins/kimchi/model/storagepools.py | 4 +-
> > src/wok/plugins/kimchi/model/templates.py | 4 +-
> > src/wok/plugins/kimchi/model/vms.py | 20 ++++---
> > src/wok/plugins/kimchi/root.py | 10 ++++
> > src/wok/plugins/kimchi/tests/test_model.py | 4 +-
> > src/wok/plugins/kimchi/utils.py | 80
> > +++++++++++++++++++++++++++-
> > tests/test_objectstore.py | 5 ++
> > 12 files changed, 143 insertions(+), 19 deletions(-)
> >
>
> _______________________________________________
> Kimchi-devel mailing list
> Kimchi-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/kimchi-devel
>
More information about the Kimchi-devel
mailing list