-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rundeck ready! * See CHANGELOG for more information.
- Loading branch information
Clement Buisson
committed
Oct 2, 2014
1 parent
48164b1
commit 4ed64fe
Showing
16 changed files
with
469 additions
and
258 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
CHANGELOG | ||
========= | ||
|
||
1.0: 2014-10-01 | ||
---------------- | ||
New feature: | ||
- Upload "ready to use" Rundeck Jobs automatically. | ||
|
||
Updates: | ||
- Ditched RVM, using ruby package instead. | ||
- Rename "rundeck_scripts" directory to "lib". | ||
- The setup script will now create /srv/cloud-control and generate/copy all the files and directories needed. | ||
- Moved all the Ruby script to actual Rundeck Jobs. | ||
- Added "data_folder" variable to the setup script. | ||
- Removed unneeded HOME variable from ENV file. | ||
- Removed unneeded curb gem from Gemfile. | ||
- get_images.rb is now using the curb gem instead of a wget system call. | ||
- RUNDECK_SCRIPTS variable got renamed to LIB. | ||
- Generate Rundeck Jobs XMLs based on user environment. | ||
- build-essential added to packages list. | ||
- Add rundeck user to libvirts and kvm Unix groups. | ||
- The setup script will now fetch the current Trusty 14.04 LTS version from: https://cloud-images.ubuntu.com | ||
- Added .gitignore file. | ||
- Added CHANGELOG file. | ||
|
||
0.3: 2014-09-28 | ||
---------------- | ||
New features: | ||
- PostgreSQL backend support. | ||
- New vnc_port field added to backend DBs. | ||
|
||
Updates: | ||
- bzr package no needed anymore. | ||
- cloud-utils package added. | ||
- Removed CLOUD_UTILS variable. | ||
- source.include? "origin" to "img". | ||
|
||
Fixed: | ||
- generate_xml "Checking if there is at least one guest on the system". Logic fixed. | ||
|
||
0.2: 2014-09-25 | ||
---------------- | ||
New feature: | ||
- MySQL backend support. | ||
|
||
0.1: 2014-09-03 | ||
---------------- | ||
- First Cloud-Control commit! | ||
|
||
2014-08-21 | ||
---------- | ||
- Initial commit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'rubyzip' | ||
gem 'curb' | ||
gem 'colorize' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,54 @@ | ||
Description | ||
=========== | ||
|
||
Cloud-Control is a project using KVM and Rundeck that lets you create/start/shutdown/destroy virtual machines. | ||
You can choose to start a new virtual machine with an ISO or an Ubuntu Cloud image. | ||
--------------- | ||
|
||
Cloud-Control is a Rundeck/KVM project that lets you create/start/shutdown/destroy virtual machines. You can choose to start a new virtual machine with an ISO or an Ubuntu Cloud image. | ||
|
||
Assumptions | ||
Requirements | ||
=========== | ||
|
||
|
||
Rundeck should be installed. | ||
|
||
KVM should already be working. | ||
|
||
kvm-ok should return: | ||
INFO: /dev/kvm exists | ||
KVM acceleration can be used | ||
ubuntu@cbuisson:~$ kvm-ok | ||
INFO: /dev/kvm exists | ||
KVM acceleration can be used | ||
|
||
Rundeck should be working as well. | ||
Installation | ||
======== | ||
|
||
You will need to execute the `setup` script to install all the required packages and gems. | ||
Cloud-Control is using RVM. | ||
|
||
Requirements | ||
============ | ||
./setup | ||
|
||
Environment | ||
----------- | ||
----------------- | ||
|
||
Cloud-Control has been developed for Ubuntu Trusty 14.04 LTS. | ||
|
||
You will need to edit the "setup" file and add: | ||
-A backend type (file OR MySQL) | ||
-Start IP (i.e 192.168.0.1) | ||
-End IP (i.e 192.168.0.100) | ||
-Gateway IP (i.e 192.168.0.254) | ||
|
||
- A backend type (flat file, MySQL or PostgreSQL) | ||
- Start IP (i.e 192.168.0.1) | ||
- End IP (i.e 192.168.0.100) | ||
- Gateway IP (i.e 192.168.0.254) | ||
|
||
Cloud-Control will assign static IPs to the KVM guests. | ||
You need to specify an IP range for the guests and a gateway to route out. | ||
|
||
Templates | ||
--------- | ||
-------------- | ||
|
||
SSH-KEY: You can add your public key to TEMPLATE-user-data.erb in the templates directory. | ||
- SSH-KEY: You can add your public key to TEMPLATE-user-data.erb in the templates directory. | ||
- netmask: Cloud-Control is setup to work on with Class C IPs, therefore the netwask is hard coded to: 255.255.255.0 | ||
|
||
When an Ubuntu Cloud image is used to launch a new instance, it will get a static IP. | ||
ISO's on the other hand, will get a DHCP ip. | ||
When an Ubuntu Cloud image is used to launch a new instance, the vm will get a static IP. | ||
|
||
ISO's on the other hand, will get a DHCP ip. | ||
|
||
Setup | ||
===== | ||
Assumptions | ||
----------------- | ||
|
||
You will need to execute the "setup" script to install all the required packages and gems. | ||
Cloud-Control is using RVM. | ||
- VMs will reach the internet trough the hypervisor via `br0`, edit the KVM guests' XML template to reflect your environment. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.