2052 Commits

Author SHA1 Message Date
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
Daryl Walleck
a22f57b3a9 Fixes lp#960647
* Corrected api_key to password in auth exception

Change-Id: Ia609423f7c5b331b22da650491b8e94aa225ff82
2012-03-20 16:52:48 -05:00
Jenkins
1d2d921bb8 Merge "Fixes bug 938953 parsing of image id" 2012-03-20 21:46:51 +00:00
rajalakshmi-ganesan
ddd9e0ee15 Fixes bug 902374-Negative tests for Volumes
Change-Id: Ic8f9f92f2f927f00c2eac0b6ba027ba4a45098bc
2012-03-21 00:52:56 +05:30
Daryl Walleck
ced8eb888b Addresses lp#940832
* 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
2012-03-19 17:01:05 -05:00
David Kranz
d10601cd9b Remove glance dependency. Fixes bug 944410.
It seems that skip on a class does not prevent the setup code from running. It just skips the test methods.

Change-Id: I3b5dae3e5439844351a9342b25f35927ca41630b
2012-03-15 15:58:28 -04:00
Jenkins
86c01abacf Merge "Initial checkin of Stress Test for nova." 2012-03-15 16:38:02 +00:00
donald-ngo
af839c3775 Fixes bug 938953 parsing of image id
Change-Id: I8cac92af3cc40174d4acc390913be90fa5a7552c
2012-03-14 13:51:50 -07:00
Jay Pipes
ef6b5fc8fc Fixes LP Bug# 955349 - No init file in compute tests
* Adds a dunderinit file to tempest/tests/compute to enable
  server addresses tests...

Change-Id: Iad3b7956f31fc5952831172d4b862d2a63aa631f
2012-03-14 14:43:55 -04:00
Jay Pipes
e0c45c1b38 Fixes LP Bug#953450 - Remove vestigial ssh_timeout
AttributeError was occurring in ImageMetadataTest due
to old unused ssh_timeout config value

Change-Id: I25b0d2c7558cd7cd56fad26d766e16e1906cb4f2
2012-03-12 17:43:34 -04:00
David Kranz
6308ec2d03 Initial checkin of Stress Test for nova.
Change-Id: I1c4c656e3b8ec715524d369c226ec122920f89fb
2012-03-12 16:20:08 -04:00
Dan Prince
951959239d Lowercase boolean configs before comparison.
Lowercase boolean config params before comparison.

Fixes issues where 'use_ssl=False' doesn't actually work...

Change-Id: I865e6b3c84341f0d05248f63fe9dec59ec325d74
2012-03-12 15:15:49 -04:00
Jenkins
3d9da9ba42 Merge "Addresses lp#942382 - refactor configuration for clarity" 2012-03-12 17:33:08 +00:00