1382 Commits

Author SHA1 Message Date
Dmitry Tantsur
ad3c7ad75d Release notes clean up for the upcoming release
Also adds a missing documentation bit and specific versions for pike notes.

Change-Id: I186fe35cdd7a03702c993cae6468ef2d8151778a
2017-10-17 16:18:39 +02:00
Zuul
c0121312a4 Merge "Fix for broken zuul v3 job and releasenotes" 2017-10-17 11:08:30 +00:00
Zuul
1c51e81ab7 Merge "Fix OSError catch" 2017-10-17 01:19:30 +00:00
John L. Villalovos
e082559046 Fix for broken zuul v3 job and releasenotes
The Zuul v3 job is looking for the log files from the release notes
in: .tox/releasenotes/log/ but we had then in .tox/venv/log/

Fix it to where the Zuul v3 job expects it to be.

Also updated the 'docs' job, even though job isn't failing. If the job
did fail, with current setup, no log files would be copied which would
make debugging more difficult. This change will make it so the log
files are copied.

Change-Id: I5c036db1a9e94ca28e26fd7b45475d52223f5f0e
2017-10-16 13:50:44 -07:00
Jenkins
1e95df849e Merge "Add bindep.txt file" 2017-10-13 18:57:39 +00:00
Julia Kreger
308cddc1bb Fix OSError catch
The _execute helper was catching OSError, except it
was expecting the same attributes as ProcessExecutionError,
which is incorrect.

Added a separate catch and unit test to ensure that we
at least properly catch and convert the error instead of
raising an error about an attribute that does not exist.

