7526 Commits

Author SHA1 Message Date
Zuul
2780a5f170 Merge "Small fixes in the common reference architecture docs" 2017-11-01 02:24:16 +00:00
Zuul
449be6abac Merge "Update ironic.sample.conf" 2017-11-01 02:24:14 +00:00
Zuul
aec58b26c6 Merge "Fix minor documentation missing dependency" 2017-10-31 11:20:29 +00:00
Zuul
8321543501 Merge "Zuul: add file extension to playbook path" 2017-10-31 05:13:06 +00:00
Julia Kreger
445dff0a7a Fix minor documentation missing dependency
The cgroup-lite package which is a dependency for docker,
was not on the example command line, but is present in
the helper script. Since the documentation details manual
steps, we should include that the packages is required.

Change-Id: I536824467d4a175f666dfe635cf0669d1e587ccb
Closes-Bug: #1701258
2017-10-30 12:52:01 -04:00
Dmitry Tantsur
db8f64ac4a Small fixes in the common reference architecture docs
Follow-up to commit d16a205acc0f8a8035837ec596e02650768a96a4.

Change-Id: Idb8603578f9c1daa2b5de828bb859a734bcca0a8
2017-10-30 17:19:08 +01:00
Ruby Loo
64ebfb35ed [reno] Update ironic-dbsync's check object version
This updates the release note pertaining to ironic-dbsync's
check of the object versions, to be explicit that these are the
database records that correspond to the IronicObjects.

This is a follow up to 6a91b38ca48eea2892a5a82b4369f1f9b277d019.

Change-Id: I1e2b3dc60529551746a0c7a258e5ce3cf509f59f
Partial-Bug: #1708243
2017-10-30 12:10:56 -04:00
Hironori Shiina
5c72286338 Update ironic.sample.conf
Updates ironic.sample.conf since some help messages were updated in a
few oslo libraries.

Change-Id: I535cbd5a1b1722cb6fc9bba02327fd7fa59a19c0
2017-10-30 19:23:21 +09:00
James E. Blair
9ec369b04c Zuul: add file extension to playbook path
Zuul now supports including the file extension on the playbook path
and omitting the extension is now deprecrated.  Update references
to include the extension.

Change-Id: I9760e93bfcd8a175bb97a8ee55ce9ff19d8d3923
2017-10-29 15:04:25 -07:00
Zuul
faae2c535f Merge "ironic-dbsync: check object versions" 2017-10-27 21:25:39 +00:00
Zuul
c13e50de88 Merge "Reference architecture: common bits" 2017-10-27 16:04:35 +00:00
Zuul
c439e10432 Merge "Revise deploy process documentation" 2017-10-26 04:38:40 +00:00
Zuul
2b743f46b0 Merge "Add I202 to flake ignore list" 2017-10-25 17:34:00 +00:00
Vladyslav Drok
e0514cb85b Add I202 to flake ignore list
Pep8 job currently fails complaining about I202 in a bunch of
modules. This change fixes the genuine errors in the module
import order, and adds I202 to the skip list so that we don't
have to add noqa comments everywhere we can not satisfy the
check. After we split out the tempest plugin, we'll remove
I202 from the ignore list and add noqa comments in the places
where it will still be needed.

Change-Id: Ia170a41d35dea8c9eda2b36c907dbc518169a824
2017-10-25 14:32:52 +03:00
Vladyslav Drok
9280560752 Revise deploy process documentation
Add more details about the node deployment process, when an instance
is booted by nova. This change covers iscsi and direct deploy methods
with PXE boot. This change also updates the sequence diagrams for
deploy process.

Co-Authored-By: Galyna Zholtkevych <galynazholtkevych1991@gmail.com>

Change-Id: Icaec14d10e702627bab0763e40efa77131564dec
2017-10-24 21:37:40 +03:00
Zuul
a710321f7d Merge "Update validating node information docs" 2017-10-24 14:06:08 +00:00
Zuul
09fae1c98f Merge "Add a timeout for powering on/off a node on HPE OneView Driver" 2017-10-24 13:20:50 +00:00
root
bab1054a0a Add a timeout for powering on/off a node on HPE OneView Driver
There is an aditional timeout parameter when powering on/off
an Ironic node that is not being used at OneView drivers.

Closes-Bug: 1722616
Change-Id: Ic94b8d3c24f1ded526d3c412432b64fe328879a8
2017-10-23 12:53:43 -03:00
Ruby Loo
6a91b38ca4 ironic-dbsync: check object versions
Now that we have rolling upgrades and the version column was
added and populated in the Pike release, we can add checks to
make sure the versions of objects in the DB are compatible
with this ironic release, before ironic-dbsync's upgrade or
online_data_migrations does its work. These ironic-dbsync
calls are made as part of upgrading to this (Queens) release.

