Failing to import Gingerbase and Kimchi

Hi team, I’ve been trying to run Kimchi on a CentOS 7 virtual machine but the plug-ins are failing to load. Check out the log: ➜ kimchi git:(master) ✗ sudo python src/wokd --host=0.0.0.0 --environment=development /usr/lib64/python2.7/site-packages/psutil/_pslinux.py:154: RuntimeWarning: couldn't determine platform's TOTAL_PHYMEM warnings.warn("couldn't determine platform's TOTAL_PHYMEM", RuntimeWarning) Failed to import plugin plugins.gingerbase.GingerBase, error: Class plugins.gingerbase.GingerBase can not be imported, error: cannot import name config Failed to import plugin plugins.kimchi.KimchiRoot, error: Class plugins.kimchi.KimchiRoot can not be imported, error: 'module' object has no attribute 'get_sysinfo' [05/Nov/2015:14:10:25] ENGINE Listening for SIGHUP. [05/Nov/2015:14:10:25] ENGINE Listening for SIGTERM. [05/Nov/2015:14:10:25] ENGINE Listening for SIGUSR1. [05/Nov/2015:14:10:25] ENGINE Bus STARTING CherryPy Checker: '/root/kimchi_master/kimchi/src/wok/plugins/ginger/ui/images' (root + dir) is not an existing filesystem path. section: [/images] root: None dir: '/root/kimchi_master/kimchi/src/wok/plugins/ginger/ui/images' [05/Nov/2015:14:10:25] ENGINE Started monitor thread 'Autoreloader'. [05/Nov/2015:14:10:25] ENGINE Serving on 127.0.0.1:8010 [05/Nov/2015:14:10:25] ENGINE Bus STARTED [05/Nov/2015:14:32:43] ENGINE Started monitor thread 'Session cleanup'. Any ideas? BTW, Ginger does get imported but the tab is empty. Thanks, Samuel

Hi Samuel, CentOS is not being tested by the community so there will be a lot of issues there. For the errors: Failed to import plugin plugins.gingerbase.GingerBase, error: Class plugins.gingerbase.GingerBase can not be imported, error: cannot import name config Seems the gingerbase build failed to generate the config.py file. You can try to check it. Failed to import plugin plugins.kimchi.KimchiRoot, error: Class plugins.kimchi.KimchiRoot can not be imported, error: 'module' object has no attribute 'get_sysinfo' I could not find any reference to 'get_sysinfo' in the current master branch. So I don't any idea about that error. I suggest to you to use the latest version of Fedora, Ubuntu, openSUSE or RHEL as they are being tested for a while. You can open an issue regarding this issue on CentOS in the github but it will be not a priority right now. Regards, Aline Manera On 05/11/2015 17:39, Samuel Henrique De Oliveira Guimaraes wrote:
Hi team,
I’ve been trying to run Kimchi on a CentOS 7 virtual machine but the plug-ins are failing to load. Check out the log:
➜ kimchi git:(master) ✗sudo python src/wokd --host=0.0.0.0 --environment=development
/usr/lib64/python2.7/site-packages/psutil/_pslinux.py:154: RuntimeWarning: couldn't determine platform's TOTAL_PHYMEM
warnings.warn("couldn't determine platform's TOTAL_PHYMEM", RuntimeWarning)
[05/Nov/2015:14:10:25] ENGINE Listening for SIGHUP.
[05/Nov/2015:14:10:25] ENGINE Listening for SIGTERM.
[05/Nov/2015:14:10:25] ENGINE Listening for SIGUSR1.
[05/Nov/2015:14:10:25] ENGINE Bus STARTING
CherryPy Checker:
'/root/kimchi_master/kimchi/src/wok/plugins/ginger/ui/images' (root + dir) is not an existing filesystem path.
section: [/images]
root: None
dir: '/root/kimchi_master/kimchi/src/wok/plugins/ginger/ui/images'
[05/Nov/2015:14:10:25] ENGINE Started monitor thread 'Autoreloader'.
[05/Nov/2015:14:10:25] ENGINE Serving on 127.0.0.1:8010
[05/Nov/2015:14:10:25] ENGINE Bus STARTED
[05/Nov/2015:14:32:43] ENGINE Started monitor thread 'Session cleanup'.
Any ideas?
BTW, Ginger does get imported but the tab is empty.
Thanks,
Samuel
_______________________________________________ Kimchi-devel mailing list Kimchi-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel
participants (2)
-
Aline Manera
-
Samuel Henrique De Oliveira Guimaraes