catch hardreset upsupported and fix it

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@925 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/hosts/ssh_host.py b/server/hosts/ssh_host.py
index f8e9d77..39e93ab 100644
--- a/server/hosts/ssh_host.py
+++ b/server/hosts/ssh_host.py
@@ -576,7 +576,10 @@
 		print 'Ensuring that %s is up before continuing' % self.hostname
 		if hasattr(self, 'hardreset') and not self.wait_up(300):
 			print "Performing a hardreset on %s" % self.hostname
-			self.hardreset()
+			try:
+				self.hardreset()
+			except AutoservUnsupportedError:
+				print "Hardreset is unsupported on %s" % self.hostname
 		if not self.wait_up(60 * 30):
 			# 30 minutes should be more than enough
 			raise errors.AutoservHostError