70 Commits

Author SHA1 Message Date
Hiroyuki JO
8ee4d0d405 remove upper-constraints.txt from lower-const job
Currently in lower-constraints job, pip install is issued with both
upper-constraints.txt by `install_command` in [testenv] and
lower-constraints.txt by `deps` in [testenv:lower-constraints] so
lower-constraints job actually tests aginst upper-constraints. We need
to remove upper-constraints.txt from lower-constraints job.

Along with the above, update version of mock, olso_messaging and
keystoneatuh1 package in lower-constraints.txt, requirements.txt and
test-requirements.txt.

Change-Id: I9f93075402dd5273a4ab045db5cd15bd4dea8582
2020-01-21 11:23:23 +09:00
shubham potale
0bb6a6bf80 Improve code coverage of openstack module
Added new unit tests to cover create_wait, update_wait, delete_wait,
scale and scale_wait methods. Added heat-client fixture for writing
test cases. Also removed unreachable code in openstack module.

Change-Id: I9c1b5fe2e4efb41368d53cdac8dbbd49eea4b60a
2019-06-12 11:20:00 +00:00
niraj singh
1d7cd6f604 Add functional test for reservation support
Added functional test for reservation support.

Implements: blueprint reservation-vnfm
Change-Id: Ia09240875bd5c0ceb70602d73a0a5c94a4dde060
2019-02-28 06:26:04 +00:00
Zuul
f41274150b Merge "VIM should accept valid boolean values for is_default" 2018-06-28 12:24:08 +00:00
Nguyen Hai
5915585cd2 Switch to using stestr
stestr is maintained project to which all Openstack projects
should migrate.

[1] https://etherpad.openstack.org/p/YVR-python-pti
[2] https://governance.openstack.org/tc/reference/pti/python.html

Change-Id: I3a4a8e6a7c856446686252d80046532e08d3936b
2018-06-14 04:49:05 +00:00
nitesh vanarase
b2ac5b6702 VIM should accept valid boolean values for is_default
In case of create VIM API, is_default_parameter accepts any string
values like "abc" or "1234" and set the value as True. It should
strictly check for valid boolean values.

Fixed this issue by using convert_to_boolean validator. so now, if
you pass any non-boolean value, it will return 400 error to the user.

NOTE:
The below test case fails if we inherit the test class
'..tests.unit.base.TestCase' from '..tests.base.BaseTestCase' with
KeyError:

tacker.tests.unit.nfvo.test_nfvo_plugin.TestNfvoPlugin.
test_create_ns_workflow_no_task_exception

The reason behind the failure is, the raised exception
'..extensions.nfvo.NoTasksException' expects that the 'action' and
'resource' should be passed as arguments to the exception while raising
it to form the exception message. If you don't pass these two arguments
then it fails to form the exception message and raises KeyError.
This happens because the '..tests.base.BaseTestCase' test class uses
exception fixture and sets 'use_fatal_exceptions' to True always which
results into not raising the raised exception again and it tries to
form the exception message and pass it to the base class __init__ for
further processing. It fails and raises KeyError while forming that
exception message because in 'test_create_ns_workflow_no_task_exception'
test case these arguments are not passed to the exception while
raising.

To fix this test case, passed the required 'action' and 'resource'
arguments to the exception while raising it.

