7933 Commits

Author SHA1 Message Date
paresh-sao
4773fdfb52 [docs] Firmware based boot from volume for iLO drivers
Adds documentation for boot from iSCSI volume in UEFI boot mode

Change-Id: I50f1f5174b286b10edd9b387c025db23380a980a
Related-Bug: #1526861
2018-02-02 15:46:07 +00:00
Shivanand Tendulker
8010b07076 Follow-up patch for api-ref documentation for rescue
This patch addresses outstanding comments for commit
9a6c62dd8e54bb07f4ca4da0b4c3c4e71ebf7971

Change-Id: I3072f36a57cfd4d4963d5aa0bd2a60888df4d587
Related-Bug: #1526449
2018-02-02 10:05:47 -05:00
Zuul
193606f0ce Merge "Update api-ref for port group create" 2018-02-02 14:48:04 +00:00
John Garbutt
d336978834 Remove sample policy and config files
Now we have docs, lets point people there rather than attempting to
maintain a copy in tree.

Also update the devstack plugin to know nothing about policy.json, as it
never allowed for customizing the location or the contents anyhow, and
to build ironic.conf from scratch rather than from the sample.

Change-Id: I10a4987204eb335f1fed29d4b1d7f3e075aa1792
2018-02-02 11:21:29 +00:00
Zuul
b8a389082b Merge "Fix configure-networking docs" 2018-02-02 09:24:43 +00:00
Zuul
7bee7b7c5f Merge "Wait for ironic-neutron-agent to report state" 2018-02-02 09:24:40 +00:00
wangdequn
026bce80b7 correct referenced url in comments
Change-Id: Ia9f7100b669bed71cc4f01bf4d552efb07161005
2018-02-02 15:24:22 +08:00
Zuul
fe5063a867 Merge "[api-ref] clarify what /v1/lookup returns" 2018-02-02 00:38:40 +00:00
Zuul
25274b0dc9 Merge "node_tag_exists(): raise exception if bad node" 2018-02-02 00:38:37 +00:00
Harald Jensas
4cad4cfe16 Remove unused code in unittest
Change-Id: I8e1f94654f35eeae55009d53f6a550d27b9637f8
2018-02-02 01:34:56 +01:00
Zuul
5766561f49 Merge "Updated from global requirements" 2018-02-01 22:43:45 +00:00
Zuul
dce62691f7 Merge "Migrate the remaining classic drivers to hardware types" 2018-02-01 22:05:54 +00:00
Zuul
cdb2095696 Merge "Remove mode argument from boot.(prepare|clean_up)_ramdisk" 2018-02-01 20:56:57 +00:00
Zuul
3ac9166298 Merge "Add api-ref and ironic state documentation for rescue" 2018-02-01 20:38:37 +00:00
Zuul
8499dd4be9 Merge "Do not use asserts with business logic" 2018-02-01 20:38:35 +00:00
Zuul
92e0797724 Merge "Devstack - use neutron segments (routed provider networks)" 2018-02-01 20:06:09 +00:00
Harald Jensas
71021bb9d4 Fix configure-networking docs
This patch address feedback in Ic9a5d1de959cbeedb0e56ab5447042ce29028a8d

Change-Id: I58543cc18745f8ec6876423fbe72fcca3a7cbdb6
2018-02-01 19:47:14 +01:00
Zuul
f51909d378 Merge "Update FAQ about updates of release notes" 2018-02-01 17:49:25 +00:00
Zuul
66ff4078cf Merge "Add documentation for baremetal mech" 2018-02-01 17:49:22 +00:00
Zuul
4d5ccb5b9d Merge "Follow-up for Switch OneView driver to hpOneView and ilorest libraries" 2018-02-01 17:49:19 +00:00
Zuul
0c92e0852b Merge "Remove unused code in common/neutron.py" 2018-02-01 17:49:16 +00:00
Dmitry Tantsur
d1062cfbdd Migrate the remaining classic drivers to hardware types
I've tried my best to provide a correct matching for these, but
there are two exceptions:

* fake_drac uses iscsi deploy with None boot, which cannot work,
  so changing both to fake
* some fake drivers are migrated to the 'fake' power interface,
  which is changed to include soft power as well.

