167 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
2c19b5640e Updated from global requirements
Change-Id: I004b8ea8fd3a8de76c04f70af5ed5e516aa2bfbc
2018-03-23 07:40:46 +00:00
Stephen Finucane
c21ab6b134 Follow the new PTI for document build
The Project Testing Interface [1] asks that we list requirements in
'doc/requirements.txt' and build docs by calling 'sphinx-build' directly
instead of via the 'build_sphinx' setuptool/distutils wrapper. Start
doing this.

[1] https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: If9342c8ea757b1735f2488db751008984fb33baf
2018-03-16 14:39:36 +00:00
OpenStack Proposal Bot
0896a0ae28 Updated from global requirements
Change-Id: I518860c51e6b19def5efc3f624dceb9350cb9494
2018-03-16 07:34:06 +00:00
OpenStack Proposal Bot
4607f95f24 Updated from global requirements
Change-Id: Iff8f99d4ff97f03ccdeb29405f3cbb853068161d
2018-03-13 07:09:16 +00:00
OpenStack Proposal Bot
2d738f7082 Updated from global requirements
Change-Id: Ibe70f1f60180a7c8da9887e4466dd1e1d25b157f
2018-03-10 13:31:01 +00:00
OpenStack Proposal Bot
611a11297e Updated from global requirements
Change-Id: I371ee0cb4156ec4e0a20f55852b0756502d0dd90
2018-01-29 00:21:52 +00:00
Zuul
02852c8799 Merge "Updated from global requirements" 2018-01-27 15:29:24 +00:00
Zuul
233285de49 Merge "add whereto for testing redirect rules" 2018-01-25 06:48:57 +00:00
OpenStack Proposal Bot
dd1a776315 Updated from global requirements
Change-Id: I1fae25690551ff75a9838e760851a990e216be72
2018-01-24 01:14:00 +00:00
OpenStack Proposal Bot
bc899d8b9e Updated from global requirements
Change-Id: I1c1dc245f98cb5c3b57733ddc338394dfb3bc0b6
2018-01-18 03:11:57 +00:00
OpenStack Proposal Bot
0f2700b1e4 Updated from global requirements
Change-Id: Icada15d601dc5399eeb927bb7cba9bea828883da
2018-01-16 12:40:17 +00:00
Matthew Treinish
9c56c78513
Finish stestr migration
Nova switched to using stestr for all it's in tree testing except for
the coverage job. This commit updates that job so it also uses stestr
and cleans up the last bits of testr setup left in tree. As part of
this change this moves all the one off per job configuration into the
tox job definitions instead of hiding it in either the .stestr.conf or
in a wrapper script.

Change-Id: I36e0e791d485b44641a1ed8770eca8e95aca19be
2017-11-24 16:51:12 -05:00
OpenStack Proposal Bot
0de0681895 Updated from global requirements
Change-Id: I2ddeb4baef5e535923a8e16ef763782595df614d
2017-11-16 11:16:21 +00:00
Doug Hellmann
cec0faa711 add whereto for testing redirect rules
Use whereto to test that the redirect rules do what we expect. The
test coverage is a bit minimal for now, but should be useful as an
example of how it can be extended. The test files in the
openstack-manuals repo provide some other examples.

Depends-On: I36003d3525dcc9fef8e5f008ecabb2b2ac78088e
Change-Id: Ia14bfa6c89fd04844842d727d11ff8874ec7fc2a
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-10-30 12:37:23 -04:00
Jenkins
933dd29d74 Merge "cleanup test-requirements" 2017-09-26 17:44:17 +00:00
Eric Fried
f839a97e0f Live Migration sequence diagram
Based on mriedem's hand-drawn version [1] (but not as pretty).

[1] https://photos.google.com/share/AF1QipNpWVQKU8GK4_9wxVbiRJUqJnMzqPcBh6DvjVyBPIjjmi6ZU8r9TleQNo6pV1t9SA?key=NUl3OUFGYkRFTE8tMHhSX0lfc0Y1eEdoeHo4SUhn

Co-Authored-By: Matt Riedemann <mriedem.os@gmail.com>

Change-Id: I63046079cd3135b4b19c0c6745075f090d04e396
2017-09-25 16:19:44 +00:00
caoyuan
f22df69b32 cleanup test-requirements
python-subunit is not used directly anywhere
and it is dependency of both testrepository
and os-testr
(probably was used by some tox wrapper script before)

Change-Id: Ic2139ceb5a200c3b32bcc87e81fc30f208645771
2017-09-25 19:29:20 +08:00
OpenStack Proposal Bot
8c44be5c9c Updated from global requirements
Change-Id: I10ea32764a04cfe0dd8445708f04bcd184c0d308
2017-09-16 23:18:37 +00:00
OpenStack Proposal Bot
cfdec41eee Updated from global requirements
Change-Id: I043babceb3b1be03550c8e90c9abb9450d5f5cde
2017-09-13 12:57:19 +00:00
OpenStack Proposal Bot
a23663e799 Updated from global requirements
Change-Id: I197925602a5b76cad961cc3cb2eebb67c0ea82bf
2017-08-30 23:26:21 +00:00
Stephen Finucane
002ca8c7f4 docs: Document the scheduler workflow
There have been some major changes to how scheduling works in Nova
during the Pike and Queens cycles. This documents these design changes
so that this new, more complex workflow is clearly spelled out.

