<div dir="ltr"><div><div><div>thanks, made some progress.<br>this user had the same problem <a href="https://answers.launchpad.net/swift/+question/201810">https://answers.launchpad.net/swift/+question/201810</a> i've now apt-get removed swift, and then installed all from git. that worked. <br>
</div>except there are 2 failing unit tests, something about differences in expected http return codes.<br><br></div>after this all my config files are now confused with the user. wherever i had set 'swift' as the user, it's now overwritten to 'myuser'. even in those places where the manual had 'swift' hardcoded, not '<your-user-name>'. so i still don't know if <your-user-name> is supposed to be my non-root with-login user, or my no-login user named swift.<br>
</div>i'm now trying to change all files to have 'swift' in there in all places.<br><br><div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 5, 2013 at 6:47 PM, nithish B <span dir="ltr"><<a href="mailto:bestofnithish@gmail.com" target="_blank">bestofnithish@gmail.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="ltr"><div><div><div><div><div><div><div><div><div>Hi,<br></div>    You have to be root to get the user part right.<br>
</div>i.e. myuser@mymachine:~$sudo su<br>myuser@mymachine:~#cd bin<br>myuser@mymachine:~/bin$remakerings<br>
<br></div>And as for the second one, try,<br></div>$sudo apt-get update<br></div>$sudo apt-get install python-swiftclient<br><br></div>If it doesn't work, download the package from <a href="http://mirror.pnl.gov/ubuntu//pool/main/p/python-swiftclient/python-swiftclient_1.2.0-0ubuntu2_all.deb" target="_blank">mirror.pnl.gov/ubuntu//pool/main/p/python-swiftclient/python-swiftclient_1.2.0-0ubuntu2_all.deb</a><br>

</div>and install it using dpkg manager.<br><br></div>Regards,<br></div>Nitish B.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Fri, Jul 5, 2013 at 10:09 AM, Gonfi den Tschal <span dir="ltr"><<a href="mailto:gonfidentschal@gmail.com" target="_blank">gonfidentschal@gmail.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><div class="h5"><div dir="ltr"><div><div><div><div><div>i'm having some difficulties following the tutorial at <a href="http://docs.openstack.org/developer/swift/development_saio.html" target="_blank">http://docs.openstack.org/developer/swift/development_saio.html</a><br>


<br></div>1) the user:<br>i don't understand how it's meant, i guessed:<br> - root for the commands<br> - <your-user-name> should be "swift", a user account without login privileges, created as:<br>


   useradd -s /usr/sbin/nologin swift<br> - some standard user with login where the ~/bin stuff goes<br>because the text says "Swift processes also run under a separate user and group" (separate, so not the same as my user).<br>


"which may not exist on your system" confusing also, does it mean it does not need to be created? or that it probably does not exist yet, and i should create it?<br>i've used the standard user to run the commands with sudo. but then i got stuck with setting up scripts when running them as my login user (not swift user), i got:<br>


myuser@mymachine:~/bin$ remakerings<br>Traceback (most recent call last):<br>  File "/usr/bin/swift-ring-builder", line 676, in <module><br>    mkdir(backup_dir)<br>OSError: [Errno 13] Permission denied: 'backups'<br>


Ring Builder file does not exist: object.builder<br>...<br><br></div>so: should the swift user be a standard user, and also run the scripts?<br><br></div>2) i don't want to get a dev version of the code, so i've followed the install instructions from <a href="http://docs.openstack.org/developer/swift/howto_installmultinode.html" target="_blank">http://docs.openstack.org/developer/swift/howto_installmultinode.html</a><br>


</div>installing swift worked, but not python-swiftclient:<br>myuser@mymachine:~/bin$ sudo apt-get install python-swiftclient<br>Reading package lists... Done<br>Building dependency tree<br>Reading state information... Done<br>


E: Unable to locate package python-swiftclient<br><br></div>3) i'm setting up a vm to be used for development, but i'll also clone it to use it for the early stage of the running live app. is there a better tutorial somewhere?<br>


<br><div>thanks,<br>gonfi<br><br></div><div><br></div></div>
<br></div></div>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>