On 07/13/2010 08:07 PM, Jason Guiditta wrote:
Did this fail for you w/o the require? I ran condor last week with no issues here.
(CCing Ian as he could be interested too.)
Yes, it fails, I checked it again and here are some details:
You can reproduce it by clicking on a pool in left panel. After pool instances are listed in main panel, you will see all instances stopped and exception about uninitialized constant is logged in a log file.
In "condormatic_instances_sync_states" method which is called from pool's "list" action, are all instances marked as stopped, in a next step the exception is thrown (and catched and logged) and method returns.
On Tue, Jul 13, 2010 at 5:14 AM, <jprovazn@redhat.com mailto:jprovazn@redhat.com> wrote:
From: Jan Provaznik <jprovazn@redhat.com <mailto:jprovazn@redhat.com>> Condormatic uses REXML::Document, make sure this lib is loaded. --- src/app/util/condormatic.rb | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/app/util/condormatic.rb b/src/app/util/condormatic.rb index 81cf2b9..155fa7d 100644 --- a/src/app/util/condormatic.rb +++ b/src/app/util/condormatic.rb @@ -17,6 +17,8 @@ # MA 02110-1301, USA. A copy of the GNU General Public License is # also available at http://www.gnu.org/copyleft/gpl.html. +require 'rexml/document' + def condormatic_instance_create(task) begin -- 1.7.0.1 _______________________________________________ deltacloud-devel mailing list deltacloud-devel@lists.fedorahosted.org <mailto:deltacloud-devel@lists.fedorahosted.org> https://fedorahosted.org/mailman/listinfo/deltacloud-devel