1167 Commits

Author SHA1 Message Date
Jim Rollenhagen
3b8c3879a5 Explicitly mark earliest-version for release notes
This uses reno's `earliest-version` directive to explicitly point out
where the release notes for a given branch should begin. There is a bug
in reno when dealing with stable branches, where it does not always find
the correct version to begin with.

It also updates our release docs to indicate we should continue marking
this. This step can be removed when the reno bug is fixed, though it
doesn't hurt to continue marking this explicitly.

Change-Id: I6502ff95a52c2c855356e9875291f27ec44e7ffa
Related-Bug: #1746076
2018-01-29 14:15:01 -05:00
Zuul
ab9b7afe7d Merge "Add rescue interface field to node-related notifications" 2018-01-28 05:23:02 +00:00
Zuul
0a5de20c2a Merge "Remove python-oneviewclient from oneview hardware type." 2018-01-27 10:43:55 +00:00
Shivanand Tendulker
7394dbbacb Add rescue interface field to node-related notifications
This patch adds rescue_interface field to node-related notification
objects.

Co-Authored-By: Jay Faulkner <jay@jvf.cc>
Co-Authored-By: Josh Gachnang <josh@pcsforeducation.com>
Co-Authored-By: Jesse J. Cook <jesse.j.cook@member.fsf.org>
Co-Authored-By: Mario Villaplana <mario.villaplana@gmail.com>
Co-Authored-By: Aparna <aparnavtce@gmail.com>
Co-Authored-By: Shivanand Tendulker <stendulker@gmail.com>

Change-Id: I8aa4c3c4701eae5f7838192bdbcf46a069370643
Partial-bug: #1526449
2018-01-27 09:19:47 +00:00
Jay Faulkner
49fabe6d7b Add API methods for [un]rescue
Adds API methods to support rescue and unrescue.

After rescuing a node, it will be left running a rescue ramdisk,
configured with the rescue_password, and listening with ssh on the
specified network interfaces.

Unrescuing a node will return the node to Active.

Change-Id: I3953ff0b1ca000f8ae83fb7b3c663f848a149345
Partial-bug: #1526449
Co-Authored-By: Jay Faulkner <jay@jvf.cc>
Co-Authored-By: Josh Gachnang <josh@pcsforeducation.com>
Co-Authored-By: Jesse J. Cook <jesse.j.cook@member.fsf.org>
Co-Authored-By: Mario Villaplana <mario.villaplana@gmail.com>
Co-Authored-By: Aparna <aparnavtce@gmail.com>
Co-Authored-By: Shivanand Tendulker <stendulker@gmail.com>
2018-01-26 18:27:10 +00:00
Zuul
7371477064 Merge "Implementation for UEFI iSCSI boot for ILO" 2018-01-25 23:06:36 +00:00
Zuul
3258662dc4 Merge "Allow data migrations to accept options" 2018-01-25 22:50:18 +00:00
Zuul
b539a6e256 Merge "[docs] mention new nova scheduler option" 2018-01-25 17:08:54 +00:00
Dmitry Tantsur
d8f10c01ae Allow data migrations to accept options
This allows migration to be tuned to a specific deployment. For example,
when we will migrate nodes to hardware types, an option will be used
to specify what to do with missing interfaces.

Change-Id: Ie5045b20b7420fc9b5d864bfb18258a4d8b93334
Related-Bug: #1690185
2018-01-25 16:51:42 +00:00
Zuul
f5654bfd00 Merge "Allow setting {provisioning,cleaning,rescuing}_network in driver_info" 2018-01-25 11:54:26 +00:00
kesper
8763637255 Implementation for UEFI iSCSI boot for ILO
This change adds new methods in management interface and enhance
boot interface of 'ilo' hardware type to support boot from iSCSI
volume in UEFI boot mode.

Change-Id: I585e0ef90f4397af1f09920c3a1bc47ddbcb1a97
Related-Bug: #1526861
2018-01-25 06:33:21 +00:00
Hugo Nicodemos
f8bf0ad51b Remove python-oneviewclient from oneview hardware type.
This patch removes the ``python-oneviewclient`` library from
``oneview`` hardware type since it was migrated to ``hponeview``
and ``python-ilorest-library``.

