Skip to content

daemon: Implement "reload" - #598

Closed
cgwalters wants to merge 6 commits into
coreos:masterfrom
cgwalters:reload-config
Closed

cgwalters wants to merge 6 commits into
coreos:masterfrom
cgwalters:reload-config

Conversation

@cgwalters

@cgwalters cgwalters commented Jan 30, 2017 •

Copy link
Copy Markdown
Member

There are two main issues right now; first, we don't pick up manual changes to
.origin files, which occurs when one needs to sed it to remove unconfigured
for example. Second, we need to reload changes to the remotes.

@cgwalters

Copy link
Copy Markdown
Member Author

Depends on ostreedev/ostree#662

@rh-atomic-bot

Copy link
Copy Markdown

☔ The latest upstream changes (presumably 687567d) made this pull request unmergeable. Please resolve the merge conflicts.

@cgwalters

Copy link
Copy Markdown
Member Author

bot, retest this please

There are two main issues right now; first, we don't pick up manual changes to
`.origin` files, which occurs when one needs to sed it to remove `unconfigured`
for example. Second, we need to reload changes to the remotes.
@cgwalters cgwalters removed the blocked label Feb 23, 2017
@cgwalters

Copy link
Copy Markdown
Member Author

Newer ostree is now in Fedora stable, so this builds - removing blocked.

However, admin deploy SEGV is back in this one.

@cgwalters

Copy link
Copy Markdown
Member Author

Now with docs 📚 - should be good for review.

BusName=org.projectatomic.rpmostree1
@SYSTEMD_ENVIRON@
ExecStart=@bindir@/rpm-ostree start-daemon
ExecReload=@libexecdir@/@primaryname@ reload

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ouhhh, I really like that!

Comment thread tests/check/test-basic.sh Outdated

rpm-ostree reload
echo "ok reload"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe combine this with the ONE BILLION DOLLARS test case below to see that it actually works? I.e. swap out the killing for reload (and maybe try the upgrade before and after, rather than just after).

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Very nice suggestion! 🥇 👍 🍾

Done in ⬇️

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

(Well I didn't do the before/after since I'm not sure we should hardcode right now that we don't automatically pick up origin changes)

@jlebon

jlebon commented Feb 24, 2017

Copy link
Copy Markdown
Member

Cool! @rh-atomic-bot r+ c16414e

@rh-atomic-bot

Copy link
Copy Markdown

⌛ Testing commit c16414e with merge b034381...

@rh-atomic-bot

Copy link
Copy Markdown

☀️ Test successful - status-atomicjenkins
Approved by: jlebon
Pushing b034381 to master...

cgwalters added a commit to cgwalters/rpm-ostree that referenced this pull request Mar 31, 2017
I think this was a conceptual merge conflict from
coreos#292
and
coreos#598

Also I noticed we weren't consistently using `@primaryname@`...
will fix that when we get back to the renaming PR.
rh-atomic-bot pushed a commit that referenced this pull request Apr 4, 2017
I think this was a conceptual merge conflict from
#292
and
#598

Also I noticed we weren't consistently using `@primaryname@`...
will fix that when we get back to the renaming PR.

Closes: #716
Approved by: jlebon
jelly added a commit to jelly/cockpit-ostree that referenced this pull request Nov 24, 2023
jelly added a commit to jelly/cockpit-ostree that referenced this pull request Nov 24, 2023
jelly added a commit to cockpit-project/cockpit-ostree that referenced this pull request Nov 24, 2023
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