<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">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">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>