Patchify is a tool which delivers patches to single Cloudify manager, or to Cloudify cluster HA Link: https://github.com/cloudify-cosmo/patchify It works with Cloudify manager versions 4.5.5 and newer. |
Requirements
CFY CLI profile must be configured with SSH credentials. For cluster profile all cluster nodes in the profile must be configured with SSH credentials.
Download patchify
Two methods:
- git clone https://github.com/cloudify-cosmo/patchify.git
- curl https://github.com/cloudify-cosmo/patchify/archive/master.zip --output master.zip # Unzip master.zip file.
To list or apply recommended patches:
- Make sure that cfy is pointing at the manager/cluster you are intending to update.
./patchify manager-updates list
./patchify manager-updates apply
# Only necessary if there are any updates to apply
Please note: As of Cloudify 5.0.5, the patchify process must run from a server, that has access to all the Cloudify cluster servers, via their private IPs.
To list or apply recommended patches when offline:
- Make sure you have cloned the latest version of this repo (this will need to be updated every time you check for recommended patches).
- Make sure that cfy is pointing at the manager/cluster you are intending to update.
- The following commands must be run from within the repo, or the full path to the repo's central_registry and patch_files must be provided:
./patchify manager-updates list -c file://$(pwd)/central_registry
./patchify manager-updates apply -c file://$(pwd)/central_registry -r file://$(pwd)/patch_files
--install-patch-command
# Only necessary if there are any updates to apply
To apply an individual patch:
- Make sure cfy is pointing at the manager/cluster you are intending to update. If you point at another manager (or none), you should get helpful errors
./patchify apply -p patch_files/<patch_name>.json
Comments
5 comments
@Vladimir well done! Thanks!
bvbvbbv
cat
cat
cat
Please sign in to leave a comment.