[ovirt-devel] Test day: gluster install

Piotr Kliczewski piotr.kliczewski at gmail.com
Tue Jul 1 14:27:23 UTC 2014


On Tue, Jul 1, 2014 at 4:24 PM, Kanagaraj Mayilsamy <kmayilsa at redhat.com> wrote:
> Can you try moving SELinux to Permissive or Disabled and see?
>

I set SELinux to permissive and restarted glusterd service and got:

[root at f20 ~]# gluster peer status
Number of Peers: 0

I opened BZ for it: https://bugzilla.redhat.com/show_bug.cgi?id=1115091

>
> ----- Original Message -----
>> From: "Piotr Kliczewski" <piotr.kliczewski at gmail.com>
>> To: "Kanagaraj Mayilsamy" <kmayilsa at redhat.com>
>> Cc: devel at ovirt.org
>> Sent: Tuesday, July 1, 2014 6:56:45 PM
>> Subject: Re: [ovirt-devel] Test day: gluster install
>>
>> [root at f20 ~]# service glusterd status
>> Redirecting to /bin/systemctl status  glusterd.service
>> glusterd.service - GlusterFS, a clustered file-system server
>>    Loaded: loaded (/usr/lib/systemd/system/glusterd.service; enabled)
>>    Active: active (running) since Tue 2014-07-01 11:12:29 CEST; 4h 9min ago
>>  Main PID: 31056 (glusterd)
>>    CGroup: /system.slice/glusterd.service
>>            └─31056 /usr/sbin/glusterd -p /run/glusterd.pid
>>
>> Jul 01 11:12:29 f20.example.com systemd[1]: Started GlusterFS, a
>> clustered file-system server.
>> Jul 01 11:12:29 f20.example.com python[31062]: SELinux is preventing
>> /usr/sbin/glusterfsd from write access on the sock_file .
>>
>>                                                *****  Plugin catchall
>> (100. confidence) suggests   **************************...
>> Hint: Some lines were ellipsized, use -l to show in full.
>> [root at f20 ~]# gluster peer status
>> Connection failed. Please check if gluster daemon is operational.
>>
>> On Tue, Jul 1, 2014 at 3:07 PM, Kanagaraj Mayilsamy <kmayilsa at redhat.com>
>> wrote:
>> >
>> >
>> > ----- Original Message -----
>> >> From: "Piotr Kliczewski" <piotr.kliczewski at gmail.com>
>> >> To: "Kanagaraj Mayilsamy" <kmayilsa at redhat.com>
>> >> Cc: devel at ovirt.org
>> >> Sent: Tuesday, July 1, 2014 3:52:59 PM
>> >> Subject: Re: [ovirt-devel] Test day: gluster install
>> >>
>> >> On Tue, Jul 1, 2014 at 11:56 AM, Kanagaraj Mayilsamy
>> >> <kmayilsa at redhat.com> wrote:
>> >> > This can happen if glusterd service is down.
>> >> >
>> >> > What does "service glusterd status" say?
>> >> >
>> >> > If you find this down, start it by "service glusterd start"
>> >> >
>> >>
>> >> I checked status of this service and it was active.\
>> >
>> > Whats the output of "gluster peer status"?
>> >
>> >
>> >>
>> >> >
>> >> > Thanks,
>> >> > Kanagaraj
>> >> >
>> >> > ----- Original Message -----
>> >> >> From: "Piotr Kliczewski" <piotr.kliczewski at gmail.com>
>> >> >> To: devel at ovirt.org
>> >> >> Sent: Tuesday, July 1, 2014 3:00:29 PM
>> >> >> Subject: [ovirt-devel]  Test day: gluster install
>> >> >>
>> >> >> I stated to test gluster related features and noticed issue after
>> >> >> installation.
>> >> >> I performed following steps on my f20 using xmlrpc:
>> >> >> 1. Installed ovirt 3.5 repo.
>> >> >> 2. Installed engine
>> >> >> 3. Installed vdsm on the same host - status UP
>> >> >> 4. Removed vdsm
>> >> >> 5. Enabled gluster service
>> >> >> 6. Installed vdsm again (tried several times with the same result)
>> >> >>
>> >> >> Here is the output that I get:
>> >> >> I can see gluserd and glusterfsd services being active.
>> >> >>
>> >> >> Engine:
>> >> >> 2014-07-01 10:38:53,722 WARN
>> >> >> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
>> >> >> (org.ovirt.thread.pool-8-thread-12) [3987041c] Correlation ID: null,
>> >> >> Call Stack: null, Custom Event ID: -1, Message: Host fedora's
>> >> >> following network(s) are not synchronized with their Logical Network
>> >> >> configuration: ovirtmgmt.
>> >> >>
>> >> >> vdsm:
>> >> >>
>> >> >> Thread-13::DEBUG::2014-07-01
>> >> >> 10:49:32,670::caps::682::root::(_getKeyPackages) rpm package
>> >> >> ('gluster-swift',) not found
>> >> >> Thread-13::DEBUG::2014-07-01
>> >> >> 10:49:32,671::caps::682::root::(_getKeyPackages) rpm package
>> >> >> ('gluster-swift-object',) not found
>> >> >> Thread-13::DEBUG::2014-07-01
>> >> >> 10:49:32,672::caps::682::root::(_getKeyPackages) rpm package
>> >> >> ('gluster-swift-plugin',) not found
>> >> >> Thread-13::DEBUG::2014-07-01
>> >> >> 10:49:32,673::caps::682::root::(_getKeyPackages) rpm package
>> >> >> ('gluster-swift-account',) not found
>> >> >> Thread-13::DEBUG::2014-07-01
>> >> >> 10:49:32,673::caps::682::root::(_getKeyPackages) rpm package
>> >> >> ('gluster-swift-proxy',) not found
>> >> >> Thread-13::DEBUG::2014-07-01
>> >> >> 10:49:32,673::caps::682::root::(_getKeyPackages) rpm package
>> >> >> ('gluster-swift-doc',) not found
>> >> >> Thread-13::DEBUG::2014-07-01
>> >> >> 10:49:32,674::caps::682::root::(_getKeyPackages) rpm package
>> >> >> ('gluster-swift-container',) not found
>> >> >> Thread-13::DEBUG::2014-07-01
>> >> >> 10:49:32,674::caps::682::root::(_getKeyPackages) rpm package
>> >> >> ('glusterfs-geo-replication',) not found
>> >> >>
>> >> >> Thread-13::ERROR::2014-07-01
>> >> >> 10:49:38,021::BindingXMLRPC::1123::vds::(wrapper) vdsm exception
>> >> >> occured
>> >> >> Traceback (most recent call last):
>> >> >>   File "/usr/share/vdsm/rpc/BindingXMLRPC.py", line 1110, in wrapper
>> >> >>     res = f(*args, **kwargs)
>> >> >>   File "/usr/share/vdsm/gluster/api.py", line 54, in wrapper
>> >> >>     rv = func(*args, **kwargs)
>> >> >>   File "/usr/share/vdsm/gluster/api.py", line 251, in hostsList
>> >> >>     return {'hosts': self.svdsmProxy.glusterPeerStatus()}
>> >> >>   File "/usr/share/vdsm/supervdsm.py", line 50, in __call__
>> >> >>     return callMethod()
>> >> >>   File "/usr/share/vdsm/supervdsm.py", line 48, in <lambda>
>> >> >>     **kwargs)
>> >> >>   File "<string>", line 2, in glusterPeerStatus
>> >> >>   File "/usr/lib64/python2.7/multiprocessing/managers.py", line 773,
>> >> >> in _callmethod
>> >> >>     raise convert_to_error(kind, result)
>> >> >> GlusterCmdExecFailedException: Command execution failed
>> >> >> error: Connection failed. Please check if gluster daemon is
>> >> >> operational.
>> >> >>
>> >> >> Can someone help me understand what am I missing or confirm to open a
>> >> >> BZ?
>> >> >>
>> >> >> Thanks,
>> >> >> Piotr
>> >> >> _______________________________________________
>> >> >> Devel mailing list
>> >> >> Devel at ovirt.org
>> >> >> http://lists.ovirt.org/mailman/listinfo/devel
>> >> >>
>> >>
>>



More information about the Devel mailing list