This patch updates and removes obsoleted config parameters in
ironic.conf.sample with updates of keystonemiddleware is 4.0.0 and
oslo.messaging 3.1.0.
Related-bug: #1522841
Change-Id: I1c24c49f6a07fc4289d8732b0ab4e6ced179e47e
The disk partitioner related code from ironic/common/disk_partitioner.py
and ironic/drivers/modules/deploy_utils.py is being moved to ironic-lib.
The code in ironic needs to be removed and use ironic-lib to perform
disk related activities.
Change-Id: I7b1b1d8b45b947a7b5715f3c6ab49d84e84b6b90
Config generator is changed to use the option's group instead of just
'DEFAULT' if deprecated_group is not specified but deprecated_name is.
Change-Id: Icdf00ed70dd6133cb76d31f6f26a8f3d9a3874b4
Closes-bug: #1523958
AMT interface goes to sleep after a period of time if the host
is off. Add a new method 'awake_amt_interface' for amt driver
to awake nodes' AMT interface.
This method will ping AMT interface to to wake it up before sending
request. Also set 60s by default as cache time.
Change-Id: I4d81001c01e7908100a6571b366cb296253f2fc1
Close-bug: #1504023
Ironic does not import and use this module directly, no need to list
it in the requirements and no need to set log level.
Instead it was moved to test-requirements.txt file because
it is explicitly imported for unit tests.
Change-Id: I791be24289f620a4227ec6514d77c37a5f8d920e
ironic.conf.sample shows deprecated configs that have been
moved to different groups and renamed. Deprecated configs are
not being indicated if they moved to a different group but
did not get renamed.
This fixes it to show all deprecated configs.
ironic.conf.sample was also updated to reflect other changes
that have occurred since the last update.
Change-Id: I608892a9735ecffc2c374330a4f0ee4e12ab6011
Fixes-Bug: #1519886
This patch is adding a configuration option called "stream_raw_images"
under the "agent" group. By default this option is set to True, meaning
that the IPA ramdisk will be instructed to stream raw images directly
onto the disk instead of copying it to a tmpfs partition prior of
writing it to the disk. By streaming raw images IPA will consume less
memory to run and the deployment will be faster (unless the disk being
deployed is really slow).
Depends-On: Iddf67907bc9b54bbd3065a97064cb5a3602cfe18
Related-Bug: #1505685
Change-Id: I7e7ed7e7aeebbf7c936605a72aa974db2123a43e
Add posibility to configure the API to service requests via HTTPS instead
of HTTP using native ssl from oslo.service wsgi.
New options was added:
* enable_ssl_api - turn on ssl support;
Options defined in oslo.service for configure certs:
* ca_file - ca certificate file to use to verify connecting clients;
* cert_file - certificate file to use when starting the server securely;
* key_file - private key file to use when starting the server securely;
Closes-bug: #1430213
Change-Id: Id4b84d83f9aa6c7f898b3b9b59158d5b1a00e159
oslo.service provides a wsgi functionality for defining new long-running
services using by OpenStack applications. It might usefull for working with SSL for example.
Ironic has started migrate to oslo.service, this change continue this work, and consumes wsgi from it.
Change-Id: Ic7865709cd87c45e6b7d49f15ce73354aa15401e
Closes-Bug: #1484044
The value of this option is not validated now, this change fixes it.
Also resolve final comments from
I79cfe92aa19a2a0520fee2455f094d728c748d5c
Change-Id: Ida3cb28dd4ea938eb96eb01bbce6ca189a2def11
This updates etc/ironic/ironic.conf.sample to include the config
'graceful_shutdown_timeout' and to indicate that the port-related
configs expect port values instead of integer values.
The .sample file is updated via running 'tox -egenconfig'.
Change-Id: Id297ee0b095c69491d31fd66261423f0f739fe11
As sync_local_state periodic task can be disabled, which will lose
out on hash ring refresh, so the refresh logic should be independent
of it. this patch adds a updated_at to HashRingManager to track of
when the ring was last refreshed, and when checks the ring is set,
also check the age and rebuild if older than the new config option
hash_ring_reset_interval which is default to 180s.
Change-Id: Ie46dbf93b920543f99e11774a29878aaf27c3400
Closes-Bug: #1506657
This patch adds a new reboot_delay setting to the iboot
power driver. This setting is important when using IPA
which can cause a power manager REBOOT which if there
is no sleep can occur so quickly the machine doesn't properly
power cycle.
The patch also updates the ironic.conf.sample file.
Closes-bug: #1504258
Change-Id: I70ec7151d0154bd6f6445bcc0e90de2dc5b380e5
When node is powered off via "soft off" (during deploy with agent for
example) a off/on cycle is required on external power controller.
If pause between off and on is too short node's hardware unable
to detect external power loss.
This patch adds new 'reboot_delay' config option. Some of
SNMP-enabled power controller have own value for this pause
(configurable or hardcoded). So default value of Ironic option
is "0" for keeping of current behavior.
Closes-Bug: #1506860
Change-Id: I91617f1a296ad38ff4c31872e6e3ac20f8619a38
Ceph has a swift compatible API called radosgw. Although it is
compatible, there are some differences with swift in how temp URLs
are generated. This change adds a new config option called
temp_url_endpoint_type, which allows generation of temp URL depending
on the underlying object storage API.
Implements: blueprint radosgw-temp-url
Change-Id: I79cfe92aa19a2a0520fee2455f094d728c748d5c
This driver that will promote integration between Ironic and the HP OneView
Management System. The driver will allow Ironic to borrow non-dedicated servers
from OneViews's inventory to provision baremetal instances with minimal common
pre-configuration, set through OneView's *Server Profile Templates*.
Co-Authored-By: Alberto Barros <albertoffb@lsd.ufcg.edu.br>
Co-Authored-By: André Aranha <afaranha@lsd.ufcg.edu.br>
Co-Authored-By: Caio Oliveira <caiobo@lsd.ufcg.edu.br>
Co-Authored-By: Diego Pereira <diegolp@lsd.ufcg.edu.br>
Co-Authored-By: Gabriel Bezerra <gabrielb@lsd.ufcg.edu.br>
Co-Authored-By: Lilia Sampaio <liliars@lsd.ufcg.edu.br>
Co-Authored-By: Sinval Vieira <sinval@lsd.ufcg.edu.br>
Change-Id: Ic2fb7860e6b4f5183b6525ff7709c7616350a96a
Implements: blueprint new-ironic-driver-for-oneview
Depends-on: I914596e592477e148e642f93cfbe114464c3fe38
It is possible for ssh._get_hosts_name_for_node to return None when
the driver is not able to find a VM corresponding to given MAC
addresses or when incorrect information about nodes is returned by
SSH call to VM manager. In the latter case _get_hosts_name_for_node
should be retried.
This adds two new configs to the [ssh] group:
- 'get_vm_name_attempts': number of attempts to try to get VM name
corresponding to a node's MAC address
- 'get_vm_name_retry_interval': time (secs) to wait between
attempts to get VM name
Closes-bug: #1493748
Change-Id: I0457113d57f82cccc5cb353123fb087f6ba63aa2
This patch is adding a new configuration option called "ip_version" in
the "pxe" group which allow passing the IP version to the DHCP
server/Neutron port when updating the extra DHCP options for PXE
booting.
Change-Id: Ib27d977161a5278ffe4be841411404b2326401ed
Update the help string on the tftp_root option to indicate that the
ironic-conductor must have read/write access to the path.
Also did a 'tox -egenconfig' run to update ironic.conf.sample
Change-Id: Ibd724ff5d3f25aa1d13c0c29e18fcb466aa77c95
Update the help strings for DRAC configs so that they use the
present tense.
This was pointed out in I4329fe706e8fdc3c492b50e511295cf2313cca94.
Change-Id: I6642fbb8fde71e0057b8faea7822156ec1384831
This commit makes the generation of ironic.conf.sample
more deterministic by sorting the options belonging
to the same group based on module in which they are
defined before printing them.
It also fixes a small bug which caused options to
appears in different group in sample file generated
when they are the same (like [cisco_ucs]max_retry and
[cimc]max_retry which are of same type, have same default
value and same description).
Change-Id: Ifd336e2ec680a286e8789c2046bda2cb9ddbaf08
Closes-Bug: 1498113
Current drivers only allow for control of UCS servers via either IPMI or
UCSM, the Cisco UCS C-Series operating in standalone mode can also be
controlled via CIMC using its http/s XML API. This provides finer
control over the server than IPMI can, and doesn't require the extra
infrastructure that UCSM needs.
Change-Id: Ibd39040e3d7e82a87960d33150750433beb2453b
Implements: blueprint cisco-imc-pxe-driver
This commit refactors code from AgentDeploy.prepare_cleaning and
AgentDeploy.tear_down_cleaning into a common place so that it
can be reused for ISCSIDeploy. It also moves the method
agent.build_agent_options to deploy_utils module.
The following CONF options have been deprecated and renamed:
[agent]agent_erase_devices_priority => [deploy]erase_devices_priority
[agent]agent_erase_devices_iterations => [deploy]erase_devices_iterations
The old CONF options will be removed in the Mitaka release.
Change-Id: I818c9f81f5469bf5029495dc9b65259718c41cd5
Implements: blueprint iscsi-deploy-in-band-cleaning
agent will download the image from glance into in-memory-folder first
then run 'qemu-img' to 'copy' image to local harddisk, but if the RAM
size is less than the (image size + reserved RAM size), will break the
IPA deployments.
Change-Id: I5ed62a8936e996ffed60c811bd01d3be97f95547
Closes-Bug: #1471081
The versions url returns the wrong data when Ironic API is behind a
proxy. This adds a new config option called "public_endpoint" so it can
be set properly.
Closes-Bug: #1384379
Change-Id: I6d1b59db3ce09aba7bca5a71edcf97eb79f0b17b
It enables the ilo drivers to work without swift
for the boot iso and floppy images.
Implements : blueprint remove-swift-dependency-for-ilo-drivers
Change-Id: I190acc733f8b63ae2acde8cfb0f12d14611de466
This patch adds two new iBoot specific options to
facilitate a max_retry and retry_interval around
the internal conn.switch() and conn.get_relays()
functions. This should help avoid provisioning
failures if there is any sort of network blip
or failure that may occasionally cause an iboot
command to fail.
Change-Id: I3b7813ae56dd3b18008f814cd6272d801dd6f274
Closes-bug: #1490760
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
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
This commit removes CONF.agent.agent_pxe_bootfile_name as
it is not used anywhere. The usage of this CONF option was
removed in Id68d3a89cb72e11e8a52ea69e84816aea2cbf2b1. Even
before that, it wasn't used in the proper way during
deployment of nodes. It was only used in take_over() for
AgentDeploy, for instances that always booted from disk.
Change-Id: Ib25ec6ec7cd900ee637bba035e0aeab90e9309c5
The placement of the oslo.log config options in the generated sample
config file changed recently; this commit merely moves them in
accordance with the tools/config/generate_sample.sh script
Change-Id: Ia8ab3fb1c38e63d1bc50aae44fd21f475057c51e