4014 Commits

Author SHA1 Message Date
Jenkins
e81e01d294 Merge " Adds an identity admin client and API tests for keystone roles." 2012-05-07 13:31:49 +00:00
Jay Pipes
4759ac6412 Fixes LP #992640 - Volumes sometimes not cleaned
* Adds some error handling to the volume list test case
  that properly handles the (fairly common) case for when
  Nova's volume group backing file size is too small to create
  the needed 3 1G volumes for the test

Change-Id: Ice367b73303d74c529351d7bd4d9a4e9b1348e07
2012-05-06 15:17:14 -04:00
Rohit Karajgi
aeddf63587 Moved parse_image_id() to data_utils
Change-Id: Ifde3ae48d2d988c3f712e0e5aec016b2390960a8
2012-05-04 07:56:42 -07:00
Jenkins
4b3799c1c3 Merge "Fixed the LP bug 993739." 2012-05-03 16:29:24 +00:00
Jenkins
4745bec8a2 Merge "Fixed LP bug 991806. Ensures that floating IP created in test is destroyed in a finally: block" 2012-05-03 15:43:08 +00:00
saradpatel
26bf032cf9 Fixed the LP bug 993754.
Ensure that the server created in the test is destroyed in finally: block of the test.

Change-Id: I78b731f79f2b7b6f2673203b8d47bff858c368dc
2012-05-02 23:20:17 -07:00
saradpatel
e81028a3f0 Fixed the LP bug 993739.
Ensures that the servers created in the tests are destroyed in finally: block in the test.

Change-Id: If5fb27f7dd7f99293ade59a23dd1aa36d450f850
2012-05-02 22:36:06 -07:00
chris fattarsi
a6c2a73f38 Adds key_name parameter in create_server
Fixes bug 993632

Change-Id: I2c7915b09367934fcaf69a27a2361ec413ddf3f9
2012-05-02 17:00:19 -07:00
ravikumar venkatesan
89a68573e3 fix for bug 992877
Change-Id: I7982f539d41ce23854c36aa8fe38de76c3eef190
2012-05-01 22:01:24 +00:00
saradpatel
e9e737d149 Ensures that floating IP created in test is destroyed in a finally: block
Fix for the Bug 991842

Change-Id: I11c57a9c2219d783ec95b993dec16a9a707da332
2012-05-01 09:43:06 -07:00
saradpatel
6e28c1b451 Fixed LP bug 991806.
Ensures that floating IP created in test is destroyed in a finally: block

Change-Id: Ifd98e32372229c5d08f145df7612fa78ca62035a
2012-05-01 08:03:46 -07:00
chris fattarsi
8ed39ac8b4 Adds an identity admin client and API tests for keystone roles.
Added a config option for the [identity] section
     * catalog type - to specify endpoints for the Identity service

    Fixes bug 902389

Change-Id: I429d8bbfe3e6de8432a1a7b79a8676c63925f78f
2012-04-30 18:26:41 -07:00
Jay Pipes
ad6feca97e Fixes LP #992096 - Add configure_via_auth=False
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
2012-04-30 16:04:18 -04:00
Daryl Walleck
c7251962fe Addresses lp#948243 - Tempest handles misconfig better
* 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
2012-04-30 12:35:23 -05:00
Jenkins
e463c26dbd Merge "Use `username' in ImagesConfig" 2012-04-26 20:28:45 +00:00
Jenkins
e343a6869f Merge "Clients subclass the RestClient to allow attributes to be overrided by each client and allow better code reuse." 2012-04-26 20:12:47 +00:00
David Kranz
73cb6a79af Remind user about log_level.
Change-Id: I70284f64769429c2605bde1acd7e741476580316
2012-04-26 15:38:30 -04:00
Jenkins
58a72e8825 Merge "Added keypairs negative tests, removed unused client objects" 2012-04-26 19:21:12 +00:00
saradpatel
629c744359 fixed the bug 983856. Pep8 complient made
Change-Id: I6956020b9829fb02ce09b129d44b378f4b0c18c1
2012-04-26 00:22:39 -07:00
Jenkins
c14afae41d Merge "Do not assume network names" 2012-04-25 12:06:37 +00:00
Rohit Karajgi
b4825c338e Added keypairs negative tests, removed unused client objects
Change-Id: Ib5953f5795ca265f577b25d876cf2013fa14c2c1
2012-04-24 16:42:02 -07:00
Armando Migliaccio
dc7d017038 bug 985867: remove conf_from_devstack in favor of
devstack.git/tools/configure_tempest.sh

remove the broken utility script and update README.

Change-Id: I657e59dba77dd2e0f04d4d3a55f2fc8b430568c2
2012-04-24 21:31:09 +01:00
chris fattarsi
5098fa2ae2 Clients subclass the RestClient to allow attributes to be
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
2012-04-21 09:46:28 -07:00
Julien Danjou
24ea4ad629 Do not assume network names
It might be anything else than "public" or "private". This fixes bug #978958.

