4123 Commits

Author SHA1 Message Date
Jose Castro Leon
fd23ebfbf3 Add missing parameters on openstack server rescue
Change-Id: I27afca9e826378dbcb7feb7528e0c65c528b04b0
Closes-Bug: #1703278
2017-10-27 14:52:04 +00:00
Zuul
09faba2713 Merge "Move base functional test job in-repo" 2017-10-17 14:10:51 +00:00
Dean Troyer
4733621ecb Move base functional test job in-repo
Depends-On: I26ed12133c75a69182c56b6ecf483fcdc37d98f3
Change-Id: Ib46eed6e038a502926bf92297120e2d494ef5b20
2017-10-15 23:52:55 +00:00
Ian Wienand
358544d40e Switch to $USER in post_test_hooks
As a first step to zuul migration, switch to $USER from a static
"jenkins" username.

Change-Id: I26ed12133c75a69182c56b6ecf483fcdc37d98f3
2017-10-16 10:50:13 +11:00
Jenkins
33403348a2 Merge "Optimize getting endpoint list" 2017-10-13 18:25:45 +00:00
Rodolfo Alonso Hernandez
885b1149c3 Avoid default mutable values in arguments
Mutable values shouldn't be used as default values in function
arguments [1].

[1] http://docs.python-guide.org/en/latest/writing/gotchas/

Change-Id: I3c7f915f0409c77f4c430467365eb1bcfd7757b3
2017-10-10 14:04:40 +01:00
OpenStack Proposal Bot
a87bd58fb4 Updated from global requirements
Change-Id: I79e4ddb75c7cf7088d6f0abc79f9f07dcd165535
2017-10-05 13:51:35 +00:00
Hongbin Lu
de23ab8d75 Support creating unaddress neutron port
Introduce an option '--no-fixed-ip' on port create command.
If this option is specified and '--fixed-ip' is unspecified,
OSC will send a request to neutron with 'fixed_ips' as an empty
list, which will create an unaddress neutron port.

Note: The use cases of unaddress port was outlined in:
https://specs.openstack.org/openstack/neutron-specs/specs/liberty/unaddressed-port.html

(dtroyer: add Depends-On for Zuul v3 test)

Depends-On: I39e8e49243ab0bda631600715c971c55a34e2fd9
Change-Id: Ibe38598acbbcd0d353c952fc2a6fa67780762151
Closes-Bug: #1717829
2017-09-29 18:49:22 +00:00
Jenkins
a452c9d825 Merge "Support icmp-type and icmp-code to be set as zero" 2017-09-27 05:49:50 +00:00
Jenkins
2476a995cf Merge "Fix 'project purge' deletes ALL images problem" 2017-09-27 05:27:52 +00:00
Jenkins
2c77aba363 Merge "Add "volume service list --host" functional test case" 2017-09-26 23:15:31 +00:00
Jenkins
fe28472b74 Merge "Update the documentation link for doc migration" 2017-09-26 23:14:49 +00:00
Anton Frolov
f6f5ce03c5 Optimize getting endpoint list
Currently ListEndpoint.take_action method unconditionally iterates
over all endpoints and issue GET /v3/services/<ep.service_id>
request for each endpoint. In case of HTTPS keystone endpoint this
can take significant amout of time, and it only getting worse in
case of multiple regions.

This commit change this logic to making just two GET requests: first
it gets endpoint list, then it gets service list, searching service
in the list instead of issuing GET /v3/services/<id> request.

Change-Id: I22b61c0b45b0205a2f5a4608c2473cb7814fe3cf
Closes-Bug: 1719413
2017-09-26 14:31:07 -07:00
gvrangan
221b7052ab Support icmp-type and icmp-code to be set as zero
When icmp-type or icmp-code are set to 0, the current implementation
ignores the value, this fix will allow the value to be copied and
displayed

