Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

serializing cluster state #434

Open
3 tasks
mischief opened this issue Dec 22, 2016 · 1 comment
Open
3 tasks

serializing cluster state #434

mischief opened this issue Dec 22, 2016 · 1 comment

Comments

@mischief
Copy link
Contributor

i'd like to be able to serialize cluster state and reconstitute it later. this means saving the platform, and the instance IDs into a json file.

however, it's currently not possible to save the SSH private key, because the ssh agent used in the platform code doesn't expose private keys.

a simple fix is to expose the private key in network.SSHAgent.

for this to work, these things need to be serializable and able to be created from serialized form -

  • platform.Cluster
  • platform.Machine
  • network.SSHAgent
@mischief mischief self-assigned this Dec 22, 2016
@peebs
Copy link

peebs commented Dec 28, 2016

+1 on this concept. This lays the groundwork for taking a cluster setup by someone else and writing it into this serialized state for kola to then use.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants