]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks/keystone: use "keystone-manage bootstrap"
authorKefu Chai <kchai@redhat.com>
Sun, 31 May 2020 00:38:00 +0000 (08:38 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 2 Jun 2020 01:48:32 +0000 (09:48 +0800)
commita53c69943ca363c6e7b377f5c538553e037d9bf5
tree900c50cd0af9c471d44942ad94a2da60f68d3f5e
parent8cb3f0411d4e8ff32f54a447c638187f0e7e42ae
qa/tasks/keystone: use "keystone-manage bootstrap"

* qa/tasks/keystone.py:
  instead of prefilling keystone manually, use "keystone-manage bootstrap"
  instead. it helps to setup the admin user, a "Default" domain with
  "default" id, and wire them up with the expected role and a "admin" project,
  etc. as id of the admin domain is known to be "default", we can just use it
  in our tests without querying openstack for the id of "Default"
  domain. this is very handy.
* qa/suites/rgw/tempest/tasks/rgw_tempest.yaml:
  use "Default" for domain name. as "Default" is the name of the domain
  created by bootstrap, while "default" is its id.
* qa/suites/rgw/crypt/2-kms/barbican.yaml:
  remove settings to bootstrap keystone

Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/suites/rgw/crypt/2-kms/barbican.yaml
qa/suites/rgw/tempest/tasks/rgw_tempest.yaml
qa/tasks/barbican.py
qa/tasks/keystone.py