3668 Commits

Author SHA1 Message Date
Devananda van der Veen
a464aa41ce Add release notes for 4.0.0
Add release notes for 4.0.0 to doc tree, updating the index.html page
with reference to the new release notes.

Include a symlink in the base dir so packagers can find RELEASE-NOTES

Co-Authored-By: Ruby Loo <rloo@yahoo-inc.com>
Change-Id: I1a161b2c1d1e27268065b6b4be24c8f7a5315afb
2015-08-31 21:43:58 +00:00
Jenkins
ec461e7e38 Merge "Do not overwrite the iPXE boot script on every deployment" 2015-08-31 18:28:50 +00:00
Jenkins
0904280c7c Merge "Add minimum and maximum on port option" 2015-08-31 13:55:11 +00:00
Jenkins
99d7b75ca1 Merge "Use automaton's converters/pydot" 2015-08-31 13:54:18 +00:00
Jenkins
abeb09d93f Merge "Updated from global requirements" 2015-08-31 12:12:33 +00:00
Jenkins
9a72922ff7 Merge "Fix minor spelling/grammar errors" 2015-08-30 21:56:51 +00:00
OpenStack Proposal Bot
c17108de71 Updated from global requirements
Change-Id: I642c199c211e82cab3b3072d807594c323667412
2015-08-30 01:37:57 +00:00
Jenkins
125102709d Merge "Update ironic.conf.sample with tox -egenconfig" 2015-08-30 01:32:41 +00:00
Jenkins
cb6949a23b Merge "Ensure that pass_deploy_info() always calls boot.prepare_instance()" 2015-08-29 18:28:58 +00:00
Jenkins
d3dcfe359d Merge "Improve comparison operators for api/controllers/base.py" 2015-08-29 18:28:54 +00:00
Lucas Alvares Gomes
d72493deb2 Do not overwrite the iPXE boot script on every deployment
This patch just add a check to verify if the iPXE boot script have already
been laid down in the HTTP root directory and do not overwrite it if
it's already there. The script is the same for all deployments so we
don't need to write it over and over. This also makes it easier to test
some custom parameter in the script without having to deal with Ironic
undoing the changes prior to deploy a node.

Closes-Bug: #1489904
Change-Id: I0d56767978a6d1290442e50d7cb1308d78e3a352
2015-08-29 18:28:03 +00:00
Jenkins
a9ce9d7d5f Merge "Refactor agent driver with pxe boot interface" 2015-08-29 03:20:22 +00:00
Jenkins
55283a9cfa Merge "Periodically checks for nodes being cleaned" 2015-08-29 03:15:18 +00:00
Jenkins
7e0d59d4af Merge "Update documentation to install grub2 when creating the user image" 2015-08-29 03:07:04 +00:00
Jenkins
d823aed23f Merge "Fix logging and exceptions messages in ipminative driver" 2015-08-28 09:08:42 +00:00
Jenkins
5754ab65ce Merge "Put py34 first in the env order of tox" 2015-08-28 09:07:13 +00:00
Shivanand Tendulker
db16066b52 Ensure that pass_deploy_info() always calls boot.prepare_instance()
Currently, when pass_deploy_info vendor passthru is called for local
boot, boot.prepare_instance() is not called. This doesn't give an
opportunity for boot interfaces to do the required things for local
boot. This commit refactors the code so that pass_deploy_info()
always calls boot.prepare_instance()

Closes-Bug: 1488338
Change-Id: Ibf03caa9cf8a695f6269a3c2a6886cbf11c04b22
2015-08-28 01:29:02 -07:00
lei-zhang-99cloud
5c9076b5b1 Add minimum and maximum on port option
oslo.config can use minimum and maximum to support the ability to
set valid range on port option values

Change-Id: Idd182617cd500a7ed91ff18933bc989764c310db
2015-08-28 09:22:22 +08:00
John L. Villalovos
3cbad33ccf Update ironic.conf.sample with tox -egenconfig
Update the ironic.conf.sample with tox -egenconfig

Change-Id: I721539a1d12012a9fa885b452945e312b8fdcbcd
2015-08-27 16:19:30 -07:00
Lucas Alvares Gomes
55ab7e4de0 Update documentation to install grub2 when creating the user image
Grub2 is needed for local boot, the "grub2" element of disk-image-builder
should be specified at image creation time otherwise local boot will
fail because it won't find the grub2 binaries.

