diff -Nru swift-1.4.7~20120217.1689/debian/changelog swift-1.4.7~20120224.1690/debian/changelog --- swift-1.4.7~20120217.1689/debian/changelog 2012-02-17 14:38:19.000000000 +0000 +++ swift-1.4.7~20120224.1690/debian/changelog 2012-02-24 14:10:18.000000000 +0000 @@ -1,3 +1,13 @@ +swift (1.4.7~20120224.1690-0ubuntu1) precise; urgency=low + + [ Chuck Short ] + * New upstream release. + + [ Chmouel Boudjnah ] + * Add more samples to packages (LP:#667935) + + -- Chuck Short Fri, 24 Feb 2012 09:10:12 -0500 + swift (1.4.7~20120217.1689-0ubuntu1) precise; urgency=low * New upstream release. @@ -60,6 +70,7 @@ swift (1.4.5~20111202.1634-0ubuntu2) precise; urgency=low + [ Chuck Short ] * Drop swauth man pages. (LP: #900888) * debian/control: - Clean up build depends. @@ -68,6 +79,8 @@ * debian/python-swift.postinst: Change user's shell to /bin/false. * Fix some lintian warnings. + [ Thierry Carrez (ttx) ] + * Ship swift-oldies and swift-orphans in swift package -- Chuck Short Fri, 16 Dec 2011 09:45:28 -0500 diff -Nru swift-1.4.7~20120217.1689/debian/swift.docs swift-1.4.7~20120224.1690/debian/swift.docs --- swift-1.4.7~20120217.1689/debian/swift.docs 2012-02-17 14:38:19.000000000 +0000 +++ swift-1.4.7~20120224.1690/debian/swift.docs 2012-02-24 14:10:18.000000000 +0000 @@ -1,2 +1,4 @@ etc/stats.conf-sample etc/drive-audit.conf-sample +etc/swift.conf-sample +etc/dispersion.conf-sample diff -Nru swift-1.4.7~20120217.1689/debian/swift.install swift-1.4.7~20120224.1690/debian/swift.install --- swift-1.4.7~20120217.1689/debian/swift.install 2012-02-17 14:38:19.000000000 +0000 +++ swift-1.4.7~20120224.1690/debian/swift.install 2012-02-24 14:10:18.000000000 +0000 @@ -6,6 +6,8 @@ usr/bin/swift usr/bin/swift-dispersion-populate usr/bin/swift-dispersion-report +usr/bin/swift-recon +usr/bin/swift-recon-cron usr/bin/swift-oldies usr/bin/swift-orphans usr/bin/swift-recon diff -Nru swift-1.4.7~20120217.1689/debian/swift-object.docs swift-1.4.7~20120224.1690/debian/swift-object.docs --- swift-1.4.7~20120217.1689/debian/swift-object.docs 2012-02-17 14:38:19.000000000 +0000 +++ swift-1.4.7~20120224.1690/debian/swift-object.docs 2012-02-24 14:10:18.000000000 +0000 @@ -1,2 +1,3 @@ etc/object-server.conf-sample etc/rsyncd.conf-sample +etc/object-expirer.conf-sample diff -Nru swift-1.4.7~20120217.1689/debian/swift-proxy.docs swift-1.4.7~20120224.1690/debian/swift-proxy.docs --- swift-1.4.7~20120217.1689/debian/swift-proxy.docs 2012-02-17 14:38:19.000000000 +0000 +++ swift-1.4.7~20120224.1690/debian/swift-proxy.docs 2012-02-24 14:10:18.000000000 +0000 @@ -1,2 +1,3 @@ etc/proxy-server.conf-sample etc/mime.types-sample +etc/memcache.conf-sample diff -Nru swift-1.4.7~20120217.1689/doc/source/development_saio.rst swift-1.4.7~20120224.1690/doc/source/development_saio.rst --- swift-1.4.7~20120217.1689/doc/source/development_saio.rst 2012-02-10 01:01:17.000000000 +0000 +++ swift-1.4.7~20120224.1690/doc/source/development_saio.rst 2012-02-24 13:48:26.000000000 +0000 @@ -6,8 +6,8 @@ Instructions for setting up a development VM --------------------------------------------- -This documents setting up a virtual machine for doing Swift development. The -virtual machine will emulate running a four node Swift cluster. +This section documents setting up a virtual machine for doing Swift development. +The virtual machine will emulate running a four node Swift cluster. * Get the *Ubuntu 10.04 LTS (Lucid Lynx)* server image: @@ -33,16 +33,31 @@ python-xattr sqlite3 xfsprogs python-webob python-eventlet python-greenlet python-pastedeploy python-netifaces` #. Install anything else you want, like screen, ssh, vim, etc. - #. Next, choose either :ref:`partition-section` or :ref:`loopback-section`. +* On Fedora, log in as root and do: + + #. `yum install openstack-swift openstack-swift-proxy + openstack-swift-account openstack-swift-container openstack-swift-object` + #. `yum install xinetd rsyncd` + #. `yum install memcached` + #. `yum install python-netifaces` + + This installs all necessary dependencies, and also creates user `swift` + and group `swift`. So, `swift:swift` ought to be used in every place where + this manual calls for `:`. + + Ensure that you are installing the version of Swift that corresponds to + this document. If not, enable the correct update repositories. + +Next, choose either :ref:`partition-section` or :ref:`loopback-section`. .. _partition-section: Using a partition for storage ============================= -If you are going to use a separate partition for Swift data, be sure to add another device when - creating the VM, and follow these instructions. +If you are going to use a separate partition for Swift data, be sure to add +another device when creating the VM, and follow these instructions. #. `fdisk /dev/sdb` (set up a single partition) #. `mkfs.xfs -i size=1024 /dev/sdb1` @@ -180,8 +195,24 @@ RSYNC_ENABLE=true + On Fedora, edit the following line in /etc/xinetd.d/rsync:: + + disable = no + #. `service rsync restart` +------------------ +Starting memcached +------------------ + +On Fedora, make sure that memcached runs, running this if necessary: + + * `systemctl enable memcached.service` + * `systemctl start memcached.service` + +If this is not done, tokens of tempauth expire immediately and accessing +Swift with curl becomes impossible. + --------------------------------------------------- Optional: Setting up rsyslog for individual logging --------------------------------------------------- @@ -651,7 +682,7 @@ look for errors (most likely python tracebacks). #. Make sure all of the server processes are running. For the base functionality, the Proxy, Account, Container, and Object servers - should be running + should be running. #. If one of the servers are not running, and no errors are logged to syslog, it may be useful to try to start the server manually, for example: `swift-object-server /etc/swift/object-server/1.conf` will start the