Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

packaging: Fix KeyError in ovirt-engine-rename certificate handling #422

Merged
merged 1 commit into from
Jun 9, 2022

Conversation

mz-pdm
Copy link
Member

@mz-pdm mz-pdm commented Jun 8, 2022

In commit 67e7763, ‘shortLife’ entity
key was introduced to distinguish between short-lived (e.g. web) and
long-lived (e.g. CA, hosts) certificates. The key was also used
in ovirt-engine-rename without adding it to the corresponding
entities, resulting in KeyError on ovirt-engine-rename invocation.

This patch fixes the problem by adding the missing keys.

Bug-Url: https://bugzilla.redhat.com/2089803

In commit 67e7763, ‘shortLife’ entity
key was introduced to distinguish between short-lived (e.g. web) and
long-lived (e.g. CA, hosts) certificates.  The key was also used
in ovirt-engine-rename without adding it to the corresponding
entities, resulting in KeyError on ovirt-engine-rename invocation.

This patch fixes the problem by adding the missing keys.

Bug-Url: https://bugzilla.redhat.com/2089803
Copy link
Member

@sandrobonazzola sandrobonazzola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sandrobonazzola sandrobonazzola added this to the ovirt-4.5.1 milestone Jun 8, 2022
Copy link
Member

@mwperina mwperina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@sandrobonazzola sandrobonazzola merged commit 5ec3b55 into oVirt:master Jun 9, 2022
@mz-pdm mz-pdm deleted the certs-engine-rename# branch June 16, 2022 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants