6596 Commits

Author SHA1 Message Date
Joanna Taryma
459fe314fa Add base cinder common interface
Addition of common cinder related code that a storage interface
driver will be able to leverage for interacting with cinder.

Co-Authored-By: Joanna Taryma <joanna.taryma@intel.com>
Partial-Bug: #1559691
Change-Id: I4aed895e52fcefb61dd0751e8bc9b39a26706276
2017-04-03 09:37:50 -07:00
Jenkins
7ce234d8b4 Merge "Deprecate support for glance v1" 2017-03-14 05:30:43 +00:00
Jenkins
a8ca8181e1 Merge "Refactor waiters in our tempest plugin" 2017-03-14 01:53:36 +00:00
Jenkins
bec748f437 Merge "Address a shell syntax mistake" 2017-03-14 00:05:03 +00:00
Vladyslav Drok
632f082b2c Refactor waiters in our tempest plugin
Deduplicates some of the code between common.waiters module and
BaremetalScenarioTest functions.

Change-Id: Ia87646cccdefba22caf121f4e347e8f2edf736e0
2017-03-13 19:30:58 +00:00
Matt Riedemann
e91f31663c Deprecate support for glance v1
Nova dropped support for glance v1 in Ocata and we're going
to disable glance v1 in CI runs for Pike. The glance v1
API is deprecated so we should start burning it out of the
system in all of the projects.

Closes-Bug: #1670423

Change-Id: I1398f81b28e1b000ee110c159e498b72e3746109
2017-03-13 14:32:51 -04:00
Jenkins
8e14f21c15 Merge "This adds a tempest test for creating a chassis with a specific UUID." 2017-03-13 17:35:03 +00:00
Jenkins
a244fb28c5 Merge "grenade: Only 'enable_plugin ironic' if not already in conf" 2017-03-13 16:09:01 +00:00
SofiiaAndriichenko
598f783825 This adds a tempest test for creating a chassis with a specific UUID.
Change-Id: I51fbcd0613c16618d5e4a52ae1d798321a21bced
2017-03-13 13:33:23 +00:00
Jenkins
4f8afe8085 Merge "Remove overwriting the default value of db_max_retries." 2017-03-13 10:58:25 +00:00
Jenkins
7e6fc1e597 Merge "Update ironic.conf.sample" 2017-03-13 10:51:57 +00:00
Jenkins
05ec267793 Merge "Do not load credentials on import in tempest plugin clients.py" 2017-03-13 10:10:22 +00:00
Tao Li
aec3663604 Address a shell syntax mistake
Missing space before ']' in addressed line and change it to
another better format.

Change-Id: Ib7cfe5990db180dbc347315759fffad002dfa550
2017-03-13 09:54:11 +08:00
Matt Riedemann
3f1aa22d4b Update ironic.conf.sample
The in-tree sample of ironic.conf is stale, this updates it.

Change-Id: I8c93b98d44a371587231f13e83e9198eaeddf368
2017-03-12 21:23:36 -04:00
John L. Villalovos
0be91665b4 grenade: Only 'enable_plugin ironic' if not already in conf
To support multi-node grenade jobs we need to move enabling of the
ironic devstack plugin out of the ironic grenade settings file
devstack/upgrade/settings. But if we add enabling of the ironic devstack
plugin to project-config it will cause the gate to break as the plugin
will be enabled twice.

This checks to see if the ironic devstack plugin has already been
enabled:
  * If it has already been enabled it will not enable it again.
  * If it has not yet been enabled it will enable it.

This will allow us to update project-config to enable the ironic
devstack plugin and not break the gate.

After all the changes have landed we will propose a follow-up patch to
remove all this additonal logic and the enabling of the ironic devstack
plugin.

Change-Id: I09ed78ef918eb0359045350e89d42c6df9f3e490
2017-03-10 13:22:33 -08:00
Joanna Taryma
66b0bcfd08 Remove overwriting the default value of db_max_retries.
Remove overwriting the default value of db_max_retries, instead use
default value defined by oslo.db which is 20.
Adjust the default value of db_max_retries in the release note and sample
configuration file.

Closes-Bug: #1671629
Change-Id: I1e5f632d687c1cebab895cc91958d502b9fce884
2017-03-10 10:41:27 -08:00
Jenkins
dd10f2e44f Merge "Correct typos in doc files" 2017-03-10 15:56:41 +00:00
Vladyslav Drok
94c5230413 Do not load credentials on import in tempest plugin clients.py
Set the ADMIN_CREDS global variable inside the Manager class
constructor instead of doing it on module import.