Change-Id: I3393189abdff6a0e56f54375877cc310d72ff5b1
Closes-Bug: #1693788
2018-01-25 01:30:27 +00:00
John Garbutt
864331a94b API: Node Traits API
Adds basic CRUD on traits, including set and delete of individual
traits.

Bumps the API microversion to 1.37.

NOTE: This patch does not implement the advanced filtering outlined in
the OpenStack API working group's tags guidelines[1]. That will be
implemented in a separate microversion as a follow up patch.

[1] http://specs.openstack.org/openstack/api-wg/guidelines/tags.html

Change-Id: I313fa01fbf20bf0ff19f102ea63b02e72ac2b856
Partial-Bug: #1722194
Co-Authored-By: Mark Goddard <mark@stackhpc.com>
2018-01-25 00:11:44 +00:00
M V P Nitesh
95d7e602e5 Allow setting {provisioning,cleaning,rescuing}_network in driver_info
These values have priority over ones defined in ironic.conf. Also modify
validation code to only used network UUID cached on task.network if:
1. the requested XXX_network is UUID, not name
2. the requested XXX_network is the same as the cached one.

Co-Authored-By: Dmitry Tantsur <dtantsur@redhat.com>
Closes-Bug: #1614876
Change-Id: I4caec34d85304fe887bcc28b7528cceceb3acfe8
2018-01-23 17:11:56 +01:00
Pavlo Shchelokovskyy
b327f70b8e [docs] mention new nova scheduler option
also add some notes for mixed hypervisor case.

Change-Id: I77d13e8180f7cae0a1eb370329cebc6bb2768fe0
2018-01-22 15:07:04 +02:00
Zuul
40f32cd4da Merge "Adds RPC calls for rescue interface" 2018-01-19 18:02:00 +00:00
Zuul
b29a205e02 Merge "fix a typo in ilo.rst: s/fimware/firmware/" 2018-01-17 18:45:38 +00:00
Pavlo Shchelokovskyy
0970e3d031 Fix docs for Sphinx 1.6.6
rename included files to not have ".rst" extension,
otherwise they are being scanned for ref targets and found targets are
effectively counted twice (both in file that includes,
and in the file being included), producing a warning/error.

Change-Id: I2eec5b1b16d253998f45e6f0551a92c2ab6f5609
Closes-Bug: #1743780
2018-01-17 16:13:09 +02:00
liumk
529e249453 fix a typo in ilo.rst: s/fimware/firmware/
Change-Id: Id8f39631d615d86ab9afc4a68baedf855fd78e73
2018-01-17 04:05:45 -05:00
Zuul
f46fc34160 Merge "Add additional context to contribution guide" 2018-01-17 04:37:19 +00:00
Shivanand Tendulker
084da02a32 Adds RPC calls for rescue interface
This commit adds RPC calls for rescue interface.
It also adds transitions to/from the rescue-related states.

Change-Id: I12cc8c3b89588394ff10837f05dd6ad5e9b55ee7
Partial-bug: #1526449
Co-Authored-By: Jay Faulkner <jay@jvf.cc>
Co-Authored-By: Josh Gachnang <josh@pcsforeducation.com>
Co-Authored-By: Jesse J. Cook <jesse.j.cook@member.fsf.org>
Co-Authored-By: Mario Villaplana <mario.villaplana@gmail.com>
Co-Authored-By: Aparna <aparnavtce@gmail.com>
Co-Authored-By: Shivanand Tendulker <stendulker@gmail.com>
2018-01-15 23:50:39 -05:00
Zuul
67d225268e Merge "Add documentation covering storage multi-attach" 2018-01-15 22:47:38 +00:00
Julia Kreger
b868f674d2 Add additional context to contribution guide
Write down our relatively unwritten context of what
expectations exist for contributions and timelines
related to contributions.

Also performed some minor updates and added a note for
future document revision in the Rocky cycle.

