Giter Club home page Giter Club logo

packstack's Introduction

Packstack Barclamp for OpenCrowbar

The Packstack workload for OpenCrowbar sets up an environment that can run packstack.

Install

Read this whole paragraph, please.

  1. The install script takes the same parameters as the core opencrowbar install.sh script. That can be found here.

  2. wget --no-check-certificate -O - https://raw.githubusercontent.com/rackn/packstack/develop/tools/packstack-install.sh | source /dev/stdin --develop

  3. Optional: You may run other opencrowbar install scripts as needed.

  4. cd /opt/opencrowbar/core/

  5. ./production.sh <FQDN of the admin node>

Use

The packstack-installer role can be added to nodes to generate a place to run packstack. The packstack-client role can be added to nodes to indicate a node that should participate in the packstack configured cluster.

The packstack-installer role will generate a user account to run packstack from. The user can already exist, e.g. root, or a new one specified. The default is packstack. This can be overriden in the node-role for this instance. The attribute is packstack-user. The node-role also allows for the specification of the openstack release. The default is icehouse, but juno can be specified. At the moment, that appears to be juno-1. The attribute is packstack-openstack_release.

The packstack-client will add the public key from all packstack-installer roles' users. The node will also have the network-manager disabled is present.

Once all the roles are applied, log into a packstack-installer node and change to the packstack-user. From this account, you can run packstack.

Something like this could be used on a 3 node default setup: packstack --install-host=192.168.124.81,192.168.124.82,192.168.124.83 --use-epel=y --provision-demo=n

Steps:

  1. boot admin node (The "System" Deployment is complete)
  2. Once admin node is ready, start 3-5 Nodes.
  3. Once these are discovered, (show green in the system deployment) use the ready-state wizard to set the following
  4. OS to centos7
  5. Ensure that the Network is how you would like it set up.
  6. Click "Run Wizard"
  7. This takes you to the deploment screen. DO NOT COMMIT
  8. Go to the pilot deployment.
  9. Add roles, OpenStack (PackStack)
  10. Add Packstack to your controller node (Click on the +) - it will add packstack-installer & client
  11. Edit the packstack-installer to choose your OpenStack release
  12. Add Packstack the rest of your nodes - it will only add packstack-client
  13. Commit deployment

Wait while everything happens - all node roles will be green at end.

  1. Once done, onto the packstack-installer node.
  2. on admin, 1. sudo ip a add 192.168.124.2/24 dev docker0 ONLY NEEDED IF YOU ARE RUNNING IN DOCKER CONTAINERS 1. su - crowbar 1. ssh [email protected] (or which ever machine you choose for the packstack installer)
  3. on packstack installer node 1. su - packstack 1. packstack --install-host=&lt;IP Addresses of your systems&gt; --use-epel=y --provision-demo=n 1. That command is for three nodes. It will install icehouse nova with 192.168.124.81 as the controller node.

Wait for puppet installs to complete

  1. Attach your desktop to the docker bridge: sudo ip a add 192.168.124.2/24 dev docker0 ONLY NEEDED IF YOU ARE RUNNING IN DOCKER CONTAINERS
  2. Get the credentials for your installation
    1. exit from the packstack user (you should now be root on the compute node)
    2. cat /home/packstack/admin_keystonerc
    3. go to compute node in web browser
    4. login using admin/credentials

packstack's People

Contributors

galthaus avatar ravolt avatar sjensen 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.