Open mattraio opened 6 years ago
Hi @mattraio !
What changes did you do in templates.py?
Usually, when you can not see the virtualization tab it is because Kimchi failed to be loaded. In that case, it might have a message (on logs) similar to "Unable to load Kimchi plugin due..."
Hello! I was noticing after I tried a few machines, the Kimchi/Wok provisions a few images (like Windows 7, 8.1) beautifully. However, I wanted a specific ubuntu distro (gnome). After trying over and over again within WOK to create the image, I got an error stating the memory was different. I searched the github pages and made exact changes to add the ISO entries. Once that change happens I restarted WOK and I lost the Virtualization tab. when I reinstall Wok and Kimchi with the default config files, everything is fine. It seems I can't get the setup to accept other images than the few that are available in a repository somewhere. Perhaps I'm going about it all wrong and I should just ask for help with accepting custom images.
Oh and when I open virt-manager, the image comes up fine. Just when I try to open it after the config file changes, I loose the virtualization tab. Please advise.
Get organized with Yahoo Mail
On Tue, Mar 27, 2018 at 7:42 AM, Aline Maneranotifications@github.com wrote:
Hi @mattraio !
What changes did you do in templates.py?
Usually, when you can not see the virtualization tab it is because Kimchi failed to be loaded. In that case, it might have a message (on logs) similar to "Unable to load Kimchi plugin due..."
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Please, check the logs for some message like "Unable to load Kimchi plugin...". There might be on there with more details on what is going on.
Just for clarification...what is the default path to find those logs?
Get organized with Yahoo Mail
On Tue, Mar 27, 2018 at 1:31 PM, Aline Maneranotifications@github.com wrote:
Please, check the logs for some message like "Unable to load Kimchi plugin...". There might be on there with more details on what is going on.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
The logs are under /var/log/wok
Sounds good. I'll fire up my server again this weekend and post.
Get organized with Yahoo Mail
On Wed, Mar 28, 2018 at 8:28 AM, Aline Maneranotifications@github.com wrote:
The logs are under /var/log/wok
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Okay...now that I've fired up Kimchi and Wok...here is the screenshot attached.
I reviewed the logs and this is what I see over and over...
[31/Mar/2018:15:47:25] HTTP Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/cherrypy/_cprequest.py", line 670, in respond response.body = self.handler() File "/usr/lib/python2.7/dist-packages/cherrypy/lib/encoding.py", line 217, in call self.body = self.oldhandler(*args, *kwargs) File "/usr/lib/python2.7/dist-packages/cherrypy/_cpdispatch.py", line 61, in call return self.callable(self.args, **self.kwargs) File "/usr/lib/python2.7/dist-packages/wok/control/base.py", line 447, in index return self.get(params) File "/usr/lib/python2.7/dist-packages/wok/control/base.py", line 422, in get data = self.filter_data(resources, fields_filter) File "/usr/lib/python2.7/dist-packages/wok/plugins/kimchi/control/storagevolumes.py", line 57, in filter_data fields_filter) File "/usr/lib/python2.7/dist-packages/wok/control/base.py", line 400, in filter_data if not res.is_authorized(): File "/usr/lib/python2.7/dist-packages/wok/control/base.py", line 233, in is_authorized users = self.data.get("users", None) File "/usr/lib/python2.7/dist-packages/wok/plugins/kimchi/control/storagevolumes.py", line 82, in data 'type': self.info['type'], KeyError: 'type' On Wednesday, March 28, 2018, 9:50:37 AM MDT, Matt Raio matt.raio@yahoo.com wrote:
Sounds good. I'll fire up my server again this weekend and post.
Get organized with Yahoo Mail
On Wed, Mar 28, 2018 at 8:28 AM, Aline Maneranotifications@github.com wrote:
The logs are under /var/log/wok
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
I'm seeing this same error periodically on an install based on the instructions on this page: https://www.timothygruber.com/linux/fedora-26-kvm-html5-remote-access-with-web-console-via-kimchi-part-1/ (EDIT: My OS is actually Fedora 27, however.)
It seems to occur when I'm trying to add a template or access storage. In the UI, I see the error: "The server encountered an unexpected condition which prevented it from fulfilling the request."
In wok-error.log, I see:
[01/Jun/2018:23:05:41] HTTP Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/cherrypy/cprequest.py", line 670, in respond response.body = self.handler() File "/usr/lib/python2.7/site-packages/cherrypy/lib/encoding.py", line 217, in __call_\ self.body = self.oldhandler(*args, *kwargs) File "/usr/lib/python2.7/site-packages/cherrypy/cpdispatch.py", line 61, in __call_\ return self.callable(self.args, **self.kwargs) File "/usr/lib/python2.7/site-packages/wok/control/base.py", line 447, in index return self.get(params) File "/usr/lib/python2.7/site-packages/wok/control/base.py", line 422, in get data = self.filter_data(resources, fields_filter) File "/usr/lib/python2.7/site-packages/wok/plugins/kimchi/control/storagevolumes.py", line 57, in filter_data fields_filter) File "/usr/lib/python2.7/site-packages/wok/control/base.py", line 400, in filter_data if not res.is_authorized(): File "/usr/lib/python2.7/site-packages/wok/control/base.py", line 233, in is_authorized users = self.data.get("users", None) File "/usr/lib/python2.7/site-packages/wok/plugins/kimchi/control/storagevolumes.py", line 82, in data 'type': self.info['type'], KeyError: 'type'
If anyone has any ideas, it'd be greatly appreciated!
Hey,
I've looked over all the fixes by manually changing the templates.py file. When I enter the statements and reload wok, the virtualization tab disappears. When I reset it back, virtualization tab works, but I get the error messages when I try to add an ISO from the var/lib/kimchi/isos.
It will not change. Is there another way to avoid this check? KCHTMPL0020E: Unable to create template due error: KCHIMG0001E: Error probing image OS information: part_list: parted print: /dev/sda: Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.