Co-Authored-By: Ruby Loo <ruby.loo@intel.com>
Change-Id: I2d80043f0556a28fe355034ca66883384c408710
2018-01-15 15:40:30 +00:00
Zuul
eef73d257f Merge "Switch non-vendor parts admin guide to hardware types" 2018-01-11 13:32:00 +00:00
Zuul
7ac39e4029 Merge "Remove ironic_tempest_plugin/ directory" 2018-01-11 00:46:43 +00:00
Dmitry Tantsur
8a87fc6fcb Switch non-vendor parts admin guide to hardware types
This change makes the admin guide use hardware types for examples and
explanations. The in-band inspection document was updated with recent
changes.

Vendor driver documentation requires more careful review, and ideally
should be updated by vendor representatives.

Change-Id: I98a2eb905e352502a7f9f4cb1804c9d64489ec47
Partial-Bug: #1690185
2018-01-10 12:34:17 +01:00
John L. Villalovos
7e1287f243 Remove ironic_tempest_plugin/ directory
We now use the project openstack/ironic-tempest-plugin to store our
tempest plugin. All content from the ironic_tempest_plugin/ directory
has been ported to that project.

We no longer want to have the plugin content stored here so we delete
it.

Remove check in tools/flake8wrap.sh that prevented changes to the
ironic_tempest_plugin/ directory.

Change-Id: I700bd7b71472fa91f6bc02aebc055584df08e0ef
2018-01-05 15:12:13 -08:00
Vasyl Saienko
61b81d0c73 Add uWSGI support
This patch implements uWSGI support for ironic API service.
ironic/api/app.wsgi is deprecated in favor of pbr generated
ironic-api-wsgi

Co-Authored-By: anascko <ovoshchana@mirantis.com>

Change-Id: Ieb68c1042e31b77f9a549fd90afe31a65008deca
Closes-Bug: #1719260
Closes-Bug: #1668966
2017-12-28 18:08:49 +02:00
wangzhengwei
28a50d8a49 Fix ironic node create cli
Change-Id: Ief59bc5c498de70dec94743c25b68888acffc549
2017-12-27 09:57:35 +00:00
Julia Kreger
26d7be52d7 Add documentation covering storage multi-attach
Change-Id: Ia4767328023acfa43ce513396fc963e75ba60b52
Closes-Bug: #1735474
2017-12-21 12:06:40 -08:00
Zuul
ed1872141c Merge "Document the check done in "ironic-dbsync upgrade"" 2017-12-21 12:30:08 +00:00
Ruby Loo
7e38a08ee2 Document the check done in "ironic-dbsync upgrade"
This adds documentation about the version check done by the
"ironic-dbsync upgrade" command.

Change-Id: Id213784602658692ea452edebfb874b26f127c58
2017-12-20 22:57:44 +00:00
Zuul
2924c3efb6 Merge "Finalize migration to keystoneauth adapters" 2017-12-20 02:21:54 +00:00
Pavlo Shchelokovskyy
ba53acb279 Finalize migration to keystoneauth adapters
removes code that allowed some service sections to not have and use
keystoneauth adapter options.

Also deprecates `[keystone]region_name` option in favor of per-client
option of the same name.

Change-Id: Ifd58947b016bfa93b516dd47a170ba8f5abf277e
Closes-Bug: #1699547
2017-12-19 12:17:35 +02:00
Zuul
547159c893 Merge "Use adapters for neutronclient" 2017-12-18 05:51:38 +00:00
Zuul
75499e1ccf Merge "Follow up Add additional capabilities discovery for iRMC driver" 2017-12-15 14:57:17 +00:00
Nguyen Hung Phuong
076b3e649e Follow up Add additional capabilities discovery for iRMC driver
This commit makes changes based upon review feedback
in I1958e18a5b9d933e2aa405b200bac7717f146611.
 - Updates documentation describes required software by python-scciclient
 - Updates release note

Co-authored-By: Tran Ha Tuyen <tuyenth@vn.fujitsu.com>