Change-Id: Iadb35148a34f0c21239959258a7762d267e95acd
2015-08-27 22:50:52 +01:00
Jenkins
cd93da0437 Merge "Use JsonEncoded{Dict,List} from oslo_db" 2015-08-27 14:48:14 +00:00
Jenkins
6df91343ce Merge "Remove broken workaround code for old mock." 2015-08-27 11:07:52 +00:00
Jenkins
6a602cb6b8 Merge "format links in the readme to work with the release notes tools" 2015-08-27 10:28:40 +00:00
Jenkins
693387f6f2 Merge "Add links for UEFI secure boot support to iLO driver documentation" 2015-08-27 09:22:12 +00:00
Yuriy Zveryanskyy
e946ef026b Fix logging and exceptions messages in ipminative driver
1) Log level changed to "error" when exception is raised.
2) Full error message passed to IPMIFailure exception.
3) Target power state passed to PowerStateFailure instead of
returned state.

Change-Id: I62a78cfc330054180a8d92693e04609150c4b97b
2015-08-27 11:34:32 +03:00
gaoxiaoyong
e31daa1e68 Fix minor spelling/grammar errors
Revise "needs value" to "need a value" in "/ironic/api/controllers/v1/types.py"

Closes-Bug: #1488776
Change-Id: I3dd1db0bf5c02b6a8d824aca5016057180306340
2015-08-27 03:36:22 +00:00
Jenkins
8cd56e3e1e Merge "Add cleanup in console utils tests" 2015-08-26 22:11:06 +00:00
Jenkins
b39e2a3b27 Merge "Follow up the nits in iRMC vmedia driver merged patch." 2015-08-26 21:43:37 +00:00
Jenkins
2dfa294a21 Merge "Create a versions.py file" 2015-08-26 19:57:27 +00:00
Thiago Paiva
bcdacbaf9a Put py34 first in the env order of tox
To solve the problem of "db type could not be determined" on py34
we have to run first the py34 env to, then, run py27. This patch
puts py34 first on the tox.ini list of envs to avoid this problem
to happen.

Change-Id: Ib09cbc71149ffcc1f36495faf1c6586c4e0a0a86
Closes-bug: #1489059
2015-08-26 12:58:56 -03:00
Doug Hellmann
16352e95b5 format links in the readme to work with the release notes tools
The release note generation tool expects to find certain URLs using
regular expressions so it can include them in the automatically
generated notes. Update the README to use the "standard" syntax for
those links.

Change-Id: Icc10a50b127a9dd3b033a8fac07fa2c08c124523
2015-08-26 15:46:49 +00:00
Lucas Alvares Gomes
ea1b012e93 Periodically checks for nodes being cleaned
This patch is adding a periodic task to check for nodes waiting for the
ramdisk callback when cleaning is being executed.

A new configuration option called "clean_callback_timeout" was added,
its value is the number of seconds that the Ironic conductor will wait
for the ramdisk to doing the cleaning to contact Ironic back. Defaults
to 1800.

Closes-Bug: #1483120
Change-Id: Id7f9e9018b5cb2389bbe556171e7a9d46425afba
2015-08-26 15:10:23 +01:00
Shivanand Tendulker
6af03da071 Add links for UEFI secure boot support to iLO driver documentation
Change-Id: I049454f3038fb0ecab2c33dd11dceac4bba91247
Implements: blueprint uefi-secure-boot-pxe-ilo
2015-08-26 04:08:09 -07:00
Pavlo Shchelokovskyy
ba3306f768 Add cleanup in console utils tests
Two tests in test_console_utils.py were leaving auxiliary pid files
behind. As the name of these pid files is hardcoded, it breaks those tests
if test suit is being run by different users on a single system.

Closes-Bug: #1488854
Change-Id: If00c761a366020eb045d785d6f77f54d21fa2a22
2015-08-26 12:05:24 +03:00
Naohiro Tamura
87cd4e966a Follow up the nits in iRMC vmedia driver merged patch.
This patch follows up the nits in iRMC vmedia driver merged patch set

[1] https://review.openstack.org/#/c/151958/28

Change-Id: If46a827fee5dd2a710a3421a03281f6618db18d4
2015-08-26 17:24:57 +09:00
Ramakrishnan G
72b20fec75 Refactor agent driver with pxe boot interface
This commit refactors agent.AgentDeploy to use
the new PXEBoot interface.
prepare_cleaning will write the Neutron port IDs of the
ports created on extra field for each port. This is
for generalizing it into a single place from which
boot interfaces like pxe.PXEBoot can pick up Neutron
VIFS port IDs for preparing boot (for both deploy and
cleaning).

