0ed100d6f4
This change adds image_http_proxy, image_https_proxy, image_no_proxy parameters to a node's driver_info for use by the agent driver. If set, they will be passed to ironic python agent ramdisk and used during image download. Also this change updates the unit test TestAgentVendor.test_continue_deploy_image_source_is_url() as it was was incorrect. Partial-bug: #1526222 Change-Id: I7890f761f4adbe768f76831ef5b48b691a70b2d1
20 lines
1.1 KiB
YAML
20 lines
1.1 KiB
YAML
---
|
|
features:
|
|
- Pass proxy information from agent driver to IPA ramdisk, so that images
|
|
can be cached on the proxy server.
|
|
issues:
|
|
- When using caching proxy with ``agent_*`` drivers, caching the image on the
|
|
proxy server might involve increasing [glance]swift_temp_url_duration
|
|
config option value. This way, the cached entry will be valid for a period
|
|
of time long enough to see the benefits of caching. Large temporary URL
|
|
duration might become a security issue in some cases.
|
|
upgrade:
|
|
- Adds a [glance]swift_temp_url_cache_enabled configuration option to enable
|
|
Swift temporary URL caching. It is only useful if the caching proxy is
|
|
used. Also adds [glance]swift_temp_url_expected_download_start_delay, which
|
|
is used to check if the Swift temporary URL duration is long enough to let
|
|
the image download to start, and, if temporary URL caching is enabled, to
|
|
determine if a cached entry will be still valid when download starts. The
|
|
value of [glance]swift_temp_url_expected_download_start_delay must be less
|
|
than the value for the [glance]swift_temp_url_duration configuration
|
|
option. |