1358 Commits

Author SHA1 Message Date
Ramamani Yeleswarapu
d744ab5c89 Release notes cleanup for Pike release
Change-Id: I862fdd1d178445efaf2578949b1c2c00614396b3
2017-08-14 13:30:20 -07: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
OpenStack Proposal Bot
9028742ebc Updated from global requirements
Change-Id: I8f3c7abb313a18ec8f41aefc6001392818a9ccf5
2017-06-05 17:21:17 +00:00
Jenkins
bf88bf1cff Merge "Log 'Executable biosdevname not found' only once" 2017-06-05 17:02:09 +00:00
Ruby Loo
a7ffa7db98 fix path for ldlinux.c32
This fixes the path for ldlinux.c32. It should be in the absolute
path /usr/..., not the relative path usr/...

Related-Bug: #1694394

This is a followup to ead3b90655979d0423f409b21a17da9e28a8de1b

Change-Id: I0aaae7e337b1ac631f789c11b3bf6e944e395456
2017-06-05 11:36:57 -04:00
Ramamani Yeleswarapu
a42ef91591 Log 'Executable biosdevname not found' only once
Currently, get_bios_given_nic_name logs 'biosdevname not found' for
every NIC. This patch changes it to log only once when the executable
is not found.

Removes a redundant 'return' statement.

Change-Id: Ic42ec23876b6f7b28d8f6ac1bd37bdbfa20cf421
2017-06-02 10:59:25 -07:00
Hironori Shiina
ead3b90655 Copy ldlinux.c32 for building ISO image
This patch copies ldlinux.c32 to isolinux directory when building an
ISO image. ldlinux.c32 is required for syslinux 5.00 or later[1]. The
location of ldlinux.c32 depends on distrubution[2][3].

[1] http://www.syslinux.org/wiki/index.php?title=ISOLINUX#How_Can_I_Make_a_Bootable_CD_With_ISOLINUX.3F
[2] https://packages.ubuntu.com/xenial/all/syslinux-common/filelist
[3] https://www.rpmfind.net/linux/RPM/dag/redhat/el6/x86_64/extras/syslinux-5.10-1.el6.rfx.x86_64.html

Change-Id: I31dfb8423a1fe453740119ebe8b855dc23a4c033
Closes-Bug: #1694394
2017-05-31 11:07:34 +09:00
Jenkins
7dbe9b5bed Merge "Add option for building IPMItool into TinyIPA" 2017-05-25 22:30:12 +00:00
Jenkins
73a884fc41 Merge "Add a new location of isolinux.bin for Ubuntu 16.04" 2.1.0 2017-05-24 14:28:10 +00:00
Hironori Shiina
35ea727e6a Add a new location of isolinux.bin for Ubuntu 16.04
This patch adds a new location of isolinux.bin for creating iso. This
file is installed to /usr/lib/ISOLINUX/ in Ubuntu 16.04 or later.

Change-Id: Iae325e3e706859b1df409f23e679d5219dc6f187
Closes-Bug: #1693127
2017-05-24 19:14:03 +09:00
Dmitry Tantsur
40ddf861c7 Fix compatibility with Pint 0.5
This is the version we have in global-requirements, and it does not
contain module pint.errors. Fortunately, in all versions the required
error is exposed on the top level, so just use it.

See https://review.rdoproject.org/r/6741 for a build failure.

Change-Id: I1f194ccc48a3195fcbf8599c3a0b4fa21fde16d2
2017-05-22 17:05:53 +02:00
Jenkins
db76c899b5 Merge "NUMA-topology collector" 2017-05-22 13:13:18 +00:00
Sam Betts
6950e6030d Add option for building IPMItool into TinyIPA
IPMItool is required for discovering the IPMI/BMC address during
inspection, currently its not built into TinyIPA so this patch adds the
tool to make that feature work.

