Giter Site home page Giter Site logo

jcallicoat / openstack-ops Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rcbops/openstack-ops

0.0 1.0 0.0 447 KB

Tasks and Scripts written by the RPC Support team for use in RPC environments

License: Apache License 2.0

Shell 43.41% Python 56.59%

openstack-ops's Introduction

rcbops/openstack-ops

Version

Version 1.3.x is intended for all releases of OSA up to Rocky (18).

All following releases (19 and later) will use the master branch.

Build status

Travis is now used to lint various scripts in order to guarantee minimal coding standards.

Relase Build status
1.3.3 Build Status: 1.3.3
Master Build Status: Master

Intent

This repository is intended to collect all scripts around OpenStack administration with RPC. It has been converted into a standalone module to be compatible with RPC-O and increasingly other products, R or ceph, to automate common maintenance and administrative tasks.

Playbooks

Name Parameters Description
archive-control-plane.yml openstack_release (Optional, used to designate the origin version of the backup) Archives running OSA managed LXC containers into /openstack/backup/control-plane. Services inside containers will experiences short freeze during archiving
configure-packagemanager.yml For debian style os, apt_autoupdate_enabled can be set as apt_autoupdate_enabled=1 to enable automatic upgrades moving forward Installs package dependencies while also configuring automated package update
configure-bash-environment.yml None Configures openstack cli bash completion, set vim as default editor and maintain MOTD
configure-cpu-governor.yml None Optional, disable CPU ondemand governor and replace it with performance
configure-hosts.yml ops_host_kernel_modules, ops_host_kernel_sysctl Load bonding and 8021q modules, enabled IP forwarding
configure-glance.yml None Install standard RPC OSS images like CentOS, Ubuntu etc.
configure-neutron.yml None Setup RPC security group and install neutron debugging tools inside agent container
configure-nova.yml None Install standard nova flavor (e.g. m1.small)
gather-facts.yml None Rebuild ansible facts when necessary
fix-lxc-container-bindmount.yml None Optional mitigation for RO-4387 on Newton+ containers when needed
install-holland-db-backup.yml None Installs Holland DB backup into the galera container
install-hp-server-monitoring.yml None Installs the HP Server Monitoring Tools
install-dell-server-monitoring.yml None Installs the Dell Server Monitoring Tools
install-hw-raid-tools.yml None Installs the famous megacli, lsiutil, arcconf tools onto all storage hosts
install-pccommon.yml None Deploys the post install QC script pccommon
install-sos-tool.yml None Deploys the RPC sos tool onto all hosts
rebuild-ssh-known-hosts.yml None Rebuild local SSH known hosts from current installed containers and hosts which is necessary post leapfrog upgrades
support-key.yml None Install the RPC support SSH key into nova which is used for pccommon
swift-datacrusher.yml xfs_inode_size, xfs_mount_options, xfs_format_options, exclude_drive_labels, exclude_drive_labels_format_option Automatically reformat a entire swift cluster (WIPE ALL DATA). Use only with caution
update-hp-firmware.yml firmware_use_meltdown Automatically install the latest tested firmware for HP DL380 G9 server (NIC,ILO,RAID,BIOS)

Product scripts

Name Parameters Description
scripts/deploy-rpco.sh OSA_RELEASE Defaults to the latest greenfield OSA release
scripts/build-ironic-images.sh [centos7,centos8,ubuntu] Builds the given OS image, only one at a time can be specified

Support scripts

Most RPC OpenStack supports scripts are currently running outside of ansible and are stored inside the playbooks/files folder. Those scripts will be converted into individual Ansible tasks over time, when necessary.

rpc-o-support

This folder currently collects all support scripts for active RPC-O products RPC-R should be keept in a different once applicable due to the architectual differences.

archive folder

The scripts listed inside the archive folder or for historical reasons keept in this folder until the the product, it was intended to be used for, completely was removed from operations like RPC4 (probably never dies).

Requirements

This module expect to be installed/applied on a working RPC OpenStack environment which does run a supported product lifecycle (RPC-O currently)

Execution

git clone https://github.com/rcbops/openstack-ops.git /opt/openstack-ops
# git checkout 1.3.x (Rocky and lower)
source /usr/local/bin/openstack-ansible.rc

cd /opt/openstack-ops/playbooks; openstack-ansible main.yml

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Author Information

Rackspace Private Cloud - OpenStack

openstack-ops's People

Contributors

aaronsegura avatar albertcard avatar bjoernt avatar cfarquhar avatar jcallicoat avatar jklint avatar mheler avatar rax-rstark avatar rpawlik avatar seancarlisle avatar wesmattson 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.