This patchset adds support for cross-cloud migrations, or moving a running instance
from one cloud provider to another.
This also can easily be expanded to support cross-cloud scaling which
is the same as cross-cloud migrations, but will leaving the original instance untouched
This makes use of snap  (my Masters project from 2008), a Python bases system
snapshot and restoration utility that uses the native package management system (eg rpm/yum
on Fedora, deb/apt-get on Ubuntu, etc) to record which packages are installed on the system,
the files not tracked by the package management system, and the files which have been changed
since installation by the package manager
This is a draft revision as this feature is in progress. Most of the code
is now inplace though and most of what is left from here on out is debugging. If I can get
the cycles, I can fully realize a working implementation of this feature in the upcoming weeks
 http://sourceforge.net/projects/snapshotter/ (will be moving this to github at some point soon)
I was asked to look at this bug:
For some reason, we're not properly generating instance keys on EC2 (at
least), preventing any sort of end-to-end testing there.
I spent about 90 minutes trying to set this up, but was sidetracked by a
comical number of unrelated problems and never even got this to the
point that I could reproduce it, much less begin any serious debugging.
So I'm hoping someone else can pick this up, as it's marked as urgent in
BZ since I assume it's blocking QE.
For extra fun, you'll probably run into an issue where you can't push to
EC2; the instance can't be terminated. That's outlined in
https://bugzilla.redhat.com/show_bug.cgi?id=741790 -- basically you'll
want to edit
and change all instances of "instance.stop()" to "instance.terminate()"
I'm afraid I've got to head out now, but given that this is a blocker, I
hoped someone would be able to pick up where I left off.
This patch fixes BZ725682 and implemets alerts for provider accounts
diplayed in related provider page. Alerts are displayed when running
instances exceed the quota (eg by lowering the quota by admin) and
when 70% of quota or more are reached.
This patch adds a generic OAuthClient library to consume OAuth resources. It leverages the OAuth gem for heavy-lifting, but is designed to make it very easy to create new clients. (Unfortunately, the resources we wish to consume don't have OAuth support just yet, so it'sa little vague. This will work Katello, however.)
This version adds tests, and lacks some of the ambiguity in the cover message that my first revision had.
 Although this is a new dependency, it's already being carried in our repo, and is also used by Katello.