Difference between revisions of "Satori/OhaiSolo"
< Satori
(ohai-solo proposal init) |
|||
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | Satori should | + | == ohai-solo as a [[Satori/glossary#SysInfo_Provider|sysinfo provider]] == |
+ | |||
+ | :<big>This wiki page defines the full specification for the [https://blueprints.launchpad.net/satori/+spec/ohai-solo ohai-solo blueprint].</big> | ||
+ | |||
+ | :<big>Satori should contain a module that will allow it to perform cross-platform [[Satori/glossary#Data_Plane_Discovery|data plane discovery]] through built-in support for [https://github.com/rackerlabs/ohai-plugins ohai-solo], adhering to the [[Satori/SystemInfoProposal|System Info Proposal]] implementation. [https://github.com/rackerlabs/ohai-plugins ohai-solo] is a package used to examine individual host machines and return JSON output of its results.</big> | ||
+ | |||
==== Requirements ==== | ==== Requirements ==== | ||
− | In order to be ohai-solo capable, | + | In order to be ohai-solo capable, the ohai-solo module must to automate the following, for any discovered system: |
# Request and understand package information from ohai-solo's upstream package archive | # Request and understand package information from ohai-solo's upstream package archive | ||
Line 18: | Line 22: | ||
<hr> | <hr> | ||
− | ===== For information about satori's current sysinfo concepts | + | ===== For information about satori's current sysinfo concepts ===== |
* [[Satori/SystemInfoProposal|System Info Specification]] | * [[Satori/SystemInfoProposal|System Info Specification]] | ||
* [https://blueprints.launchpad.net/satori/+spec/poc-system-info System Info Blueprint] | * [https://blueprints.launchpad.net/satori/+spec/poc-system-info System Info Blueprint] | ||
− | ===== For more information about the ohai-solo project | + | ===== For more information about the ohai-solo project ===== |
* [https://github.com/rackerlabs/ohai-plugins#ohai-solo ohai-solo on github] | * [https://github.com/rackerlabs/ohai-plugins#ohai-solo ohai-solo on github] | ||
* [https://github.com/ryandub/omnibus-ohai-solo#ohai-solo-omnibus-project ohai-solo-omnibus-project] | * [https://github.com/ryandub/omnibus-ohai-solo#ohai-solo-omnibus-project ohai-solo-omnibus-project] | ||
− | ===== For more information about satori's ssh module | + | ===== For more information about satori's ssh module ===== |
(Implementations for the requirements in this spec will leverage satori's ssh module.) | (Implementations for the requirements in this spec will leverage satori's ssh module.) | ||
− | * [[Satori/SSHModuleProposal|SSH Module Specification]] | + | * [[Satori/SSHModuleProposal|SSH Module Specification]] |
* [https://blueprints.launchpad.net/satori/+spec/ssh-module SSH Module Blueprint] | * [https://blueprints.launchpad.net/satori/+spec/ssh-module SSH Module Blueprint] |
Latest revision as of 00:04, 8 March 2014
Contents
ohai-solo as a sysinfo provider
- This wiki page defines the full specification for the ohai-solo blueprint.
- Satori should contain a module that will allow it to perform cross-platform data plane discovery through built-in support for ohai-solo, adhering to the System Info Proposal implementation. ohai-solo is a package used to examine individual host machines and return JSON output of its results.
Requirements
In order to be ohai-solo capable, the ohai-solo module must to automate the following, for any discovered system:
- Request and understand package information from ohai-solo's upstream package archive
- Determine enough remote platform info to be able to select the correct ohai-solo package
- Download the package (probably using wget)
- Perform an install of the package
- Check the version of an existing ohai-solo package
- Update ohai-solo if needed
- Uninstall ohai-solo
- Gracefully handle any common errors when running ohai-solo
- 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.)