It'd be nice if Harbor stored data somewhere that wasn't linked to individual hosts.
https://wikitech.wikimedia.org/wiki/Help:Object_storage_user_guide
== Possible Steps ==
**Toolsbeta:**
[x] create neccessary resources on horizon toolsbeta project
[x] `harborstorage` object storage container
[x] `harbordb1` trove database (harbor uses this to store every other thing it needs to keep track of)
[x] `toolsbeta-harbor-2` compute instance (This is temporal and will be removed once we data migration is completed)
[x] `web-proxy` exposing `toolsbeta-harbor-2` to the internet. should also be removed when `toolsbeta-harbor-2` is removed.
[x] figure out authentication for the `harborstorage` object storage
[x] current auth method is toolsbeta s3 credentials generated for the `toolforge-harbor` user
[x] setup harbor on the new instance and configure it to use the `harborstorage` object storage
[x] setup harbor
[x] configure harbor to use object storage (s3)
[x] configure harbor to use the new trove database
[x] test push and pull locally using limakilo
[x] configure original `toolsbeta-harbor-1` harbor setup to replicate to the new `toolsbeta-harbor-2` through the harbor ui
[x] announce toolsbeta harbor down time to read-only mode
[x] reconfigure `toolsbeta-harbor-1` harbor to use the newly populated `harborstorage` and trove database during the downtime
[x] any necessary cleanup (delete `toolsbeta-harbor-2`, the old trove database, webproxy, etc)
[] unmount and delete toolsbeta-harbor volume
**Tools:**
[x] create neccessary resources on horizon tools project
[x] `harborstorage` object storage container
[x] `tools-harbordb1` trove database (harbor uses this to store every other thing it needs to keep track of)
[x] `tools-harbor-2` compute instance (This is temporal and will be removed once we data migration is completed)
[x] `web-proxy` exposing `tools-harbor-2` to the internet. should also be removed when `tools-harbor-2` is removed.
[x] figure out authentication for the `harborstorage` object storage
[x] current auth method is tools s3 credentials generated for the `toolforge-harbor` user
[x] setup harbor on the new instance and configure it to use the `harborstorage` object storage
[x] setup harbor
[x] configure harbor to use object storage (s3)
[x] configure harbor to use the new trove database
[x] test push and pull locally using limakilo
[x] configure original `tools-harbor-1` harbor setup to replicate to the new `tools-harbor-2` through the harbor ui
[] announce tools harbor down time to read-only mode
[] reconfigure `tools-harbor-1` harbor to use the newly populated `harborstorage` and trove database during the downtime
[] any necessary cleanup (delete `tools-harbor-2`, the old trove database, webproxy, etc)
[] unmount tools-harbor volume. we may want to keep that around for some time before deleting.
**Additional Steps**
[] ensure the auth for the toolforge-harbor user get moved to pwstore. Currently pwstore seems to be down and just so we don't forget, we should probably keep this task open until that is successfully moved into pwstore.
[] update tools-harbor-1 vm. should be as simple as doing some puppet things, since at this point the data should no longer be in the vm