<div dir="ltr">Dear Remo,<div>What will happen if I disable SELinux? Should I do the installation once more or just restarting the services would be enough?</div><div>Regards.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 10, 2015 at 3:44 AM, Remo Mattei <span dir="ltr"><<a href="mailto:remo@italy1.com" target="_blank">remo@italy1.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Try to set the permission on permissive and check also you may want to run restorecon and see if the files have the right permissions<br><br>Inviato da <span style="background-color:rgba(255,255,255,0)">iPhone ()</span></div><div><br>Il giorno 09/feb/2015, alle ore 14:08, Ali Nazemian <<a href="mailto:alinazemian@gmail.com" target="_blank">alinazemian@gmail.com</a>> ha scritto:<br><br></div><blockquote type="cite"><div><div><div class="h5"><div dir="ltr">Dear Remo,<div>Hi,</div><div>Yeah, Selinux is enabled although I did install openstack-selinux for this purpose.</div><div>Regards.</div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Mon, Feb 9, 2015 at 11:22 PM, Remo Mattei <span dir="ltr"><<a href="mailto:Remo@italy1.com" target="_blank">Remo@italy1.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Are you running SELinux?<div><br></div><div>Remo <br><div><blockquote type="cite"><div><div class="h5"><div><div><div>On Feb 9, 2015, at 11:21, Ali Nazemian <<a href="mailto:alinazemian@gmail.com" target="_blank">alinazemian@gmail.com</a>> wrote:</div><br></div></div></div></div><div><div><div class="h5"><div><div><div dir="ltr">I did try to install and configure swift juno with one proxy node (controller) and two object storage node. (CentOS 7) After i tried to verify the installation process I have found out that there is some problem with the installation. The output of swift stat command looks normal but when I tried to create storage container in order to upload some file this error showed up:<div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div style="font-family:tahoma;font-size:13.3333330154419px">Error trying to create container 'demo-container1': 404 Not Found: <html><h1>Not Found</h1><p>The resource could not be found.<</div></div><div><div style="font-family:tahoma;font-size:13.3333330154419px">Object PUT failed: <a href="http://controller:8080/v1/AUTH_699fcdbd76d64bd184fc948ac1e9b32c/demo-container1/root/centos-indexhtml-7-9.el7.centos.noarch.rpm" target="_blank">http://controller:8080/v1/AUTH_699fcdbd76d64bd184fc948ac1e9b32c/demo-container1/root/centos-indexhtml-7-9.el7.centos.noarch.rpm</a> 404 Not Found [first 60 chars of response] <html><h1>Not Found</h1><p>The resource could not be found.<</div></div></blockquote><div><div style="font-family:tahoma;font-size:13.3333330154419px"><br></div><div style="font-family:tahoma;font-size:13.3333330154419px">I did check the service logs on the proxy server side, here is the output of proxy-server service:</div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div style="font-family:tahoma;font-size:13.3333330154419px"><div style="font-size:13.3333330154419px">Feb 09 22:27:57 controller proxy-server[2522]: Container GET returning 503 for (503, 503, 503) (txn: tx96539e1fc77640fd99898-0054d90335) (client_ip: 10.102.1.70)</div></div></div><div><div style="font-family:tahoma;font-size:13.3333330154419px"><div style="font-size:13.3333330154419px">Feb 09 22:27:57 controller proxy-server[2522]: Could not autocreate account '/AUTH_699fcdbd76d64bd184fc948ac1e9b32c' (txn: tx96539e1fc77640fd99898-0054d90335) (client_ip: 10.102.1.70)</div><div style="font-size:13.3333330154419px"><br></div><div style="font-size:13.3333330154419px"><br></div></div></div></blockquote><font face="tahoma"><span style="font-size:13.3333330154419px">On the storage node here are the logs of different services:</span></font><div><div style="font-size:13.3333330154419px;font-family:tahoma;background-image:none;background-color:rgba(0,0,0,0);background-repeat:repeat repeat"><div>object-auditor service:</div></div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div style="font-size:13.3333330154419px;font-family:tahoma;background-image:none;background-color:rgba(0,0,0,0);background-repeat:repeat repeat"><div><div>Feb 09 22:32:36 object1 object-auditor[2115]: Begin object audit "forever" mode (ALL)</div></div></div></div><div><div style="font-size:13.3333330154419px;font-family:tahoma;background-image:none;background-color:rgba(0,0,0,0);background-repeat:repeat repeat"><div>Feb 09 22:32:36 object1 object-auditor[2115]: ERROR: Unable to run auditing: [Errno 13] Permission denied: '/srv/node/sdc1'</div></div></div><div><div style="font-size:13.3333330154419px;font-family:tahoma;background-image:none;background-color:rgba(0,0,0,0);background-repeat:repeat repeat"><div> </div></div></div></blockquote><div><div style="font-size:13.3333330154419px;font-family:tahoma;background-image:none;background-color:rgba(0,0,0,0);background-repeat:repeat repeat"><div>object-replicator service:</div></div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div style="font-size:13.3333330154419px;font-family:tahoma;background-image:none;background-color:rgba(0,0,0,0);background-repeat:repeat repeat"><div><div>Feb 09 22:33:04 object1 object-replicator[872]: ERROR creating /srv/node/sdb1/objects: #012Traceback (most recent call last):#012 File "/usr/lib/python2.7/site-packages/swift/obj/replicator.py", line 428, in process_repl#012 mkdirs(obj_path)#012 File "/usr/lib/python2.7/site-packages/swift/common/utils.py", line 770, in mkdirs#012 os.makedirs(path)#012 File "/usr/lib64/python2.7/os.py", line 157, in makedirs#012 mkdir(name, mode)#012OSError: [Errno 13] Permission denied: '/srv/node/sdb1/objects'</div></div></div></div><div><div style="font-size:13.3333330154419px;font-family:tahoma;background-image:none;background-color:rgba(0,0,0,0);background-repeat:repeat repeat"><div>Feb 09 22:33:04 object1 object-replicator[872]: ERROR creating /srv/node/sdc1/objects: #012Traceback (most recent call last):#012 File "/usr/lib/python2.7/site-packages/swift/obj/replicator.py", line 428, in process_repl#012 mkdirs(obj_path)#012 File "/usr/lib/python2.7/site-packages/swift/common/utils.py", line 770, in mkdirs#012 os.makedirs(path)#012 File "/usr/lib64/python2.7/os.py", line 157, in makedirs#012 mkdir(name, mode)#012OSError: [Errno 13] Permission denied: '/srv/node/sdc1/objects'</div></div></div><div><div style="font-size:13.3333330154419px;font-family:tahoma;background-image:none;background-color:rgba(0,0,0,0);background-repeat:repeat repeat"><div> </div></div></div></blockquote><div><div style="font-size:13.3333330154419px;font-family:tahoma;background-image:none;background-color:rgba(0,0,0,0);background-repeat:repeat repeat"><div>object-updater service:</div></div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div style="font-size:13.3333330154419px;font-family:tahoma;background-image:none;background-color:rgba(0,0,0,0);background-repeat:repeat repeat"><div><div>Feb 09 22:23:38 object1 object-updater[2017]: UNCAUGHT EXCEPTION#012Traceback (most recent call last):#012 File "/usr/bin/swift-object-updater", line 23, in <module>#012 run_daemon(ObjectUpdater, conf_file, **options)#012 File "/usr/lib/python2.7/site-packages/swift/common/daemon.py", line 110, in run_daemon#012 klass(conf).run(once=once, **kwargs)#012 File "/usr/lib/python2.7/site-packages/swift/common/daemon.py", line 57, in run#012 self.run_forever(**kwargs)#012 File "/usr/lib/python2.7/site-packages/swift/obj/updater.py", line 91, in run_forever#012 self.object_sweep(os.path.join(self.devices, device))#012 File "/usr/lib/python2.7/site-packages/swift/obj/updater.py", line 141, in object_sweep#012 for asyncdir in os.listdir(device):#012OSError: [Errno 13] Permission denied: '/srv/node/sdc1'</div></div></div></div><div><div style="font-size:13.3333330154419px;font-family:tahoma;background-image:none;background-color:rgba(0,0,0,0);background-repeat:repeat repeat"><div>Feb 09 22:23:38 object1 object-updater[873]: Object update sweep completed: 0.07s</div></div></div><div><div style="font-size:13.3333330154419px;font-family:tahoma;background-image:none;background-color:rgba(0,0,0,0);background-repeat:repeat repeat"><div>Feb 09 22:28:38 object1 object-updater[873]: Begin object update sweep</div></div></div><div><div style="font-size:13.3333330154419px;font-family:tahoma;background-image:none;background-color:rgba(0,0,0,0);background-repeat:repeat repeat"><div>Feb 09 22:28:38 object1 object-updater[2073]: UNCAUGHT EXCEPTION#012Traceback (most recent call last):#012 File "/usr/bin/swift-object-updater", line 23, in <module>#012 run_daemon(ObjectUpdater, conf_file, **options)#012 File "/usr/lib/python2.7/site-packages/swift/common/daemon.py", line 110, in run_daemon#012 klass(conf).run(once=once, **kwargs)#012 File "/usr/lib/python2.7/site-packages/swift/common/daemon.py", line 57, in run#012 self.run_forever(**kwargs)#012 File "/usr/lib/python2.7/site-packages/swift/obj/updater.py", line 91, in run_forever#012 self.object_sweep(os.path.join(self.devices, device))#012 File "/usr/lib/python2.7/site-packages/swift/obj/updater.py", line 141, in object_sweep#012 for asyncdir in os.listdir(device):#012OSError: [Errno 13] Permission denied: '/srv/node/sdb1'</div></div></div><div><div style="font-size:13.3333330154419px;font-family:tahoma;background-image:none;background-color:rgba(0,0,0,0);background-repeat:repeat repeat"><div> </div></div></div></blockquote><div><div style="font-family:tahoma;font-size:13.3333330154419px;background-image:none;background-color:rgba(0,0,0,0);background-repeat:repeat repeat">there is same permission error for account service. And here is the rsync log on storage node:</div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div style="font-family:tahoma;font-size:13.3333330154419px;background-image:none;background-color:rgba(0,0,0,0);background-repeat:repeat repeat"><div style="font-size:13.3333330154419px;background:none 0% 0%/auto repeat scroll padding-box border-box rgba(0,0,0,0)">2015/02/09 22:16:22 [584] unable to bind any inbound sockets on port 873</div></div></div><div><div style="font-family:tahoma;font-size:13.3333330154419px;background-image:none;background-color:rgba(0,0,0,0);background-repeat:repeat repeat"><div style="font-size:13.3333330154419px;background:none 0% 0%/auto repeat scroll padding-box border-box rgba(0,0,0,0)"><span style="font-size:10pt">2015/02/09 22:16:22 [584] rsync error: error in socket IO (code 10) at socket.c(555) [Receiver=3.0.9]</span></div></div></div></blockquote><div><div style="font-family:tahoma;font-size:13.3333330154419px;background-image:none;background-color:rgba(0,0,0,0);background-repeat:repeat repeat"> </div><div style="font-family:tahoma;font-size:13.3333330154419px;background-image:none;background-color:rgba(0,0,0,0);background-repeat:repeat repeat">It seems that I have a permission problem with /srv/node directory. I check the permission and everything looks normal. (swift user and swift group) I also check the permission for creating a directory inside /srv/node with using "swift" user. It was fine. I really appriciate if somebody could help me through this issue.</div><div style="font-family:tahoma;font-size:13.3333330154419px;background-image:none;background-color:rgba(0,0,0,0);background-repeat:repeat repeat"><br></div><div style="font-family:tahoma;font-size:13.3333330154419px;background-image:none;background-color:rgba(0,0,0,0);background-repeat:repeat repeat">Best regards.</div><div><div><br></div>-- <br><div>A.Nazemian</div>
</div></div></div></div></div></div></div><span class="">
_______________________________________________<br>Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br><br><br>!DSPAM:1,54d90cdc141954615547069!<br></span></div></blockquote></div><br></div></div></blockquote></div><br><br clear="all"><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div>A.Nazemian</div>
</font></span></div><span class="HOEnZb"><font color="#888888">
!DSPAM:1,54d931c1238128606622627!
</font></span></div></blockquote></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">A.Nazemian</div>
</div>