Code Monkey home page Code Monkey logo

cinder-standalone's Introduction

Installing

This has been tested on CentOS 7 x86_64.

Use a non-root user with sudo access.

Clone this repository:

git clone https://github.com/splitwood/cinder-standalone.git

Run the installation script:

cinder-standalone/cinder-standalone.sh

There will be a significant amount of output. When successful, the following can be seen towards the end of the output when the command has stopped running:

Deploy Successful.
Log files at: /tmp/undercloud_deploy-tDYL5h
Log files at: /tmp/undercloud_deploy-tDYL5h

If it succeeds, it will result in the following conatiners running under docker:

[jslagle@cinder-standalone ~]# sudo docker ps
CONTAINER ID        IMAGE                                                   COMMAND             CREATED              STATUS              PORTS               NAMES
3496ffd0a7bc        tripleoupstream/centos-binary-cinder-api:latest         "kolla_start"       8 seconds ago        Up 6 seconds                            cinder_api_cron
5f4836d1cb66        tripleoupstream/centos-binary-cinder-volume:latest      "kolla_start"       8 seconds ago        Up 7 seconds                            cinder_volume
85bbbe227bb5        tripleoupstream/centos-binary-cinder-api:latest         "kolla_start"       9 seconds ago        Up 8 seconds                            cinder_api
9dd63f664982        tripleoupstream/centos-binary-cinder-scheduler:latest   "kolla_start"       9 seconds ago        Up 8 seconds                            cinder_scheduler
d65dbb82dc97        tripleoupstream/centos-binary-iscsid:latest             "kolla_start"       26 seconds ago       Up 24 seconds                           iscsid
eef11f0637a0        tripleoupstream/centos-binary-mariadb:latest            "kolla_start"       About a minute ago   Up About a minute                       mysql
8231c1c3b416        tripleoupstream/centos-binary-rabbitmq:latest           "kolla_start"       2 minutes ago        Up 2 minutes                            rabbitmq

Using Cinder

By default, the LVM driver is configured. cinderclient can be used as shown to communicate with Cinder. Replace the IP address with the actual IP address in the environment.

List volumes:

cinder \
  --os-user-id userid \
  --os-project-id projectid \
  --os-auth-type noauth \
  --os-endpoint \
  http://192.168.122.185:8776/v2 \
  list

Create a volume:

cinder \
  --os-user-id userid \
  --os-project-id projectid \
  --os-auth-type noauth \
  --os-endpoint \
  http://192.168.122.185:8776/v2 \
  create 1

Show the volume in LVM:

sudo lvs

cinder-standalone's People

Contributors

slagle avatar

Watchers

 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.