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
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
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
oslo.config can use minimum and maximum to support the ability to
set valid range on port option values
Change-Id: Idd182617cd500a7ed91ff18933bc989764c310db
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
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
Revise "needs value" to "need a value" in "/ironic/api/controllers/v1/types.py"
Closes-Bug: #1488776
Change-Id: I3dd1db0bf5c02b6a8d824aca5016057180306340
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
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
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
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
This patch follows up the nits in iRMC vmedia driver merged patch set
[1] https://review.openstack.org/#/c/151958/28
Change-Id: If46a827fee5dd2a710a3421a03281f6618db18d4
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
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
ObjectListBase is not used in Ironic at the moment, we should add it
when it is necessary.
Partial-Bug: #1488270
Change-Id: Ifc2aaa1fa09d95f1cfa6ed488f10871666b7fb3d
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
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
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
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