Jump to: navigation, search

Compass

Revision as of 17:36, 2 July 2015 by Weidongshao (talk | contribs) (Why Compass?)

What is Compass?

Compass is an open source project that provides automated deployment and management of OpenStack and other distributed systems. It can be considered as what the LiveCD to a single box for a pool of servers – bootstrapping the server pool. Compass project follows the OpenStack community's four opens: Open Source, Open Community, Open Development, and Open Design.


Compass Demo Video

Compass Overview

Compass itself is a distributed system that provides data modeling, configuration API, and WebUI to the end users in bootstrapping and managing a software defined data center infrastructure. Compass follows the modern software architecture design practice and it is modular and extensible.

Major components in Compass include:

  • A RESTful API server, currently implemented in Python Flask.
  • A demo Web UI which consumes the RESTful APIs. It is a pure JavaScript WebApp developed with AngularJS. A 3rd-party application can have a different UI using the same APIs.
  • A meta-data module that allows a developer to extend the core functionality and provide custom data model for OpenStack configuration or other distributed system. The RESTful API layer provides the updated API automatically, based on the metadata. No code change is required at the API layer.
  • An adapter interface for automatic resource discovery. Current discovery mechanism is based on stanard MIB over SNMP query to ToR switches. Other mechanisms (such as IPMI, or Intel's next-gen RSA) are possible by adding plugins.
  • An adapter interface for configuration management tools. Currently we support Chef-based and Ansible-based CM tools. Other mechanisms (such as Puppet) are possible by adding plugins.
  • A Cobbler interface for OS provisioning. We hide the configuration details of kickstart files or seed files and provide a user-friendly OS-level provisioning.


Compass Modules


Compass Contributions to OpenStack and SDI

Some of the unique values that Compass will bring to the OpenStack community include the following:

  • It provides programmability to the operators who take care of infrastructure bootstrapping process. This allows easy integration with operators's OSS and other ecosystem tools.
  • It provides extensibility through meta-data. Metadata allows specification of a target system configuration in a user-friendly format without changing the source code of Compass. For example, users can be use metadata to support a different flavor of OpenStack configuration, which differs slightly from the default release by Compass. No code changes are required for this type of extension.
  • Plugins support also allows users to extend the system. This includes the support of a different underly configuration management tools. For example, currently Compass support Chef, and Ansible. With newer version of Compass, Ansible will be used by default for OpenStack installation. But a 3rd-party developer could provide a plugin to support puppet-based or Chef-based underlying package management. The web UI and API layers from Compass do not change.
    • Not tied to a particular configuration management tools such as Chef, Puppet, Ansible. This allows easier integration with a user or admin's existing tools or solutions.
  • Deployment System Extensibility: Compass is not limited to OpenStack cluster, it provides a data-driven framework for deployment.
    • Example: Providing capability to create a Ceph cluster by extending the data fields in Compass system

Compass Use Cases

We believe Compass may provide values to other OpenStack projects other than our original envisioned scenario. Here are some of our thoughts (and we would like to think of it and discuss it if needed)

  • Remote install and configure all or a subset of physical servers in a datacenter
  • Remote Install the OpenStack seed for a TripleO installation (maybe Ironic, too?)
  • Remote install and configure a Hadoop cluster (synergy with Savanna?)
  • Quickly setup and tear down test installations iteratively to develop the preferred configuration for a production deployment (cloud, big data, etc. Synergy with Infra or Test?)

Roadmap

Project Roadmap

  • Publish Project resources
  • Become an OpenStack Related Project
  • OpenStack community engagement
  • Cleanup the project to OpenStack Standards
  • Integrate and synergize with OpenStack projects

Development Roadmap

  • Next Development Steps
  • Long term vision

Resources

Project Home Page for Compass: http://www.syscompass.org/

Compass API Reference

Compass User Guide