Rackspace Private Cloud. We install and operate Openstack clusters, both locally in our datacenters, and remotely in customer datacenters.
Reference Alamo v3?
Automating base image builds for OpenStack private clouds.
Vagrant.configure("2") do |config| | |
config.vm.box = "dummy" | |
config.vm.synced_folder './vagrant', '/vagrant' | |
config.ssh.private_key_path = File.expand_path("~/.ssh/id_rsa") | |
ENV['VAGRANT_DEFAULT_PROVIDER'] = "rackspace" | |
config.vm.provider :rackspace do |rs, override| | |
override.vm.box = 'dummy' | |
override.vm.box_url = 'https://github.com/mitchellh/vagrant-rackspace/raw/master/dummy.box' |
#!/usr/bin/env python | |
# | |
# nova_nuke.py | |
# usage: nova_nuke.py <uuid> | |
# | |
# Forcefully removes an instance from the Nova database. | |
# Useful for destroying instances stuck in an 'error' or 'deleting' state. | |
# | |
# Completes the following actions: |
#!/bin/bash | |
# | |
# openvswitch-bridges | |
# | |
# Brings up Open vSwitch bridges at boot time on Ubuntu/Debian. | |
# Needs to start _after_ the OVS services. This usually works: | |
# | |
# update-rc.d openvswitch-bridges defaults 21 | |
# | |
### BEGIN INIT INFO |
description "Quantum Open vSwitch bridge ifup" | |
author "David Wittman <david.wittman@rackspace.com>" | |
start on started quantum-plugin-openvswitch-agent | |
console log | |
# Use post-start script instead of script so it only runs once | |
post-start script | |
SLEEP=10 |
DEPLOY_SCRIPT_URL = "https://github.com/rsoprivatecloud/openstack-chef-deploy/raw/master/deploy.sh" | |
Vagrant.configure("2") do |config| | |
config.vm.box = "dummy" | |
config.vm.synced_folder './vagrant', '/vagrant' | |
config.ssh.private_key_path = File.expand_path("~/.ssh/id_rsa") | |
ENV['VAGRANT_DEFAULT_PROVIDER'] = "rackspace" | |
config.vm.provider :rackspace do |rs, override| |
#!/usr/bin/env bash | |
# | |
# Allows a non-admin OpenStack user to update their password using | |
# Keystone's User CRUD extensions | |
# | |
# Usage: keystone-update-password.sh <new password> | |
# | |
# Requires curl, python-keystoneclient to fetch the auth tokens, | |
# and expects the user's OS_* environment variables to be exported | |
# in the current environment. |
#!/bin/bash | |
# neutron-scope | |
# | |
# Run a command in the network namespace of an OpenStack server | |
# | |
# Pro-tip: The string _IP_ is replaced with the first IP address of the server | |
# e.g. neutron-scope my-server ssh root@_IP_ | |
set -e |
USE keystone | |
-- This needs to be set in the my.cnf to persist | |
SET GLOBAL event_scheduler = 1; | |
DELIMITER $$ | |
CREATE EVENT tokenreaper | |
ON SCHEDULE EVERY 1 WEEK | |
DO BEGIN | |
DELETE FROM `token` WHERE expires <= DATE_SUB(NOW(), INTERVAL 1 WEEK); | |
END $$ | |
DELIMITER ; |