Jump to: navigation, search

Difference between revisions of "Satori/OhaiSolo"

m
m
Line 1: Line 1:
 
=== ohai-solo as a sysinfo provider ===
 
=== ohai-solo as a sysinfo provider ===
  
Satori should provide a module that will allow it to perform cross-platform data plane discovery through ohai-solo, adhering to the [[Satori/SystemInfoProposal|System Info Proposal]] implementation.[https://github.com/rackerlabs/ohai-plugins#ohai-solo ohai-solo]is a package used to examine individual host machines and return JSON output of its results.
+
Satori should provide a module that will allow it to perform cross-platform data plane discovery through ohai-solo, adhering to the [[Satori/SystemInfoProposal|System Info Proposal]] implementation.[https://github.com/rackerlabs/ohai-plugins#ohai-solo ohaisolo]is a package used to examine individual host machines and return JSON output of its results.
  
 
==== Requirements ====
 
==== Requirements ====

Revision as of 23:45, 7 March 2014

ohai-solo as a sysinfo provider

Satori should provide a module that will allow it to perform cross-platform data plane discovery through ohai-solo, adhering to the System Info Proposal implementation.ohaisolois a package used to examine individual host machines and return JSON output of its results.

Requirements

In order to be ohai-solo capable, it needs to automate the following, for any discovered system :

  1. Request and understand package information from ohai-solo's upstream package archive
  2. Determine enough remote platform info to be able to select the correct ohai-solo package
  3. Download the package (probably using wget)
  4. Perform an install of the package
  5. Check the version of an existing ohai-solo package
  6. Update ohai-solo if needed
  7. Uninstall ohai-solo
  8. Gracefully handle any common errors when running ohai-solo
  9. Return the JSON output from ohai-solo as a python dictionary

For information about satori's current sysinfo concepts
For more information about the ohai-solo project
For more information about satori's ssh module

(Implementations for the requirements in this spec will leverage satori's ssh module.)