Change-Id: I96133a57883d22e98fcbb9fe0328d9e050472469
Signed-off-by: gvrangan <venkatrangang@hcl.com>
2017-09-26 21:00:14 +00:00
lihaijing
254dbf3294 Fix 'project purge' deletes ALL images problem
Closes-Bug: #1717130
Change-Id: I33c6fc7897dfee85d1c197a1267bde4abfa5bbd9
2017-09-26 20:49:32 +00:00
lingyongxu
41352cb375 Update the documentation link for doc migration
This patch is proposed according to the Direction 10 of doc
migration(https://etherpad.openstack.org/p/doc-migration-tracking).

Change-Id: Ieca93d77bfc5e54486312f16122cc12c5bda0934
2017-09-21 10:47:31 +00:00
OpenStack Proposal Bot
953d74b5d6 Updated from global requirements
Change-Id: I9509fb386bc28eaaeab8d27f4cfc7109ec261b73
2017-09-21 03:50:03 +00:00
Jenkins
f88d2f53ba Merge "Add functional test cases for "volume qos associate/disassociate"" 2017-09-19 12:51:14 +00:00
Jenkins
763288f605 Merge "Unroll the network qos policy functional tests" 2017-09-19 12:51:07 +00:00
Jenkins
a060ba8217 Merge "Add python-zunclient plugin" 2017-09-19 08:53:55 +00:00
lihaijing
844623ccc4 Add "volume service list --host" functional test case
Change-Id: I467252d9fc6083fb891a8701d7992f16ce42556f
2017-09-19 14:06:27 +08:00
lihaijing
edebe558ee Add functional test cases for "volume qos associate/disassociate"
Change-Id: I07b25bebb8a0ea18cdf042357be65c4ec6e1cfed
Closes-Bug: #1717874
2017-09-18 12:30:12 +00:00
Jenkins
39c00ab8b7 Merge "Useless line of code in shell.py" 2017-09-18 04:03:15 +00:00
Dean Troyer
59bba7c0d2 Unroll the network qos policy functional tests
These seem to have gotten a bit racy in the last revision, just do
it the long way now.

Change-Id: I3748b8b4f264dbfa8c991b32653682e5c86eeb4c
2017-09-17 13:52:12 -05:00
Jenkins
21542d1e6e Merge "Attempt to work around chronically failing server issues with aggregates and qos" 2017-09-16 17:44:32 +00:00
Jenkins
40a0ce5c94 Merge "Updates for stestr" 2017-09-15 23:13:49 +00:00
Hongbin Lu
e785570406 Add python-zunclient plugin
This patch adds the "appcontainer" commands to the docs and sets
up the document generation for the python-zunclient plugin

Change-Id: I58bd208e98bd059d9df03ee71dcb83779044f83a
2017-09-15 18:24:12 -04:00
Dean Troyer
949e0cb3c6 Attempt to work around chronically failing server issues with aggregates and qos
So yeah, this is not kosher for functional tests, but we're testing the
client interaction, not the raciness of Nova or Neutron.  Failure to delete
is not our problem.

Change-Id: I21043f1de0fbacee1aec63110fb12a7cff42e0a0
2017-09-15 12:34:15 -05:00
Matthew Treinish
12552cee70 Fix subunit collection in functional tests with ostestr>=1.0.0
With the release of os-testr 1.0.0 stestr is used internally and because
of that the repository dir and commands to get subunit are different.
This commit updates the post-test hook to get the subunit stream if
ostestr>=1.0.0 is used.

Change-Id: I2cce7f4780ce418398b17a5848def9072372841e
2017-09-15 10:35:53 -05:00
Dean Troyer
7274e8efe6 Updates for stestr
Change-Id: I860981f06e31abda3141a0cb4fd13a0d49080b50
2017-09-15 06:32:58 +00:00
Jenkins
f63bb18003 Merge "Updated from global requirements" 2017-09-13 18:18:45 +00:00
Jenkins
a4490b876e Merge "Fix output for subnet show" 2017-09-13 16:52:55 +00:00
OpenStack Proposal Bot
c7671dd9a4 Updated from global requirements
Change-Id: Ibeed9c623a6ef1c641c121a2b5ee75920346056f
2017-09-13 13:02:59 +00:00
Jenkins
c98ff623f2 Merge "Correct import of keystoneauth1 session" 2017-09-13 08:34:34 +00:00
OpenStack Proposal Bot
95378bb37d Updated from global requirements
Change-Id: I30be8748ef78604eb63c61e1dcf5fc5a740822aa
2017-09-13 00:15:31 +00:00
Gage Hugo
760e91abcf Correct import of keystoneauth1 session
keystoneclient.session has been long deprecated in favor of
keystoneauth1.session. This change corrects the import in the
tests to use the correct library's session.

Change-Id: Ic24ebde59e4b9eb70d6f14c1e0536f8d24f0de73
2017-09-12 22:19:32 +00:00
Dean Troyer
ce468209c4 Skip Volume v1 functional tests if v1 not present
Volume v1 is gone in Queens

Just skip it for now until DevStack does not create a v1 endpoint

Change-Id: I2aa2f78b0d5c8ac2048c922c7835e5c4574028cc
2017-09-12 19:50:15 +00:00
Jens Harbott
104d6d0e31 Fix output for subnet show
The use_default_subnet_pool column is never returned by the API, it is
only being used in the request to create a subnet. So make sure that we
do not show it when displaying a subnet.

Change-Id: Ie021149cceb8f89b779ad0f3c13ac60420509671
Related-Bug: 1668223
2017-09-12 14:21:49 +00:00
Huan Xiong
61025bf102 Useless line of code in shell.py
Shell.py contains lines to import osprofiler. This is useless
because osprofiler options support code was moved to osc-lib.

Removed it.

Change-Id: Ibec17700c87df908640848c3787d190ca66a7bcf
Closes-Bug: #1707103
2017-09-08 06:28:15 +00:00
OpenStack Proposal Bot
8f4440a6de Updated from global requirements
Change-Id: I1c5bc67d82b7a123530a7e8a6af5ca4f7faf53f0
2017-09-06 03:15:36 +00:00
OpenStack Proposal Bot
de2af66c16 Updated from global requirements
Change-Id: If52bacff8458010d2762bfac5ecea29f5fb54f01
2017-09-01 12:47:11 +00:00
Jenkins
06d470fb27 Merge "Update image cli doc and fix some typos" 2017-08-25 23:30:38 +00:00
Jenkins
c9742e8062 Merge "Convert remaining network functional tests to JSON" 2017-08-25 10:35:22 +00:00
lihaijing
ff91e26983 Update image cli doc and fix some typos
Change-Id: I0a8d095e51a96804c97612e28fac2d00aa94c638
Closes-Bug: #1711284
2017-08-25 08:08:31 +08:00
Jenkins
50099d3c72 Merge "Convert network qos functional tests to JSON" 2017-08-24 17:58:23 +00:00
Jenkins
36aec29c67 Merge "Updated from global requirements" 2017-08-24 17:14:21 +00:00
Jenkins
33d0b88f0b Merge "Convert network security group functional tests to JSON" 2017-08-24 15:43:21 +00:00
Jenkins
aa3791b4e3 Merge "flake8-import-order: Ensure to place project imports last" 2017-08-24 15:43:14 +00:00
OpenStack Proposal Bot
e62587625f Updated from global requirements
Change-Id: I45705bad68f0615dbf09d46a2a487b9fed1abb10
2017-08-24 11:48:43 +00:00
Akihiro Motoki
c1404f14b8 Convert remaining network functional tests to JSON
Change-Id: Ib7dff5506cc69549b5b1fbb8bf6e649468563dd6
2017-08-23 21:15:24 +00:00