Merge "Revert disabling MD5 checksums"

This commit is contained in:
Zuul
2023年05月05日 08:44:37 +00:00
committed by Gerrit Code Review

View File

@@ -329,8 +329,9 @@ cli_opts = [
'cluster which may be visible over a storage fabric '
'such as FibreChannel.'),
cfg.BoolOpt('md5_enabled',
default=False,
help='If the MD5 algorithm is enabled for file checksums.'),
default=True,
help='If the MD5 algorithm is enabled for file checksums.'
'Will be changed to False in the future.'),
]
CONF.register_cli_opts(cli_opts)

View File

@@ -123,6 +123,7 @@ class TestStandbyExtension(base.IronicAgentTest):
standby._validate_image_info(None, image_info)
def test_validate_image_info_legacy_md5_checksum(self):
CONF.set_override('md5_enabled', False)
image_info = _build_fake_image_info()
del image_info['os_hash_algo']
del image_info['os_hash_value']

View File

@@ -6,14 +6,7 @@ features:
(SHA-2) and SHA256 (SHA-2) checksums to be identified and utilized without
an explicit declaration of the checksum type utilizing the
``os_hash_algo`` value.
upgrade:
- |
MD5 support for checksums have been disabled by default. This may result
in rebulids or manual deploy attempts to fail if no updated checksum has
been supplied for the ``os_hash_value`` and ``os_hash_algo`` settings.
To re-enable MD5 support, you may utilize a the ``[DEFAULT]md5_enabled``
setting.
deprecations:
- |
Support for MD5 checksums have been deprecated and disabled by default.
Support for MD5 checksums will be removed after the 2024 Release.
Support for MD5 checksums have been deprecated and will be removed after
the 2024 Release.
Reference in New Issue
openstack/ironic-python-agent
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.