1483 Commits

Author SHA1 Message Date
ea242a30cb Update reno for stable/queens
Change-Id: Ia0c677a57c0fbee7b97b83bdf274ee8b3fa9a195
2018-02-08 09:26:07 -05:00
Zuul
de32d66ce3 Merge "When ouputting to /dev/null should open in write mode" 2018-02-07 21:45:49 +00:00
Zuul
e8bdfeed32 Merge "Replace curly quotes with straight quotes" 2018-02-07 19:34:27 +00:00
Zuul
cd13cb1c1b Merge "Add documentation for rescue mode" 2018-02-07 16:14:23 +00:00
Mario Villaplana
689dbf6b5c Add documentation for rescue mode
This adds documentation for rescue mode, including the finalize_rescue
command as well as upstream support in agent images.

Change-Id: Id0834941ee4dacf2e7c0feaa65126d63e8a97c39
Partial-Bug: 1526449
2018-02-07 11:08:15 -05:00
John L. Villalovos
944a77c9c6 When ouputting to /dev/null should open in write mode
Even though it was working opening the file in 'read' mode, it really
should be opened in 'write' mode, since we are redirecting the output
to the file.

Interestingly it does fail in 'read' mode if the command is:
    echo something

But passes in 'write' mode.

Change-Id: Ic67091881e0be377e527b78d270ab48962881ae0
2018-02-06 23:01:53 -08:00
Zuul
ca710ca692 Merge "Replace use of functools.wraps() with six.wraps()" 2018-02-06 01:27:41 +00:00
John L. Villalovos
8873f5eb91 Replace use of functools.wraps() with six.wraps()
In Python 2.7, functools.wraps() does not provide the '__wrapped__'
attribute. This attribute is used by
oslo_utils.reflection.get_signature() when getting the signature of a
function. If a function is decorated without the '__wrapped__'
attribute then the signature will be of the decorator rather than the
underlying function.

From the six documentation for six.wraps():
    This is exactly the functools.wraps() decorator, but it sets the
    __wrapped__ attribute on what it decorates as functools.wraps()
    does on Python versions after 3.2.

Change-Id: Ic0f7a6be9bc3e474a0229b264d1bfe6c8f7e6d85
2018-02-01 15:15:00 -08:00
Zuul
56c33deb88 Merge "Adds a releasenote for DHCP support for TinyIPA" 2018-02-01 22:44:38 +00:00
Zuul
7dfd44dc13 Merge "Use lshw in place of dmidecode for the default hardware manager" 2018-02-01 00:00:31 +00:00
Anup Navare
80594ca16e Adds a releasenote for DHCP support for TinyIPA
Followup patch to add a releasenote for DHCP support in TinyIPA.

Change-Id: I615ea0563b1f01feaf70fb9ed965762c5e01b5dc
2018-01-31 10:24:44 -08:00
Zuul
7a434e5971 Merge "Zuul: Remove project name" 2018-01-31 08:21:31 +00:00
Zuul
7fa0e9f8c3 Merge "Follow-up patch for rescue extension for CoreOS" 2018-01-31 02:26:36 +00:00
Shivanand Tendulker
f08636fe8b Follow-up patch for rescue extension for CoreOS
This patch addresses few minor comments in commit
a659306272542dd38420cb118cc7b04b1e8cf377

Change-Id: Id5b48e3cc96c8807c471c947da3e233cebdf687e
Related-Bug: #1526449
2018-01-30 19:00:13 +00:00
Mike Turek
2877fc53d4 Use lshw in place of dmidecode for the default hardware manager
Currently the generic hardware manager uses dmidecode to get the
total physical memory and system details. This patch switches the
generic hardware manager to use lshw, as it is capable of reading
more than DMI [0]. This enables systems that do not support DMI
to use the generic hardware manager, such as IBM Power systems.

[0] https://github.com/lyonel/lshw/blob/master/README.md

