Hi Abhiram,

On 22/09/2015 06:46, Abhiram Kulkarni wrote:

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


What is the content of the /etc/nginx/conf.d/kimchi.conf ? What is the Linux distribution you are running Kimchi?

Have you installed it via package or make-install?

Regards,
Aline Manera

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.”
=======================================================

Inactive hide details for Abhiram Kulkarni---09/22/2015
          02:22:49 PM---Hi All, Kimchi latest master code is not
          working. Its faAbhiram Kulkarni---09/22/2015 02:22:49 PM---Hi All, Kimchi latest master code is not working.  Its failing to import magic

From: Abhiram Kulkarni/India/IBM@IBMIN
To: "Kimchi Devel" <kimchi-devel@ovirt.org>
Date: 09/22/2015 02:22 PM
Subject: [Kimchi-devel] Kimchi master code failing to start
Sent by: kimchi-devel-bounces@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@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@abhiram src]# vi /root/PycharmProjects/master/kimchi/src/kimchi/model/storagevolumes.py


[root@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@abhiram kimchi]# pwd
/root/PycharmProjects/master/kimchi
[root@abhiram kimchi]# git pull
Already up-to-date.
[root@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@ovirt.org
http://lists.ovirt.org/mailman/listinfo/kimchi-devel




_______________________________________________
Kimchi-devel mailing list
Kimchi-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/kimchi-devel