ClusterHQ / unofficial-flocker-tools

A tool to make installing Flocker with container orchestration tools easier and more fun
https://clusterhq.com/
11 stars 9 forks source link

[FLOC-4348] Remove links to the UFT installer #72

Closed wallrj closed 8 years ago

wallrj commented 8 years ago

Fixes: https://clusterhq.atlassian.net/browse/FLOC-4348

Installation now shows the deprecated commands and a warning after installation.

(4478) (deprecate-labs-installer-FLOC-4348 =)[~/.../HybridLogic/unofficial-flocker-tools]$ sh ./go.sh 
[sudo] password for richard: 
Installed /usr/local/bin/flockerctl
Installed /usr/local/bin/uft-flocker-ca (deprecated)
Installed /usr/local/bin/uft-flocker-deploy (deprecated)
Installed /usr/local/bin/uft-flocker-config (deprecated)
Installed /usr/local/bin/uft-flocker-install (deprecated)
Installed /usr/local/bin/uft-flocker-plugin-install (deprecated)
Installed /usr/local/bin/uft-flocker-sample-files (deprecated)
Installed /usr/local/bin/uft-flocker-tutorial (deprecated)
Installed /usr/local/bin/uft-flocker-volumes (deprecated)
Installed /usr/local/bin/uft-flocker-get-nodes (deprecated)
Installed /usr/local/bin/uft-flocker-destroy-nodes (deprecated)
Installed /usr/local/bin/volume-hub-agents-install
Verifying internet connectivity inside container...
Pulling Docker image for Flocker installer...
Trying to pull repository docker.io/clusterhq/uft ... 
latest: Pulling from docker.io/clusterhq/uft
8387d9ff0016: Already exists 
3b52deaaf0ed: Already exists 
4bd501fad6de: Already exists 
a3ed95caeb02: Already exists 
b2417fb4bf25: Already exists 
2b599980924e: Already exists 
4c9fcc4f5358: Already exists 
Digest: sha256:683e7d46bd05da0f868d42fda1c0925a31afd83914e576d03e4ec1dabdc3eb27
Status: Image is up to date for docker.io/clusterhq/uft:latest

WARNING: Some of these commands were deprecated in Flocker 1.14.0 and will be removed in the next version of Flocker.
Use the official installation methods and tools instead.
See https://docs.clusterhq.com.

The deprecated commands also print a warning to stderr e.g.

(4478) (deprecate-labs-installer-FLOC-4348 =)[~/.../HybridLogic/unofficial-flocker-tools]$ uft-flocker-ca  initialize "foo"
WARNING: uft-flocker-ca was deprecated in Flocker 1.14.0 and will be removed in the next version of Flocker.
Use the official installation methods and tools instead.
See https://docs.clusterhq.com.

Created cluster.key and cluster.crt. Please keep cluster.key secret, as anyone who can access it will be able to control your cluster.

Test by installing the branch script:

curl -sSL https://raw.githubusercontent.com/ClusterHQ/unofficial-flocker-tools/deprecate-labs-installer-FLOC-4348/go.sh | sh

See also:

wallnerryan commented 8 years ago

@wallrj looks great, I would suggest having it say "will be removed in future versions of Flocker." instead of "will be removed in the next version of Flocker." incase we, for some reason, dont change it in 1.15