4439 Commits

Author SHA1 Message Date
qingszhao
0461b7ce0c add lib-forward-testing-python3 test job
This is a mechanically generated patch to add a functional test job
running under Python 3 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I1d186a6759bd3e633661c75e62545d0d56700244
Story: #2002586
Task: #24320
2018-08-21 14:56:25 +00:00
qingszhao
67eeacdd71 add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I1681490fcaa52593abcbf8f935cbe1df7769f2eb
Story: #2002586
Task: #24320
2018-08-21 14:56:23 +00:00
qingszhao
d8020abbe7 switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: If0416171105673b6ed031398e41d46257fe113eb
Story: #2002586
Task: #24320
2018-08-21 14:56:19 +00:00
qingszhao
77a533f277 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I43acfa46c1df8912ae641529f3cc975c8e752480
Story: #2002586
Task: #24320
2018-08-21 14:56:17 +00:00
Zuul
c98531d05e Merge "Deprecate volume create --project and --user options" 2018-08-20 21:28:46 +00:00
Zuul
a84aa492a6 Merge "Detailed help message for QoS max-burst-kbps value" 2018-08-14 17:44:18 +00:00
Zuul
130da80eee Merge "Fix inconsistency (nit)" 2018-08-13 14:03:17 +00:00
Alan Bishop
030fd71390 Deprecate volume create --project and --user options
Cinder's volume create API does not support overriding the project_id and
user_id, and it silently igores those API inputs. Cinder always uses the
project and user info in the keystone identity associated with the API
request.

If a user specifies the --project or --user option, the volume create is
aborted and a CommandError exception is raised. This prevents a volume
from being created, but without the desired project/user values.

A user wishing to specify alternate values can still do so using identity
overrides (e.g. --os-username, --os-project-id).

Story: 2002583
Task: 22192
Change-Id: Ia9f910ea1b0e61797e8c8c463fa28e7390f15bf9
2018-08-10 10:20:34 -04:00
Chen
29ca9904fc Fix inconsistency (nit)
Word choice of description for "host-evacuate-live" is slightly
different from that in novaclient ("migrate of" instead of "migrate off").
https://github.com/openstack/python-novaclient/blob/master/doc/source/cli/nova.rst#nova-host-evacuate-live
They are supposed to be exactly the same, so use "migrate off" to
keep consistent.

Change-Id: Ie54c6ed83b6e9a3116e1832b3fb36dd80781366d
2018-08-10 14:24:23 +08:00
Lajos Katona
5c0de6edc2 Detailed help message for QoS max-burst-kbps value
For QoS rule type bandwidth-limit the max-burst-kbps value for ovs and
linuxbridge is suggested to be 80% of the maxkbps value, let's give a
detailed help message for the CLI user.
For details see https://docs.openstack.org/neutron/queens/admin/
config-qos.html#user-workflow

Change-Id: Ia6e38ec7052b7af64880c2f4c5e242d7cb980df5
Closes-Bug: #1777866
2018-08-10 07:37:57 +02:00
Zuul
a051bda111 Merge "Add DNS support to floating IP commands" 2018-08-08 20:15:07 +00:00
Zuul
c387f83af1 Merge "Add dns-domain support to Network object" 2018-08-07 22:10:41 +00:00
Zuul
a2e1e6b25c Merge "Fix missing trailing spaces in network help messages" 2018-08-07 19:46:40 +00:00
Zuul
8e3eef2946 Merge "Fix broken gate jobs" 2018-08-07 14:45:27 +00:00
Fan Zhang
def83a0e94 Fix broken gate jobs
This patch aims at fixing the broken gate jobs because of
cinder and glance patches [1], [2], [3] and [4].

* Remove parameter `--source-replicated` to drop volume
  replication v1 support
* Address some timing issues with volume transfer requests
* Only run Image v1 tests when the test cloud has v1 available
* Get tolerant of unexpected additional attributes being
  returned in Image data

[1].https://review.openstack.org/#/c/586293/
[2].https://review.openstack.org/#/c/532503/
[3].https://review.openstack.org/#/c/533564/
[4].https://review.openstack.org/#/c/578755/