It deprecates the CONF options
CONF.agent.agent_pxe_config_template and
CONF.agent.agent_pxe_append_params, so that it can be
merged with their counter-parts in CONF.pxe.  These agent
CONF opts will be deprecated in Mitaka release.

The CONF option CONF.agent.manage_tftp is deprecated and
is renamed to CONF.agent.manage_agent_boot.

Implements: blueprint new-boot-interface
Change-Id: Ia424db63547e91e44fe18a9044b6a490e641e887
2015-08-26 05:47:39 +00:00
Lucas Alvares Gomes
3d45795abb Update tests to reflect WSME 0.8 fixes
Before WSME would ignore fields that didn't exist in the resource, but
with the version 0.8.0 WSME will raise HTTP 400 (BadRequest) when one
attempt to create a resource with nonexistent fields.

Change-Id: Ie6a80ee03428b98c72e3704202b2b5cbfce93ab6
2015-08-25 18:12:02 +01:00
Jenkins
5e93b59ac1 Merge "Switch to post-versioning" 2015-08-25 13:09:16 +00:00
Lin Tan
6186a9de2a Remove ObjectListBase
ObjectListBase is not used in Ironic at the moment, we should add it
when it is necessary.

Partial-Bug: #1488270
Change-Id: Ifc2aaa1fa09d95f1cfa6ed488f10871666b7fb3d
2015-08-25 13:31:03 +08:00
Robert Collins
d7f80b24f3 Remove broken workaround code for old mock.
Mock <= 1.0.1 was indeed broken on 3.4, but unittest.mock from 3.4 is
just as (or more) broken. Mock is now fixed, so don't play games with
the global state of the import system.

Change-Id: I5e04b773d33c63d5cf06ff60c321de70de453b69
Closes-Bug: #1488252
Partial-Bug: #1463867
2015-08-25 10:28:27 +12:00
John L. Villalovos
3c5dde4ea5 Create a versions.py file
Create constants for the versions and put them into versions.py.  Use
these constants instead of unnamed numerical constants.

In the future, versions.py, could possibly contain more than constants.
Possibly helper functions related to versioning could be placed in it.

Change-Id: I8c68133e68d77ac451506b3a5bae038b641ed31f
2015-08-24 14:45:01 -07:00
John L. Villalovos
9b2214ed56 Improve comparison operators for api/controllers/base.py
Improve the comparison operators for api/controllers/base.py.  Use the
functools.total_ordering decorator to have it create the rich comparison
operators.

Also added test cases for some of the rich comparison operators.

Change-Id: Iac11df5404aa468a3c41957136fe75624ce4fc70
2015-08-24 12:17:49 -07:00
Doug Hellmann
025bfc93d0 Switch to post-versioning
Remove the version in the setup.cfg so pbr relies solely on tags for
version definitions.

Change-Id: Ida88cd59f09be4b30a7bbf59fdc9e2e42099a7ba
2015-08-24 18:45:53 +00:00
Jenkins
d9fccbd5ab Merge "Fix nits from 'HTTP constants' patch" 2015-08-24 09:45:07 +00:00
Jenkins
312bdf96d6 Merge "Fix improper exception catching" 2015-08-24 03:40:11 +00:00
Jenkins
7023d288ca Merge "Fix logging levels in do_node_deploy" 2015-08-24 00:54:31 +00:00
Naohiro Tamura
85494ea714 Fix improper exception catching
This patch fixes so that iRMC management module can catch only
specific exception and propagate unknown exception properly.
This is a reflection of the gerrit review comment in iRMC inspection
module [1] which advised that generic exception catching is not good.

[1] https://review.openstack.org/#/c/196480/7/ironic/drivers/modules/irmc/inspect.py

Change-Id: Ib97102cc149b1bdacd2ef06c23641a0754ce8b28
2015-08-24 09:36:55 +09:00
Jenkins
2abeec92e3 Merge "Move tests into correct directories" 2015-08-24 00:12:26 +00:00
Jenkins
f28a83cde3 Merge "Reset clean_step if error occurs in CLEANWAIT" 2015-08-22 18:52:28 +00:00
Jenkins
346ca502e6 Merge "Remove unneeded module variable '__all__'" 2015-08-22 17:43:12 +00:00