Change-Id: Id15d5416b6e437750d352e38873880fef286cfc0
Signed-off-by: Julien Danjou <julien@danjou.info>
2012-04-13 13:51:48 +02:00
David Kranz
28e79de897 Don't pass None for any values in post body.
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
2012-04-12 15:49:41 -04:00
David Kranz
1b3bf7f93d Allow skip of disk_config tests that require resize.
Change-Id: I6fc1441c2ba427d7cea83678c84e4342a2a46103
2012-04-12 14:39:23 -04:00
David Kranz
5334dec1d1 Don't pass disk config as None. Fix for bug 980119
Change-Id: Iebf920114454eaae9d250df51e4a4c219786fcda
2012-04-12 13:58:08 -04:00
Jenkins
05acb29a67 Merge "Adds basic tests for disk config extension" 2012-04-12 15:58:11 +00:00
Christophe Sauthier
1650a1375d Add License to Tempest.
Add Apache License to Tempest. Fix bug 979172.

Change-Id: Ia23f590bbb1f299916ede35693ec184c9b6d6c62
2012-04-12 16:04:36 +02:00
Julien Danjou
75a677e15d Use `username' in ImagesConfig
Use username key as defined in config example.

This fixes bug #978932

Change-Id: Ieff714f1dcbd8502d3f8bb0885371d4e6ff3064f
Signed-off-by: Julien Danjou <julien@danjou.info>
2012-04-11 15:49:58 +02:00
Jay Pipes
ff10d5577d Fixes LP 973338 - Add custom alt and admin manager
* 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
2012-04-09 13:34:38 -04:00
Jay Pipes
017e95c01e Adds config file template (for use in gate script)
Adds a templatized configuration file to be used
in the devstack-gate scripting to get the Tempest
Jenkins job running smoothly...

Change-Id: I11f64e81f151a49eaf7e977c2294ee35df824943
2012-04-04 16:16:06 -04:00
Jenkins
6f511b1b30 Merge "Remove obsolete config file." 2012-04-04 06:32:51 +00:00
Jenkins
07c2f944b3 Merge "Enabling flavor marker tests" 2012-04-03 18:52:46 +00:00
Jenkins
973a2eeab1 Merge "Fixes lp##971527" 2012-04-03 18:07:16 +00:00
Sean Dague
70112368eb Convert to UNIX line endings
Fixes bug #972660

Change-Id: Iffe099504ae847ab2435e867860ab6bac6ca8252
2012-04-03 13:50:27 -04:00
David Kranz
6a6957f55a Remove obsolete config file.
Change-Id: I04108fd6b8694f490e1d96f02523542ef2b75a7b
2012-04-03 10:54:36 -04:00
Daryl Walleck
7203667ed7 Enabling flavor marker tests
* Removed expected failure decorator from flavor marker tests
  since lp912922 is fixed

Change-Id: I63210f683a07dbece952176d7332a641a7e8c63a
2012-04-02 22:04:56 -05:00
Jenkins
4a76996578 Merge "Fixes bug 960864- Testcases for the action list Volumes and list Volumes with Detail" 2012-04-03 00:32:26 +00:00
Daryl Walleck
dc9e0c43f5 Fixes lp##971527
* 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
2012-04-02 17:18:02 -05:00
David Kranz
7490e959ff Properly handle skipping if no alt user.
Change-Id: Id1f7a68978657c3f902089713de9b4b2188c6fa5
2012-04-02 15:24:36 -04:00
David Kranz
180fed1afa Fix and simplify reboot stress test. Add new env stuff.
Added stress environment var for max_instances.
Added tempest var for log_level of rest_client.

Change-Id: Ia92536a547cdab4d2496bd9ba9067be3595b79cd

xxxxx

Change-Id: I8c2f499a41f74c2fe6fb08c80ab6fc31f6b93426
2012-04-02 09:43:39 -04:00
Jay Pipes
3f981df854 Refactor configuration setup and document config
* Adds documentation to the sample config file/template
* Adds some log output for making diagnosing config issues easier
* Rework the authorization test config option names
* Remove obselete release_name config options
* Remove ssh_timeout unused option

Change-Id: Ia5d539771920728424bd73db3532f7670077e44d
2012-03-28 18:33:25 -04:00
Daryl Walleck
e36d500393 Adds basic tests for disk config extension
* Adds non-intrusive tests for disk config
* Added method to extensions class to check
  if extensions are enabled

Change-Id: I7dcb3a4b1fafb1f7b7179d231af5751faca98018
2012-03-28 10:04:25 -05:00
rajalakshmi-ganesan
b446557873 Fixes bug 960864- Testcases for the action list Volumes and list Volumes with Detail
Change-Id: I37fca6a72d6e998bd8e084deea4388a6e897ae96
2012-03-28 16:21:16 +05:30
David Kranz
764b51bafb Avoid new bug 963248.
Change-Id: If065d124b3a69178871e0a8a36db5dd3aa367fd7
2012-03-26 16:33:56 -04:00
Dan Prince
c341a90d16 Fix unbound local variable 'password error.
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
2012-03-23 12:03:44 -04:00
Jenkins
1ae147e18d Merge "Addresses lp#940832" 2012-03-22 17:46:07 +00:00
David Kranz
30fe84adbd Generalize configuration for controller access.
Add comment about libvirt resize.

Fix stress bug.

Change-Id: Ieb751abd24fb7a5bc4747550c465541ab2fbfc9e
2012-03-21 12:50:21 -04:00
Jenkins
e7c423e8a2 Merge "Fixes bug 902374-Negative tests for Volumes" 2012-03-20 22:03:04 +00:00