Bug 1703703 - etcd: adjusting runtime configurations will result in MCO rebooting node
Summary: etcd: adjusting runtime configurations will result in MCO rebooting node
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Etcd
Version: 4.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: 4.1.0
Assignee: Sam Batschelet
QA Contact: ge liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-27 17:56 UTC by Sam Batschelet
Modified: 2019-05-14 10:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-14 10:29:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sam Batschelet 2019-04-27 17:56:26 UTC
Description of problem: etcd has various runtime configurations. Currently, the only way to adjust these configurations is to manipulate the etcd-member.yaml for the static POD. But by doing so because this config is monitored by MCO will result in eventually restarting the node.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. adjust runtime configuration
2.
3.

Actual results: etcd picks up runtime configuration changes and then MCO reboots nodes


Expected results: etcd picks up runtime configuration


Additional info:

Comment 6 ge liu 2019-05-06 10:52:19 UTC
hello Sam, I found that etcd-member.yml have been managed by machineconfig, do you have any suggestion how to verify this bug? thx

Comment 7 ge liu 2019-05-14 08:47:02 UTC
generate-etcd-conf.sh works well, but its pre-requirist is install 'urlencode'. I'm not sure if it's acceptable for customer, or we need to doc it, anyway, this way looks like have not problem.

# urlencode
bash: urlencode: command not found...
Install package 'gridsite-clients' to provide command 'urlencode'? [N/y] y

# ./generate-etcd-conf.sh etcd.conf.new etcd.conf.machineconfig
MachineConfig is now available etcd.conf.machineconfig
# oc get machineconfig
NAME                                                        GENERATEDBYCONTROLLER      IGNITIONVERSION   CREATED
00-master                                                   4.1.0-201905091432-dirty   2.2.0             25h
..............
99-etcd-conf                                                                           2.2.0             7s


Note You need to log in before you can comment on or make changes to this bug.