Change-Id: I68758f8a29d483f5c0a7439fa2ea2962b2eb4124
Partial-Bug: #1708243
2017-10-23 12:52:25 +00:00
Nguyen Van Trung
b219699e9d Update validating node information docs
eg:
    +------------+--------+--------+
    | Interface  | Result | Reason |
    +------------+--------+--------+
    | boot       | True   |        |
    | console    | True   |        |
    | deploy     | True   |        |
    | inspect    | True   |        |
    | management | True   |        |
    | network    | True   |        |
    | power      | True   |        |
    | raid       | True   |        |
    | storage    | True   |        |
    +------------+--------+--------+

Change-Id: I7f93b866cf4b50047e8666c3c5c01a201f18ef4b
2017-10-23 13:29:08 +07:00
Pavlo Shchelokovskyy
e437970bca Use jinja rendering from utils module
re-use utils.render_template function when building kernel options
for image.

Change-Id: I1f0cfe9ae7e30e76023f5891597cc14adfe3928f
2017-10-20 18:20:03 +03:00
Zuul
1b55698fab Merge "Add missing 'autospec' to unit tests - /unit/common/" 2017-10-20 14:47:10 +00:00
Zuul
50ed0b1f0f Merge "Finish the guide on upgrading to hardware types" 2017-10-19 18:02:36 +00:00
Zuul
4613de06a7 Merge "[bfv] Set the correct iqn for pxe" 2017-10-19 18:02:35 +00:00
Dmitry Tantsur
87e142f6ce Finish the guide on upgrading to hardware types
This change adds missing information about the iDrac, CIMC and UCSM drivers,
as well as socat variants of the ipmitool drivers. Added a column for
the inspect interface. The resulting table is sorted by the classic
driver name to reflect how people are likely to use it.

Change-Id: I645c0a2a33dedecce37796a7eef7480dceef262a
2017-10-19 14:09:55 +00:00
Zuul
f4a6f146e2 Merge "Move ironic legacy jobs into the ironic tree" 2017-10-19 06:53:57 +00:00
Zuul
333eae274f Merge "Secure boot support for irmc-virtual-media driver" 2017-10-19 06:25:24 +00:00
Zuul
64bcae1137 Merge "Fix missing logging format error" 2017-10-19 02:58:48 +00:00
Zuul
50a215cbb0 Merge "Remove 'next' for GET /nodes?limit=1&instance_uuid=" 2017-10-18 16:39:05 +00:00
Zuul
6d14576744 Merge "Disallow rolling upgrade from Ocata to Queens" 2017-10-18 16:14:22 +00:00
Sam Betts
4b37c29b5e Move ironic legacy jobs into the ironic tree
This patch moves the legacy ironic CI jobs into the ironic tree instead
of storing them in openstack-infra/openstack-zuul-jobs to give us
control as we migrate the legacy jobs to the new ansible roles.

Change-Id: Ib728fadbdab2eb9f1ba5112297a32dbdbfd1d5fd
2017-10-18 16:52:46 +01:00
zhu.fanglei
8ab1499d64 Fix missing logging format error
Missing logging format will cause 'ValueError: unsupported
format character' error, this is to fix it.

Change-Id: Id5e23b6d65e24ded1127e089d1e00a95a8ca360b
2017-10-17 12:56:00 -07:00
Zuul
45df95c51e Merge "Add online data migrations for conductor version" 2017-10-17 19:25:48 +00:00
Ramamani Yeleswarapu
2e24088f92 Add missing 'autospec' to unit tests - /unit/common/
Proposing adding [H210] hacking check in tox.ini to require ‘autospec’,
‘spec’, or ‘spec_set’ in mock.patch/mock.patch.object calls.

This patch adds missing 'autospec' to unit tests in /tests/unit/dhcp/.

By using autospec=True, assert errors can be caught. [H210] requires that some
value for autospec, spec, or spec_set is defined. It could be autospec=False.

More patches to follow to cover all the unit tests to enable [H210] in
tox.ini.

Change-Id: I579cc09fcaa60b25697f739ddcd96770d55abd20
2017-10-17 10:33:19 -07:00
Zuul
8009754ec2 Merge "Fix "import xx as xx" grammer" 2017-10-17 16:45:15 +00:00
Derek Higgins
217b3f84ac [bfv] Set the correct iqn for pxe
Set the initiator iqn to the connecting node not the target.