Change-Id: I8c82fa077f316c747a37e31980f7c2d74986bad2
Closes-Bug: 1671813
2017-03-10 16:16:14 +02:00
Jenkins
ad99084fbc Merge "Update the Ironic Upgrade guide" 2017-03-10 12:42:52 +00:00
Jenkins
4a8a0fd822 Merge "Fix updating node.driver to classic" 2017-03-10 12:42:41 +00:00
Jenkins
8ba5203731 Merge "Add wsgi handling to ironic-api in devstack" 2017-03-10 12:33:02 +00:00
Ramamani Yeleswarapu
77f3b3391e Update the Ironic Upgrade guide
This patch does the following:

- streamlines the upgrade information
- adds headers for L->M, M->N and N->O upgrades.

Partial-Bug: #1606675
Change-Id: I0cdf423ed1bf302f2c721e87cec291712f3f18d3
2017-03-09 11:09:47 -08:00
anascko
5d22cfe1a8 Add wsgi handling to ironic-api in devstack
Adds handling of running ironic API under Apache as WSGI app to
devstack plugin.

New variable IRONIC_USE_MOD_WSGI (False by default) is added.
Another new variable IRONIC_WSGI_DIR (default is distro specific) is
also added, which specifies location for WSGI scripts.

Change-Id: I9c5ad56e1acd292ff0f9cc9b460125fc420abda5
Closes-Bug: #1513005
2017-03-09 16:55:34 +02:00
Vasyl Saienko
3d02084559 Fix updating node.driver to classic
An issue when it was impossible to update ``node.driver``
to classic if the current driver is one of hardware types.

Change-Id: I348a27a13d3025fe7e8ddfa31992b895a3809730
Closes-Bug: #1668579
2017-03-09 12:07:49 +02:00
Jenkins
748e93009a Merge "devstack: Make sentry _IRONIC_DEVSTACK_LIB a global variable" 2017-03-08 22:07:54 +00:00
Jenkins
732c2a5943 Merge "Use Sphinx 1.5 warning-is-error" 2017-03-08 19:22:02 +00:00
John L. Villalovos
1e560b182f devstack: Make sentry _IRONIC_DEVSTACK_LIB a global variable
Make the sentry variable _IRONIC_DEVSTACK_LIB a global variable so
that it will work as expected.

When variables use the 'declare' directive, it is by default a local
variable. While other variables have global scope.

For example:
   declare -A AN_ARRAY   # local in scope
   foo=1                 # global in scope
   declare -A -g SPAM    # global in scope because of -g

This causes errors to occur as some of the variables will be local only
and others will be global.

The issue that can occur is that when sourcing devstack/lib/ironic a
second time the sentry _IRONIC_DEVSTACK_LIB will not be set but all
the other variables from devstack/lib/ironic will already have been
set as they are by default global variables. And the purpose of
_IRONIC_DEVSTACK_LIB is to prevent the file from being sourced twice.

Change-Id: I24b6ebb89f3d950d39b0665346b4c17bf05d0a0b
2017-03-08 08:19:40 -08:00
Andreas Jaeger
4cff2ab6d5 Use Sphinx 1.5 warning-is-error
With pbr 2.0 and Sphinx 1.5, the setting for treat sphinx warnings as
errors is setting warning-is-error in build_sphinx section. Migrate
the setting from the old warnerrors one.

Fix problems found:
* Duplicate labels (rename wrong faq entries, rename unused drivers
  entries)
* Add api/autoindex.rst as hidden to the index so that we do not get a
  warning. The modindex includes the same content, so no need to show
  this.
* Add releasenotes/index.rst, webapi/v1.rst, user-guide, and install-guide.rst
  to hidden index since they're not listed in index on purpose, so sphinx
  will not warn that they do not appear in a toc
* Add deploy/radosgw to index
* ignore app.add_directiv warning
* Fix reference to user-guide to use proper markup so that Sphinx knows
  the user-guide is referenced.

Change-Id: I00d249229d4d31ba36d4393d60847fdb1513a744
2017-03-08 08:22:24 +01:00
Jenkins
e2e5340981 Merge "Fixed release note for DBDeadLock handling" 2017-03-07 16:22:30 +00:00
Jenkins
96d7d6ad61 Merge "Remove references to py34 from developer guide" 2017-03-06 23:39:20 +00:00
Jenkins
a6796ccae9 Merge "Clean up eventlet monkey patch comment and reno" 2017-03-06 23:37:17 +00:00
Joanna Taryma
a1f1cd8538 Fixed release note for DBDeadLock handling
Follow up patch of 3428cb74f0a6fe05c23cf00dc66da4c1d9766409

Add information about db_max_retries configuration option to the
release note. Add periods at the end of senteces in the release note.

Change-Id: I2811ce6976d020e32928773ecb872fefa05e10b7
2017-03-06 14:08:09 -08:00
Solio Sarabia
83cf4b742d Remove references to py34 from developer guide
Developer guide should not include references to Python 3.4
or py34, since this Python version is not supported.

