[aeolus-incubator/image-management-engine] 64f0c9: removed unused controllers from test app
by jason.guiditta
Branch: refs/heads/master
Home: https://github.com/aeolus-incubator/image-management-engine
Commit: 64f0c9175fdba77957d2509d2d4ed50d38060404
https://github.com/aeolus-incubator/image-management-engine/commit/64f0c9...
Author: Martyn Taylor <mtaylor(a)redhat.com>
Date: 2012-06-18 (Mon, 18 Jun 2012)
Changed paths:
R test/dummy/app/controllers/application_controller.rb
R test/dummy/app/controllers/image_management/application_controller.rb
Log Message:
-----------
removed unused controllers from test app
Commit: 01ced75a161d38da880c49c88a79d8705648628f
https://github.com/aeolus-incubator/image-management-engine/commit/01ced7...
Author: Martyn Taylor <mtaylor(a)redhat.com>
Date: 2012-06-18 (Mon, 18 Jun 2012)
Changed paths:
M README.rdoc
M app/views/image_management/base_images/_base_image.xml.haml
M lib/generators/image_management/templates/migrations/create_base_images.rb
M spec/controllers/base_images_controller_spec.rb
M spec/factories/image_management/base_image.rb
M test/dummy/db/migrate/20120326103723530613_create_base_images.rb
M test/dummy/db/schema.rb
Log Message:
-----------
Updated Create Base Image API
Commit: dfdfd694e006c9306f0a21893463d0389396b3bd
https://github.com/aeolus-incubator/image-management-engine/commit/dfdfd6...
Author: Martyn Taylor <mtaylor(a)redhat.com>
Date: 2012-06-18 (Mon, 18 Jun 2012)
Changed paths:
M README.rdoc
M app/controllers/image_management/application_controller.rb
M app/views/image_management/base_images/_base_image.xml.haml
M spec/controllers/base_images_controller_spec.rb
Log Message:
-----------
Added Show Base Image Support
Commit: 534891ac455cd61d47814655992ca1868930eeec
https://github.com/aeolus-incubator/image-management-engine/commit/534891...
Author: Martyn Taylor <mtaylor(a)redhat.com>
Date: 2012-06-18 (Mon, 18 Jun 2012)
Changed paths:
M README.rdoc
M spec/controllers/base_images_controller_spec.rb
Log Message:
-----------
Added List Base Images Support
Commit: b03439d1c80657913930c83e37ca649d2907fa0e
https://github.com/aeolus-incubator/image-management-engine/commit/b03439...
Author: Martyn Taylor <mtaylor(a)redhat.com>
Date: 2012-07-05 (Thu, 05 Jul 2012)
Changed paths:
M README.rdoc
M spec/controllers/base_images_controller_spec.rb
Log Message:
-----------
Added Delete Base Images Support
Commit: 0a6d01e99b0ec46773e13a2bb528401b1078db96
https://github.com/aeolus-incubator/image-management-engine/commit/0a6d01...
Author: Martyn Taylor <mtaylor(a)redhat.com>
Date: 2012-07-05 (Thu, 05 Jul 2012)
Changed paths:
M README.rdoc
M app/controllers/image_management/image_versions_controller.rb
M app/views/image_management/image_versions/_image_version.xml.haml
M spec/controllers/image_versions_controller_spec.rb
M spec/factories/image_management/image_version.rb
Log Message:
-----------
Updated Image Version API, tests and README
Updated Create Image Version API
Added Tests, README for show image version
Updated spec, README for list images
Updated spec, README for delete image version
Updated Image Version Update API
Commit: 7e3e03240c48597461eb6d883c0ea8c8b23b4567
https://github.com/aeolus-incubator/image-management-engine/commit/7e3e03...
Author: Martyn Taylor <mtaylor(a)redhat.com>
Date: 2012-07-05 (Thu, 05 Jul 2012)
Changed paths:
M README.rdoc
M app/controllers/image_management/target_images_controller.rb
M app/models/image_management/target_image.rb
M app/views/image_management/target_images/_target_image.xml.haml
M spec/controllers/target_images_controller_spec.rb
Log Message:
-----------
Update Target Image API, tests, README
Updated Create Target Image API
Updated Tests and README for show target image
Added spec and updated README for list target images
Added spec, Updated README for delete target images
updated target image update api
Commit: ec12a901d1ed2daaf16017fdd6b58e18ddb84944
https://github.com/aeolus-incubator/image-management-engine/commit/ec12a9...
Author: jguiditta <jason.guiditta(a)gmail.com>
Date: 2012-07-06 (Fri, 06 Jul 2012)
Changed paths:
M README.rdoc
M app/controllers/image_management/application_controller.rb
M app/controllers/image_management/image_versions_controller.rb
M app/controllers/image_management/target_images_controller.rb
M app/models/image_management/target_image.rb
M app/views/image_management/base_images/_base_image.xml.haml
M app/views/image_management/image_versions/_image_version.xml.haml
M app/views/image_management/target_images/_target_image.xml.haml
M lib/generators/image_management/templates/migrations/create_base_images.rb
M spec/controllers/base_images_controller_spec.rb
M spec/controllers/image_versions_controller_spec.rb
M spec/controllers/target_images_controller_spec.rb
M spec/factories/image_management/base_image.rb
M spec/factories/image_management/image_version.rb
R test/dummy/app/controllers/application_controller.rb
R test/dummy/app/controllers/image_management/application_controller.rb
M test/dummy/db/migrate/20120326103723530613_create_base_images.rb
M test/dummy/db/schema.rb
Log Message:
-----------
Merge pull request #10 from mtaylor/image_versions
Image versions
Compare: https://github.com/aeolus-incubator/image-management-engine/compare/c64ba...
11 years, 9 months
Ideas for improving aeolus
by Jason Guiditta
After some discussion on list[1] about project direction, it seems there
was general agreement that the project could be made more maintainable,
reusable in other projects, and potentially easier for new contributors
to get started with. One approach to this is to look at our current
codebase and identify areas that could be extracted into more modular
chunks. This could take the form of rails engines, rack middleware,
libraries, or $something-else. Following is a list of ideas that a small
group of us brainstormed. We wrote up the basic ideas, and now want to
get the community involved for feedback and so we can refine the designs
(or even toss any out that end up not making sense).
======== Already in progress ===========
Note that these can and should still be discussed and debated to make
sure any work does not need to be immediately redone because nobody looked
at it besides the contributor(s) directly working on it.
* image management engine (already in progress)
* https://www.aeolusproject.org/redmine/projects/aeolus/wiki/Image_Manageme...
* cloud state tracker (already in progress) -
* http://etherpad-aeolusproject.rhcloud.com/p/feature-cloud_state_tracker
* possibly a multi-instance (deployment) launcher and manager -
* http://etherpad-aeolusproject.rhcloud.com/p/deployment_launcher_and_manager
======== Ideas under discussion (not started) =======
* A separate credential store
- http://etherpad-aeolusproject.rhcloud.com/p/cloud-permission-store
* A separate select-o-matic engine, for choosing where to launch
- http://etherpad-aeolusproject.rhcloud.com/p/provider-selection-algorithm
* Whether/how to break permissions out into a separate engine
- http://etherpad-aeolusproject.rhcloud.com/p/permissions-engine
* Event Library/API/Framework
- http://etherpad-aeolusproject.rhcloud.com/p/feature-event-api
* Post-boot config server, maybe integrated with Puppet/Foreman
moreso than current Audrey
* Developer tooling for working with the entire project
- http://etherpad-aeolusproject.rhcloud.com/p/feature-developer-tooling
* Converge UI Engine
- http://etherpad-aeolusproject.rhcloud.com/p/feature-converge-ui-engine
* Where template and deployable authoring should be done - 1 proposal:
** Template Composer
- http://etherpad-aeolusproject.rhcloud.com/p/feature-template-composer
This email is just a reformatted version of a public etherpad [2], so
you may feel free to respond to ideas directly here, or contribute to
the pages linked. Thanks for any and all feedback!
-j
[1] https://fedorahosted.org/pipermail/aeolus-devel/2012-June/010677.html
[2] http://etherpad-aeolusproject.rhcloud.com/p/arch-revamp-june-2012
11 years, 9 months
Need newer DC 0.5.0 in F16 repos
by Justin Clift
Hi Michal,
Would be ok with rebuilding DC 0.5.0 (-10 or something), and pushing to
Fedora 16 testing? (then to Fedora 16 stable when ready)
The existing DC rpms in Fedora 16 are ancient (0.5.0-2), and causing
upstream Aeolus nasty problems with hwp/instance matching.
Regards and best wishes,
Justin Clift
--
Aeolus Community Manager
http://www.aeolusproject.org
11 years, 9 months
[Still Failing] aeolusproject/conductor#14 (master - b6f79a1)
by Travis CI
Build Update for aeolusproject/conductor
-------------------------------------
Build: #14
Status: Still Failing
Duration: 14 minutes and 42 seconds
Commit: b6f79a1 (master)
Author: John Eckersberg
Message: Fix aeolus user home directory on upgrade
Previously the aeolus user's home directory was set to /var/aeolus.
This was changed to /usr/share/aeolus-conductor in commit 923f894.
However this only catches new installations; if the aeolus user
previously existed (e.g. upgrade) then the home directory would not be
updated. This catches that case and ensures that old installations
using the old home directory are updated.
Signed-off-by: Steve Linabery <slinaber(a)redhat.com>
View the changeset: https://github.com/aeolusproject/conductor/compare/9ef430197dc9...b6f79a1...
View the full build log and details: http://travis-ci.org/aeolusproject/conductor/builds/1770645
--
You can configure recipients for build notifications in your .travis.yml file. See http://bit.ly/lCybCJ
The delivery of this notification was kindly sponsored by Postmark. Send transactional email confidently using http://postmarkapp.com
11 years, 9 months
[PATCH configure] BZ #827587: do not modify ntp config
by Mo Morsi
From: mmorsi <mmorsi(a)redhat.com>
still require package and service to be running
---
recipes/ntp/manifests/client.pp | 24 ------------------------
recipes/ntp/templates/ntp.conf | 5 -----
recipes/ntp/templates/step-tickers | 4 ----
3 files changed, 0 insertions(+), 33 deletions(-)
delete mode 100644 recipes/ntp/templates/ntp.conf
delete mode 100644 recipes/ntp/templates/step-tickers
diff --git a/recipes/ntp/manifests/client.pp b/recipes/ntp/manifests/client.pp
index 10bb3d1..566dfba 100644
--- a/recipes/ntp/manifests/client.pp
+++ b/recipes/ntp/manifests/client.pp
@@ -6,28 +6,4 @@ class ntp::client inherits ntp {
hasstatus => true,
require => Package["ntp"],
}
-
- # default ntp servers if none-specified
- # for different environments this should be changed in the branch
- # only setup an override here in case there is an odd host or two
- # that needs to be different from others in the same env
- $default_ntpservers = [ "pool.ntp.org" ]
- $ntpservers = $ntpservers ? {
- '' => $default_ntpservers,
- default => $ntpservers,
- }
-
- file { "/etc/ntp.conf":
- content => template("ntp/ntp.conf"),
- notify => Service["ntpd"],
- require => Package["ntp"],
- }
- file { "/etc/ntp/":
- require => Package["ntp"],
- }
- file { "/etc/ntp/step-tickers":
- content => template("ntp/ntp.conf"),
- notify => Service["ntpd"],
- require => Package["ntp"],
- }
}
diff --git a/recipes/ntp/templates/ntp.conf b/recipes/ntp/templates/ntp.conf
deleted file mode 100644
index 8bfd2d0..0000000
--- a/recipes/ntp/templates/ntp.conf
+++ /dev/null
@@ -1,5 +0,0 @@
-# /etc/ntp.conf generated by puppet
-driftfile /var/lib/ntp/drift
-<% for ntpserver in ntpservers -%>
-server <%= ntpserver %>
-<% end -%>
diff --git a/recipes/ntp/templates/step-tickers b/recipes/ntp/templates/step-tickers
deleted file mode 100644
index 57cd8bb..0000000
--- a/recipes/ntp/templates/step-tickers
+++ /dev/null
@@ -1,4 +0,0 @@
-# /etc/ntp/step-tickerts generated by puppet
-<% for ntpserver in ntpservers -%>
-server <%= ntpserver %>
-<% end -%>
--
1.7.7.6
11 years, 9 months
[PATCH conductor] Fix broken permission migration.
by Scott Seago
The migration which adds denormalized permissions has to iterate over existing
permission records to create the DerivedPermission objects. Unfortunately,
now that the user groups code is in place, the rails permission model is
incompatible with what's in the database when the create_derived_permissions
migration is run. Normally, this sort of thing is resolved by overriding
the model classes in the migration to remove validations and other model
components that may be broken by future code changes.
In this case, we have more extensive needs at the model level, so sorting
through all of this is much more difficult. After chasing down phantom
migration failures over several hours, I decided to do the simpler thing here.
I've just moved the code that iterates over Permissions and creates Derived Permissions
from the CreateDerivedPermissions migration to the final migration that
modifies these models for user groups. Now, if a user tries to run a set of
migrations on an existing database that includes both of these, the derived
permissions are simply created later. If a user has already successfully
run the CreateDerivedPermissions migration but not the newer one, then the
iteration over permissions to update derived permissions will be run
again, but this operation is safe to run more than once, as it compares
derived permissions in the database with what _should_ be in the database
for a given set of permissions -- so if you run it more than once, it just won't
make any db changes on subsequent runs.
to update derived permissions will
---
.../20120424151000_create_derived_permissions.rb | 7 -------
.../20120520151500_change_permission_user.rb | 7 +++++++
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/db/migrate/20120424151000_create_derived_permissions.rb b/src/db/migrate/20120424151000_create_derived_permissions.rb
index 59c1863..1220fa4 100644
--- a/src/db/migrate/20120424151000_create_derived_permissions.rb
+++ b/src/db/migrate/20120424151000_create_derived_permissions.rb
@@ -29,13 +29,6 @@ class CreateDerivedPermissions < ActiveRecord::Migration
add_index :derived_permissions,
[:permission_object_id, :permission_object_type],
:name => 'index_derived_permissions_on_permission_object'
- # create derived permissions for existing records
- counter = 0
- total_perms = Permission.count
- Permission.all.each do |permission|
- puts "updating permision #{counter +=1} of #{total_perms}"
- permission.update_derived_permissions
- end
end
def self.down
diff --git a/src/db/migrate/20120520151500_change_permission_user.rb b/src/db/migrate/20120520151500_change_permission_user.rb
index f71ee33..fe19be3 100644
--- a/src/db/migrate/20120520151500_change_permission_user.rb
+++ b/src/db/migrate/20120520151500_change_permission_user.rb
@@ -47,6 +47,13 @@ class ChangePermissionUser < ActiveRecord::Migration
Permission.reset_column_information
DerivedPermission.reset_column_information
+ # create derived permissions for existing records
+ counter = 0
+ total_perms = Permission.count
+ Permission.all.each do |permission|
+ puts "updating permision #{counter +=1} of #{total_perms}"
+ permission.update_derived_permissions
+ end
end
def self.down
--
1.7.6.5
11 years, 9 months