Co-Authored-By: Ed Leafe <ed@leafe.com>

Change-Id: I15121d8fe9b715c0aec39dee4bfdf25ced42b481
2017-08-24 15:18:11 +00:00
OpenStack Proposal Bot
d48ba9873a Updated from global requirements
Change-Id: Idda59f3cf870479b5ca6ea3ab4516306d8e0075d
2017-08-18 15:53:20 +00:00
OpenStack Proposal Bot
92c4689256 Updated from global requirements
Change-Id: I96e70a950ed04862d512f91211c4cb6fc3fd1159
2017-08-07 00:49:24 +00:00
OpenStack Proposal Bot
b1244e795d Updated from global requirements
Change-Id: I35689a80f0a36779a32e8c49b0950daff306ea45
2017-07-29 02:37:27 +00:00
OpenStack Proposal Bot
e08cda0a70 Updated from global requirements
Change-Id: I812b4b9c7b05ab032f436e81d6e10b5a0f6598c1
2017-07-28 16:31:04 +00:00
chenxing
fa0e8f69b4 doc: Switch to openstackdocstheme
Change-Id: If7afc2cb58759b16fc6f7caa44d0cf6b7bcf4d06
Co-Authored-By: Stephen Finucane <sfinucan@redhat.com>
2017-07-21 11:35:48 +01:00
Chris Dent
7792ba33a0 [placement] Update allocation-candidates.yaml for gabbi 1.35
Gabbi 1.35 provides template variable susbtitution on the left hand side
of a JSONPath expression. That's used here to remove the need for static
fake uuids in the test data for allocation-candidates and the
SharedStorageFixture.

A couple of other clean ups to the use of gabbi, unrelated to the 1.35
update:

* It's possible to test the entire value in one response:

    resources:
         VCPU: 4
         DISK_GB: 5

  instead of:

    resources.VCPU: 4
    resources.DISK_GB: 5

  This is handy when the root of the expression is calculated and
  repeating that calculation is noisy.

* [?foo.bar=baz] is the more canonical form of [?(@.foo.bar=baz)]. The
  former is built into jsonpath, the latter dips into the underlying
  implementation.

Change-Id: Ie6b5e0186533581815d04411ed7b321948464bb6
2017-07-17 13:04:48 +00:00
OpenStack Proposal Bot
742ff15d31 Updated from global requirements
Change-Id: Ib9135d0d73d3ec508455c3a703fe7c1c2208d250
2017-07-13 19:36:14 +00:00
OpenStack Proposal Bot
759b586a9e Updated from global requirements
Change-Id: I5373e0dbd746211cda9aa8a5162daab823fd8221
2017-06-27 12:16:50 +00:00
OpenStack Proposal Bot
0072f70d9b Updated from global requirements
Change-Id: I0159683fbd67ae11e745ed4f739f77fd5fa63141
2017-06-03 13:10:15 +00:00
OpenStack Proposal Bot
48c92f0141 Updated from global requirements
Change-Id: I9367dd73194ebc3b2501aabfd2eab535e6e02101
2017-05-17 13:45:31 +00:00
OpenStack Proposal Bot
2350dab129 Updated from global requirements
Change-Id: If0738d04f132fa12413f4b5aa64ddb1b901f5ed7
2017-05-15 00:50:30 +00:00
OpenStack Proposal Bot
d5561c6ed3 Updated from global requirements
Change-Id: Iee9790e4b86cc74c14fdc99c4a9a6f294898e86d
2017-05-03 12:19:07 +00:00
Jenkins
f8939f76e9 Merge "remove flake8-import-order for test requirements" 2017-03-21 17:55:02 +00:00
Jenkins
e3eac21382 Merge "More usage of ostestr and cleanup an unused dependency" 2017-03-20 16:04:47 +00:00
Sean Mooney
a5d4adbd60 remove flake8-import-order for test requirements
- When flake8-import-order is installed the additional
  ordering tests it provides are enabled by default.
- When devstack installs python projects from source
  such as nova, the pip_install function installs both the
  requirements.txt and test-requiremets.txt dependencies systemwide.
  As a result, any python project that runs pep8 tests without a
  python virtual environment will also have import ordering enforced
  which may fail.
- This change removes flake8-import-order from the
  test-requirements.txt to prevent failures in projects other
  than nova that don't enforce pep8 import ordering.

Change-Id: I994df178f0000a0840f6658ccc2f277d5503f826
2017-03-16 17:36:54 +00:00
John L. Villalovos
66866b3ce6 Use flake8-import-order
Use the flake8 plugin flake8-import-order to check import ordering. It
can do it automatically and don't need reviewers to check it.

