]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Fix get_status() to find client.rados text inside of ps command results. 1280/head
authorWarren Usui <warren.usui@inktank.com>
Fri, 21 Feb 2014 05:11:45 +0000 (21:11 -0800)
committerWarren Usui <warren.usui@inktank.com>
Wed, 26 Feb 2014 00:49:39 +0000 (16:49 -0800)
Added port (fixed value for right now in teuthology) to hostname.
Fixes: 7374
Signed-off-by: Warren Usui <warren.usui@inktank.com>
qa/workunits/rgw/s3_multipart_upload.pl

index 0f40119ef7690b5c868aededfb8c28f68909e074..2566688e9b5c4e8748b1a14659cc9fadfc1dea23 100755 (executable)
@@ -45,7 +45,7 @@ Pod::Usage::pod2usage(-verbose => 1) && exit if ($help);
 my $s3;
 my $domain   = "front.sepia.ceph.com";
 my $host     = get_hostname();
-our $hostname = "$host.$domain";
+our $hostname = "$host.$domain:7280";
 my $testfileloc;
 my $sec;
 my $min;
@@ -77,7 +77,7 @@ sub get_status {
     my $service = "radosgw";
     my $cmd = "ps -ef | grep $service | grep -v grep";
     my $status = get_cmd_op($cmd);
-    if ($status =~ /client.radosgw/ ){
+    if ($status =~ m/client.radosgw/ ){
         return 0;
     }
     return 1;