]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/ragweed: set system flag on system user
authorYehuda Sadeh <yehuda@redhat.com>
Tue, 21 Feb 2017 22:15:42 +0000 (14:15 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Mon, 19 Feb 2018 22:45:51 +0000 (14:45 -0800)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
qa/tasks/ragweed.py

index ab3e04336057dfa77713c7b342f8f87eb13dfe0a..e610f787e031b8334b7e42205ada4d4beb6daf5f 100644 (file)
@@ -107,6 +107,10 @@ def create_users(ctx, config):
         for section, user in users.iteritems():
             _config_user(ragweed_conf, section, '{user}.{client}'.format(user=user, client=client))
             log.debug('Creating user {user} on {host}'.format(user=ragweed_conf[section]['user_id'], host=client))
+            if user == 'sysuser':
+                sys_str = 'true'
+            else:
+                sys_str = 'false'
             ctx.cluster.only(client).run(
                 args=[
                     'adjust-ulimits',
@@ -120,6 +124,7 @@ def create_users(ctx, config):
                     '--access-key', ragweed_conf[section]['access_key'],
                     '--secret', ragweed_conf[section]['secret_key'],
                     '--email', ragweed_conf[section]['email'],
+                    '--system', sys_str,
                 ],
             )
     try: