Skip to content

LightSync/patch-openstack-swift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

patch-openstack-swift

LightSync patch on OpenStack Swift

How to Deploy Patch:

Requirement:

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

Deployment:

  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(replicator.py and diskfile.py) 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

About

LightSync patch on OpenStack Swift

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages