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

Fixes #23212 - uninitialized constant #5442

Merged
merged 1 commit into from Apr 12, 2018

Conversation

ananace
Copy link
Member

@ananace ananace commented Apr 12, 2018

Seems like the same issue also exists in 1.17, so it would probably have to be cherry-picked/pulled to there as well.

@theforeman-bot
Copy link
Member

Do not merge! This patch has not been tested yet.

Can an existing organization member please verify this patch?

2 similar comments
@theforeman-bot
Copy link
Member

Do not merge! This patch has not been tested yet.

Can an existing organization member please verify this patch?

@theforeman-bot
Copy link
Member

Do not merge! This patch has not been tested yet.

Can an existing organization member please verify this patch?

@theforeman-bot
Copy link
Member

Issues: #23212

Copy link

@houndci-bot houndci-bot left a comment

Choose a reason for hiding this comment

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

Some files could not be reviewed due to errors:

.rubocop.yml: Lint/EndAlignment has the wrong namespace - should be Layout
.rubocop.yml: Lint/EndAlignment has the wrong namespace - should be Layout
.rubocop.yml: Style/AccessorMethodName has the wrong namespace - should be Naming
.rubocop.yml: Style/FileName has the wrong namespace - should be Naming
.rubocop.yml: Style/MethodName has the wrong namespace - should be Naming
.rubocop.yml: Style/PredicateName has the wrong namespace - should be Naming
.rubocop.yml: Style/VariableNumber has the wrong namespace - should be Naming
Error: The `Style/TrailingCommaInLiteral` cop no longer exists. Please use `Style/TrailingCommaInArrayLiteral` and/or `Style/TrailingCommaInHashLiteral` instead.
(obsolete configuration found in .rubocop.yml, please update it)
The `Style/OpMethod` cop has been renamed and moved to `Naming/BinaryOperatorParameterName`.

@ekohl
Copy link
Member

ekohl commented Apr 12, 2018

I see this is against 1.16. Does this also happen in develop?

@ekohl ekohl requested a review from orrabin April 12, 2018 08:28
@ananace
Copy link
Member Author

ananace commented Apr 12, 2018

Seems like a951f9b - that added this check - never ended up in develop, so the issue doesn't exist there.

@ekohl
Copy link
Member

ekohl commented Apr 12, 2018

Ah, this was introduced in the security fix. @orrabin could you have a look?

@tbrisker tbrisker added this to the 1.16.2 milestone Apr 12, 2018
@tbrisker
Copy link
Member

ok to test

@tbrisker
Copy link
Member

@dLobatog, @xprazak2 - heads up, we'll need to release 1.16.2 and 1.17.1 with this fix

@tbrisker
Copy link
Member

@ananace I invited you to the foreman organization, if you confirm the invitation and make your membership public your next PRs will automatically kick CI runs.

Copy link
Member

@orrabin orrabin left a comment

Choose a reason for hiding this comment

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

@ekohl This was the fix for 1.15-1.17, develop has a new version of fog-ovirt that fixes this.
I tested with an ovirt machine on 1.17 and this still works as expected.
This should be tested with another compute resource since ovirt did not have the error.

Copy link
Member

@dLobatog dLobatog left a comment

Choose a reason for hiding this comment

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

Thanks @ananace !

@mmoll
Copy link
Contributor

mmoll commented Apr 12, 2018

I just ran into this with 1.16 and KVM, this patches fixes it. I understood it correctly that this patch is for 1.15, 1.16 and 1.17?

@ananace
Copy link
Member Author

ananace commented Apr 12, 2018

Oh right, I completely missed to check if it applied to 1.15 as well - spoiler alert; It applies to 1.15.7+ as well.

@mmoll mmoll merged commit 394acb3 into theforeman:1.16-stable Apr 12, 2018
@mmoll
Copy link
Contributor

mmoll commented Apr 12, 2018

merged, tack @ananace!

@mmoll
Copy link
Contributor

mmoll commented Apr 12, 2018

cherry-picked to the other stable branches as well.

@ananace ananace deleted the fix-ovirt-constant branch April 13, 2018 13:52
@misse
Copy link

misse commented May 2, 2018

Will this be applied to 1.17 as well?

@mmoll
Copy link
Contributor

mmoll commented May 2, 2018

yes, af4ed00

@misse
Copy link

misse commented May 2, 2018

Should I be getting the upgrade from the yum repo then? Or isn't it published yet?

@mmoll
Copy link
Contributor

mmoll commented May 2, 2018

It will be part of 1.16.2 and 1.17.1, which are both not out, yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
10 participants