ETCD-319: adding transient systemd unit for etcd#976
ETCD-319: adding transient systemd unit for etcd#976openshift-merge-robot merged 1 commit intoopenshift:mainfrom
Conversation
df3557a to
0f9f3b1
Compare
|
@haircommander Would you mind taking a look at this; mainly that this will be able to do what I've outlined above please? |
|
added a review comment on the proposal, this doesn't seem like the right direction to me (though I certainly have missed many conversations) |
0f9f3b1 to
3b3f107
Compare
3b3f107 to
b462ca2
Compare
|
The most recent update adds @deads2k suggestion to have the transient systemd unit launch the currently bundled etcd so that we can start testing the systemd launching mechanism while we work to get the rpm with etcd laid down. Once we have etcd installing from an rpm, I'll update this to completely remove bundled etcd and edit the systemd-run command to launch the rpm etcd. |
d23633b to
558f4a1
Compare
|
this lgtm Is there a specific reason it's a WIP? |
|
This PR as it stands
/lgtm |
|
/hold The team needs to deliver a build to the customer in the next week. Let's wait to bring this change in until at least that is completed. |
52b65ea to
cb04782
Compare
92b11c0 to
5006f1b
Compare
b5acc97 to
fc70c11
Compare
|
/retest |
|
/test e2e-openshift-conformance-sig-api-machinery |
|
This looks good to me, I'd like others to take a look |
dhellmann
left a comment
There was a problem hiding this comment.
We've been trying to improve the git log messages with new changes. You could consider adding some of the detail from the PR message to the commit message.
I had a couple of questions inline, but nothing I think should block this.
/hold cancel
/approve
I'll leave final approval for @pmtk.
pkg/controllers/etcd.go
Outdated
There was a problem hiding this comment.
The main thing we wanted was to always use the microshift-etcd binary in the same directory as the microshift binary, to support the developer use case. Does it matter if that developer binary is run in a systemd unit? Would always using system simplify anything below?
There was a problem hiding this comment.
That's a good idea. Only thing is that etcd logs would be separate, but I don't think we need them that much in day to day development
There was a problem hiding this comment.
Maybe this is another area to simplify after the initial version is merged?
There was a problem hiding this comment.
IIRC, there was some pushback in a previous meeting about not executing etcd as a systemd unit in development, I don't remember the reason given.
There was a problem hiding this comment.
I may have been worried that it wouldn't work, or wouldn't stop, or something. I don't have a preference, as long as it works. We can land it this way and experiment with removing it when we have some time.
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, dhellmann, dusk125, pmtk The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@dusk125: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
/reset-required |
|
/retest-required |
This is the first step to get etcd running un-bundled from MicroShift; this change makes etcd run in a transient systemd unit whose lifetime is bound to the MicroShift execution. Also, as a temporary measure, I added a subcommand to MicroShift that just runs the bundled etcd; this is so we can test etcd's execution with the systemd unit and this will be removed and replaced by an invocation of the etcd binary that will be laid down by an rpm.
The end goal, as described in this Microshift Enhancement is to remove the current embedded etcd service and replace it with a service that launches etcd in a transient systemd unit.