DocImpact
Closes-Bug: #1746538
Change-Id: Ib533b38a48d31cb26eecdc546b20b0f99beeaa34
2018-06-06 15:26:53 +05:30
Zuul
5442bc717f Merge "Follow the new PTI for document build [Updated]" 2018-03-26 11:40:14 +00:00
Nguyen Hai
9c143a580d Follow the new PTI for document build [Updated]
Although Tacker docs move to new docs PTI jobs
(https://review.openstack.org/#/c/552046/),
the sphinx is still using legacy pbr runner.

This patch works futher jobs:
- Remove legacy pbr runner, [pbr] section.
- Remove [build_sphinx] section.
as described in:
http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html

Change-Id: Ic65ed5ec145fa8a356fe28f86c3a69e3d20ef3c2
2018-03-22 21:48:08 +09:00
Dirk Mueller
5f28c1191d Remove ordereddict requirement
This was only needed for Python < 2.7, and it doesn't see
to be used by anything.

Change-Id: I816278978a250fb12fd83c7ef4cd2ba82a2f0561
2018-03-20 13:24:59 +01:00
Nguyen Hai
a205c737ff Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
[1] https://governance.openstack.org/tc/reference/project-testing-interface.html
[2] http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: I001f8d12a277e520af85ca18a27ff90b3cd98ae2
Closes-Bug: #1755190
2018-03-17 01:17:35 +09:00
OpenStack Proposal Bot
1e6d2f8ecc Updated from global requirements
Change-Id: I150ecbbc3e97f37988d6169d0758db3c041727ae
2018-03-16 07:46:59 +00:00
OpenStack Proposal Bot
b2562b2c0c Updated from global requirements
Change-Id: Idf0cb1fb9ff786620caeef68ef14b319ccaf9bc8
2018-01-18 03:36:22 +00:00
OpenStack Proposal Bot
2c91ea4dae Updated from global requirements
Change-Id: I910c557dd69328bfae404670ca3f77b377ad59d4
2018-01-16 04:36:01 +00:00
OpenStack Proposal Bot
4750092747 Updated from global requirements
Change-Id: I9b99326ebc5c6f43dd5fb15c57c5f95fd17bb7a0
2017-11-29 09:23:43 +00:00
OpenStack Proposal Bot
9bc0386b47 Updated from global requirements
Change-Id: I0076f9851c0d509354dcb59d6ca427a81b959fa0
2017-09-20 03:45:59 +00:00
OpenStack Proposal Bot
e7c321ae34 Updated from global requirements
Change-Id: I64019b59c5baac5b5a8b4ecb2f8e61a213ba128e
2017-08-22 01:18:40 +00:00
OpenStack Proposal Bot
9783f2ed49 Updated from global requirements
Change-Id: I929735bc0d77f638020a2986c3c19cae950fe63a
2017-08-04 13:00:44 +00:00
OpenStack Proposal Bot
5d8856e1b1 Updated from global requirements
Change-Id: I22303f879fec246204f632d2e519b4eb6bab5710
2017-08-01 03:06:20 +00:00
OpenStack Proposal Bot
e4aa33183b Updated from global requirements
Change-Id: I5d26893d15df70f5c8fb041cbff391193172207d
2017-07-19 02:20:50 +00:00
Jenkins
8fd9521cbe Merge "Support to use barbican to encode vim password" 2017-07-03 05:45:25 +00:00
OpenStack Proposal Bot
dce6690659 Updated from global requirements
Change-Id: I0cca64727958231375b9afad8ebecdfad36521dc
2017-06-27 12:24:08 +00:00
Yan Xing'an
07428d4985 Support to use barbican to encode vim password
1. Add new option 'use_barbican' in config file [vim_keys] section,
   default value is False for Pike.
2. Use fernet to encrypt vim password, and save the fernet key into
   barbican as a secret.
3. Add new fields 'key_type', 'secret_uuid' into VimAuth.auth_cred
   json string. secret_uuid is masked in vim-show or vim-list response.
4. Set the vim's default 'shared' value to False,
   vim can only be used by who created it.
5. Add a devref to show how to test.
6. Add a release note.

Implements: blueprint encryption-with-barbican
Partial-bug: #1667652

Change-Id: I5c779041df5a08a361b9aaefac7d241369732551
2017-06-26 07:23:10 -07:00
OpenStack Proposal Bot
8e2b18ed3f Updated from global requirements
Change-Id: I4bf781b64ca374490b2b1ec8a166a5893cbe4e3d
2017-06-02 22:09:11 +00:00
OpenStack Proposal Bot
acf49d698f Updated from global requirements
Change-Id: Ie2bf3371ecbf8bd90963a2f951c28d17c97ffc1f
2017-05-17 03:59:59 +00:00
OpenStack Proposal Bot
bd942ce238 Updated from global requirements
Change-Id: I0fb047df28915023e6674d216db680f895b68d96
2017-05-15 00:56:39 +00:00
OpenStack Proposal Bot
b37f7b9c37 Updated from global requirements
Change-Id: Icbbea711ca45bd1847f604c59c0d69186bd5cfe9
2017-03-08 05:28:05 +00:00
gong yong sheng
13f4ff41d1 Sync test-requirements with global requirements
In this patch, a tool is provided for team to do the sync to avoid
any gaps with global requirements.

Change-Id: Ie960eae7a2756aa0f267c8ad37ea60f5effe6742
Partial-bug: 1668848
2017-03-06 22:16:37 +08:00
OpenStack Proposal Bot
8332d77197 Updated from global requirements
Change-Id: I2f52c092c9916f5a2d59f920cb8cd3216943cadc
2017-02-13 15:22:27 +00:00
avnish
d4d41aa817 Remove useless cliff requirements
This patch cleans up the requirements.txt list to remove
cliff module not used anymore.

Change-Id: Ie7528109ffe6425b143df7a0aff250b61087850d
2017-01-09 16:54:48 +05:30
OpenStack Proposal Bot
af8866d791 Updated from global requirements
Change-Id: Ia8781cb30c5f28c1ccf66c537f83e3a4a01af8d4
2017-01-06 18:42:25 +00:00
Jenkins
f80a2b1723 Merge "Initial api-ref skeleton for Tacker" 2016-11-17 22:46:50 +00:00
OpenStack Proposal Bot
72f1355aed Updated from global requirements
Change-Id: Ib247969cef497380e2909264c8a4f6474c6f2909
2016-11-16 22:17:50 +00:00
Sridhar Ramaswamy
dcd5e78ec4 Initial api-ref skeleton for Tacker
This patch is the first step to bring the NFV Orchestration
API Reference to the repository.
It is a part of the effort described here [1]:

[1] https://wiki.openstack.org/wiki/Documentation/Migrate#API_Reference_Plan

Once this skeleton patch is merged, an api-ref job can be added to
the gate. The gate job makes it much easier to review API Reference
contents, which will be brought by follow-on patches.

Change-Id: I7cc587f2c7b3c546be9cd11bad7e3b4eeacad171
Co-Authored-By: Naoya Harada <n-harada@vx.jp.nec.com>
2016-11-15 16:25:00 +09:00
OpenStack Proposal Bot
f6e4cdc15f Updated from global requirements
Change-Id: If259654bfad87f61c0c4d0f223082d43c30b5dd0
2016-11-02 22:02:20 +00:00
OpenStack Proposal Bot
6b758a5e35 Updated from global requirements
Change-Id: I7fbf4b3a08f6ce0ceedb2226aecb101cd7d8e0f8
2016-10-22 01:28:41 +00:00
OpenStack Proposal Bot
51a40061dc Updated from global requirements
Change-Id: Ic8aabe66cdd06efc33b864a12af4af0da094c9be
2016-10-02 20:36:01 +00:00
OpenStack Proposal Bot
a2c2f8e674 Updated from global requirements
Change-Id: I92f1e6e712e659396f7985f8f3bbcbd30f0783d0
2016-09-29 05:14:57 +00:00
OpenStack Proposal Bot
99c7433cb5 Updated from global requirements
Change-Id: I71b5151d2783026e4a6bf979db28ad9b07b81e51
2016-09-01 10:55:15 +00:00
gong yong sheng
a40d63d2e3 Move tempest_lib to tempest.lib
Change-Id: Ic08332e6a0c4a44496bc58d80efcd2c4e11fb8ec
Closes-bug: 1618684
2016-08-31 15:52:42 +08:00
OpenStack Proposal Bot
3ad2dc64f7 Updated from global requirements
Change-Id: Ic83d6cca9f0e6c109c761cfc61f9a5e25b8d5fdb
2016-08-30 03:54:44 +00:00
OpenStack Proposal Bot
0077dce42c Updated from global requirements
Change-Id: I2bae4b013b74ea5b54c81613c119641ea95af0bf
2016-08-08 11:09:49 +00:00
Swapnil Kulkarni (coolsvap)
762ad5a56a Remove discover from test-requirements
It's only needed for python < 2.7 which is not supported

Change-Id: I08d764ca74df4a91d37171a7c9a2419d787f7434
2016-07-21 08:06:36 +00:00
Sridhar Ramaswamy
39a0ccaa23 Add python-tackerclient to test-requirements.txt
python-tackerclient is now available in global
requirements [1]. Moving to use pip dependency
to pull in tackerclient instead of directly
referring to the release tarball.

[1] https://review.openstack.org/334641

Change-Id: I2bc758a56f2371671db60eb626ae87194506c0a4
2016-07-05 06:02:34 +00:00
OpenStack Proposal Bot
b97c14158f Updated from global requirements
Change-Id: Iad8206fe24660b1425f765e9dc7944a9f28b3d39
2016-06-24 08:46:44 +00:00
OpenStack Proposal Bot
ae9d314d71 Updated from global requirements
Change-Id: I798806844206adc3188140e595fbfb240b50acb6
2016-06-21 18:06:47 +00:00
Andreas Jaeger
fe26179b63 Remove double requirement
The translation proposal job complains about double requirements, remove
the extra one of six from test-requirements, since it's enough to have
it in requirements.txt.

Message was:
"Double requirement given: six>=1.9.0 (from -r
/home/jenkins/workspace/tacker-propose-translation-update/test-requirements.txt
(line 11)) (already in six>=1.9.0 (from -r
/home/jenkins/workspace/tacker-propose-translation-update/requirements.txt
(line 20)), name='six')"

to reproduce, run:
tox -e venv -- sphinx-build -b gettext -d releasenotes/build/doctrees releasenotes/source releasenotes/work

This fails without the change and works now.

Change-Id: Ia7b3bc86a348b3254a580cf3eaa3f6a13fe52861
2016-06-15 07:03:53 +00:00
Jenkins
f6614c229d Merge "Add reno support to tacker" 2016-06-06 21:05:01 +00:00
Tin Lam
cce8dc64e8 Add reno support to tacker
Added release notes management to tacker project similar
to other OpenStack projects.  See [1].

[1] http://lists.openstack.org/pipermail/openstack-dev/2015-November/078301.html

Change-Id: I0efbf340251ba2cfb6a862f2c50905453d873e3d
2016-06-05 01:41:12 -05:00
OpenStack Proposal Bot
3f6b27bbe4 Updated from global requirements
Change-Id: Ib420583a431218529b0e7a8d7fca80aa3bf67b15
2016-06-02 21:13:04 +00:00
OpenStack Proposal Bot
46663a4cbf Updated from global requirements
Change-Id: I9e52698142ffcd2f49f043b42464b7c7aa6ad215
2016-05-30 20:47:03 +00:00