[Kimchi-devel] Kimchi master code failing to start

Abhiram Kulkarni abhiramk at in.ibm.com
Tue Sep 22 09:46:37 UTC 2015


Hi,

I see the dependencies (python-magic) need to be installed. Have done that
and see no import issues.

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.

WebSocket server settings:
  - Listen on :64667
  - Flash security policy server
  - Web server. Web root: /usr/share/kimchi/ui/pages/websockify
  - SSL/TLS support
  - Deny non-SSL/TLS connections
  - proxying from :64667 to targets in /var/lib/kimchi/vnc-tokens

nginx: [emerg] "user" directive is not allowed here
in /etc/nginx/conf.d/kimchi.conf:23

Process finished with exit code 70.

=======================================================
Thanks,
Abhiram Kulkarni,
Staff Software Engineer, Z Firmware Development,
IBM India Systems & Technology Lab, Bangalore, India.
Phone:  +91 80 28063288

“Be who you are and say what you feel, because those who mind don't matter,
and those who matter don't mind.”
=======================================================



From:	Abhiram Kulkarni/India/IBM at IBMIN
To:	"Kimchi Devel" <kimchi-devel at ovirt.org>
Date:	09/22/2015 02:22 PM
Subject:	[Kimchi-devel] Kimchi master code failing to start
Sent by:	kimchi-devel-bounces at ovirt.org



Hi All,

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.

[root at abhiram src]# ./kimchid
Traceback (most recent call last):
  File "./kimchid", line 28, in <module>
    import kimchi.server
  File "/root/PycharmProjects/master/kimchi/src/kimchi/server.py", line 29,
in <module>
    from kimchi import mockmodel
  File "/root/PycharmProjects/master/kimchi/src/kimchi/mockmodel.py", line
41, in <module>
    from kimchi.model.storagevolumes import StorageVolumeModel,
StorageVolumesModel
  File
"/root/PycharmProjects/master/kimchi/src/kimchi/model/storagevolumes.py",
line 22, in <module>
    import magic
ImportError: No module named magic
[root at abhiram src]#
vi /root/PycharmProjects/master/kimchi/src/kimchi/model/storagevolumes.py

[root at abhiram src]# pip install magic
Downloading/unpacking magic
  Could not find any downloads that satisfy the requirement magic
  Some externally hosted files were ignored (use --allow-external magic to
allow).
Cleaning up...
No distributions at all found for magic
Storing debug log for failure in /root/.pip/pip.log

[root at abhiram kimchi]# pwd
/root/PycharmProjects/master/kimchi
[root at abhiram kimchi]# git pull
Already up-to-date.
[root at abhiram kimchi]#

=======================================================
Thanks,
Abhiram Kulkarni,
Staff Software Engineer, Z Firmware Development,
IBM India Systems & Technology Lab, Bangalore, India.
Phone:  +91 80 28063288

“Be who you are and say what you feel, because those who mind don't matter,

and those who matter don't mind.”
=======================================================
_______________________________________________
Kimchi-devel mailing list
Kimchi-devel at ovirt.org
http://lists.ovirt.org/mailman/listinfo/kimchi-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20150922/f30c47bc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20150922/f30c47bc/attachment.gif>


More information about the Kimchi-devel mailing list