We now need to pass configure_via_auth=False to the glance
client constructor to signal that we don't want to have the
endpoint returned by the Keystone service catalog to override
the URL we are already passing in (the [image][host] configuration
option...)
Change-Id: Ie2ef15bfe03efe4b83e687d19283dfa66c25289e
* Added Tempest base test class with test data
* Added logic to base test to reconfigure Tempest
if the flavor/image sections are missing or if
the provided values do not exist
Change-Id: I0c1bb16a65e36a99e6e49493325451c9a3eadaad
overrided by each client and allow better code reuse.
Changes the RestClient to set the token and base_url when
it is needed for a request. Also allows for it to be cleared
so that it can be renewed.
Fixes lp#977594
Change-Id: I040d1c171a4018326a5b700e303652c95a3b3542
It might be anything else than "public" or "private". This fixes bug #978958.
Change-Id: Id15d5416b6e437750d352e38873880fef286cfc0
Signed-off-by: Julien Danjou <julien@danjou.info>
There is unspecifiedness and nonuniformity of the behavior of passing
None values to create server. So don't do it.
The case of the 'meta' keyword argument is ugly and it should be changed
to 'metadata' but the various APIs are inconsistent about this so I didn't
want to mess with that now and risk breaking something.
Change-Id: I3a8a3afbc179a54b524db0e2ed04d1542401f4a7
Use username key as defined in config example.
This fixes bug #978932
Change-Id: Ieff714f1dcbd8502d3f8bb0885371d4e6ff3064f
Signed-off-by: Julien Danjou <julien@danjou.info>
* Adds new AltManager, AdminManager derived manager classes
* Allows Manager to be inited with custom credentials
* Adds config.ComputeAdminConfig class and setup
* Updates test_authorization to use AltManager class
Change-Id: Iff5b20fbdfb8979a775f30f7e07d6e06b29e6c1c
Adds a templatized configuration file to be used
in the devstack-gate scripting to get the Tempest
Jenkins job running smoothly...
Change-Id: I11f64e81f151a49eaf7e977c2294ee35df824943
* Change some auth tests to create clients instead of managers
* Modified expected exceptions for some tests.
Will still need to verify if these changes were
expected.
Change-Id: Ie897b0dd5eacab0b1d12df03fd748c931b3620a5
Added stress environment var for max_instances.
Added tempest var for log_level of rest_client.
Change-Id: Ia92536a547cdab4d2496bd9ba9067be3595b79cd
xxxxx
Change-Id: I8c2f499a41f74c2fe6fb08c80ab6fc31f6b93426
* Adds non-intrusive tests for disk config
* Added method to extensions class to check
if extensions are enabled
Change-Id: I7dcb3a4b1fafb1f7b7179d231af5751faca98018
Fixes an issue causing the the following error when running tempest:
UnboundLocalError: local variable 'password' referenced before
assignment
Also, removes unused api_key param.
Change-Id: If9937a2ea51116f989316e32bb1209f9a8704a6e
* Refactored openstack class to be parameterizable
* Added basic authorization tests
* Added unauthorized exception
* Renamed users to be more specific of their type
Change-Id: I53fc0aa96c23b8cb33f329ff0d753f7f2d6e8d14
It seems that skip on a class does not prevent the setup code from running. It just skips the test methods.
Change-Id: I3b5dae3e5439844351a9342b25f35927ca41630b