<div dir="ltr"><div><div>Hello again!<br><br></div>After persisting selinux config, at reboot I get  &quot;Curerent mode: enforced&quot;&quot; although &quot;&quot;Mode from config file: permissive&quot;&quot; !<br></div>Due to this, i think I get an denied for glusterfsd:<br>
<br>type=AVC msg=audit(1387365750.532:5873): avc:  denied  { relabelfrom } for  pid=30249 comm=&quot;glusterfsd&quot; name=&quot;23fe702e-be59-4f65-8c55-58b1b1e1b023&quot; dev=&quot;dm-10&quot; ino=1835015 scontext=system_u:system_r:glusterd_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file<br>
<br><br><br><div><div><br><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 18, 2013 at 3:30 PM, Fabian Deutsch <span dir="ltr">&lt;<a href="mailto:fabiand@redhat.com" target="_blank">fabiand@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am Mittwoch, den 18.12.2013, 14:14 +0200 schrieb Gabi C:<br>
<div class="im">&gt; Still, now I cannot start none of the 2 machines! I get<br>
&gt;<br>
&gt; ID 119 VM proxy2 is down. Exit message: Child quit during startup<br>
&gt; handshake: Input/output error.&quot;&quot;<br>
<br>
</div>Could you try ot find out in what context this IO error appears?<br>
<span class="HOEnZb"><font color="#888888"><br>
- fabian<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
&gt;<br>
&gt; Something similar to bug<br>
&gt; <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1033064" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1033064</a>, except that in my<br>
&gt; case selinux is permissive!<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Dec 18, 2013 at 2:10 PM, Gabi C &lt;<a href="mailto:gabicr@gmail.com">gabicr@gmail.com</a>&gt; wrote:<br>
&gt;         in my case $brick_path =/data<br>
&gt;<br>
&gt;<br>
&gt;         getfattr -d /data return NOTHING on both nodes!!!<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         On Wed, Dec 18, 2013 at 1:46 PM, Fabian Deutsch<br>
&gt;         &lt;<a href="mailto:fabiand@redhat.com">fabiand@redhat.com</a>&gt; wrote:<br>
&gt;                 Am Mittwoch, den 18.12.2013, 13:26 +0200 schrieb Gabi<br>
&gt;                 C:<br>
&gt;                 &gt; Update on Glusterfs issue<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt; I manage to recover lost volume after recretaing the<br>
&gt;                 same volume name<br>
&gt;                 &gt; with same bricks, whisch raised an error message,<br>
&gt;                 resolved by, on both<br>
&gt;                 &gt; nodes:<br>
&gt;                 &gt;<br>
&gt;                 &gt; setfattr -x trusted.glusterfs.volume-id $brick_path<br>
&gt;                 &gt; setfattr -x trusted.gfid $brick_path<br>
&gt;<br>
&gt;<br>
&gt;                 Hey,<br>
&gt;<br>
&gt;                 good that you could recover them.<br>
&gt;<br>
&gt;                 Could you please provide $brick_path and getfattr -d<br>
&gt;                 $brick_path<br>
&gt;<br>
&gt;                 The question is if and/or why the fattrs are not<br>
&gt;                 stored.<br>
&gt;<br>
&gt;                 - fabian<br>
&gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt; On Wed, Dec 18, 2013 at 12:12 PM, Gabi C<br>
&gt;                 &lt;<a href="mailto:gabicr@gmail.com">gabicr@gmail.com</a>&gt; wrote:<br>
&gt;                 &gt;         node 1:<br>
&gt;                 &gt;<br>
&gt;                 &gt;         [root@virtual5 admin]# cat /config/files<br>
&gt;                 &gt;         /etc/fstab<br>
&gt;                 &gt;         /etc/shadow<br>
&gt;                 &gt;         /etc/default/ovirt<br>
&gt;                 &gt;         /etc/ssh/ssh_host_key<br>
&gt;                 &gt;         /etc/ssh/ssh_host_key.pub<br>
&gt;                 &gt;         /etc/ssh/ssh_host_dsa_key<br>
&gt;                 &gt;         /etc/ssh/ssh_host_dsa_key.pub<br>
&gt;                 &gt;         /etc/ssh/ssh_host_rsa_key<br>
&gt;                 &gt;         /etc/ssh/ssh_host_rsa_key.pub<br>
&gt;                 &gt;         /etc/rsyslog.conf<br>
&gt;                 &gt;         /etc/libvirt/libvirtd.conf<br>
&gt;                 &gt;         /etc/libvirt/passwd.db<br>
&gt;                 &gt;         /etc/passwd<br>
&gt;                 &gt;         /etc/sysconfig/network<br>
&gt;                 &gt;         /etc/collectd.conf<br>
&gt;                 &gt;         /etc/libvirt/qemu/networks<br>
&gt;                 &gt;         /etc/ssh/sshd_config<br>
&gt;                 &gt;         /etc/pki<br>
&gt;                 &gt;         /etc/logrotate.d/ovirt-node<br>
&gt;                 &gt;         /var/lib/random-seed<br>
&gt;                 &gt;         /etc/iscsi/initiatorname.iscsi<br>
&gt;                 &gt;         /etc/libvirt/qemu.conf<br>
&gt;                 &gt;         /etc/sysconfig/libvirtd<br>
&gt;                 &gt;         /etc/logrotate.d/libvirtd<br>
&gt;                 &gt;         /etc/multipath.conf<br>
&gt;                 &gt;         /etc/hosts<br>
&gt;                 &gt;         /etc/sysconfig/network-scripts/ifcfg-enp3s0<br>
&gt;                 &gt;         /etc/sysconfig/network-scripts/ifcfg-lo<br>
&gt;                 &gt;         /etc/ntp.conf<br>
&gt;                 &gt;         /etc/shadow<br>
&gt;                 &gt;         /etc/vdsm-reg/vdsm-reg.conf<br>
&gt;                 &gt;         /etc/shadow<br>
&gt;                 &gt;         /etc/shadow<br>
&gt;                 &gt;<br>
&gt;                   /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt<br>
&gt;                 &gt;<br>
&gt;                   /etc/sysconfig/network-scripts/route-ovirtmgmt<br>
&gt;                 &gt;<br>
&gt;                   /etc/sysconfig/network-scripts/rule-ovirtmgmt<br>
&gt;                 &gt;         /root/.ssh/authorized_keys<br>
&gt;                 &gt;         /etc/vdsm/<a href="http://vdsm.id" target="_blank">vdsm.id</a><br>
&gt;                 &gt;         /etc/udev/rules.d/12-ovirt-iosched.rules<br>
&gt;                 &gt;         /etc/vdsm/vdsm.conf<br>
&gt;                 &gt;         /etc/sysconfig/iptables<br>
&gt;                 &gt;         /etc/resolv.conf<br>
&gt;                 &gt;<br>
&gt;                   /etc/sysconfig/network-scripts/ifcfg-VPO_IPPROXY<br>
&gt;                 &gt;         /etc/sysconfig/network-scripts/ifcfg-enp6s0<br>
&gt;                 &gt;<br>
&gt;                   /etc/sysconfig/network-scripts/ifcfg-enp6s0.50<br>
&gt;                 &gt;         /etc/glusterfs/glusterd.vol<br>
&gt;                 &gt;         /etc/selinux/config<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt;         node 2:<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt;         [root@virtual4 ~]# cat /config/files<br>
&gt;                 &gt;         /etc/fstab<br>
&gt;                 &gt;         /etc/shadow<br>
&gt;                 &gt;         /etc/default/ovirt<br>
&gt;                 &gt;         /etc/ssh/ssh_host_key<br>
&gt;                 &gt;         /etc/ssh/ssh_host_key.pub<br>
&gt;                 &gt;         /etc/ssh/ssh_host_dsa_key<br>
&gt;                 &gt;         /etc/ssh/ssh_host_dsa_key.pub<br>
&gt;                 &gt;         /etc/ssh/ssh_host_rsa_key<br>
&gt;                 &gt;         /etc/ssh/ssh_host_rsa_key.pub<br>
&gt;                 &gt;         /etc/rsyslog.conf<br>
&gt;                 &gt;         /etc/libvirt/libvirtd.conf<br>
&gt;                 &gt;         /etc/libvirt/passwd.db<br>
&gt;                 &gt;         /etc/passwd<br>
&gt;                 &gt;         /etc/sysconfig/network<br>
&gt;                 &gt;         /etc/collectd.conf<br>
&gt;                 &gt;         /etc/libvirt/qemu/networks<br>
&gt;                 &gt;         /etc/ssh/sshd_config<br>
&gt;                 &gt;         /etc/pki<br>
&gt;                 &gt;         /etc/logrotate.d/ovirt-node<br>
&gt;                 &gt;         /var/lib/random-seed<br>
&gt;                 &gt;         /etc/iscsi/initiatorname.iscsi<br>
&gt;                 &gt;         /etc/libvirt/qemu.conf<br>
&gt;                 &gt;         /etc/sysconfig/libvirtd<br>
&gt;                 &gt;         /etc/logrotate.d/libvirtd<br>
&gt;                 &gt;         /etc/multipath.conf<br>
&gt;                 &gt;         /etc/hosts<br>
&gt;                 &gt;         /etc/sysconfig/network-scripts/ifcfg-enp3s0<br>
&gt;                 &gt;         /etc/sysconfig/network-scripts/ifcfg-lo<br>
&gt;                 &gt;         /etc/shadow<br>
&gt;                 &gt;         /etc/shadow<br>
&gt;                 &gt;         /etc/vdsm-reg/vdsm-reg.conf<br>
&gt;                 &gt;<br>
&gt;                   /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt<br>
&gt;                 &gt;<br>
&gt;                   /etc/sysconfig/network-scripts/route-ovirtmgmt<br>
&gt;                 &gt;<br>
&gt;                   /etc/sysconfig/network-scripts/rule-ovirtmgmt<br>
&gt;                 &gt;         /root/.ssh/authorized_keys<br>
&gt;                 &gt;         /etc/shadow<br>
&gt;                 &gt;         /etc/shadow<br>
&gt;                 &gt;         /etc/vdsm/<a href="http://vdsm.id" target="_blank">vdsm.id</a><br>
&gt;                 &gt;         /etc/udev/rules.d/12-ovirt-iosched.rules<br>
&gt;                 &gt;         /etc/sysconfig/iptables<br>
&gt;                 &gt;         /etc/vdsm/vdsm.conf<br>
&gt;                 &gt;         /etc/shadow<br>
&gt;                 &gt;         /etc/resolv.conf<br>
&gt;                 &gt;         /etc/ntp.conf<br>
&gt;                 &gt;<br>
&gt;                   /etc/sysconfig/network-scripts/ifcfg-VPO_IPPROXY<br>
&gt;                 &gt;         /etc/sysconfig/network-scripts/ifcfg-enp6s0<br>
&gt;                 &gt;<br>
&gt;                   /etc/sysconfig/network-scripts/ifcfg-enp6s0.50<br>
&gt;                 &gt;         /etc/glusterfs/glusterd.vol<br>
&gt;                 &gt;         /etc/selinux/config<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt;         On Wed, Dec 18, 2013 at 12:07 PM, Fabian<br>
&gt;                 Deutsch<br>
&gt;                 &gt;         &lt;<a href="mailto:fabiand@redhat.com">fabiand@redhat.com</a>&gt; wrote:<br>
&gt;                 &gt;                 Am Mittwoch, den 18.12.2013, 12:03<br>
&gt;                 +0200 schrieb Gabi<br>
&gt;                 &gt;                 C:<br>
&gt;                 &gt;                 &gt; So here it is:<br>
&gt;                 &gt;                 &gt;<br>
&gt;                 &gt;                 &gt;<br>
&gt;                 &gt;                 &gt; in tab volumes add new volume -<br>
&gt;                 Replicated, then<br>
&gt;                 &gt;                 added storage -<br>
&gt;                 &gt;                 &gt; data/glusterfs. Then I impoerted<br>
&gt;                 Vm, ran them and at<br>
&gt;                 &gt;                 some point,<br>
&gt;                 &gt;                 &gt; needing some space for a Redhat<br>
&gt;                 Satellite  instance<br>
&gt;                 &gt;                 I decided to put<br>
&gt;                 &gt;                 &gt; both node in maintenace stop them<br>
&gt;                 add new disk<br>
&gt;                 &gt;                 devices and restart,<br>
&gt;                 &gt;                 &gt; but after restart the gluster<br>
&gt;                 volume defined under<br>
&gt;                 &gt;                 Volumes Tab<br>
&gt;                 &gt;                 &gt; vanished!<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt;                 Antoni,<br>
&gt;                 &gt;<br>
&gt;                 &gt;                 can you tell what log files to look<br>
&gt;                 at to find out why<br>
&gt;                 &gt;                 that storage<br>
&gt;                 &gt;                 domain vanished - from a Engine<br>
&gt;                 side?<br>
&gt;                 &gt;<br>
&gt;                 &gt;                 And do you know what files related<br>
&gt;                 to gluster are<br>
&gt;                 &gt;                 changed on the Node<br>
&gt;                 &gt;                 side?<br>
&gt;                 &gt;<br>
&gt;                 &gt;                 Gabi,<br>
&gt;                 &gt;<br>
&gt;                 &gt;                 could you please provide the<br>
&gt;                 contents of /config/files<br>
&gt;                 &gt;                 on the Node.<br>
&gt;                 &gt;<br>
&gt;                 &gt;                 &gt; Glusterfs data goes under /data<br>
&gt;                 directory which was<br>
&gt;                 &gt;                 automatically<br>
&gt;                 &gt;                 &gt; configured when I installed the<br>
&gt;                 node.<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt;                 Yep, /data is on the Data LV - that<br>
&gt;                 should be good.<br>
&gt;                 &gt;<br>
&gt;                 &gt;                 - fabian<br>
&gt;                 &gt;<br>
&gt;                 &gt;                 &gt;<br>
&gt;                 &gt;                 &gt;<br>
&gt;                 &gt;                 &gt; On Wed, Dec 18, 2013 at 11:45 AM,<br>
&gt;                 Fabian Deutsch<br>
&gt;                 &gt;                 &lt;<a href="mailto:fabiand@redhat.com">fabiand@redhat.com</a>&gt;<br>
&gt;                 &gt;                 &gt; wrote:<br>
&gt;                 &gt;                 &gt;         Am Mittwoch, den<br>
&gt;                 18.12.2013, 11:42 +0200<br>
&gt;                 &gt;                 schrieb Gabi C:<br>
&gt;                 &gt;                 &gt;         &gt; Yes, it is the VM<br>
&gt;                 part..I just run into an<br>
&gt;                 &gt;                 issue.  My setup<br>
&gt;                 &gt;                 &gt;         consist in<br>
&gt;                 &gt;                 &gt;         &gt; 2 nodes with glusterfs<br>
&gt;                 and after adding<br>
&gt;                 &gt;                 supplemental hard<br>
&gt;                 &gt;                 &gt;         disk, after<br>
&gt;                 &gt;                 &gt;         &gt; reboot I&#39;ve lost<br>
&gt;                 glusterfs volumes!<br>
&gt;                 &gt;                 &gt;<br>
&gt;                 &gt;                 &gt;<br>
&gt;                 &gt;                 &gt;         Could you exactly explain<br>
&gt;                 what you<br>
&gt;                 &gt;                 configured?<br>
&gt;                 &gt;                 &gt;<br>
&gt;                 &gt;                 &gt;         &gt;<br>
&gt;                 &gt;                 &gt;         &gt; How can I persist any<br>
&gt;                 configuration on<br>
&gt;                 &gt;                 node and I refer here<br>
&gt;                 &gt;                 &gt;         to<br>
&gt;                 &gt;                 &gt;         &gt; &#39;&#39;setenforce 0&#39;&#39; - for<br>
&gt;                 ssh login to work-<br>
&gt;                 &gt;                 and further<br>
&gt;                 &gt;                 &gt;<br>
&gt;                 &gt;                 &gt;<br>
&gt;                 &gt;                 &gt;         How changes can be<br>
&gt;                 persisted on Node can be<br>
&gt;                 &gt;                 found here:<br>
&gt;                 &gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 <a href="http://www.ovirt.org/Node_Troubleshooting#Making_changes_on_the_host" target="_blank">http://www.ovirt.org/Node_Troubleshooting#Making_changes_on_the_host</a><br>
&gt;                 &gt;                 &gt;<br>
&gt;                 &gt;                 &gt;         Do you know into what path<br>
&gt;                 the glusterfs<br>
&gt;                 &gt;                 data goes? Or is it<br>
&gt;                 &gt;                 &gt;         written<br>
&gt;                 &gt;                 &gt;         directly onto a disk/LV?<br>
&gt;                 &gt;                 &gt;<br>
&gt;                 &gt;                 &gt;         - fabian<br>
&gt;                 &gt;                 &gt;<br>
&gt;                 &gt;                 &gt;         &gt; &quot;&quot;<br>
&gt;                 &gt;<br>
&gt;                 <a href="http://www.ovirt.org/Features/GlusterFS_Storage_Domain" target="_blank">http://www.ovirt.org/Features/GlusterFS_Storage_Domain</a><br>
&gt;                 &gt;                 &gt;         &gt;       * option<br>
&gt;                 rpc-auth-allow-insecure on<br>
&gt;                 &gt;                 ==&gt; in<br>
&gt;                 &gt;                 &gt;         glusterd.vol (ensure<br>
&gt;                 &gt;                 &gt;         &gt;         u restart<br>
&gt;                 glusterd service... for<br>
&gt;                 &gt;                 this to take<br>
&gt;                 &gt;                 &gt;         effect)<br>
&gt;                 &gt;                 &gt;<br>
&gt;                 &gt;                 &gt;         &gt;       * volume set<br>
&gt;                 &lt;volname&gt;<br>
&gt;                 &gt;                 server.allow-insecure on ==&gt;<br>
&gt;                 &gt;                 &gt;         (ensure u<br>
&gt;                 &gt;                 &gt;         &gt;         stop and start<br>
&gt;                 the volume.. for<br>
&gt;                 &gt;                 this to take<br>
&gt;                 &gt;                 &gt;         effect)&#39;&#39;<br>
&gt;                 &gt;                 &gt;         &gt;<br>
&gt;                 &gt;                 &gt;         &gt;<br>
&gt;                 &gt;                 &gt;         &gt; Thanks!<br>
&gt;                 &gt;                 &gt;         &gt;<br>
&gt;                 &gt;                 &gt;         &gt;<br>
&gt;                 &gt;                 &gt;         &gt;<br>
&gt;                 &gt;                 &gt;         &gt;<br>
&gt;                 &gt;                 &gt;         &gt;<br>
&gt;                 &gt;                 &gt;         &gt; On Wed, Dec 18, 2013 at<br>
&gt;                 11:35 AM, Fabian<br>
&gt;                 &gt;                 Deutsch<br>
&gt;                 &gt;                 &gt;         &lt;<a href="mailto:fabiand@redhat.com">fabiand@redhat.com</a>&gt;<br>
&gt;                 &gt;                 &gt;         &gt; wrote:<br>
&gt;                 &gt;                 &gt;         &gt;         Am Mittwoch, den<br>
&gt;                 18.12.2013, 08:34<br>
&gt;                 &gt;                 +0200 schrieb<br>
&gt;                 &gt;                 &gt;         Gabi C:<br>
&gt;                 &gt;                 &gt;         &gt;         &gt; Hello!<br>
&gt;                 &gt;                 &gt;         &gt;         &gt;<br>
&gt;                 &gt;                 &gt;         &gt;         &gt;<br>
&gt;                 &gt;                 &gt;         &gt;         &gt; In order to<br>
&gt;                 increase disk space<br>
&gt;                 &gt;                 I want to add a<br>
&gt;                 &gt;                 &gt;         new disk<br>
&gt;                 &gt;                 &gt;         &gt;         drive to<br>
&gt;                 &gt;                 &gt;         &gt;         &gt; ovirt node.<br>
&gt;                 After adding this<br>
&gt;                 &gt;                 should I proceed as<br>
&gt;                 &gt;                 &gt;         &quot;normal&quot; -<br>
&gt;                 &gt;                 &gt;         &gt;         pvcreate,<br>
&gt;                 &gt;                 &gt;         &gt;         &gt; vgcreate,<br>
&gt;                 lvcreate and so on -<br>
&gt;                 &gt;                 or these<br>
&gt;                 &gt;                 &gt;         configuration will<br>
&gt;                 &gt;                 &gt;         &gt;         not<br>
&gt;                 &gt;                 &gt;         &gt;         &gt; persist?<br>
&gt;                 &gt;                 &gt;         &gt;<br>
&gt;                 &gt;                 &gt;         &gt;<br>
&gt;                 &gt;                 &gt;         &gt;         Hey Gabi,<br>
&gt;                 &gt;                 &gt;         &gt;<br>
&gt;                 &gt;                 &gt;         &gt;         basically plain<br>
&gt;                 LVM is used in<br>
&gt;                 &gt;                 Node - so yes<br>
&gt;                 &gt;                 &gt;         pvcreate and<br>
&gt;                 &gt;                 &gt;         &gt;         lvextend can<br>
&gt;                 &gt;                 &gt;         &gt;         be used.<br>
&gt;                 &gt;                 &gt;         &gt;         What storage<br>
&gt;                 part do you want to<br>
&gt;                 &gt;                 extend? The part<br>
&gt;                 &gt;                 &gt;         where the<br>
&gt;                 &gt;                 &gt;         &gt;         VMs reside?<br>
&gt;                 &gt;                 &gt;         &gt;         You will also<br>
&gt;                 need to take care to<br>
&gt;                 &gt;                 extend the<br>
&gt;                 &gt;                 &gt;         filesystem.<br>
&gt;                 &gt;                 &gt;         &gt;<br>
&gt;                 &gt;                 &gt;         &gt;         - fabian<br>
&gt;                 &gt;                 &gt;         &gt;<br>
&gt;                 &gt;                 &gt;         &gt;<br>
&gt;                 &gt;                 &gt;         &gt;<br>
&gt;                 &gt;                 &gt;<br>
&gt;                 &gt;                 &gt;<br>
&gt;                 &gt;                 &gt;<br>
&gt;                 &gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
</div></div></blockquote></div><br></div>