Change-Id: I35bf7db3a870bc3981992e4e86d851d3f2512fd6
2017-05-22 13:26:26 +01:00
Jenkins
2deef86f32 Merge "Collect NIC name given by BIOS" 2017-05-22 11:35:41 +00:00
Jenkins
26accd2a8c Merge "Add missing description for params of 'start_iscsi_target'." 2017-05-20 16:20:25 +00:00
Jenkins
897da69b54 Merge "Replace assertRaisesRegexp with assertRaisesRegex" 2017-05-20 16:05:31 +00:00
Luong Anh Tuan
efe739f039 Replace assertRaisesRegexp with assertRaisesRegex
This replaces the deprecated (in python 3.2) unittest.TestCase
method assertRaisesRegexp() with assertRaisesRegex()[1].
[1]https://review.openstack.org/#/c/466155/

Change-Id: Ife8504dbb58019a30bcc1495a78ab14c757efc98
Related-Bug: 1673768
2017-05-19 20:16:47 +07:00
Annie Lezil
fdcb0922a5 Collect NIC name given by BIOS
Adds an extra field ``biosdevname`` to network interface inventory
collected by ``default`` inspection collector (which collects the whole
inventory returned by hardware manager) of ironic-python-agent.

This feature requires biosdevname utility to collect the bios given NIC
names. The tooling module for tinyIPA is created for the same purpose.
For CoreOS IPA pxe images, biosdevname tooling module is limited,
because Docker repository is created and embedded into CoreOS pxe
images. The Docker repository uses debian to download the packages.
Debian does not have biosdevname package.

Adds an export variable TINYIPA_REQUIRE_BIOSDEVNAME. Set this
variable to ``true`` in your shell before building tinyIPA.

Closes-Bug: #1635351
Change-Id: Ia96af59e2a74868cac59e5a88cfbb3be60d85687
2017-05-18 14:44:11 -07:00
ericxiett
50f914d088 Add missing description for params of 'start_iscsi_target'.
Change-Id: I3bbd092d0738110ad36f85f1d333273f46648d2b
Closes-Bug: #1691303
2017-05-18 07:57:36 +08:00
OpenStack Proposal Bot
116ddde00d Updated from global requirements
Change-Id: Ibb2590c8f12c509a9cb2fe3abde77f22fa7c1b52
2017-05-17 13:40:18 +00:00
Jaganathan Palanisamy
cc9e05da50 NUMA-topology collector
Implement the optional collector for fetching the NUMA topology
details.
Collects RAM, CPU Cores, thread siblings and NICS data for
each NUMA node and stored under "numa_topology" key.

Closes-bug: #1635253

Co-Authored-By: Jaganathan Palanisamy <jpalanis@redhat.com>

Change-Id: I5a546c009d95f39b7af4d89cf785be8acb8ebc67
Signed-off-by: karthik s <ksundara@redhat.com>
2017-05-16 08:07:58 -04:00
Jenkins
15878b7b18 Merge "Remove unused function _configdrive_location" 2017-05-16 10:31:01 +00:00
OpenStack Proposal Bot
fbefa536e8 Updated from global requirements
Change-Id: I93d6f7bede18f43dd2117227be3fca2ebda48f2f
2017-05-15 12:08:47 +00:00
Jenkins
c2687c6223 Merge "Prevent tests' unmocked access to utils.execute()" 2017-05-15 04:25:45 +00:00
Julian Edwards
f57cbccf8b Prevent tests' unmocked access to utils.execute()
This change introduces a new base test class that mocks out
utils.execute and forces an exception if it gets called.
This has rooted out many tests that were doing this as a side effect of
calling other functions, doing things like modprobe and running iscsi
on the host's actual machine.

The tests are all now appropriately patched in places where this was
happening, and the new base class permanently prevents this from
accidentally happening again.

If you really want to call utils.execute() then you need to re-mock it
in your unit test.

Change-Id: Idf87d09a9c01a6bfe2767f8becabe65c02983518
2017-05-15 10:48:43 +10:00
vmud213
85869a134b Remove unused function _configdrive_location
This function is never used and can be removed safely.

Change-Id: Ied7b4984185ea170d33cb57010de89edeaaaeec5
Closes-Bug: #1690135
2017-05-11 12:23:38 +00:00