]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/rgw: add dnsmasq back to s3a-hadoop 28068/head
authorCasey Bodley <cbodley@redhat.com>
Tue, 14 May 2019 12:30:59 +0000 (08:30 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 3 Jun 2019 17:07:41 +0000 (13:07 -0400)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
qa/suites/rgw/hadoop-s3a/s3a-hadoop.yaml
qa/tasks/s3a_hadoop.py

index d9bf9f28e2a6ca23c8cc73dbc26242fc4aab7895..ed077a89f1969fa561846cf117a826f67b5651f3 100644 (file)
@@ -2,7 +2,10 @@ tasks:
 - install:
 - ceph:
 - ssh-keys:
+- dnsmasq:
+    client.0: [s3.]
 - rgw:
     client.0:
+      dns-name: s3.
 - s3a-hadoop:
     role: client.0
index 926ec26f56fc2a236de8e32cbeac07931b8a2197..2240fee7d70f1ef92c131c445d5e1cb938859354 100644 (file)
@@ -85,8 +85,8 @@ def task(ctx, config):
             run.Raw(hadoop_rel)
         ]
     )
-    configure_s3a(remote, endpoint.hostname, access_key, secret_key, bucket_name, testdir)
-    setup_user_bucket(remote, endpoint.hostname, access_key, secret_key, bucket_name, testdir)
+    configure_s3a(remote, endpoint.dns_name, access_key, secret_key, bucket_name, testdir)
+    setup_user_bucket(remote, endpoint.dns_name, access_key, secret_key, bucket_name, testdir)
     if hadoop_ver.startswith('2.8'):
         # test all ITtests but skip AWS test using public bucket landsat-pds
         # which is not available from within this test