Change-Id: Ia3d81bbbb44b40804b3268c0e648276a36cb4805
2017-03-06 06:50:23 -08:00
Luigi Toscano
8e34aece1a More usage of ostestr and cleanup an unused dependency
Use ostestr as runner instead of the custome pretty_tox.sh script
(pretty much removed everywhere). pretty_tox3.sh is just a wrapper
for ostestr but it could be probably removed as well going forward.
Also remove the tempest-lib dependency, which originally provided
subunit-trace (now from os-testr).

Change-Id: I4390964ce83167d634b80f696e82a0e199582ce6
2017-02-23 18:25:08 +01:00
Jenkins
9778a6cee8 Merge "Update hacking version" 2017-02-16 04:43:46 +00:00
OpenStack Proposal Bot
9548cc854f Updated from global requirements
Change-Id: Id75e2f6372d9a9c8af03bb2a4231127e5559c0e0
2017-02-15 20:50:34 +00:00
Ken'ichi Ohmichi
d02d4b3f1b Update hacking version
hacking version is managed in test-requirements.txt and the latest
version is 0.13.0 now.
However 0.13.0 is in very sorry shape as the Change-Id of hacking
I714caa085fa35cb4aac3b65c73a7de6d4807d04d .
So this patch updates our test-requirements.txt to avoid using
0.13.0.

Change-Id: If94186a74a022bc689d7c9c7f56f4bdb9376e8a7
2017-02-10 15:07:22 +01:00
OpenStack Proposal Bot
a43a463859 Updated from global requirements
Change-Id: I07267ab144ef3851dfd716ecb3809d3bfa133e06
2017-01-26 18:48:41 +00:00
OpenStack Proposal Bot
9385eaff09 Updated from global requirements
Change-Id: I740a7d5e9f1740e2b1d1fbd9cff110fa83741e29
2017-01-20 19:43:54 +00:00
Dina Belova
ecc8de8d6c Integrate OSProfiler and Nova
* Add osprofiler wsgi middleware. This middleware is used for 2 things:
  1) It checks that person who want to trace is trusted and knows
     secret HMAC key.
  2) It starts tracing in case of proper trace headers
     and adds the first wsgi trace point with info about the HTTP request

* Add initialization of osprofiler on start of a service
  Currently that includes oslo.messaging notifier instance creation
  to send Ceilometer backend notifications.

oslo-spec: https://review.openstack.org/#/c/103825/
python-novaclient change: https://review.openstack.org/#/c/254699/
based on: https://review.openstack.org/#/c/105096/

Co-Authored-By: Boris Pavlovic <boris@pavlovic.me>
Co-Authored-By: Munoz, Obed N <obed.n.munoz@intel.com>
Co-Authored-By: Roman Podoliaka <rpodolyaka@mirantis.com>
Co-Authored-By: Tovin Seven <vinhnt@vn.fujitsu.com>

Implements: blueprint osprofiler-support-in-nova
Change-Id: I82d2badc8c1fcec27c3fce7c3c20e0f3b76414f1
2017-01-18 15:00:14 +07:00
OpenStack Proposal Bot
3f0b023825 Updated from global requirements
Change-Id: I0df44a42a2484b1394c45f0173dfbe13300a1851
2017-01-15 09:25:44 +00:00
OpenStack Proposal Bot
71c4360de8 Updated from global requirements
Change-Id: I222d94326ced3bd90d329971e1c6673c0a6f055a
2016-12-23 03:16:27 +00:00
OpenStack Proposal Bot
b212b9f496 Updated from global requirements
Change-Id: Id3962e728234970b4c8e43b569e55a6aa507a3cc
2016-12-05 09:57:19 +00:00
Matthew Booth
2d886ec913 libvirt: Cleanup test_create_configdrive
This test made a tortured trip into _create_image_helper without using
much of its functionality. We pull this out and have it call
_create_configdrive directly.

This leaves _create_image_helper with only a single caller:
test_create_image_with_flavor_swap. This test is almost identical in
purpose to the much better test_create_image_with_swap and
test_create_image_with_legacy_swap_resizing. We refactor
test_create_image_with_swap to use ddt to cover all 3 cases, and
remove _create_image_helper.

This introduces the first use of ddt in Nova tests. It is already in
global-requirements. It was approved for use in Nova tests during the
Ocata contributor meetup:

  https://etherpad.openstack.org/p/ocata-nova-summit-meetup

Change-Id: I9d26ae3c26bab20ae60c2db011194ac0b2ead555
2016-12-01 16:58:05 +00:00
OpenStack Proposal Bot
5f137dfe70 Updated from global requirements
Change-Id: I56f82972fe87410d5d4e2d222fdeaec632fbbea1
2016-11-16 21:59:09 +00:00
OpenStack Proposal Bot
ad2ea369fe Updated from global requirements
Change-Id: I04217182c7d8216120e254de3bace8a639973f9c
2016-11-10 10:19:39 +00:00