Co-Authored-By: Dean Troyer <dtroyer@gmail.com>
Co-Authored-By: Monty Taylor <mordred@inaugust.com>
Depends-on: https://review.openstack.org/588664
Change-Id: I2a785750e92155185d3344e6116c7f5c6fdd3cbe
Signed-off-by: Fan Zhang <zh.f@outlook.com>
2018-08-07 09:32:00 +00:00
Jens Harbott
ed09f28a9d Add DNS support to floating IP commands
Add the DNS domain and name options to the ``floating ip create``
command. Also add these two columns to the output of the
``floating ip list --long`` command.

Change-Id: Id4cb18b51b252f19b87b24ec5d77183771189d17
Story: 1547736
Task: 13114
2018-08-06 08:14:48 +00:00
Brian Haley
6cb0f0f79c Fix missing trailing spaces in network help messages
Trivialfix

Change-Id: I1eeab576e7f50d858860a19c045f24a33449dc92
2018-08-03 12:29:34 -04:00
2b62b6e6ec Update reno for stable/rocky
Change-Id: Ieb4130d9f9d420fb3b858b6972a1f2a896fa7fc4
2018-07-26 08:58:10 +00:00
Zuul
f77ca68d53 Merge "Release note cleanup for 3.16.0 release" 3.16.0 2018-07-25 20:36:33 +00:00
Zuul
c056780691 Merge "Don't sent disk_over_commit if nova api > 2.24" 2018-07-25 19:31:35 +00:00
Dean Troyer
4236d777ff Release note cleanup for 3.16.0 release
Change-Id: I64efea562117706529c4b474085f5c12939ba4d6
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-07-25 14:08:05 -05:00
Zuul
7ae49c5b02 Merge "Add command to show all service versions" 2018-07-25 17:57:44 +00:00
Zuul
cc037e22a6 Merge "Support --community in openstack image list" 2018-07-25 02:49:02 +00:00
Zuul
6469d86522 Merge "Implement support for project limits" 2018-07-25 00:52:42 +00:00
Zuul
d177727a6e Merge "Implement support for registered limits" 2018-07-25 00:52:41 +00:00
Zuul
e78a2e7b09 Merge "compute: host: expand kwargs in host_set() call" 2018-07-25 00:52:39 +00:00
Zuul
d838c69605 Merge "Support filtering port with IP address substring" 2018-07-25 00:42:32 +00:00
Nobuto Murata
860639a548 Support --community in openstack image list
"--community" was added to "image create" and "image set" previously,
but was missed in "image list".

Change-Id: I959fdd7f67ae62c8326659ce52389228152ec019
Story: 2001925
Task: 14453
2018-07-24 22:48:01 +00:00
Zuul
c42b8552a8 Merge "Fix error with image show when image name is None" 2018-07-24 21:45:26 +00:00
Artom Lifshitz
d6121782d3 Don't sent disk_over_commit if nova api > 2.24
In API microversion 2.25 Nova removed the disk_over_commit parameter
to the live migration server action. This patch makes sure that we
don't include it in our request if we're running with 2.25 or higher.

Story: #2002963
Task: #22966
Change-Id: I1bbdd33be96d82422a05982508e370237c3560f3
2018-07-24 11:09:27 -04:00
Zuul
00194b4e20 Merge "Do not require port argument when updating floating IP" 2018-07-24 00:53:33 +00:00
Jake Yip
b90b93e143 Fix error with image show when image name is None
Need to bump osc-lib to 1.10.0

Closes-Bug: #1736696
Depends-On: I2aab5cc1f550848bda2b90ef7ef9a60f07b88996
Change-Id: I7420204f28d36529354e5671bd88587d9b15bb06
2018-07-23 17:42:34 -05:00
Monty Taylor
9ece632f96
Add command to show all service versions
Knowing what services and what versions of those services exist on a
cloud isn't always a spectacular experience. Add a command that will use
get_all_version_data from keystoneauth to produce a report of the
available services and the version info for each service.

Depends-On: https://review.openstack.org/584944
Change-Id: I84751c175d0c5f6d857a5473d2db6d5f1b41f946
2018-07-23 16:58:30 -05:00
Lance Bragstad
735896eb1a Implement support for project limits
This commit let's users manage limits via the command line.

bp unified-limits

