]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/rgw: add dnsmasq back to s3a-hadoop 29265/head
authorCasey Bodley <cbodley@redhat.com>
Tue, 14 May 2019 12:30:59 +0000 (08:30 -0400)
committerNathan Cutler <ncutler@suse.com>
Wed, 24 Jul 2019 13:29:39 +0000 (15:29 +0200)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 8c8a706b6f4cb3b2a5b89aa1eb06b7e47909852d)

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 d4c61a2b6b3380ebbd85048de9ca32d60dba9a1f..123e739537bfcdf5ac62c971fc9db6268ce215ab 100644 (file)
@@ -82,8 +82,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