[PATCH conductor 0/3] catalog_entry refactoring into catalog_entry and deployable
by Scott Seago
This patchset refactors the CatalogEntry model into separate CatalogEntry and Deployable models. The purpose of this is to allow for deployables to be added to more than one catalog. For the moment, the UI still assumes a one-to-one correspondence -- a Deployable will still be in only one Catalog. However, after these patches, it's only a UI change to allow this in the (near) future.
The new CatalogEntry model is a fairly minimal model now -- it's only used to link Deployables to Catalogs. The Deployable model contains the bulk of functionality that was previously contained in the CatalogEntry model. The controllers are, for now, still all under CatalogEntry.
12 years, 6 months
[PATCH aeolus-cli] Added format since ARes changed default
by Martyn Taylor
From: Martyn Taylor <mtaylor(a)redhat.com>
---
lib/aeolus_cli/model/base.rb | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/lib/aeolus_cli/model/base.rb b/lib/aeolus_cli/model/base.rb
index 88f34d1..ae83808 100644
--- a/lib/aeolus_cli/model/base.rb
+++ b/lib/aeolus_cli/model/base.rb
@@ -17,6 +17,7 @@ module Aeolus
module CLI
class Base < ActiveResource::Base
self.timeout = 600
+ self.format = :xml
class << self
def instantiate_collection(collection, prefix_options = {})
if collection.is_a?(Hash) && collection.size == 1
--
1.7.6.4
12 years, 6 months
[PATCH conductor 0/5] #2843 - Conductor support for Event API
by Matt Wagner
This adds support for the Event API that Jay is working on.
You'll want to apply the "minor tweaks to existing patch" patch that he sent earlier today as this exercises some of that functionality.
Note that I'd like to add tests to this, but I'm going to send this out now and hopefully add those later on -- otherwise I don't think I could get this patch out today, and I'll be on holiday tomorrow and Friday.
-- Matt
12 years, 6 months
[PATCH aeolus-cli] RM 2803 - Add status checking on image builds and pushes
by Richard Su
https://www.aeolusproject.org/redmine/issues/2803
---
lib/aeolus_cli.rb | 1 +
lib/aeolus_cli/command/config_parser.rb | 24 +++++++++-
lib/aeolus_cli/command/status_command.rb | 45 ++++++++++++++++++
man/aeolus-cli-build.1 | 2 +-
man/aeolus-cli-list.1 | 2 +-
man/aeolus-cli-push.1 | 2 +-
man/aeolus-cli-status.1 | 36 ++++++++++++++
man/aeolus-cli.1 | 4 +-
spec/command/config_parser_spec.rb | 7 +++
spec/command/status_command_spec.rb | 49 ++++++++++++++++++++
spec/spec_helper.rb | 1 +
.../command/status_command/providerimage.yml | 42 +++++++++++++++++
.../command/status_command/targetimage.yml | 38 +++++++++++++++
13 files changed, 247 insertions(+), 6 deletions(-)
create mode 100644 lib/aeolus_cli/command/status_command.rb
create mode 100644 man/aeolus-cli-status.1
create mode 100644 spec/command/status_command_spec.rb
create mode 100644 spec/vcr/cassettes/command/status_command/providerimage.yml
create mode 100644 spec/vcr/cassettes/command/status_command/targetimage.yml
diff --git a/lib/aeolus_cli.rb b/lib/aeolus_cli.rb
index 46dd8e5..a5a6bce 100644
--- a/lib/aeolus_cli.rb
+++ b/lib/aeolus_cli.rb
@@ -20,6 +20,7 @@ require File.join(File.dirname(__FILE__), 'aeolus_cli/command', 'build_command')
require File.join(File.dirname(__FILE__), 'aeolus_cli/command', 'push_command')
require File.join(File.dirname(__FILE__), 'aeolus_cli/command', 'import_command')
require File.join(File.dirname(__FILE__), 'aeolus_cli/command', 'delete_command')
+require File.join(File.dirname(__FILE__), 'aeolus_cli/command', 'status_command')
require File.join(File.dirname(__FILE__), 'aeolus_cli/command', 'config_parser')
require File.join(File.dirname(__FILE__), 'aeolus_cli/model', 'base')
diff --git a/lib/aeolus_cli/command/config_parser.rb b/lib/aeolus_cli/command/config_parser.rb
index d00afd9..817cd13 100644
--- a/lib/aeolus_cli/command/config_parser.rb
+++ b/lib/aeolus_cli/command/config_parser.rb
@@ -18,7 +18,7 @@ require 'logger'
module Aeolus
module CLI
class ConfigParser
- COMMANDS = %w(list build push import delete)
+ COMMANDS = %w(list build push import delete status)
attr_accessor :options, :command, :args
def initialize(argv)
@@ -138,6 +138,18 @@ module Aeolus
end
opts.separator ""
+ opts.separator "Status options:"
+ opts.on('-t', '--targetimage ID', 'target image status') do |id|
+ @options[:subcommand] = :target_image
+ @options[:targetimage] = id
+ end
+ opts.on('-P', '--providerimage ID', 'provider image status') do |id|
+ @options[:subcommand] = :provider_image
+ @options[:providerimage] = id
+ end
+
+
+ opts.separator ""
opts.separator "List Examples:"
opts.separator "aeolus-cli list --images # list available images"
opts.separator "aeolus-cli list --builds $image_id # list the builds of an image"
@@ -174,6 +186,11 @@ module Aeolus
opts.separator "aeolus-cli delete --build $build_id # deletes a build and all associated targetimages"
opts.separator "aeolus-cli delete --targetimage $target_image # deletes a target image and all associated provider images"
opts.separator "aeolus-cli delete --providerimage $provider_image # deletes a provider image"
+
+ opts.separator ""
+ opts.separator "Status examples:"
+ opts.separator "aeolus-cli status --targetimage $target_image # status of target image build"
+ opts.separator "aeolus-cli status --providerimage $provider_image # status of provider image push"
end
begin
@@ -231,6 +248,11 @@ module Aeolus
delete_command.send(@options[:subcommand])
end
end
+
+ def status
+ status_command = StatusCommand.new(@options)
+ status_command.run
+ end
end
end
end
diff --git a/lib/aeolus_cli/command/status_command.rb b/lib/aeolus_cli/command/status_command.rb
new file mode 100644
index 0000000..a3f5a6a
--- /dev/null
+++ b/lib/aeolus_cli/command/status_command.rb
@@ -0,0 +1,45 @@
+# Copyright 2011 Red Hat, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+require 'rest_client'
+
+module Aeolus
+ module CLI
+ class StatusCommand < BaseCommand
+ attr_accessor :console
+ def initialize(opts={}, logger=nil)
+ super(opts, logger)
+ end
+
+ def run
+ begin
+ if @options[:targetimage]
+ ti = Aeolus::CLI::ProviderImage.find(@options[:targetimage])
+ puts "Build Status: " + ti.status
+ elsif @options[:providerimage]
+ pi = Aeolus::CLI::ProviderImage.find(@options[:providerimage])
+ puts "Push Status: " + pi.status
+ else
+ puts "Error: You must specify either a target or provider image to check their status"
+ quit(1)
+ end
+
+ quit(0)
+ rescue => e
+ handle_exception(e)
+ end
+ end
+ end
+ end
+end
diff --git a/man/aeolus-cli-build.1 b/man/aeolus-cli-build.1
index b3e4332..faf0b74 100644
--- a/man/aeolus-cli-build.1
+++ b/man/aeolus-cli-build.1
@@ -33,4 +33,4 @@ Build a new image for ec2 based on the specified template TDL file template.tdl
.TP
Martyn Taylor (mtaylor(a)redhat.com), Jason Guiditta (jguiditta(a)redhat.com)
.SH SEE ALSO
-aeolus-cli-list(1), aeolus-cli-push(1), aeolus-cli-import(1)
+aeolus-cli-list(1), aeolus-cli-push(1), aeolus-cli-import(1), aeolus-cli-status(1)
diff --git a/man/aeolus-cli-list.1 b/man/aeolus-cli-list.1
index d8b0dde..40c20ec 100644
--- a/man/aeolus-cli-list.1
+++ b/man/aeolus-cli-list.1
@@ -85,4 +85,4 @@ List all available accounts
.SH AUTHOR
Martyn Taylor (mtaylor(a)redhat.com), Jason Guiditta (jguiditta(a)redhat.com)
.SH SEE ALSO
-aeolus-cli-build(1), aeolus-cli-push(1), aeolus-cli-import(1), aeolus-cli-delete(1)
+aeolus-cli-build(1), aeolus-cli-push(1), aeolus-cli-import(1), aeolus-cli-delete(1), aeolus-cli-status(1)
diff --git a/man/aeolus-cli-push.1 b/man/aeolus-cli-push.1
index dfc4848..3f86d40 100644
--- a/man/aeolus-cli-push.1
+++ b/man/aeolus-cli-push.1
@@ -40,4 +40,4 @@ Push a target image to each of the specified accounts
.SH AUTHOR
Martyn Taylor (mtaylor(a)redhat.com), Jason Guiditta (jguiditta(a)redhat.com)
.SH SEE ALSO
-aeolus-cli-list(1), aeolus-cli-build(1), aeolus-cli-import(1)
+aeolus-cli-list(1), aeolus-cli-build(1), aeolus-cli-import(1), aeolus-cli-status(1)
diff --git a/man/aeolus-cli-status.1 b/man/aeolus-cli-status.1
new file mode 100644
index 0000000..e283071
--- /dev/null
+++ b/man/aeolus-cli-status.1
@@ -0,0 +1,36 @@
+.TH aeolus-cli 1 "November 23, 2011" "version 0.1" "USER COMMANDS"
+.SH NAME
+aeolus-cli status \- command for querying build and push status
+.SH SYNOPSIS
+.B aeolus-cli status [\-h|--help] [\-u|--username] [\-w|--password] [\-t|--targetimage [target-image-id]] [\-P|--providerimage [provider-image-id]]
+.SH DESCRIPTION
+aeolus-cli status command allows users to query for the status of builds and pushes.
+.SH OPTIONS
+.TP
+\-u, --user <username>
+Conductor username
+.TP
+\-w, --password <password>
+Conductor password
+.TP
+\-t, --targetimage
+A target image id to query for build status
+.TP
+\-P, --providerimage
+A provider image id to query for push status
+.TP
+Get usage information for this command and associated commmands
+\-h, --help
+.SH EXAMPLES
+.TP
+Retrieve build status for target image A
+.B aeolus-cli status
+\--targetimage A
+.TP
+Retrieve push status for provider image B
+.B aeolus-cli status
+\--providerimage B
+.TP
+Martyn Taylor (mtaylor(a)redhat.com), Jason Guiditta (jguiditta(a)redhat.com)
+.SH SEE ALSO
+aeolus-cli-list(1), aeolus-cli-build(1), aeolus-cli-push(1), aeolus-cli-import(1)
diff --git a/man/aeolus-cli.1 b/man/aeolus-cli.1
index 9275be4..e8e1c75 100644
--- a/man/aeolus-cli.1
+++ b/man/aeolus-cli.1
@@ -5,7 +5,7 @@ aeolus-cli \- command line tool for managing aeolus images
.B aeolus-cli
[\-h]
.SH DESCRIPTION
-aeolus-cli is a tool that allows users to control their aeolus images through image builder and aeolus conductor. aeolus-cli offers four commands options; list, build, push, import. For more information on each command please run man aeolus-cli <command> or aeolus-cli --help
+aeolus-cli is a tool that allows users to control their aeolus images through image builder and aeolus conductor. aeolus-cli offers five commands options; list, build, push, import, status. For more information on each command please run man aeolus-cli <command> or aeolus-cli --help
.SH OPTIONS
.TP
\-h, --help
@@ -13,4 +13,4 @@ Get usage information for this tool and subcommands
.SH AUTHOR
Martyn Taylor (mtaylor(a)redhat.com), Jason Guiditta (jguiditta(a)redhat.com)
.SH SEE ALSO
-aeolus-cli-build(1), aeolus-cli-push(1), aeolus-cli-list(1), aeolus-cli-import(1)
+aeolus-cli-build(1), aeolus-cli-push(1), aeolus-cli-list(1), aeolus-cli-import(1), aeolus-cli-status(1)
diff --git a/spec/command/config_parser_spec.rb b/spec/command/config_parser_spec.rb
index f4e48ec..7a39c20 100644
--- a/spec/command/config_parser_spec.rb
+++ b/spec/command/config_parser_spec.rb
@@ -83,6 +83,13 @@ module Aeolus
config_parser.options[:build].should == '12345'
end
+ it "should set options hash for valid status options" do
+ config_parser = ConfigParser.new(%w(status --targetimage 789))
+ config_parser.options[:targetimage].should == '789'
+ config_parser = ConfigParser.new(%w(status --providerimage 123))
+ config_parser.options[:providerimage].should == '123'
+ end
+
it "should set options hash for valid import options" do
config_parser = ConfigParser.new(%w(import --provider ec2-us-east-1a --description /path/to/file --id ami-123456 --target ec2))
config_parser.options[:provider].should == ['ec2-us-east-1a']
diff --git a/spec/command/status_command_spec.rb b/spec/command/status_command_spec.rb
new file mode 100644
index 0000000..ab4f119
--- /dev/null
+++ b/spec/command/status_command_spec.rb
@@ -0,0 +1,49 @@
+# Copyright 2011 Red Hat, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+require 'spec_helper'
+
+module Aeolus
+ module CLI
+ describe StatusCommand do
+ it "should return status for target image" do
+ VCR.use_cassette('command/status_command/targetimage') do
+ @options[:targetimage] = ['1a0b179b-eb8a-4ce5-96e5-2b01ef2089cb']
+
+ s = StatusCommand.new(@options, @output)
+ begin
+ s.run
+ rescue SystemExit => e
+ e.status.should == 0
+ end
+ $stdout.string.should include("Build Status: FAILED")
+ end
+ end
+
+ it "should return status for provider image" do
+ VCR.use_cassette('command/status_command/providerimage') do
+ @options[:providerimage] = ['1ad1ca1d-d6d8-4892-a255-c4d49c03ed9b']
+
+ s = StatusCommand.new(@options, @output)
+ begin
+ s.run
+ rescue SystemExit => e
+ e.status.should == 0
+ end
+ $stdout.string.should include("Push Status: COMPLETE")
+ end
+ end
+ end
+ end
+end
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 7cb20ca..1c20c7a 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -32,6 +32,7 @@ require 'build_command'
require 'push_command'
require 'import_command'
require 'delete_command'
+require 'status_command'
require 'vcr_setup'
diff --git a/spec/vcr/cassettes/command/status_command/providerimage.yml b/spec/vcr/cassettes/command/status_command/providerimage.yml
new file mode 100644
index 0000000..3aba6f6
--- /dev/null
+++ b/spec/vcr/cassettes/command/status_command/providerimage.yml
@@ -0,0 +1,42 @@
+---
+- !ruby/struct:VCR::HTTPInteraction
+ request: !ruby/struct:VCR::Request
+ method: :get
+ uri: https://admin:password@localhost:443/conductor/api/provider_images/1ad1ca...
+ body:
+ headers:
+ accept:
+ - application/xml
+ response: !ruby/struct:VCR::Response
+ status: !ruby/struct:VCR::ResponseStatus
+ code: 200
+ message: OK
+ headers:
+ x-ua-compatible:
+ - IE=Edge,chrome=1
+ etag:
+ - "\"f06d14fc7ff951eef3ca560ad60f380d\""
+ content-type:
+ - application/xml; charset=utf-8
+ server:
+ - thin 1.2.11 codename Bat-Shit Crazy
+ date:
+ - Tue, 22 Nov 2011 23:47:13 GMT
+ x-runtime:
+ - "0.273658"
+ set-cookie:
+ - _session_id=BAh7CCIPc2Vzc2lvbl9pZCIlNDY1OWU3YzgxNGZkOWQ4ZmY1ZDE5MzVkY2VhYzA4ZmYiGXdhcmRlbi51c2VyLnVzZXIua2V5aQYiEGJyZWFkY3J1bWJzWwA%3D--661d13e5a47633d15df8970235041aea2a860b31; path=/; HttpOnly
+ cache-control:
+ - max-age=0, private, must-revalidate
+ transfer-encoding:
+ - chunked
+ body: |+
+ <provider_image href='https://localhost/conductor/api/provider_images/1ad1ca1d-d6d8-4892-a255-c...' id='1ad1ca1d-d6d8-4892-a255-c4d49c03ed9b'>
+ <object_type>provider_image</object_type>
+ <target_identifier>Mock_mock_1ad1ca1d-d6d8-4892-a255-c4d49c03ed9b</target_identifier>
+ <status>COMPLETE</status>
+ <provider>mock</provider>
+ <target_image href='https://localhost/conductor/api/target_images/31a7fee4-37de-42ac-a573-2ab...' id='31a7fee4-37de-42ac-a573-2ab844145698'></target_image>
+ </provider_image>
+
+ http_version: "1.1"
diff --git a/spec/vcr/cassettes/command/status_command/targetimage.yml b/spec/vcr/cassettes/command/status_command/targetimage.yml
new file mode 100644
index 0000000..3e77a6d
--- /dev/null
+++ b/spec/vcr/cassettes/command/status_command/targetimage.yml
@@ -0,0 +1,38 @@
+---
+- !ruby/struct:VCR::HTTPInteraction
+ request: !ruby/struct:VCR::Request
+ method: :get
+ uri: https://admin:password@localhost:443/conductor/api/provider_images/1a0b17...
+ body:
+ headers:
+ accept:
+ - application/xml
+ response: !ruby/struct:VCR::Response
+ status: !ruby/struct:VCR::ResponseStatus
+ code: 200
+ message: OK
+ headers:
+ x-ua-compatible:
+ - IE=Edge,chrome=1
+ etag:
+ - "\"a61cb9f4c82824a7fe5c8107f167cff1\""
+ content-type:
+ - application/xml; charset=utf-8
+ server:
+ - thin 1.2.11 codename Bat-Shit Crazy
+ date:
+ - Tue, 22 Nov 2011 23:45:27 GMT
+ x-runtime:
+ - "0.049840"
+ set-cookie:
+ - _session_id=BAh7CCIPc2Vzc2lvbl9pZCIlNjBhMDU4NTY2MWI2MGRjMWNlNjI2ZmY4YTFkYjQ2ODAiGXdhcmRlbi51c2VyLnVzZXIua2V5aQYiEGJyZWFkY3J1bWJzWwA%3D--ecfe1e213920f3ba82c9b9c191118ee60d03f44c; path=/; HttpOnly
+ cache-control:
+ - max-age=0, private, must-revalidate
+ transfer-encoding:
+ - chunked
+ body: |+
+ <provider_image href='https://localhost/conductor/api/provider_images/1a0b179b-eb8a-4ce5-96e5-2...' id='1a0b179b-eb8a-4ce5-96e5-2b01ef2089cb'>
+ <status>FAILED</status>
+ </provider_image>
+
+ http_version: "1.1"
--
1.7.6.4
12 years, 6 months
[PATCH aeolus-image-rubygem 1/3] Fixed where method in WarehouseModel
by Martyn Taylor
From: Martyn Taylor <mtaylor(a)redhat.com>
---
.../model/warehouse/warehouse_model.rb | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/lib/aeolus_image/model/warehouse/warehouse_model.rb b/lib/aeolus_image/model/warehouse/warehouse_model.rb
index b177ce7..14e9323 100644
--- a/lib/aeolus_image/model/warehouse/warehouse_model.rb
+++ b/lib/aeolus_image/model/warehouse/warehouse_model.rb
@@ -106,7 +106,9 @@ module Aeolus
def where(query_string)
self.set_warehouse_and_bucket if self.bucket.nil?
- self.warehouse.query(@bucket_name, query_string)
+ self.warehouse.query(@bucket_name, query_string).xpath('/objects/object').map do |obj|
+ self.new(self.bucket.object(obj.at_xpath('./key/text()').to_s))
+ end
end
def delete(uuid)
--
1.7.6.4
12 years, 6 months
Fwd: Fwd: [Bookshelf] 40% Off Black Friday Celebration One-Day Sale 2011
by Martyn Taylor
-------- Original Message --------
Subject: Fwd: [Bookshelf] 40% Off Black Friday Celebration One-Day Sale
2011
Date: Wed, 23 Nov 2011 17:10:20 +0000
From: Marc Savy <msavy(a)redhat.com>
To: Martyn Taylor <mtaylor(a)redhat.com>
It’s that time again. One day only. But hurry, you have to place your
order on *Friday only, November 25, 2011* and use the coupon code
*turkey*. See below for details.
Recently Released:
* New Programmer’s Survival Manual
<http://www.pragprog.com/refer/news_2011-11-21_html_Recent/book/jcdeg/new-...>
/[in print]/
* The Developer’s Code
<http://www.pragprog.com/refer/news_2011-11-21_html_Recent/book/kcdc/the-d...>
/[in beta]/
* Build Awesome Command-Line Applications in Ruby
<http://www.pragprog.com/refer/news_2011-11-21_html_Recent/book/dccar/buil...>
/[in beta]/
* Programming Your Home: Automate with Arduino, Android, and Your
Computer
<http://www.pragprog.com/refer/news_2011-11-21_html_Recent/book/mrhome/pro...>
/[in beta]/
Coming Up Next:
* /Programming Node.js/ in beta
* /Seven Databases in Seven Weeks/ in beta
* /Mac Kung Fu/ in print
* /Lean from the Trenches/ in print
Black Friday Sale
/November 21, 2011/
Every Thanksgiving, we’re especially thankful for one thing in
particular: /you./ So from all of us here at the Pragmatic Bookshelf, a
hearty /thank you/ to all of you for your support and encouragement.
You’re the reason we’re here.
And so once again, it’s time to honor the impending holiday spirit with
the observance of /Black Friday/: the Friday after the Thanksgiving
holiday, which is traditionally the start of the exuberant Christmas
shopping season.
The stores are jammed with people, and the downtown sidewalks are
overcrowded with bargain hunters and earnest shoppers, determined not to
shop at the very last minute—like last year. But you don’t have to
suffer the crowds or the long lines to enjoy a genuine Black Friday sale.
Once again we’re offering *40% off* everything in the store that we
publish—books, PDFs, and screencasts (there are a couple of exceptions,
including /The SPDY Book/, and /Exceptional Ruby/).
/Tell your friends! Tweet this
<http://twitter.com/share?text=Black+Friday+PragProg+Sale:+40%25+off,+use+...>/
To get your 40% off, simply enter the coupon code *turkey* during
checkout on Friday, in honor of that noblest of birds and traditional
guest of honor at the Thanksgiving dinner table.
* the coupon is valid from 00:01PST to 23:59PST on *Friday, November
25th, 2011*. (PST is 8 hours behind GMT)
* the discount cannot be applied to orders placed prior to or after
these times
* the coupon cannot be combined with any other coupon
* the coupon can only be used for products we have on sale on Friday
(that is, we can’t hold it over until some unreleased title becomes
available)
* the coupon is valid for the entire contents of an order (excluding
books we do not publish but resell) but does not affect shipping costs
* you have to enter the coupon code *turkey* and then select your
payment mechanism to apply the discount to your order
Thanks, and have a safe and happy holiday season!
Don’t Get Left Out
Are your friends jealous that /you/ get these spiffy email newsletters
and they don’t? Clue them in that all they need to do is create an
account on pragprog.com
<http://www.pragprog.com?utm_source=MadMimi&utm_medium=email&utm_content=%...>
(email address and password is all it takes) and select the checkbox to
receive newsletters.
Are you following us on Twitter and/or Facebook? Here’s where you can
find us and keep up with the latest news and commentary:
* /Tell your friends! Tweet this
<http://twitter.com/share?text=Black+Friday+PragProg+Sale:+40%25+off,+use+...>/
* Follow on Twitter: @pragprog<http://twitter.com/pragprog>, @pragpub
<http://twitter.com/pragpub>
* Facebook: facebook.com/PragmaticBookshelf
<http://faceBook.com/PragmaticBookshelf>
* Andy @PragmaticAndy<http://twitter.com/PragmaticAndy> and Dave
@pragdave<http://twitter.com/pragdave>
Andy& Dave
*Books • eBooks • Screencasts • PragPub Magazine*
PragProg.com
<http://pragprog.com/refer/news_2011-11-21_html_Footer?utm_source=MadMimi&...>
Manage your subscription using your account
<https://www.pragprog.com/refer/news_2011-11-21_html_TemplateAccount/my_pr...>,
or permanently unsubscribe here
<http://go.madmimi.com/opt_out?fe=1&pact=6337968683&amx=491015617>.
Sent by the Pragmatic Programmers, LLC. • P.O. Box 293325 • Lewisville,
TX 75029
12 years, 6 months
[PATCH 1/2] added dependency on ActiveSupport and ActiveResource to specfile
by Maros Zatko
From: Maros Zatko <mzatko(a)redhat.com>
---
rubygem-aeolus-cli.spec | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/rubygem-aeolus-cli.spec b/rubygem-aeolus-cli.spec
index 32a666e..0c03857 100644
--- a/rubygem-aeolus-cli.spec
+++ b/rubygem-aeolus-cli.spec
@@ -7,7 +7,7 @@
Summary: Command-line interface for working with the Aeolus cloud suite
Name: rubygem-aeolus-cli
Version: 0.2.0
-Release: 0%{?extra_release}%{?dist}
+Release: 1%{?extra_release}%{?dist}
Group: Development/Languages
License: ASL 2.0
URL: http://aeolusproject.org
@@ -26,6 +26,8 @@ Requires: rubygems
Requires: rubygem(nokogiri) >= 1.4.0
Requires: rubygem(rest-client)
Requires: rubygem(imagefactory-console) >= 0.4.0
+Requires: rubygem(activesupport)
+Requires: rubygem(activeresource)
BuildRequires: ruby
BuildRequires: rubygems
@@ -74,6 +76,9 @@ mv %{buildroot}%{geminstdir}/man/* %{buildroot}%{mandir}
%{mandir}/*
%changelog
+* Mon Nov 21 2011 Maros Zatko <mzatko(a)redhat.com> 0.2.0-1
+- added dependency on ActiveSupport and ActiveResource
+
* Wed Nov 16 2011 Steve Linabery <slinaber(a)redhat.com> 0.2.0-0
- bump version and release for ongoing development
--
1.7.7.1
12 years, 6 months
Audrey, Conductor and aeolus user GID:UID changes
by Joseph VLcek
I just patched, posted and pushed updates to Conductor and
Config Server that results in three changes.
1. The GID:UID for the aeolus user has change to 180:180 per BZ:
754274 - Allocate an 'aeolus' username and groupname
2. The Config Server is now packaged into the single
rpm: aeolus-configserver.
The 2nd Config Server rpm: aeolus-configserver-proxy is
no longer be used.
3. The Config Server configuration script has been renamed to:
aeolus-configserver-setup
You don't "need" to make any change immediately but If/when
you need to pick up a newer version of Conductor or the Config
Server you will need this information.
Where are the updated RPMs:
---------------------------------------
The updated RPMs are in the public testing repo at fedorapeople.org
http://repos.fedorapeople.org/repos/aeolus/conductor/testing/
Required Action Summary:
------------------------
A. Remove the current aeolus user and reinstall the aeolus-conductor
RPM on the system running Conductor.
B. Rebuild and configure a new Config Server.
Required Action Details:
------------------------
A. Remove the current aeolus user and reinstall the aeolus-conductor
RPM on the system running Conductor.
This should not remove any Conductor configuration.
e.g.:
% getent passwd aeolus
aeolus:x:451:451:aeolus:/var/aeolus:/sbin/nologin
Note: UID:GID is not 180:180
% userdel aeolus
% yum erase aeolus-conductor
% yum install aeolus-conductor
% getent passwd aeolus
aeolus:x:180:180:aeolus:/var/aeolus:/sbin/nologin
Note: UID:GID is now 180:180
- Rebuild and configure a new Config Server.
In the TDL passed to aeolus-cli/Imagefactory specify
only aeolus-configserver. Do "not" specify
aeolus-configserver-proxy
Boot and configure the new Config Server instance:
e.g.:
% /usr/bin/aeolus-configserver-setup
% service httpd start
% getent passwd aeolus
aeolus:x:180:180:aeolus:/var/aeolus:/sbin/nologin
Note: UID:GID is now 180:180
Thanks!
Joe V.
12 years, 6 months