Change-Id: I7c44bbb60557378b66c5c43a7ba917f40dc2b633
2018-07-23 21:52:00 +00:00
Lance Bragstad
641a4faac1 Implement support for registered limits
This commit adds support for users to manage registered limits via
the command line.

bp unified-limits

Depends-On: https://review.openstack.org/#/c/574391/
Change-Id: Id8377363f7a3248b45aeeba21d2acc02684a0305
2018-07-23 21:18:50 +00:00
Monty Taylor
3dd9613b21 Pass volume snapshot size to volume create
When creating a volume from a snapshot, the size parameter is required
and type is checked. Since we have to pass something and it needs to be
a valid data type (None is not acceptable) grab the size from the
snapshot object and pass it.

Change-Id: Ie23e3d23828919234e40336b5c65b22e140d337c
2018-07-23 13:38:35 -05:00
Benoît Knecht
fc76db0def compute: host: expand kwargs in host_set() call
`host_set()` expects `status` and `maintenance_mode` as keyword
arguments, but in `SetHost.take_action()`, it is called without
expanding the keyword arguments.

So it's called as

```
host_set(host, {'status': 'enable'})
```

instead of

```
host_set(host, status='enable')
```

Change-Id: If0b37ac60091161a892bfc694fce31a988f66005
Task: 23023
2018-07-20 10:37:34 +02:00
Zuul
ee35409069 Merge "Slow down and retry aggregate create/delete to lessen race" 2018-07-13 17:57:25 +00:00
Zuul
bf52ae5a58 Merge "Fix docs from I0dc80bee3ba6ff4ec8cc3fc113b6de7807e0bf2a" 2018-07-13 15:37:54 +00:00
Zuul
e4bbc3ce4d Merge "Skip calls to glance and nova when got no servers" 2018-07-11 16:02:40 +00:00
Zuul
84755a81b5 Merge "Replace pbr autodoc with sphinxcontrib-apidoc" 2018-07-11 16:02:39 +00:00
Tuan Do Anh
70031687f9 Fix lower-constraints.txt
During the change https://review.openstack.org/#/c/573216/
neutron-vpnaas lower-constraints.txt looks out-of-date.
This commit fixes lower-constraints.txt.

Change-Id: Id9cfb463a98bdcc3c45505d8701c515549ecaa55
2018-07-11 14:09:02 +07:00
Stephen Finucane
63d741fd66 Replace pbr autodoc with sphinxcontrib-apidoc
This fixes local building of the documentation using tox, and allows the
gate to stop relying on pbr and move completely to the new docs PTI.

http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html

Change-Id: I485acda07098a435753e91c1ca45e586de199c35
2018-07-10 17:15:26 +01:00
Zuul
d6cf027be1 Merge "Make Profile fallback go bye-bye" 2018-07-10 14:21:48 +00:00
Pavlo Shchelokovskyy
b9fab849f7 Skip calls to glance and nova when got no servers
save (potentially many) HTTP calls to Glance API for image list
and a call to Nova API for flavor list when the server list
actually returned no servers.

Change-Id: I93a56138c50b82fb4dce67a2f788107f71c5f423
Story: #2002039
Task: #19681
2018-07-09 15:07:24 +03:00
Dean Troyer
26c268a910 Slow down and retry aggregate create/delete to lessen race
Change-Id: I676894c1bfd3156313d88e6457250b9ff226118b
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-07-06 13:15:59 -05:00
Zuul
c5a0c3ad5d Merge "Retry floating IP tests" 2018-07-06 14:04:38 +00:00
Dean Troyer
83a9db280d Retry floating IP tests
test_server_attach_detach_floating_ip() has a test for server
add/remove floating IP that seems to be racy, add a retry loop
to let neutron and nova do their thing before calling it bad.

Change-Id: I999a0d7dae1706d746053bafb7ab4e3b791d0042
2018-07-06 10:24:16 +00:00
Hongbin Lu
4a9cb8eea8 Support filtering port with IP address substring
Change-Id: I9559f1c0a6db943705bd32aefb60d7ea7054dd1b
Related-Bug: #1718605
2018-06-29 20:15:28 +00:00
Zuul
e4b8c31cd3 Merge "Adding api_version to FakeApp" 2018-06-29 18:17:47 +00:00