Related-Bug: #1637422
Change-Id: I1ca1e1e02b8c2102e0dbd858c0a51df0dd6b58fb
2017-12-15 14:26:06 +00:00
Zuul
4ef82a34e0 Merge "Switch emphasis to hardware types in the installation guide" 2017-12-14 19:51:41 +00:00
Dmitry Tantsur
e824e490a3 Switch emphasis to hardware types in the installation guide
This change updates the installation guide to talk in terms of hardware types
and hardware interfaces, only briefly mentioning classic drivers, when needed.

Also fixes incorrect information about instance_info fields in the standalone
guide.

Change-Id: I5e8a0de79c247535fd599318540fb8bbd2fc5df0
2017-12-14 16:24:01 +01:00
Pavlo Shchelokovskyy
4d43262955 Use adapters for neutronclient
deprecates the following options in [neutron] section:
- url
- url_timeout
- auth_strategy

Changes some internal networking-related functions/methods
to accept a request context as optional keyword argument (defaults to
None).
This allows to pass a global request id to neutron client and
in future will simplify creating a user auth plugin from request
context.
For backward compatibility, when calling those functions/methods
without a request context, a dummy request context will be generated
automatically.

Change-Id: Ib327c7a141cfbca63b870027ad8e901c0f48bb2d
Partial-Bug: #1699547
2017-12-14 13:36:03 +02:00
Zuul
a8b676f7dd Merge "Auto-detect the defaults for [glance]swift_{account,temp_url_key,endpoint_url}" 2017-12-13 16:09:25 +00:00
Zuul
84b522ed85 Merge "Receive and store agent version on heartbeat" 2017-12-13 15:58:35 +00:00
Dmitry Tantsur
83dd6a1c0e Auto-detect the defaults for [glance]swift_{account,temp_url_key,endpoint_url}
In many cases, including devstack and TripleO, the swift account to use
is based on the project_id of the 'service' project, so it makes sense
to use it as a default.

Similarly, the temporary URL key can be fetches from Swift, using HEAD
on the account used to access it.

In both cases it is assumed that the same project is used by Ironic
and Glance to access Swift. Explicit values have to be provided
otherwise.

Finally, the endpoint URL can be fetched from the service catalog. Care
is taken to strip the /v1/AUTH_<tenant ID> suffix.

Closes-Bug: #1737714
Change-Id: I701899928f0f780939f17aabc59eb90593ba95f0
2017-12-12 11:48:06 +01:00
wangzhengwei
c70b7dd057 Add 'nova hypervisor-list' in example set of commands to compare the resources in Compute service and Bare Metal service.
Change-Id: I4dc5373eee022648893c94b6e64a9c72ca40726d
Closes-Bug: #1737521
2017-12-12 02:57:24 +00:00
Sam Betts
b642f28be4 Receive and store agent version on heartbeat
This patch enables receiving agent_version as part of heartbeat, and
stores this information on driver_internal_info. This is so that Ironic
can dynamically adjust which features and parameters it uses based on
which version of the agent is being used.

Change-Id: I400adba5d908b657751a83971811e8586f46c673
Partial-Bug: #1602265
2017-12-11 16:25:47 +00:00
Zuul
5f563d924c Merge "Add spec & priorities links to contributor doc" 2017-12-10 12:38:40 +00:00
Zuul
cb31471aae Merge "Update docs to include API version pinning" 2017-12-07 11:01:25 +00:00
Zuul
d56eb3d637 Merge "Add networking-fujitsu ML2 driver to multitenacy doc" 2017-12-06 11:18:54 +00:00
Ruby Loo
76312313d4 Update docs to include API version pinning
This updates the documentation to include API version pinning
during the rolling upgrade process.

Change-Id: I493cd6229a8bd68720da4d5c25983a3662f4f35a
Closes-Bug: #1708549
2017-12-06 10:57:50 +00:00
Hironori Shiina
13363abce0 Add networking-fujitsu ML2 driver to multitenacy doc
This pathcs adds networking-fujitsu ML2 driver to the list of ML2
drivers which support network multi-tenacy.

Change-Id: I202f668ebe9ee917f875aca50284a35c5024b60f
2017-12-06 10:49:28 +09:00