Giter Club home page Giter Club logo

openstack-cockroachdb-dev's Introduction

This project supplies a usable environment in order to make tests around OpenStack/pike using CockroachDB as a backend for its services.

List of current supported services:

  • Keystone

This project is developed in the context of the Inria Discovery initiative. You may find an explanation of modifications performed in this repository on the Discovery Blog.

Getting started

Set up the environment

Deploying your VM(s)

To run this project you have to install vagrant. Once installed, deploy your VM(s) and run Devstack using vagrant up --provision. Devstack then deploys OpenStack with CockroachDB for supported services and PostgreSQL otherwise.

Once the shell displays the following message:

TASK [Start of Devstack deployment] ********************************************
ok: [cockroachdb] => {
    "msg": [
        "Follow deployment with:",
        "vagrant ssh cockroachdb -- tail -f /tmp/stack-logs"
    ]
}

Run the command vagrant ssh cockroachdb -- tail -f /tmp/stack-logs in another shell to follow the deployment of OpenStack.

Deploying on Grid5000 platform.

You can easily deploy this project on Grid5000 platform using vagrant-g5k plugin.

  • vagrant up --provider=g5k

Jump onto your VM and start using OpenStack cli

  • Jump onto you WM using vagrant ssh.
  • Start to use the OpenStack cli by switching to stack user with sudo su stack.
  • Once here you can use OpenStack cli to create a new project for instance openstack project create keystone --or-show
  • You can also use Rally to run some scenarii over Keystone (e.g. rally task start /opt/stack/rally/samples/tasks/scenarios/keystone/create-and-delete-user.yaml)

Limitations

Until now, this project is only deploying Keystone service with CockroachDB as backend.

Future work

  • Make some benchmark to show out differences with a standard mysql-backended Keystone.
  • Expand this tool to other OpenStack services.

Links

openstack-cockroachdb-dev's People

Contributors

antoinecarat avatar rcherrueau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

rcherrueau

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.