Restart Button Behavior in Conductor WUI
by James Labocki
I'd like to confirm the behavior I am experiencing is expected with regards to the restart button in conductor.
1. Launch two instances. One to RHEV provider and one to EC2 provider.
2. Wait until instances are running.
3. Select RHEV instance and select "restart".
a. Nothing happens in the conductor UI.
b. Nothing happens in the RHEV-M interface.
4. Select Amazon instance select "restart".
a. Instance restarts in EC2
Is this known and expected behavior that the restart button on RHEV can be selected, but it does not do anything?
If this is a bug please let me know and I can open a bugzilla to fix it. If this is not a bug, can you provide insight on the level of effort to either:
1. check the provider when displaying instance information and remove the ability to press restart on providers that do not support restarting instances (RHEV)?
2. Make the restart button restart the instances on RHEV.
Thanks for your help!
-James
10 years, 5 months
Rails Nested Resource Issues
by Martyn Taylor
Gents.
I'm having some trouble with getting nested resources working properly
from bespoke XML/JSON in RESTful API. There seems to be some
fundamental problems with the way rails works, which means we have to
write a lot of bespoke code to get it working, possibly even having to
monkey patch Rails itself.
I've written an example rails app that highlights the problem and put a
detailed description in the README you can find it here:
https://github.com/mtaylor/Rails-Nested-Resource-Issues
I've ran into this issue on IME. But it's going to affect us across all
rails projects with REST APIs, so we could do with discussing this issue
and coming up with the best possible solution that results in as little
replication as possible.
Please read through the problem and let me know if you have any better
ideas that the solutions I have proposed.
Regards
Martyn
10 years, 5 months
Error with RHEV provider
by James Labocki
I ran into the following when configuring aeolus for a RHEV provider.
1, contents of /etc/aeolus-configure/nodes/rhevm_configure
http://fpaste.org/BrLg/
2. Here is the result of aeolus-configure -p rhevm,ec2
http://fpaste.org/kgnw/
The errors and warnings thrown are:
err: /Stage[main]/Aeolus::Deltacloud::Core/Exec[deltacloud-core-startup-wait]/returns: change from notrun to 0 failed: nc -z localhost 3002 returned 1 instead of one of [0] at /usr/share/aeolus-configure/modules/aeolus/manifests/deltacloud/core.pp:27
warning: /Stage[main]/Aeolus::Profiles::Rhevm/Aeolus::Profiles::Rhevm::Instance[default]/Aeolus::Conductor::Provider[rhevm-default]/Web_request[provider-rhevm-default]: Skipping because of failed dependencies
warning: /Stage[main]/Aeolus::Profiles::Common/Aeolus::Conductor::Logout[temporary-administrative-user-288431777d9a69cd8794e05ffc165eba865f0e8f82ed7c44]/Web_request[temporary-administrative-user-288431777d9a69cd8794e05ffc165eba865f0e8f82ed7c44-conductor-logout]: Skipping because of failed dependencies
warning: /Stage[main]/Aeolus::Profiles::Common/Aeolus::Conductor::Destroy_temp_admins[after]/Exec[destroy_temp_admin-after]: Skipping because of failed dependencies
3. If I rerun `aeolus-configure -p rhevm` afterwards it sets up the RHEV provider without errors.
http://fpaste.org/iQUF/
Did I do something wrong? Why would the second time succeed with no changes in the environment?
-James
10 years, 6 months
[PATCH aeolus-cli] Added aeolus-image man page
by Martyn Taylor
From: Martyn Taylor <mtaylor(a)redhat.com>
---
man/aeolus-image.1 | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 47 insertions(+), 0 deletions(-)
create mode 100644 man/aeolus-image.1
diff --git a/man/aeolus-image.1 b/man/aeolus-image.1
new file mode 100644
index 0000000..b2d4eda
--- /dev/null
+++ b/man/aeolus-image.1
@@ -0,0 +1,47 @@
+.TH aeolus-image 1 "December 20, 2011" "version 0.4" "USER COMMANDS"
+.SH NAME
+aeolus-image \- command line tool for managing images and related resources on the aeolus suite of tools
+.SH SYNOPSIS
+.B aeolus image
+[list|build|push|import|status] [\-h]
+
+.SH DESCRIPTION
+
+.B aeolus-image
+is a tool that allows users to manage images and related resources in their aeolus installation. Such resources consist of:
+
+.B aeolus-image
+consists of 5 subcommands: list, build, push, import and status.
+
+Each command can also be called directly via
+.B 'aeolus-image'
+or via
+.B 'aeolus-image-{subcommand}'
+.
+
+For more information on each subcommand, you may run any of the following:
+ man aeolus-{command}-{subcommand}
+ aeolus-image {subcommand} --help
+ aeolus-image-{subcommand} --help
+ aeolus --help
+
+.SH OPTIONS
+.TP
+\-h, --help
+Get usage information for this tool and subcommands
+.SH FILES
+.P
+aeolus reads its configuration from ~/.aeolus-cli
+.P
+.I ~/.aeolus-cli
+.RS
+This contains the URL and credentials for your admin user in
+.B aeolus-conductor.
+If setup differs from default one, those should be changed accordingly. Conductor URL should be as follows
+.I https://<host_where_conductor_runs>/conductor/api
+.RE
+.SH AUTHORS
+Martyn Taylor (mtaylor(a)redhat.com), Jason Guiditta (jguiditta(a)redhat.com)
+.SH SEE ALSO
+aeolus-image-build(1), aeolus-image-push(1), aeolus-image-list(1), aeolus-image-import(1), aeolus-image-status(1)
+
--
1.7.6.4
10 years, 6 months
[aeolus-incubator/image-management-engine] b795c5: Fix views to have correct helpers.
by Martyn Taylor
Branch: refs/heads/rails_3_2_upgrade
Home: https://github.com/aeolus-incubator/image-management-engine
Commit: b795c5a6961c2ab5f6e70fc37c7acd4c0843e027
https://github.com/aeolus-incubator/image-management-engine/commit/b795c5...
Author: Jason Guiditta <jguiditt(a)redhat.com>
Date: 2012-09-20 (Thu, 20 Sep 2012)
Changed paths:
M app/views/image_management/base_images/_base_image.xml.haml
M app/views/image_management/base_images/_base_image_minimal.xml.haml
M app/views/image_management/base_images/edit.html.erb
M app/views/image_management/base_images/index.html.erb
M app/views/image_management/base_images/new.html.erb
M app/views/image_management/base_images/show.html.erb
M app/views/image_management/image_versions/_image_version.xml.haml
M app/views/image_management/image_versions/_image_version_minimal.xml.haml
M app/views/image_management/image_versions/edit.html.erb
M app/views/image_management/image_versions/index.html.erb
M app/views/image_management/image_versions/new.html.erb
M app/views/image_management/image_versions/show.html.erb
M app/views/image_management/images/edit.html.erb
M app/views/image_management/images/index.html.erb
M app/views/image_management/images/new.html.erb
M app/views/image_management/images/show.html.erb
M app/views/image_management/provider_images/_provider_image.xml.haml
M app/views/image_management/provider_images/_provider_image_minimal.xml.haml
M app/views/image_management/provider_images/edit.html.erb
M app/views/image_management/provider_images/index.html.erb
M app/views/image_management/provider_images/new.html.erb
M app/views/image_management/provider_images/show.html.erb
M app/views/image_management/target_images/_target_image.xml.haml
M app/views/image_management/target_images/_target_image_minimal.xml.haml
M app/views/image_management/target_images/edit.html.erb
M app/views/image_management/target_images/index.html.erb
M app/views/image_management/target_images/new.html.erb
M app/views/image_management/target_images/show.html.erb
M app/views/image_management/templates/_template.xml.haml
M app/views/image_management/templates/_template_minimal.xml.haml
M app/views/image_management/templates/edit.html.erb
M app/views/image_management/templates/index.html.erb
M app/views/image_management/templates/new.html.erb
M app/views/image_management/templates/show.html.erb
Log Message:
-----------
Fix views to have correct helpers.
This also gets a large number of additional tests passing.
Commit: b88782400a6b9b82a99282a4e6243bd2ef4071b1
https://github.com/aeolus-incubator/image-management-engine/commit/b88782...
Author: mtaylor <mtaylor(a)redhat.com>
Date: 2012-09-21 (Fri, 21 Sep 2012)
Changed paths:
M app/views/image_management/base_images/_base_image.xml.haml
M app/views/image_management/base_images/_base_image_minimal.xml.haml
M app/views/image_management/base_images/edit.html.erb
M app/views/image_management/base_images/index.html.erb
M app/views/image_management/base_images/new.html.erb
M app/views/image_management/base_images/show.html.erb
M app/views/image_management/image_versions/_image_version.xml.haml
M app/views/image_management/image_versions/_image_version_minimal.xml.haml
M app/views/image_management/image_versions/edit.html.erb
M app/views/image_management/image_versions/index.html.erb
M app/views/image_management/image_versions/new.html.erb
M app/views/image_management/image_versions/show.html.erb
M app/views/image_management/images/edit.html.erb
M app/views/image_management/images/index.html.erb
M app/views/image_management/images/new.html.erb
M app/views/image_management/images/show.html.erb
M app/views/image_management/provider_images/_provider_image.xml.haml
M app/views/image_management/provider_images/_provider_image_minimal.xml.haml
M app/views/image_management/provider_images/edit.html.erb
M app/views/image_management/provider_images/index.html.erb
M app/views/image_management/provider_images/new.html.erb
M app/views/image_management/provider_images/show.html.erb
M app/views/image_management/target_images/_target_image.xml.haml
M app/views/image_management/target_images/_target_image_minimal.xml.haml
M app/views/image_management/target_images/edit.html.erb
M app/views/image_management/target_images/index.html.erb
M app/views/image_management/target_images/new.html.erb
M app/views/image_management/target_images/show.html.erb
M app/views/image_management/templates/_template.xml.haml
M app/views/image_management/templates/_template_minimal.xml.haml
M app/views/image_management/templates/edit.html.erb
M app/views/image_management/templates/index.html.erb
M app/views/image_management/templates/new.html.erb
M app/views/image_management/templates/show.html.erb
Log Message:
-----------
Merge pull request #18 from jguiditta/update_views
Update views
Compare: https://github.com/aeolus-incubator/image-management-engine/compare/78e55...
10 years, 6 months