Closed EmilienM closed 10 years ago
@EmilienM you are correct ;)
I agree with your solution just one things concerns me, we need to have OS_AUTHURL
, OS_USERNAME
, etc... to be exported so we could use the keystone-client. Beyond that point I agree.
@Spredzy you can give all parameters: http://docs.openstack.org/user-guide/content/keystone_client_commands.html So there is no need to export them. Just add them in the arch.yaml as params and consume it from tests.
Example with: https://github.com/enovance/puppet-cloud-serverspec/blob/master/spec/tests/identity/identity_spec.rb
If MySQL server is not on Keystone server, the test will fail. It's the same for some other tests. It's not a good way to test Keystone by using simple mysql command, but maybe it could be good to use Keystone API directly?