Coder Social home page Coder Social logo

ansible-monasca-keystone's Introduction

#Monasca Keystone Performs some Keystone setup for Monasca. The role requires virtualenv be installed and will install python-keystoneclient. By default it will use the virtualenv at monasca_virtualenv_dir. This role adds one or more users/projects/roles to Keystone, as specified in keystone_users:

keystone_users:
  - username: monasca-agent
    password: some-password
    project: some-project
    role: monasca-agent

It also creates a Monasca endpoint in keystone.

Override default variables as necessary:

  • keystone_url The url to connect to keystone with
  • monasca_api_url The url of the monasca api to be registered as the service endpoint in keystone

Keystone Authentication: There are two ways to authenticate to Keystone:

1: Use an Admin Token by setting keystone_admin_token 2: Use an Admin User and Password by setting keystone_admin, keystone_admin_password and keystone_admin_project

The variables are mutually exclusive, only one set can be defined.

Keystone SSL: If the keystone server is using a self-signed SSL certificate, the variable keystone_admin_cacert can be used to specify a cacert so that SSL authentication will succeed. If the correct cacert is already on the remote system, the variable keystone_local_cacert can be used to give its location.

As of this writing the keystone-user module does not support a cacert parameter so it is not used.

##Requirements

  • Server running OpenStack Keystone
  • Hostname or IP of Monasca API server

##Optional

Keystone service endpoints

By default only single service endpoint is registered in Keystone. List of endpoints is held under keystone_service_endpoints variable. For adding new ones this variable has to be overridden. An example below illustrates how it should be defined:

keystone_service_endpoints:
  - {name: "monasca", description: "Monasca monitoring service", type: "monitoring", url: "{{ monasca_api_url }}"}

Each entry must have following variables defined:

  • name,
  • description,
  • type,
  • url

##License Apache

##Author Information David Schroeder

Monasca Team email [email protected]

ansible-monasca-keystone's People

Contributors

craigbr avatar davidschroeder avatar davidtardivel avatar ghessler avatar oneilcin avatar tkuhlman avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.