[PATCH conductor] Update lockfile for new restful_submit version.
by Jason Guiditta
---
src/Gemfile.lock | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Gemfile.lock b/src/Gemfile.lock
index 122990b..5c0b601 100644
--- a/src/Gemfile.lock
+++ b/src/Gemfile.lock
@@ -90,8 +90,8 @@ GEM
rack-mount (0.7.1)
rack (>= 1.0.0)
regin (>= 0.3.7)
- rack-restful_submit (1.1.2)
- rack (~> 1.1)
+ rack-restful_submit (1.2.1)
+ rack (~> 1.3.0)
rack-test (0.6.0)
rack (>= 1.0)
rails (3.0.9)
--
1.7.6.2
12 years, 7 months
Migrating running instances from EC2 -> RHEV with Aeolus (and other cross cloud migrations/scaling) - draft1
by Mo Morsi
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 [1] (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
-Mo
[1] http://sourceforge.net/projects/snapshotter/ (will be moving this to github at some point soon)
12 years, 7 months
Urgent bug
by Matt Wagner
Hi all,
I was asked to look at this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=741939
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
/usr/lib/python2.7/site-packages/imgfac/builders/Fedora_ec2_Builder.py
and change all instances of "instance.stop()" to "instance.terminate()"
instead.
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.
-- Matt
12 years, 7 months
Provider Accounts Quota Alerts for Providers
by Jirka Tomasek
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.
12 years, 7 months
[PATCH conductor 0/2] #2121 - Implements OAuth client (v2)
by Matt Wagner
Hi all,
This patch adds a generic OAuthClient library to consume OAuth resources. It leverages the OAuth gem for heavy-lifting[1], 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.
[1] Although this is a new dependency, it's already being carried in our repo, and is also used by Katello.
-- Matt
12 years, 7 months
[PATCH 0/2] Admin UI Bugfixes
by Jirka Tomasek
Patchset fixes provider failed validation bug and replaces link_to in delete
buttons with button_to
12 years, 7 months
[PATCH configure 2/2] BZ 739091 - ability to run multiple profiles in a single execution - v2
by Richard Su
v2 - rebased
Example: aeolus-configure -p rhevm,vsphere,ec2
---
bin/aeolus-configure | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/bin/aeolus-configure b/bin/aeolus-configure
index 4fc9c5a..8f65d37 100644
--- a/bin/aeolus-configure
+++ b/bin/aeolus-configure
@@ -67,9 +67,14 @@ echo "Launching aeolus configuration recipe..."
export FACTER_AEOLUS_ENABLE_HTTPS=true
export FACTER_AEOLUS_ENABLE_SECURITY=false
-puppet /usr/share/aeolus-configure/modules/aeolus/aeolus.pp \
+
+NODE_ARRAY=(`echo $PUPPET_NODE | tr "," "\n"`)
+for x in "${NODE_ARRAY[@]}"
+do
+ puppet /usr/share/aeolus-configure/modules/aeolus/aeolus.pp \
--modulepath=/usr/share/aeolus-configure/modules/ \
- --external_nodes "/bin/sh /usr/share/aeolus-configure/modules/aeolus/aeolus-node $PUPPET_NODE" --node_terminus exec \
+ --external_nodes "/bin/sh /usr/share/aeolus-configure/modules/aeolus/aeolus-node $x" --node_terminus exec \
--logdest=/var/log/aeolus-configure/aeolus-configure.log \
--logdest=console \
$LOGLEVEL
+done
\ No newline at end of file
--
1.7.6.2
12 years, 7 months
[PATCH conductor] Updated key creation
by Jan Provazník
From: Jan Provaznik <jprovazn(a)redhat.com>
https://bugzilla.redhat.com/show_bug.cgi?id=741939
changed key generation accroding to changes in new deltacloud-client lib
---
src/app/models/instance.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/app/models/instance.rb b/src/app/models/instance.rb
index 735f7d7..e6bb17a 100644
--- a/src/app/models/instance.rb
+++ b/src/app/models/instance.rb
@@ -247,7 +247,7 @@ class Instance < ActiveRecord::Base
client = self.provider_account.connect
return nil unless client && client.feature?(:instances, :authentication_key)
if key = client.create_key(:name => key_name)
- self.instance_key = InstanceKey.create!(:pem => key.pem.first, :name => key.id, :instance => self)
+ self.instance_key = InstanceKey.create!(:pem => key.pem, :name => key.id, :instance => self)
self.save!
end
end
--
1.7.6
12 years, 7 months