Change-Id: I0d326b7a542afa952c36ceb422f52d4192517b8b
Related-Bug: #1667312
2017-03-06 15:55:20 -06:00
Jay Faulkner
bb22ddd056 Delete release note to fix build
This release note was updated in master after the ocata branch was cut.
Doing this caused it to appear in both ocata and current-series release
notes. Removing the file from master will prevent it from showing up in
master anymore.

Change-Id: Ic1c7ec1483e92e15a82392d87874c08a7a03b710
Closes-bug: #1670401
2017-03-06 08:16:16 -08:00
yuhui_inspur
8bc960b317 Correct typos in doc files
Correct some typos in doc/source/drivers/ilo.rst,
doc/source/drivers/ipa.rst, doc/source/drivers/oneview.rst.

Change-Id: I47fc7ce7c6c8a83ab9b0ffae666f49cc90da9c0f
2017-03-06 01:29:29 +00:00
Jenkins
2751ab9b81 Merge "Moved fix-socat-command release note" 2017-03-03 19:56:27 +00:00
Jenkins
c216621cff Merge "Move eventlet monkey patch code" 2017-03-03 19:53:53 +00:00
Mario Villaplana
2751212eae Clean up eventlet monkey patch comment and reno
This is a follow up to I887a06566dcc2f09875f975f1e12ae4ff75fd348.

The release note tense is fixed, and more information is added about why
the change was necessary.

Change-Id: Ie89e21460a4a7654795830bf4781404ec506a52f
2017-03-03 18:16:57 +00:00
Joanna Taryma
547f23cd54 Moved fix-socat-command release note
Moved fix-socat-command release note to a proper directory
ironic/releasenotes instead of ironic/ironic/releasenotes

Change-Id: If2b2a54ceb00c29ae81c9b7ca672f163b1985cb7
2017-03-03 08:58:11 -08:00
Jenkins
f9ecaca12f Merge "doc: update FAQ for release notes" 2017-03-02 23:07:45 +00:00
Yuriy Zveryanskyy
556b1d0871 Move eventlet monkey patch code
Eventlet monkey patching is not recommended on top level __init__ [1],
because Apache WSGI module uses own concurrency model [2] and API
service under Apache should be runned without eventlet. This patch
moves eventlet monkey patching code to ironic.cmd module __init__
(like in nova).

[1] https://specs.openstack.org/openstack/openstack-specs/specs/eventlet-best-practices.html
[2] http://modwsgi.readthedocs.io/en/develop/user-guides/processes-and-threading.html

Closes-Bug: 1608252
Change-Id: I887a06566dcc2f09875f975f1e12ae4ff75fd348
2017-03-02 13:48:18 +02:00
OpenStack Proposal Bot
e5a3a4ccb5 Updated from global requirements
Change-Id: I1823b001a774bdd47aa88e54d1951c60a5545eee
2017-03-02 11:45:27 +00:00
Ruby Loo
c95de2f171 doc: update FAQ for release notes
This updates the FAQ for release notes to:
1. clarify use of verb tense/person: e.g. 'adds' vs 'add'
2. indicate that variants of English spelling are acceptable

Also move this note to the corrent FAQ item.

Change-Id: I9571740c3d895d2a8aa50c354ccd71662e65d231
2017-03-02 11:45:52 +01:00
Jenkins
fec55f4a11 Merge "Updated from global requirements" 2017-03-01 12:11:33 +00:00
Jenkins
221ca96b76 Merge "Explicitly use python 2 for the unit-with-driver-libs tox target" 2017-03-01 12:11:25 +00:00
OpenStack Proposal Bot
0dddf2e63b Updated from global requirements
Change-Id: I7e40720a802e8b8f6cda02a3d4ce81b876adea57
2017-03-01 04:07:32 +00:00
John L. Villalovos
8cfbe1bad9 Remove gettext.install() for unit tests
Having gettext.install() done in the unit tests was masking the lack
of importing the '_' function from ironic.common.i18n

Fix one error discovered by removing gettext.install()

Closes-bug: #1668789
Change-Id: Ie7a7b1073e8ab5aa1c6f3fbe9eab8beb1c5d44a4
2017-02-28 14:49:41 -08:00
Vasyl Saienko
83ba0880bd Fix missing _ import in driver_factory
Add missing import of '_' to ironic/common/driver_factory.py

Change-Id: Ib2143622248b78c28c93602eedf05a016c41d7ab
2017-02-28 14:39:10 -08:00
Jenkins
77b86f26c4 Merge "Add ironic port group CRUD notifications" 2017-02-28 22:22:41 +00:00
Jenkins
96683ea61d Merge "Add support for DBDeadlock handling" 2017-02-28 17:14:55 +00:00