Closes-Bug: #1724275
Change-Id: Ife5570c2eebeded360ace8d37c699726b2661d44
2017-10-17 16:34:41 +01:00
Zuul
62d5325c94 Merge "Change pxe dhcp options name to codes." 2017-10-17 13:54:04 +00:00
Zuul
d12e33ec60 Merge "Fix some mis-formatted log messages in oneview driver" 2017-10-17 13:54:01 +00:00
Zuul
a33d994f50 Merge "Support SUM based firmware update as clean step for iLO drivers" 2017-10-17 13:53:56 +00:00
zhu.fanglei
9d167ebf1c Fix "import xx as xx" grammer
This is to fix the redundant "import xx as xx" grammer.

Change-Id: Icbb458dbb370d22eef4f044ddaeb3f21b6b128e9
2017-10-17 15:08:50 +08:00
Zuul
4035e00ae9 Merge "Add missing 'autospec' to unit tests - /unit/dhcp/" 2017-10-16 10:48:20 +00:00
Luong Anh Tuan
4de908587a Secure boot support for irmc-virtual-media driver
This patch adds secure boot support for irmc-virtual-media boot interface as
follows:
- Implement secure boot support for irmc-virtual-media boot interface
- Update irmc driver documentation

Change-Id: I13961aaf6e26591f724d5f52d0a503c71eb6824a
Closes-Bug: #1694649
2017-10-15 10:34:09 +00:00
Vasyl Saienko
228a2a7885 Change pxe dhcp options name to codes.
There is difference between dhcp option names in different backends.
This patch changes options name to code according to [0].

[0] https://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.xhtml

Closes-Bug: 1717236

This is an updated version of c377f5cbbd034e16b68a3fc30e138b03badc9c94
which problems with PXE and dnsmasq due to buggy dnsmasq code which uses
siaddr field to specify tftp server. They are addressed now by always
sending server-ip-address to make sure that dnsmasq works.

More information about siaddr and option 150,66 can be found in
informational RFC https://tools.ietf.org/html/rfc5859

Change-Id: I55487d867979bf6bb4cf228fcf6408beae955d2b
2017-10-13 12:50:58 +03:00
Jenkins
2d486ca8c0 Merge "Updated from global requirements" 2017-10-13 03:56:51 +00:00
Jenkins
03fd6328b6 Merge "Update tests to do not use deprecated test.services()" 2017-10-13 03:47:21 +00:00
Jenkins
7b486950a7 Merge "Use DocumentedRuleDefault instead of RuleDefault" 2017-10-13 02:00:55 +00:00
OpenStack Proposal Bot
5013e065aa Updated from global requirements
Change-Id: Ia6d9f7456e3e1f0f35f775b7b3c512182f3126fb
2017-10-12 21:54:18 +00:00
Pavlo Shchelokovskyy
522e95dbc5 [docs] describe vendor passthru in hw types
add a `Vendor` section to `Upgrade to Hardware Types` page
that describes changes to take when migrating a classic driver that
was using a `VendorMixin` functionality to a hardware type.

Change-Id: Ic2b80726165f960c4b71d396c2dc5078eda4ead2
2017-10-12 12:06:10 +03:00
Pavlo Shchelokovskyy
b2fcf4804f Add bindep.txt file
This is used by `bindep` [0] to assess if needed system packages are
installed.
It should allow easier installation of Python packages on a clean
system from source and help packagers too.
For now it is just a copy/merge of `devstack/files/[debs|rpms]/ironic`
files with added platform specifiers.

Packages have been tagged with certain bindep profiles:
- default - needed to run ironic service in production
- test - needed to compile Python dependencies and for other tox targets,
  profile of this name is used by various gate jobs
- devstack - needed to setup VMs posing as HW nodes by the devstack
  plugin
- imagebuild - only needed to build various types of deploy ramdisk

Note that DevStack install procedure currently does not use 'bindep',
and still relies on files in `devstack/files/...` folder.

[0] http://docs.openstack.org/infra/bindep/index.html

Change-Id: I42239e0ec960507b7345866d768b3ee06738799b
2017-10-12 12:05:36 +03:00
John L. Villalovos
4868ac6186 Fix some mis-formatted log messages in oneview driver
There was an error in thinking that we can pass a tuple to log a
message. Correct this error.

Change-Id: I10e91df06d3bdfca226098a1f077587ebbb33820
2017-10-10 16:45:44 -07:00