<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
Hi Abhiram,<br>
<br>
<div class="moz-cite-prefix">On 22/09/2015 06:46, Abhiram Kulkarni
wrote:<br>
</div>
<blockquote
cite="mid:OF76084CAC.6596B49B-ON65257EC8.00344FC3-65257EC8.0035B506@in.ibm.com"
type="cite">
<p><font size="2" face="sans-serif">Hi, </font><br>
<br>
<font size="2" face="sans-serif">I see the dependencies
(python-magic) need to be installed. Have done that and see no
import issues.</font><br>
<br>
<font size="2" face="sans-serif">Still facing issue with start
of nginx server. Not sure if i am doing some mistake here, let
me know if someone has come across the issue.</font><br>
<br>
<font size="2" face="sans-serif">WebSocket server settings:</font><br>
<font size="2" face="sans-serif"> - Listen on :64667</font><br>
<font size="2" face="sans-serif"> - Flash security policy
server</font><br>
<font size="2" face="sans-serif"> - Web server. Web root:
/usr/share/kimchi/ui/pages/websockify</font><br>
<font size="2" face="sans-serif"> - SSL/TLS support</font><br>
<font size="2" face="sans-serif"> - Deny non-SSL/TLS
connections</font><br>
<font size="2" face="sans-serif"> - proxying from :64667 to
targets in /var/lib/kimchi/vnc-tokens</font><br>
<br>
<font size="2" face="sans-serif"><b>nginx: [emerg] "user"
directive is not allowed here in
/etc/nginx/conf.d/kimchi.conf:23</b></font><br>
<br>
</p>
</blockquote>
<br>
What is the content of the /etc/nginx/conf.d/kimchi.conf ? What is
the Linux distribution you are running Kimchi?<br>
<br>
Have you installed it via package or make-install?<br>
<br>
Regards,<br>
Aline Manera<br>
<br>
<blockquote
cite="mid:OF76084CAC.6596B49B-ON65257EC8.00344FC3-65257EC8.0035B506@in.ibm.com"
type="cite">
<p>
<font size="2" face="sans-serif">Process finished with exit code
70.</font><br>
<br>
<font size="2" face="sans-serif">=======================================================</font><br>
<font size="2" face="sans-serif">Thanks,<br>
Abhiram Kulkarni,<br>
Staff Software Engineer, Z Firmware Development,<br>
IBM India Systems & Technology Lab, Bangalore, India.<br>
Phone: +91 80 28063288 </font><br>
<br>
<font size="2" face="serif"><b><i>“Be who you are and say what
you feel, because those who mind don't matter, </i></b></font><br>
<font size="2" face="serif"><b><i>and those who matter don't
mind.” </i></b></font><br>
<font size="2" face="sans-serif">=======================================================</font><br>
<br>
<img src="cid:part1.09050304.04090106@linux.vnet.ibm.com"
alt="Inactive hide details for Abhiram Kulkarni---09/22/2015
02:22:49 PM---Hi All, Kimchi latest master code is not
working. Its fa" height="16" width="16" border="0"><font
size="2" color="#424282" face="sans-serif">Abhiram
Kulkarni---09/22/2015 02:22:49 PM---Hi All, Kimchi latest
master code is not working. Its failing to import magic</font><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">From: </font><font
size="1" face="sans-serif">Abhiram Kulkarni/India/IBM@IBMIN</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">To: </font><font
size="1" face="sans-serif">"Kimchi Devel"
<a class="moz-txt-link-rfc2396E" href="mailto:kimchi-devel@ovirt.org"><kimchi-devel@ovirt.org></a></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Date: </font><font
size="1" face="sans-serif">09/22/2015 02:22 PM</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Subject: </font><font
size="1" face="sans-serif">[Kimchi-devel] Kimchi master code
failing to start</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Sent by: </font><font
size="1" face="sans-serif"><a class="moz-txt-link-abbreviated" href="mailto:kimchi-devel-bounces@ovirt.org">kimchi-devel-bounces@ovirt.org</a></font><br>
</p>
<hr style="color:#8091A5; " align="left" noshade="noshade"
size="2" width="100%"><br>
<br>
<br>
<font size="2" face="sans-serif">Hi All, </font><font size="3"
face="serif"><br>
</font><font size="2" face="sans-serif"><br>
Kimchi latest master code is not working. Its failing to import
magic module. Can someone please look into the issue on
priority? For now i have commented this code and working on
same.</font><font size="3" face="serif"><br>
</font><font size="2" face="sans-serif"><br>
[root@abhiram src]# ./kimchid<br>
Traceback (most recent call last):<br>
File "./kimchid", line 28, in <module><br>
import kimchi.server<br>
File
"/root/PycharmProjects/master/kimchi/src/kimchi/server.py", line
29, in <module><br>
from kimchi import mockmodel<br>
File
"/root/PycharmProjects/master/kimchi/src/kimchi/mockmodel.py",
line 41, in <module><br>
from kimchi.model.storagevolumes import StorageVolumeModel,
StorageVolumesModel<br>
File
"/root/PycharmProjects/master/kimchi/src/kimchi/model/storagevolumes.py",
line 22, in <module><br>
import magic</font><font size="2" face="sans-serif"><b><br>
ImportError: No module named magic</b></font><font size="2"
face="sans-serif"><br>
[root@abhiram src]# vi
/root/PycharmProjects/master/kimchi/src/kimchi/model/storagevolumes.py</font><font
size="3" face="serif"><br>
</font><font size="2" face="sans-serif"><br>
[root@abhiram src]# pip install magic<br>
Downloading/unpacking magic<br>
</font><font size="2" face="sans-serif"><b>Could not find any
downloads that satisfy the requirement magic</b></font><font
size="2" face="sans-serif"><br>
Some externally hosted files were ignored (use --allow-external
magic to allow).<br>
Cleaning up...<br>
No distributions at all found for magic<br>
Storing debug log for failure in /root/.pip/pip.log</font><font
size="3" face="serif"><br>
</font><font size="2" face="sans-serif"><br>
[root@abhiram kimchi]# pwd<br>
/root/PycharmProjects/master/kimchi<br>
[root@abhiram kimchi]# git pull<br>
Already up-to-date.<br>
[root@abhiram kimchi]# </font><font size="3" face="serif"><br>
</font><font size="2" face="sans-serif"><br>
=======================================================<br>
Thanks,<br>
Abhiram Kulkarni,<br>
Staff Software Engineer, Z Firmware Development,<br>
IBM India Systems & Technology Lab, Bangalore, India.<br>
Phone: +91 80 28063288 </font><font size="3" face="serif"><br>
</font><font size="2" face="serif"><b><i><br>
“Be who you are and say what you feel, because those who
mind don't matter, <br>
and those who matter don't mind.” </i></b></font><font
size="2" face="sans-serif"><br>
=======================================================</font><tt><font
size="2">_______________________________________________<br>
Kimchi-devel mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:Kimchi-devel@ovirt.org">Kimchi-devel@ovirt.org</a><br>
</font></tt><tt><font size="2"><a moz-do-not-send="true"
href="http://lists.ovirt.org/mailman/listinfo/kimchi-devel">http://lists.ovirt.org/mailman/listinfo/kimchi-devel</a></font></tt><tt><font
size="2"><br>
</font></tt><br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kimchi-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kimchi-devel@ovirt.org">Kimchi-devel@ovirt.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/kimchi-devel">http://lists.ovirt.org/mailman/listinfo/kimchi-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>