Skip to content
LightSync patch on OpenStack Swift
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


LightSync patch on OpenStack Swift

How to Deploy Patch:


This patch requires OpenStack Swift Icehouse installed and should be applied on all storage nodes.


  1. Locate the swift Python package

    This can be done by running Python, then executing:
    >>> import swift
    >>> swift.__path__

    On our cluster the output is ['/usr/lib/python2.7/dist-packages/swift'],
    Which means the swift package location is /usr/lib/python2.7/dist-packages/swift

  2. append the obj directory to swift package location
    This give swift-package-location/obj. in our cluster will be /usr/lib/python2.7/dist-packages/swift/obj
  3. Patching
    Copy patch files( and to the extended path(/usr/lib/python2.7/dist-packages/swift/obj), replacing the existing ones.
  4. Restart Openstack Swift object-server and object-replicator
    swift-init restart object-server object-replicator
You can’t perform that action at this time.