Git Product home page Git Product logo

openstack-cinder's Introduction

Cinder OpenStack Ansible Role

Status

  • Build Status on master branch
  • Build Status on development branch
  • Ansible Galaxy on Ansible Galaxy

OpenStack Cinder image service installation

Tested on Ubuntu Precise (12.04) and Trusty (14.04)

Requirements

A DBMS already configured with a user and a database (when applicable).

A RabbitMQ server. See below.

A Keystone server. See below.

For RHEL/CentOS, RHOSP or RDO repositories are needed.

Role Variables

Cinder (set by this role)

Name Default value Description
cinder_database_url sqlite:////var/lib/cinder/cinder.sqlite Database URI
cinder_user cinder Admin user for the image service as defined on Keystone
cinder_pass cinder_pass_default Password for the image service as defined on Keystone
cinder_bind_host 0.0.0.0 IP address cinder API will bind to
cinder_port 8776 Desired cinder service port
cinder_protocol http Desired cinder protocol (http/https) - WiP, do not use.
keystone_admin_port 35357 Keystone admin service port
keystone_hostname localhost Hostname/IP address where the keystone service runs
keystone_port 5000 Keystone service port
keystone_protocol http Desired cinder protocol (http/https) - WiP, do not use
rabbit_hostname localhost Hostname/IP address where the RabbitMQ service runs
rabbit_username rabbit_username_default RabbitMQ username for cinder
rabbit_pass rabbit_pass_default RabbitMQ password for cinder
cinder_hostname localhost Hostname/IP used internally during configuration. localhost is usually ok
cinder_log_dir /var/log/cinder Log directory (it must exist)

Dependencies

None.

Example Playbook

- hosts: cinder001
  roles:
    - role: openstack-cinder
      cinder_database_url: "mysql://{{ MYSQL_CINDER_USER }}:{{ MYSQL_CINDER_PASS }}@{{ DATABASE_HOSTNAME }}/{{ MYSQL_CINDER_DB }}"
      cinder_hostname: cinder
      cinder_pass: "{{ CINDER_PASS }}"
      keystone_hostname: keystone
      rabbit_hostname: rabbitmq
      rabbit_username: cinder
      rabbit_pass: "{{ RABBIT_CINDER_PASS }}"

A complete Ansible playbook demo, which uses this role, is available on Github (openstack-ansible-galaxy/vagrant-ansible-openstack) https://github.com/openstack-ansible-galaxy/vagrant-ansible-openstack


Credits

RedHat suport implemented by Abel Lopez < [email protected] >

License

Apache

Author Information

Copyright (c) 2015 Abel Lopez < [email protected] >

openstack-cinder's People

Contributors

alop avatar

Watchers

James Cloos 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.