[ovirt-users] gdeploy error

Ishmael Tsoaela ishmaelt3 at gmail.com
Wed Feb 15 09:51:11 UTC 2017


Hi,

service.py or setup.py


if service,py, which of the below do you suggest I move:


/usr/lib/python2.7/site-packages/slip/dbus/service.py
/usr/lib/python2.7/site-packages/firewall/core/io/service.py
/usr/lib/python2.7/site-packages/vdsm/tool/service.py
/usr/lib/python2.7/site-packages/ansible/plugins/action/service.py
/usr/lib/python2.7/site-packages/ansible/module_utils/service.py
/usr/lib/python2.7/site-packages/ansible/modules/core/system/service.py
/usr/lib/python2.7/site-packages/gdeploy-2.0.1-py2.7.egg/gdeployfeatures/service/service.py
/usr/lib64/python2.7/site-packages/dbus/service.py
/home/gdeploy/gdeployfeatures/service/service.py
/home/gdeploy/build/lib/gdeployfeatures/service/service.py





On Wed, Feb 15, 2017 at 11:32 AM, Sachidananda URS <surs at redhat.com> wrote:

> Hi,
>
>
> On Wed, Feb 15, 2017 at 2:30 PM, Ramesh Nachimuthu <rnachimu at redhat.com>
> wrote:
>
>>
>> + Sac,
>>
>>
>> ----- Original Message -----
>> > From: "Sandro Bonazzola" <sbonazzo at redhat.com>
>> > To: "Ishmael Tsoaela" <ishmaelt3 at gmail.com>, "Ramesh Nachimuthu" <
>> rnachimu at redhat.com>
>> > Cc: "users" <users at ovirt.org>
>> > Sent: Wednesday, February 15, 2017 1:52:26 PM
>> > Subject: Re: [ovirt-users] gdeploy error
>> >
>> > On Tue, Feb 14, 2017 at 3:52 PM, Ishmael Tsoaela <ishmaelt3 at gmail.com>
>> > wrote:
>> >
>> > > Hi,
>> > >
>> > >
>> > > I am a new sys admin and trying to install glusterfs using gdeploy, I
>> > > started with a simple script to enable a service(ntpd).
>> > >
>> > >
>> > >  gdeploy --version
>> > > gdeploy 2.0.1
>> > >
>> > > [root at ovirt1 gdeploy]# cat ntp.conf
>> > > [hosts]
>> > > ovirt1
>> > >
>> > > [service1]
>> > > action=enable
>> > > service=ntpd
>> > >
>> > > [service2]
>> > > action=start
>> > > service=ntpd
>> > >
>> > >
>> > >
>> > > The issue is that the gdeploy is returning error
>> > > fatal: [ovirt1]: FAILED! => {"failed": true, "msg": "module (setup) is
>> > > missing interpreter line"}
>> > >
>> > >
>> > > Is there a simple way to debug or figure out how to fix this error?
>>
>
> This is because of a conflicting module. I think there is another
> service.py in the python library path.
> Can you please find that and move it momentarily? Just to ensure that is
> the case.
>
> -sac
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170215/fe1b2375/attachment.html>


More information about the Users mailing list