From c8ecdbbd0d2ab938907fc3486747f31468ed818d Mon Sep 17 00:00:00 2001 From: Igor Shishkin Date: Tue, 8 Oct 2013 17:27:45 +0400 Subject: [PATCH] Fixed issue in unrecognized xvd* block devices by nailgun (Closes PRD-1995) Change-Id: I4edb637a915b2ae33dd76737e4cf6506b7b8952a --- bin/agent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/agent b/bin/agent index d05e19af86..8e599937f2 100755 --- a/bin/agent +++ b/bin/agent @@ -224,7 +224,7 @@ class NodeAgent begin (@os[:block_device] or {} rescue {}).each do |bname, binfo| - if /^(sd|vd|hd|cciss).+$/ =~ bname and binfo + if /^(sd|vd|hd|cciss|xvd).+$/ =~ bname and binfo dname = bname.gsub(/!/, '/') # 512 bytes is the size of one sector by default block_size = 512