The latter means that all fake classic drivers now support fake
soft power actions, while previously only fake_soft_power did.
Now fake_soft_power is identical to fake and is left for backward
compatibility

Also wrote more tests to check correctness of this migration.

Change-Id: I00c9c6ed698b10f035e65428e1a20d733c7e544a
Partial-Bug: #1690185
2018-02-01 18:38:24 +01:00
Jim Rollenhagen
954a234820 Remove mode argument from boot.(prepare|clean_up)_ramdisk
Ideally, the boot interface shouldn't care if it's booting an image for
deploy or rescue. The first step to unwinding this is not passing the
mode argument into the boot interface - for now, we infer it from the
state. Also stop validating whether the boot interface methods have a
mode argument, as this is totally broken anyway (due to the decorator on
the method). The rest of the boot interface's knowledge about deploy vs
rescue can be eliminated in the future, as we shouldn't rework too much
of that during feature freeze.

We fix the bug in validation this way for now, for two reasons:

* This argument really doesn't belong, and it's only been on master for
  six days. Get it out before people use it.
* Library updates are currently frozen; fixing the decorator isn't an
  option right now.

Change-Id: Icdeb870e9fd9cf836ff7ab97624189c8436adaba
Closes-Bug: #1746730
2018-02-01 15:40:50 +00:00
Pavlo Shchelokovskyy
a61ee9429a Do not use asserts with business logic
a piece of code in node object was relying on result of 'assert'
to block negative values of properties.

When running Python in optimized mode (-OO) this assert will be
swallowed and negative values may slip through.

Replace this line with proper if-block.

Change-Id: Iec1edc55219cfd6c54afa52c1ecd0cf76340bddf
2018-02-01 15:59:27 +02:00
Derek Higgins
e209a6cf02 Add option to specify mac adress in devstack/.../create-node.sh
Add an option that allows the caller to specify a MAC for the
created node.

Change-Id: I341aa23b45901ee5e96254508c6327ebf67f2c9e
2018-02-01 11:46:56 +00:00
Zuul
d4e35611c4 Merge "Deprecate classic drivers" 2018-02-01 11:09:59 +00:00
Zuul
f1e5b92e44 Merge "Flat networks use node.uuid when binding ports." 2018-02-01 11:07:27 +00:00
Zuul
366b29b24f Merge "Add missing ilo vendor to the ilo hardware types" 2018-02-01 10:26:14 +00:00
OpenStack Proposal Bot
23851abb52 Updated from global requirements
Change-Id: Id247c4f516f72f424976a939ca7c16b1e203b48f
2018-02-01 07:10:31 +00:00
Ruby Loo
2166974f28 [api-ref] clarify what /v1/lookup returns
Update the api-ref documentation for the /v1/lookup API, so that
it mentions the node fields that are returned. It does not return
the configdrive value (that is bleeped out in the response).

Change-Id: I24a47a2cfefc582bd0b5f1f0068e89a3091cf397
2018-01-31 15:48:47 -05:00
Zuul
b8af1cd853 Merge "Soft power operations for OneView hardware type" 2018-01-31 19:54:28 +00:00
Ruby Loo
8492012e4b Update FAQ about updates of release notes
This updates the FAQ about how/when to update release notes.
In particular, it is now possible to update release notes for
intermediary releases that haven't yet been branched.

Change-Id: I90986e24d66ea9d183a255e0ac3b0f088e47c176
2018-01-31 13:48:41 -05:00
Harald Jensas
3ad7a3e4ad Add documentation for baremetal mech
Add to configure-networking section, installation and
configuration of networking-baremetal plugin.

Related-Bug: #1658964
Change-Id: Ic9a5d1de959cbeedb0e56ab5447042ce29028a8d
2018-01-31 18:31:16 +01:00
Zuul
eeeff800b3 Merge "Follow-up for Implementation for UEFI iSCSI boot for ILO" 2018-01-31 16:54:18 +00:00
Harald Jensas
cd7fd1feff Flat networks use node.uuid when binding ports.
The flat driver will use the ironic node uuid as
binding:host_id when ports are bound. Also the
binding:vnic_type will be baremetal so that the mechanism
driver in networking-baremetal can bind the port.

