[PATCH conductor] Bugfix for quota percentage used in pools
by jzigmund@redhat.com
From: Jozef Zigmund <jzigmund(a)redhat.com>
---
src/app/views/pools/_list.haml | 2 +-
src/app/views/pools/_pretty_list.haml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/app/views/pools/_list.haml b/src/app/views/pools/_list.haml
index 4e9d887..92abf0a 100644
--- a/src/app/views/pools/_list.haml
+++ b/src/app/views/pools/_list.haml
@@ -44,7 +44,7 @@
%td
= pool.statistics[:instances_deployed]
%td
- = pool.quota.percentage_used
+ = pool.quota.percentage_used if pool.quota
='%'
%td
= pool.pool_family.name
diff --git a/src/app/views/pools/_pretty_list.haml b/src/app/views/pools/_pretty_list.haml
index bb2b8b7..cd2dc43 100644
--- a/src/app/views/pools/_pretty_list.haml
+++ b/src/app/views/pools/_pretty_list.haml
@@ -18,7 +18,7 @@
= pool.instances.select {|i| i.state == Instance::STATE_ERROR }.length
%td
Instance quota usage:
- = pool.quota.percentage_used
+ = pool.quota.percentage_used if pool.quota
%td
= link_to "+", "#", :class => "toggle"
%tr
--
1.7.4.4
12 years
EC2 temp security group setup: us-east only?
by Justin Clift
Hi Ian,
Trying out the newer dev version of Aeolus, where it creates
AMI's in both EC2 East and West.
The code you wrote not long ago that creates a temp EC2
Security Group for incoming ssh seems fine with EC2 East,
but doesn't seem to get run for EC2 West. ie. No temp
security group is setup, and the ssh connection during
build only works if I've manually adjusted the default
security group
Known problem? This is the image factory stuff installed
from the Aeolus dev repos:
imagefactory-0.1.7-2.fc14.noarch
rubygem-image_factory_connector-0.0.3-1.fc14.20110525073005gitb3769fa.noarch
rubygem-image_factory_console-0.2.0-1.fc14.20110525073005gitb3769fa.noarch
Regards and best wishes,
Justin Clift
--
Aeolus Community Manager
http://www.aeolusproject.org
12 years
Newui branch not in usable state atm?
by Justin Clift
Hi guys,
Does anyone know of a commit point in the newui branch I can
pull from, where it "all works"? (ie rpms will build, Conductor
starts ok, etc)
Using the latest git commit from newui, I'm getting an error when
any of the Conductor services attempt to start:
$ sudo service conductor-dbomatic start
Starting conductor-dbomatic: /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:147:in `load_without_new_constant_marking': no such file to load -- lib/viewstate.rb (MissingSourceFile)
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:147:in `load'
from /usr/share/aeolus-conductor/app/controllers/application_controller.rb:23
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:158:in `require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:265:in `require_or_load'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:224:in `depend_on'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:136:in `require_dependency'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/initializer.rb:414:in `load_application_classes'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/initializer.rb:413:in `each'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/initializer.rb:413:in `load_application_classes'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/initializer.rb:411:in `each'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/initializer.rb:411:in `load_application_classes'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/initializer.rb:197:in `process'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/initializer.rb:113:in `send'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/initializer.rb:113:in `run'
from /usr/share/aeolus-conductor/config/environment.rb:30
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/share/aeolus-conductor/dbomatic/../dutils/active_record_env.rb:29
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/share/aeolus-conductor/dbomatic/../dutils/dutils.rb:19
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/share/aeolus-conductor/dbomatic/dbomatic:23
Or is looking at the newui branch to see how things are shaping up,
a bad idea in general? :)
Regards and best wishes,
Justin Clift
--
Aeolus Community Manager
http://www.aeolusproject.org
12 years
[PATCH configure 0/4] Move aeolus-configure to use external nodes
by Mike Orazi
This patchset mvoes aeolus-configure to using external-nodes so the
box(es) can be describe via yaml.
Currently provides default configure/cleanup which is functionally equivalent to
the existing configure. Also provides a pair of iwhd configure/cleanup yamls to
illustrate how a smaller subset of modules can be set up.
Note that this patch implies that it may be desirable to start refactoring
the individual modules to decouple somewhat.
12 years
Additional util scripts
by Matt Wagner
Hi,
It just occurred to me that I should send the script and rake task that I've developed to help run tests and verify that services which Conductor depends on are running. Nothing particularly fancy, and probably some room for improvement, but I hoped it might be helpful.
-- Matt
12 years
FYI; pushed packages for aeolus-conductor-devel
by Chris Lalancette
All,
This is probably only of interest to developers doing work directly on the
UI, but I've finally gotten around to packaging up all of the dependencies for
aeolus-conductor-devel. This included rubygem-cucumber-rails,
rubygem-rspec-rails, rubygem-webrat, rubygem-database_cleaner, and
rubygem-factory_girl. Running:
# yum install aeolus-conductor-devel
Should properly drag in these dependencies.
--
Chris Lalancette
12 years
[PATCH 0/3]: Update to condor 7.6.0 release, plus patches
by Chris Lalancette
All,
This patch series makes it so that we can update to the condor 7.6.0
release package. We unfortunately still need a couple of patches on top
of 7.6.0, so we'll still have to carry a custom condor package for now.
The first patch is to the conductor, and makes it so we use
DeltacloudPasswordFile instead of having the password in cleartext. The
second patch switches us from using "deltacloud_server" in the condor
configuration to using "deltacloud_gahp" (it was renamed during the late
stages of condor 7.6.0 development). The last patch removes the references
to the classad plugin, as we don't need it anymore.
With these 3 patches applied, I was able to successfully start and stop
instances with condor 7.6.0 + patches. Once these patches are reviewed and
ACKed, I will update the condor packages in the fedorapeople repository with
the new condor.
Chris Lalancette
12 years
EC2 Invalid credentials
by André Monteiro
Hello,
I'm having troubles creating new provider under Amazon EC2, on the first
version 0.1.0 it worked well. When creating a new account provider, my error
message is:
"Credentials are invalid!
1 ERROR PROHIBITED THIS PROVIDER ACCOUNT FROM BEING SAVED
There were problems with the following fields:
Login Credenials are Invalid for this Provider"
I'd Copy+Paste all fields correctly from AWS and tried ec2.us-east and
ec2.us-west, renewed AWS keys and certificates and still can't go through.
http://localhost:3002 to 3004 are up and working, but when I try to access
them direcly from here an error occurs:
"Backend Error
ec2.us-east-1.amazonaws.com <http://ec2.us-west-1.amazonaws.com> temporarily
unavailable: (Connection reset by peer - SSL_connect)
Request URL
/api/keys
Parameters
{}
Code
502
Cause
Aws::AwsError
Details
/usr/lib/ruby/gems/1.8/gems/right_http_connection-1.2.4/lib/right_http_connection.rb:340:in
`request'
/usr/lib/ruby/gems/1.8/gems/right_http_connection-1.2.4/lib/right_http_connection.rb:330:in
`loop'
/usr/lib/ruby/gems/1.8/gems/right_http_connection-1.2.4/lib/right_http_connection.rb:330:in
`request'
/usr/lib/ruby/gems/1.8/gems/aws-2.4.5/lib/awsbase/awsbase.rb:525:in
`request_info_impl'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure"
Did I miss something? I'm using Aeolus developer edition, up to date.
Thanks!
--
André Monteiro
12 years
Ntp dependency not being pulled in by aeolus-all
by Justin Clift
Hi all,
Just installed the dev version of Aeolus packages on F14 (minimal
install), and ran aeolus-configure. It slightly barfed,
complaining about ntp not being installed:
err: /Stage[main]/Ntp/Package[ntp]/ensure: change from absent to present failed: RPMs must specify a package source at /usr/share/aeolus-configure/modules/ntp/manifests/init.pp:4
Guessing ntp should be added to the dependency list for
configure or conductor or something?
Regards and best wishes,
Justin Clift
--
Aeolus Community Manager
http://www.aeolusproject.org
12 years