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

OSD orchestration should return success to the leader immediately after it starts config #132

Closed
travisn opened this issue Oct 31, 2016 · 1 comment
Assignees

Comments

@travisn
Copy link
Member

travisn commented Oct 31, 2016

Device initialization for OSDs takes on the order of minutes. For the agent to configure all devices before returning to the orchestration leader causes several problems:

  • Orchestrations are blocked for a long period of time
  • New machines coming online may have to wait a long time to be configured
  • More critical services such as etcd and ceph mons will be blocked from failover orchestration for long periods of time.

Completion of OSD configuration is a process that is quite independent from core orchestration. The only thing the orchestrator really cares about is whether the agent is actively configuring the OSDs. There are no orchestration failover scenarios that OSDs need to worry about, unlike the more critical etcd and mon services.

Upon a request to configure OSDs, the agent can immediately return success to the orchestrator that it is working on the configuration. There is no need to wait for all the OSDs to complete.

For applications that need to be guaranteed there is storage available (ie. OSD configuration is complete), the orchestrator can provide a helper to signal progress of available OSDs.

@travisn travisn self-assigned this Oct 31, 2016
@travisn
Copy link
Member Author

travisn commented Nov 3, 2016

Fixed by #140

@travisn travisn closed this as completed Nov 3, 2016
aruniiird pushed a commit to aruniiird/rook that referenced this issue Oct 12, 2020
…bp-6369

Bug 1885428: ceph: prevent closing of channel more than once
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

No branches or pull requests

1 participant