Change-Id: Id47715a5657478e4d9dd10ea7f360b1ededa27de
Closes-Bug: #1715466
2017-10-12 14:32:50 +00:00
Vasyl Saienko
09c9582213 Add bindep.txt file
This is used by  [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
files with added platform specifiers.

Packages have been tagged with certain bindep profiles:
- test - needed to compile Python dependencies and for other tox targets,
  profile of this name is used by various gate jobs
- 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  folder.

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

Change-Id: I49c9e8314db4f7d778e3316d7f3b9de0fcf89cd3
2017-10-12 10:25:31 +00:00
John L. Villalovos
6d84d9642a Fix a mis-formatted log message
There was an error in thinking that we can pass a tuple to log a
message. Corrected this error.

Change-Id: I45a2512f2dc50d6cacc646321d26c2f1c5713137
2017-10-10 15:16:40 -07:00
Jenkins
e87d039111 Merge "Migrate to stestr as unit tests runner" 2017-10-06 22:04:08 +00:00
John L. Villalovos
0ef540fc20 Migrate to stestr as unit tests runner
Recent update brought os-testr 1.0.0 that already uses stestr test
runner instead of testrepository. This patch migrates those places
using testrepository to using stestr.

Inspired by the patch of the same name in openstack/ironic

Change-Id: I2c1b271550629437627f3f62b6f33e2beb2b3c4b
2017-09-26 09:23:53 -07:00
Jenkins
0fb3329a18 Merge "Remove hard-coded path to grub binaries" 2017-09-26 09:16:09 +00:00
Jenkins
ad44a7922b Merge "Report /dev/disk/by-path on inspection" 2017-09-26 09:15:43 +00:00
Ilya Etingof
d0a53149f8 Report /dev/disk/by-path on inspection
When inspecting block devices on a node, discover and
report the /dev/disk/by-path/XXX name along with the
/dev/XXX block device name.

The second name does not change between Linux system
reboots and has greater chances to be the same across
similarly configured nodes.

Note: this patch depends on
https://review.openstack.org/#/c/500524/
library patch, but this dependency can't be expressed
with Depends-On clause. Therefore once this patch
requires a followup patch to enable one currently disabled
test in this patch.

Change-Id: I09874f19890500d352521f89573e2aaf50a29022
Closes-Bug: #1679726
2017-09-25 11:55:11 +02:00
Vasyl Saienko
db5272cfea Remove hard-coded path to grub binaries
Use PATH variable to find grub binaries.

Closes-Bug: 1717255

Change-Id: Ic6a2bafdc87e33c4e1c4534fa355f995c824b945
2017-09-25 09:30:58 +03:00
John L. Villalovos
b67f9c1298 flake8: Enable some off-by-default checks
Enable the following off-by-default checks:
    * [H204] Use assert(Not)Equal to check for equality.
    * [H205] Use assert(Greater|Less)(Equal) for comparison.
    * [H210] Require ‘autospec’, ‘spec’, or ‘spec_set’ in
             mock.patch/mock.patch.object calls

Increase the version of hacking in test-requirements so that can use new
off-by-default checks.

No changes to code were required.

Change-Id: I98aa484dc5414ee49c281dfd40e44b3c613d53e0
2017-09-23 12:28:14 -07:00
Nguyen Van Trung
9ed2677c9d Fix wrong link about Hardware Managers
Change-Id: Ie7d43313692e5f0bd7794ae38e7b86f2204ef90b
2017-09-21 09:13:09 +07:00
Dmitry Tantsur
f153a741e1 Clean up deprecated items in the inspection code
* Remove support for setting IPMI credentials (removed from inspector in Pike)
* Stop sending the ipmi_address field (bmc_address is used instead since Pike)

Change-Id: I1696041db62ba27e5d31e8481cb225a43d7e2a46
Closes-Bug: #1654318
2017-09-19 14:05:13 +02:00
OpenStack Proposal Bot
69f985d334 Updated from global requirements
Change-Id: I42c1a4d34194a3d3ae7d330ad4959155ec41d192
2017-09-16 23:13:09 +00:00
Dmitry Tantsur
d6ff5116f4 Remove assumption that a valid IPMI channel cannot follow an invalid one
It seems to be incorrect at least for some iLO machines.
Also harden the code against invalid output from ipmitool.

Change-Id: I733785e9c7d86eadca963f0776910504bf91bcfe
Closes-Bug: #1714944
2017-09-11 18:43:24 +02:00
OpenStack Proposal Bot
c90b150043 Updated from global requirements
Change-Id: I4e0e586f9e37548c27bb0f8475999ea2567f0737
2017-08-24 05:50:24 +00:00
51bc4b538b Update reno for stable/pike
Change-Id: I77ed8e62863cafa0b98b40dbf2c26ae788206e45
2017-08-16 08:53:40 +00:00
Jenkins
81d366dca6 Merge "Release notes cleanup for Pike release" 2.2.0 2017-08-14 21:09:13 +00:00
Ramamani Yeleswarapu
d744ab5c89 Release notes cleanup for Pike release
Change-Id: I862fdd1d178445efaf2578949b1c2c00614396b3
2017-08-14 13:30:20 -07:00
Jenkins
facf2e3336 Merge "Update links in README" 2017-08-14 18:57:39 +00:00
lidong
493527ae78 Update links in README
Change the outdated links to the latest links in README

Change-Id: Ibb323d7305f2e58a697cc6ea461e3e645e75800c
2017-08-11 00:48:07 +00:00
Jenkins
a487120187 Merge "BMC can be configured using different lan channel" 2017-08-10 09:39:55 +00:00
Jenkins
a3a2652119 Merge "Use standard quote character" 2017-08-09 22:55:02 +00:00
Mateusz Kowalski
8891018897 Use standard quote character
On some platforms using ’ instead of ' causes problems for
tox to be run. This patch fixes this at the same time not
causing any readability issues.

Change-Id: Icf8e4a9aa42dce64afb0d15ca7ff005478dbbfa7
2017-08-09 15:39:14 +02:00
Mateusz Kowalski
7c28332e9a BMC can be configured using different lan channel
It may happen that BMC is configured to use non-zero channel.
In this case we should iterate across all of them as long as we
get a correct IP address (in this case different than "0.0.0.0"
which is a placeholder for not configured console).

Change-Id: I3c351af1882b24c8f56e4363249b19b5c3a4a446
Closes-Bug: #1702514
2017-08-09 15:35:57 +02:00
OpenStack Proposal Bot
856722e1a1 Updated from global requirements
Change-Id: Id4b7336f8b441925412318a79839130babb526a5
2017-08-03 00:31:21 +00:00
Ramamani Yeleswarapu
3ab779c897 Collect processor, memory and BIOS output of dmidecode - follow-up
Fixes nits, modifies unit tests.

This is a follow-up to commit c5544fb7a0d9d2a1481b3256c3587259368b599e.

Change-Id: Ibca82cc6e32311b1ff0be7137d8392f63e12639b
Closes-Bug: #1635057
2017-07-27 07:30:54 -07:00
Jenkins
e626cd744f Merge "Removes unnecessary utf-8 encoding" 2017-07-25 19:40:23 +00:00
Jenkins
aa8f68bbca Merge "Collect processor, memory and BIOS output of dmidecode" 2017-07-24 12:29:36 +00:00
OpenStack Proposal Bot
8110243388 Updated from global requirements
Change-Id: Ifc6e645014f1ddba696a6e21fe8349d2f7b30103
2017-07-18 01:47:05 +00:00
Julia Kreger
7ae28c66bd Correct/update links
Correct instances of http to https and fix any remaining links
that were broken due to the document migration.

Change-Id: I492f7972839e63efdde469a1e16840d9be6d8b31
2017-07-14 20:28:08 +00:00
Julia Kreger
da95c4a891 Move content to admin
Change-Id: Ibffc7407addbdabb9121117366484f907d82f719
2017-07-11 13:45:45 +00:00
Julia Kreger
cace396783 Move install related content
Change-Id: Ib9a3897795993e7bce9a43d4028e1c9a90d47302
2017-07-11 13:33:46 +00:00
Julia Kreger
537dbcd03a Move contributor documentation
Change-Id: I43890d380b3cb6b19cfb84bf5d9dcad4f19c0062
2017-07-10 19:57:58 +00:00
Arundhati Surpur
2d1bff8f0d Removes unnecessary utf-8 encoding
This patches removes unnecessary utf-8
encoding in doc/source/conf.py

Change-Id: I864658137f58e78cd275cf8de7b0774a8d7991cb
2017-07-04 14:19:21 +05:30
Julia Kreger
774d995b7f Switch from oslosphinx to openstackdocstheme
Change-Id: I1aecf894955e8095c11b8fb82d60488e5d0aca5f
2017-07-04 01:10:43 +00:00
Ramamani Yeleswarapu
c5544fb7a0 Collect processor, memory and BIOS output of dmidecode
Implements an optional collector 'collect_dmidecode_info' for
collecting detailed info of processor, memory and BIOS and
adds it to the inspection data.

Collects BIOS, processor, memory info and adds under the 'dmi' key.

Change-Id: Ida9b418ca579b15de70d17886631f3b21697987e
Closes-Bug: #1635057
2017-06-28 10:23:45 -07:00
OpenStack Proposal Bot
85f627157d Updated from global requirements
Change-Id: I30866baf4d347dfc8d0a45fbe29c444778443783
2017-06-27 12:11:12 +00:00
OpenStack Proposal Bot
5e02d31c74 Updated from global requirements
Change-Id: I58e3ad5330714ea2348e8043ea77063a7c965bc8
2017-06-15 16:24:20 +00:00
ChangBo Guo(gcb)
30e0da15ea Remove usage of parameter enforce_type
Oslo.config deprecated parameter enforce_type and change its
default value to True in Ifa552de0a994e40388cbc9f7dbaa55700ca276b0.
Remove the usage of it to avoid DeprecationWarning: "Using the
'enforce_type' argument is deprecated in version '4.0' and will be
removed in version '5.0': The argument enforce_type has changed its
default value to True and then will be removed completely."

Change-Id: I0f0fb540c43edde64e489915c5199da40a0da9c1
Related--Bug: #1517839
2017-06-14 13:47:29 +08:00
Jenkins
ae8a5fc731 Merge "Remove pbr warnerrors in favor of sphinx check" 2017-06-12 23:05:55 +00:00
Vu Cong Tuan
667ad45615 Remove pbr warnerrors in favor of sphinx check
This change removes the now unused "warnerrors" setting,
which is replaced by "warning-is-error" in sphinx
releases >= 1.5 [1].

[1] http://lists.openstack.org/pipermail/openstack-dev/
2017-March/113085.html

Change-Id: I9bf18ff72f36dfd3496b9672604e8bb98999b133
2017-06-11 18:18:28 +07:00
OpenStack Proposal Bot
cf60715870 Updated from global requirements
Change-Id: I2a3c3c5c94f7b0ed593de252b79be461ffcc5ccf
2017-06-10 21:38:12 +00:00
Jenkins
af9caeeaae Merge "fix path for ldlinux.c32" 2017-06-08 07:02:16 +00:00
Jenkins
da2ee32a8b Merge "[imagebuild] support requirements referring to /opt/stack/new" 2017-06-07 15:35:36 +00:00
Dmitry Tantsur
381f5073b5 [imagebuild] support requirements referring to /opt/stack/new
Now that ironic-lib builds IPA from source, the IPA building procedure
needs to support requirements referring to /opt/stack/new.

As upper-constraints are not actually needed in the finalise step, they're
no longer used there to avoid dealing with file:/// references. We also
allow pre-release packages to be installed by pip.

Also install git as it's a build requirement for PBR.

Only tinyipa is updated, as it's used in the ironic-lib gate.

Change-Id: Ia942cb710eb3fe1ba56c68f91fa893795c9cb651
Closes-Bug: #1695877
2017-06-07 13:45:37 +02:00