Skip to content

kola/tests/etcd: add name: to one CLC#259

Merged
tormath1 merged 1 commit intoflatcar-masterfrom
tormath1/etcd
Dec 16, 2021
Merged

kola/tests/etcd: add name: to one CLC#259
tormath1 merged 1 commit intoflatcar-masterfrom
tormath1/etcd

Conversation

@tormath1
Copy link
Copy Markdown
Contributor

Using both command line option and environment variable is forbidden
since etcd/v3.

It happens quite a lot that user override default etcd name
(machine-id) using CLC through the name: key.
In this case it fails because we will have both ETCD_NAME
and --name in the runtime.

This patch overrides the name in CLC in order to reproduce this behavior
and prevent regression in the next release.

Signed-off-by: Mathieu Tortuyaux mtortuyaux@microsoft.com


This test is currently failing with current releases - it has to be merged with flatcar-archive/coreos-overlay#1444.

Changelog entry is not required IMHO.

Using both command line option and environment variable is forbidden
since `etcd/v3`.

It happens quite a lot that users override default `etcd` name
(`machine-id`) using `CLC` through the `name: ` key.
In this case it fails because we will have both `ETCD_NAME`
and `--name` in the runtime.

This patch overrides the name in CLC in order to reproduce this behavior
and prevent regression in the next release.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
@tormath1 tormath1 marked this pull request as ready for review November 24, 2021 14:28
@tormath1 tormath1 requested a review from a team November 24, 2021 14:28
Copy link
Copy Markdown
Member

@krnowak krnowak left a comment

Choose a reason for hiding this comment

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

Looks good.

@krnowak
Copy link
Copy Markdown
Member

krnowak commented Nov 30, 2021

@tormath1: Can this be merged or is it waiting for anything else?

@tormath1
Copy link
Copy Markdown
Contributor Author

@krnowak I was thinking about merging this after the next release. Otherwise nightlies are going to fail for stable since the patch has been ported only on current beta and alpha (since beta will be promoted as next stable)

@krnowak
Copy link
Copy Markdown
Member

krnowak commented Nov 30, 2021

Ah, cool. No problem, let's wait then.

@tormath1 tormath1 merged commit 890a4ef into flatcar-master Dec 16, 2021
@tormath1 tormath1 deleted the tormath1/etcd branch December 16, 2021 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants