deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject git commit: RHEV-M: Report not memory available as 502 (Backend error) (DTACLOUD-154)
Date Thu, 08 Mar 2012 12:34:41 GMT
Updated Branches:
  refs/heads/master 68d99751e -> 54a3b7af0


RHEV-M: Report not memory available as 502 (Backend error) (DTACLOUD-154)


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/54a3b7af
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/54a3b7af
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/54a3b7af

Branch: refs/heads/master
Commit: 54a3b7af08e5e5c23f276f230e81f1d50a0be799
Parents: 68d9975
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Thu Mar 8 13:35:40 2012 +0100
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Thu Mar 8 13:35:40 2012 +0100

----------------------------------------------------------------------
 .../lib/deltacloud/drivers/rhevm/rhevm_driver.rb   |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/54a3b7af/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb
----------------------------------------------------------------------
diff --git a/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb b/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb
index dfe77b3..2a9c0b1 100644
--- a/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb
+++ b/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb
@@ -335,7 +335,7 @@ class RHEVMDriver < Deltacloud::BaseDriver
       status 501
     end
 
-    on /(InternalServerError|nodename nor servname provided)/ do
+    on /(InternalServerError|nodename nor servname provided|no available running Hosts)/
do
       status 502
     end
 
@@ -343,7 +343,7 @@ class RHEVMDriver < Deltacloud::BaseDriver
       status 404
     end
 
-    on /(RestClient|RHEVM|OVIRT)/ do
+    on /(RestClient|RHEVM|OVIRT|)/ do
       status 500
     end
 


Mime
View raw message