Closes-Bug: #1715790
Change-Id: Ie370331df6bb5ef131c5cb60f458877e2a7ad71a
Depends-On: Idaf05b8efce28cd0cbf339cf693db4f55a693d9b
2018-01-30 15:54:10 +00:00
James E. Blair
d5a9c6f88b Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: Id109926ebe6e44c637f56e52fee30f3dbd4b79df
2018-01-29 00:28:18 -08:00
Zuul
ef411e28ca Merge "Updated from global requirements" 2018-01-27 17:55:07 +00:00
Zuul
a3463dc57d Merge "Execute error in _detect_cna_card" 2018-01-26 21:47:16 +00:00
Zuul
a246bf3777 Merge "Use the 'ironic' queue for the gate" 2018-01-26 19:59:06 +00:00
Zuul
c549f2cb93 Merge "Rescue extension for TinyIPA with DHCP network" 2018-01-26 19:59:05 +00:00
yuan liang
f55b8a34c4 Execute error in _detect_cna_card
A list type parameter pass to utils.execute will raise OSError.

Change-Id: Ic5dd30f7e819e433d05bf9cc888902abe7a82def
2018-01-26 18:34:56 +00:00
John L. Villalovos
e3ec870ec3 Use the 'ironic' queue for the gate
When doing the 'gate' build have the ironic-python-agent jobs be part
of the 'ironic' queue. More information on this is in [1]. The benefit
of this is that we are only impacted by ironic projects if we do this.

From [1]:
Pipelines which use the dependent pipeline manager maintain separate
queues for groups of projects. When Zuul serializes a set of changes
which represent future potential project states, it must know about
all of the projects within Zuul which may have an effect on the
outcome of the jobs it runs. If project A uses project B as a library,
then Zuul must be told about that relationship so that it knows to
serialize changes to A and B together, so that it does not merge a
change to B while it is testing a change to A.

[1] https://docs.openstack.org/infra/zuul/feature/zuulv3/user/config.html

Change-Id: Ib0476fb36196d77c431043ea6a48dc842f8d3a65
2018-01-25 09:06:05 -08:00
melissaml
c51b34e41e Replace curly quotes with straight quotes
Curly quotes usually input from Chinese input method.
When read from english context, it makes some confusion.

Change-Id: Ife984be980a4235d9b14152143e2b3540e414751
2018-01-26 00:59:03 +08:00
OpenStack Proposal Bot
6ae21fbe6b Updated from global requirements
Change-Id: If1aa9774250e1fd84cc47fdf18b939ed2dd99d9d
2018-01-24 00:56:01 +00:00
OpenStack Proposal Bot
802135777d Updated from global requirements
Change-Id: Ifbf7bdaebe362541eada2a236786614489e2f554
2018-01-17 20:36:05 +00:00
Zuul
cd2ab6b1fb Merge "Updated from global requirements" 2018-01-17 03:30:05 +00:00
OpenStack Proposal Bot
714203115a Updated from global requirements
Change-Id: I562b667455268e491bc95b3c0c37115e4139c7c4
2018-01-16 12:30:01 +00:00
Dmitry Tantsur
e21f19808b Clean up release notes before a release
Change-Id: I03c3e8944b8f1a7518527db55936aa3bdf7c93b8
2018-01-16 12:29:33 +01:00
Anup Navare
71c89c99fa Rescue extension for TinyIPA with DHCP network
The patch adds the support for rescue mode with DHCP network in
TinyIPA.

Change-Id: I10cdb47eb3815db097bb3088d9dd4804b9d6a5d0
Depends-On: I9b4c1278dc5fab7888fbfe586c15e31ed3958978
Partial-Bug: #1526449
2018-01-11 14:43:25 +09:00
Zuul
029319edcf Merge "Updated from global requirements" 2018-01-02 17:10:44 +00:00
Zuul
94682b1299 Merge "Fix addssh make target in tinyipa" 2018-01-02 14:13:15 +00:00
OpenStack Proposal Bot
b781cbc13e Updated from global requirements
Change-Id: I810a82fd77951ce121349139c89a812fd856bfba
2017-12-24 00:59:36 +00:00
Pavlo Shchelokovskyy
3f2cf1cba6 Fix addssh make target in tinyipa
This is a followup to Ib6fcd5bbd7e79b9df83b660441dd685b1b17be62
It reuses more common code when adding authorized SSH keys to the
tinyipa image during rebuild and adds its directory to the list
to be cleaned.