Related-Bug: 1658964
Depends-On: I952c7afbef5e80e3fd2a7f32f11bdc522e1ea397
Change-Id: I7841d59c3590106dd8ac7e625a9db7b47674fe29
2018-01-31 16:58:18 +01:00
Dmitry Tantsur
8f464b909a Add missing ilo vendor to the ilo hardware types
I'm not sure why it was missed initially. But if we don't have it,
the automatic migration to hardware types will reset the vendor
interface to no-vendor, which may look like a regression to users.

Change-Id: I6da6aa8138d7f0cbf225c15c4137edeec2c33d49
Related-Bug: #1690185
2018-01-31 16:49:56 +01:00
Hugo Nicodemos
c924a374c4 Follow-up for Switch OneView driver to hpOneView and ilorest libraries
This patch addresses comments for patchs related to
bug #1693788

Change-Id: I1fbab4674050bfbd94882c65686881867b100191
Related-Bug: 1693788
2018-01-31 12:02:19 -03:00
Stenio Araujo
24df981b58 Soft power operations for OneView hardware type
Oneview hardware type currently performs power operations
using OneView "Press and Hold" mode. There is a
"Momentary Press" and a reboot mode that could be directly
mapped to the different options supported by Ironic.

Closes-Bug: 1722374
Change-Id: I5df8a814384f140b5e5c768c78c57cab7fbdaaa2
2018-01-31 14:41:53 +00:00
Dmitry Tantsur
02378fdcde Deprecate classic drivers
Also address small issues in the release note for the migration
to hardware types.

Change-Id: I32998c5508e01882714a76751482a916d066f938
Partial-Bug: #1690185
2018-01-31 13:26:53 +01:00
Dmitry Tantsur
8db78cb36a Declare support for Python 3.5 in setup.cfg
This is required for the Python 3.5 goal to be finished for real.

Change-Id: I66a3a50575ce4547bf04e3835a5c92c85977201a
Related-Bug: #1673768
2018-01-31 12:42:57 +01:00
Mario Villaplana
9a6c62dd8e Add api-ref and ironic state documentation for rescue
This patch adds following:
  - Updates ironic state documentation with rescue related states
  - Updates api-ref with rescue interface fields introduced in
    API version 1.38

Co-Authored-By: Mario Villaplana <mario.villaplana@gmail.com>
Co-Authored-By: Aparna <aparnavtce@gmail.com>
Co-Authored-By: Shivanand Tendulker <stendulker@gmail.com>

Partial-Bug: 1526449

Change-Id: Ifcfa52ede62894b1990aaa640944be3431ddfe8f
2018-01-31 04:08:07 -05:00
Zuul
e882dfbd52 Merge "Add support for preparing rescue ramdisk in iLO PXE" 2018-01-31 04:30:39 +00:00
Zuul
d6c5927c38 Merge "Switch the CI to hardware types" 2018-01-31 04:30:36 +00:00
Zuul
19ffef69b7 Merge "Zuul: Remove project name" 2018-01-31 03:13:47 +00:00
Zuul
0184037572 Merge "Follow-up for agent rescue implementation" 2018-01-31 02:26:34 +00:00
Zuul
d1e7c18581 Merge "Mock check_dir in ansible interface tests" 2018-01-31 02:26:31 +00:00
Zuul
d6e917cf7a Merge "Add documentation for node traits" 2018-01-30 23:45:09 +00:00
Zuul
51a0b8143a Merge "Fix nits found in node traits" 2018-01-30 20:38:55 +00:00
Pavlo Shchelokovskyy
f50d975bde Mock check_dir in ansible interface tests
some tests set a fake tmpdir in config and it may fail during impitool
interface init when creating a task object while checking that this
dir actually exists.

Change-Id: I0d04ca944fe0daf9cc9a8e0ba0fded71733a32be
2018-01-30 20:09:24 +02:00
Mark Goddard
00daa18fc9 Add documentation for node traits
Updates the install and admin guides with information on node traits.

Support for node traits was added in Bare Metal REST API version 1.37.

Change-Id: I86e86320df4eb81aa30e5708dde9c82f50ba4d50
Depends-On: https://review.openstack.org/#/c/532288/
Partial-Bug: #1722194
2018-01-30 15:50:55 +00:00