Change-Id: Id47add60d7ad8f4266dfd2b1a3b00e45607abd5b
2017-12-22 10:07:11 +00:00
Zuul
20a36e1695 Merge "Use 'functional' tox environment" 2017-12-20 20:37:32 +00:00
Ruby Loo
64b663719a Use 'functional' tox environment
Rename 'func' to 'functional' tox environment and replace custom
legacy func job with cross-project 'openstack-tox-functional' job.

Change-Id: I2a774a0a9870163457d1e7bc9c2976a9680ace01
2017-12-20 12:20:13 -05:00
Zuul
3082fae252 Merge "Updated from global requirements" 2017-12-20 15:24:45 +00:00
Zuul
0607774be9 Merge "Remove /ironic-python-agent/api/app.wsgi" 2017-12-19 23:41:11 +00:00
OpenStack Proposal Bot
bd71c299c8 Updated from global requirements
Change-Id: Ic9d1e6b96ec1b62aef964f0e1d62d630edd37148
2017-12-19 01:18:53 +00:00
Zuul
5ee16ee2e8 Merge "Do not try unmounting the EFI partition if it was not mounted" 2017-12-15 08:40:16 +00:00
Dmitry Tantsur
db4694de24 Do not try unmounting the EFI partition if it was not mounted
If mounting the root partition fails for some reason, we try to unmount
the EFI partition, which is not mounted at this point. This results in
a new exception hiding the real failure. This change fixes it.

Change-Id: I0ec636a361eda71b4149e4a7ba1538a9bbf6ec34
Closes-Bug: #1732932
2017-12-14 19:52:53 -05:00
Zuul
c50c643292 Merge "Use the tempest plugin from openstack/ironic-tempest-plugin" 2017-12-15 00:22:01 +00:00
Zuul
e54bf7a8ae Merge "Report /dev/disk/by-path on inspection followup" 2017-12-14 19:09:52 +00:00
John L. Villalovos
2131d93b57 Use the tempest plugin from openstack/ironic-tempest-plugin
Use the tempest plugin from openstack/ironic-tempest-plugin as we
have moved the tempest code there. Soon the tempest code will be
deleted from openstack/ironic.

Change-Id: I8e91d3ca6dd34f8e959c5f6b1e6f07b1a04080b3
2017-12-14 10:08:43 -08:00
Vu Cong Tuan
e6033e733e Remove /ironic-python-agent/api/app.wsgi
/ironic-python-agent/api/app.wsgi is an empty file.
As suggestion from John L. Villalovos, we probably should delete it.

Change-Id: I695aca42b76dfad1b74418c05a48c5cba3b7d71e
2017-12-14 14:20:14 +07:00
Ilya Etingof
8a05c0cee8 Report /dev/disk/by-path on inspection followup
This is the followup patch for
commit d0a53149f82a3587515a4371f0f4cad8570dc715) fixing
issues with the unit tests not addressed initially.

Change-Id: I7889bf908bcb64b79bf303c6ae356fd3f4e94a83
2017-12-14 01:12:16 +01:00
Zuul
e55d68f11e Merge "Include IPA Version during heartbeat" 2017-12-13 17:18:25 +00:00
Zuul
e789ec8898 Merge "Catch OSError thrown when hexdump is missing" 2017-12-12 21:08:13 +00:00
Julia Kreger
71fda732d2 Catch OSError thrown when hexdump is missing
Change c5bf7b088f1ec776b788a81f2775e1b2577720e8 introduced
a new requirement via a pre-existing ironic-lib method being
called that utilizes hexdump. Hexdump is not always present
and since we did not explicitly call it out as a new
requirement, we should at least somewhat gracefully handle
the exception.

Change-Id: Id0223ef1417f6e419770ceb56b2a3b80c6118a85
Closes-Bug: #1732470
2017-12-11 17:11:52 -05:00
Zuul
893c63f24a Merge "Rescue extension for CoreOS with DHCP tenant networks" 2017-12-11 21:14:09 +00:00
Zuul
c03eeea6d0 Merge "Installl OpenSSH by default" 2017-12-11 09:41:43 +00:00