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

mon: remove key generation #1238

Merged
merged 2 commits into from
Nov 23, 2018
Merged

mon: remove key generation #1238

merged 2 commits into from
Nov 23, 2018

Conversation

leseb
Copy link
Member

@leseb leseb commented Nov 6, 2018

As for Nautilus, keys get automatically generated so we don't need to
create them during the initial bootstrap.
We still keep the ability to generate our how admin key though.

Signed-off-by: Sébastien Han seb@redhat.com

@leseb
Copy link
Member Author

leseb commented Nov 15, 2018

This is for N and above only so we need to add an exception for L and M.

src/daemon/config.static.sh Outdated Show resolved Hide resolved
leseb added a commit to ceph/ceph-ansible that referenced this pull request Nov 16, 2018
This commit unifies the container and non-container code, which in the
meantime gives use the ability to deploy N mon container at the same
time without having to serialized the deployment. This will drastically
reduces the time needed to bootstrap the cluster.
Note, this is only possible since Nautilus because the monitors are
bootstrap the initial keys on their own once they reach quorum. In the
Nautilus version of the ceph-container mon, we stopped generating the
keys 'manually' from inside the container, for more detail see: ceph/ceph-container#1238

Signed-off-by: Sébastien Han <seb@redhat.com>
leseb added a commit to ceph/ceph-ansible that referenced this pull request Nov 16, 2018
This commit unifies the container and non-container code, which in the
meantime gives use the ability to deploy N mon container at the same
time without having to serialized the deployment. This will drastically
reduces the time needed to bootstrap the cluster.
Note, this is only possible since Nautilus because the monitors are
bootstrap the initial keys on their own once they reach quorum. In the
Nautilus version of the ceph-container mon, we stopped generating the
keys 'manually' from inside the container, for more detail see: ceph/ceph-container#1238

Signed-off-by: Sébastien Han <seb@redhat.com>
src/daemon/demo.sh Outdated Show resolved Hide resolved
src/daemon/demo.sh Show resolved Hide resolved
@ErwanAliasr1
Copy link
Contributor

@leseb Looks like we are ready to merge isn't it ?

As for Nautilus, keys get automatically generated so we don't need to
create them during the initial bootstrap.
We still keep the ability to generate our how admin key though.

Signed-off-by: Sébastien Han <seb@redhat.com>
Since Nautilus keys are generated by the mon itself, we just need to
fetch them on the filesystem with the initial mon. key.

The demo file is kept intact for luminous & mimic

Signed-off-by: Sébastien Han <seb@redhat.com>
Signed-off-by: Erwan Velu <erwan@redhat.com>
@ErwanAliasr1 ErwanAliasr1 merged commit 246e622 into master Nov 23, 2018
@ErwanAliasr1 ErwanAliasr1 deleted the no-key branch November 23, 2018 09:38
leseb added a commit to ceph/ceph-ansible that referenced this pull request Nov 23, 2018
This commit unifies the container and non-container code, which in the
meantime gives use the ability to deploy N mon container at the same
time without having to serialized the deployment. This will drastically
reduces the time needed to bootstrap the cluster.
Note, this is only possible since Nautilus because the monitors are
bootstrap the initial keys on their own once they reach quorum. In the
Nautilus version of the ceph-container mon, we stopped generating the
keys 'manually' from inside the container, for more detail see: ceph/ceph-container#1238

Signed-off-by: Sébastien Han <seb@redhat.com>
leseb added a commit to ceph/ceph-ansible that referenced this pull request Nov 23, 2018
This commit unifies the container and non-container code, which in the
meantime gives use the ability to deploy N mon container at the same
time without having to serialized the deployment. This will drastically
reduces the time needed to bootstrap the cluster.
Note, this is only possible since Nautilus because the monitors are
bootstrap the initial keys on their own once they reach quorum. In the
Nautilus version of the ceph-container mon, we stopped generating the
keys 'manually' from inside the container, for more detail see: ceph/ceph-container#1238

Signed-off-by: Sébastien Han <seb@redhat.com>
leseb added a commit to ceph/ceph-ansible that referenced this pull request Nov 23, 2018
This commit unifies the container and non-container code, which in the
meantime gives use the ability to deploy N mon container at the same
time without having to serialized the deployment. This will drastically
reduces the time needed to bootstrap the cluster.
Note, this is only possible since Nautilus because the monitors are
bootstrap the initial keys on their own once they reach quorum. In the
Nautilus version of the ceph-container mon, we stopped generating the
keys 'manually' from inside the container, for more detail see: ceph/ceph-container#1238

Signed-off-by: Sébastien Han <seb@redhat.com>
leseb added a commit to ceph/ceph-ansible that referenced this pull request Nov 23, 2018
This commit unifies the container and non-container code, which in the
meantime gives use the ability to deploy N mon container at the same
time without having to serialized the deployment. This will drastically
reduces the time needed to bootstrap the cluster.
Note, this is only possible since Nautilus because the monitors are
bootstrap the initial keys on their own once they reach quorum. In the
Nautilus version of the ceph-container mon, we stopped generating the
keys 'manually' from inside the container, for more detail see: ceph/ceph-container#1238

Signed-off-by: Sébastien Han <seb@redhat.com>
leseb added a commit to ceph/ceph-ansible that referenced this pull request Nov 23, 2018
This commit unifies the container and non-container code, which in the
meantime gives use the ability to deploy N mon container at the same
time without having to serialized the deployment. This will drastically
reduces the time needed to bootstrap the cluster.
Note, this is only possible since Nautilus because the monitors are
bootstrap the initial keys on their own once they reach quorum. In the
Nautilus version of the ceph-container mon, we stopped generating the
keys 'manually' from inside the container, for more detail see: ceph/ceph-container#1238

Signed-off-by: Sébastien Han <seb@redhat.com>
leseb added a commit to ceph/ceph-ansible that referenced this pull request Nov 23, 2018
This commit unifies the container and non-container code, which in the
meantime gives use the ability to deploy N mon container at the same
time without having to serialized the deployment. This will drastically
reduces the time needed to bootstrap the cluster.
Note, this is only possible since Nautilus because the monitors are
bootstrap the initial keys on their own once they reach quorum. In the
Nautilus version of the ceph-container mon, we stopped generating the
keys 'manually' from inside the container, for more detail see: ceph/ceph-container#1238

Signed-off-by: Sébastien Han <seb@redhat.com>
leseb added a commit to ceph/ceph-ansible that referenced this pull request Nov 23, 2018
This commit unifies the container and non-container code, which in the
meantime gives use the ability to deploy N mon container at the same
time without having to serialized the deployment. This will drastically
reduces the time needed to bootstrap the cluster.
Note, this is only possible since Nautilus because the monitors are
bootstrap the initial keys on their own once they reach quorum. In the
Nautilus version of the ceph-container mon, we stopped generating the
keys 'manually' from inside the container, for more detail see: ceph/ceph-container#1238

Signed-off-by: Sébastien Han <seb@redhat.com>
leseb added a commit to ceph/ceph-ansible that referenced this pull request Nov 23, 2018
This commit unifies the container and non-container code, which in the
meantime gives use the ability to deploy N mon container at the same
time without having to serialized the deployment. This will drastically
reduces the time needed to bootstrap the cluster.
Note, this is only possible since Nautilus because the monitors are
bootstrap the initial keys on their own once they reach quorum. In the
Nautilus version of the ceph-container mon, we stopped generating the
keys 'manually' from inside the container, for more detail see: ceph/ceph-container#1238

Signed-off-by: Sébastien Han <seb@redhat.com>
leseb added a commit to ceph/ceph-ansible that referenced this pull request Nov 23, 2018
This commit unifies the container and non-container code, which in the
meantime gives use the ability to deploy N mon container at the same
time without having to serialized the deployment. This will drastically
reduces the time needed to bootstrap the cluster.
Note, this is only possible since Nautilus because the monitors are
bootstrap the initial keys on their own once they reach quorum. In the
Nautilus version of the ceph-container mon, we stopped generating the
keys 'manually' from inside the container, for more detail see: ceph/ceph-container#1238

Signed-off-by: Sébastien Han <seb@redhat.com>
leseb added a commit to ceph/ceph-ansible that referenced this pull request Nov 23, 2018
This commit unifies the container and non-container code, which in the
meantime gives use the ability to deploy N mon container at the same
time without having to serialized the deployment. This will drastically
reduces the time needed to bootstrap the cluster.
Note, this is only possible since Nautilus because the monitors are
bootstrap the initial keys on their own once they reach quorum. In the
Nautilus version of the ceph-container mon, we stopped generating the
keys 'manually' from inside the container, for more detail see: ceph/ceph-container#1238

Signed-off-by: Sébastien Han <seb@redhat.com>
leseb added a commit to ceph/ceph-ansible that referenced this pull request Nov 26, 2018
This commit unifies the container and non-container code, which in the
meantime gives use the ability to deploy N mon container at the same
time without having to serialized the deployment. This will drastically
reduces the time needed to bootstrap the cluster.
Note, this is only possible since Nautilus because the monitors are
bootstrap the initial keys on their own once they reach quorum. In the
Nautilus version of the ceph-container mon, we stopped generating the
keys 'manually' from inside the container, for more detail see: ceph/ceph-container#1238

Signed-off-by: Sébastien Han <seb@redhat.com>
leseb added a commit to ceph/ceph-ansible that referenced this pull request Nov 27, 2018
This commit unifies the container and non-container code, which in the
meantime gives use the ability to deploy N mon container at the same
time without having to serialized the deployment. This will drastically
reduces the time needed to bootstrap the cluster.
Note, this is only possible since Nautilus because the monitors are
bootstrap the initial keys on their own once they reach quorum. In the
Nautilus version of the ceph-container mon, we stopped generating the
keys 'manually' from inside the container, for more detail see: ceph/ceph-container#1238

Signed-off-by: Sébastien Han <seb@redhat.com>
leseb added a commit to ceph/ceph-ansible that referenced this pull request Nov 28, 2018
This commit unifies the container and non-container code, which in the
meantime gives use the ability to deploy N mon container at the same
time without having to serialized the deployment. This will drastically
reduces the time needed to bootstrap the cluster.
Note, this is only possible since Nautilus because the monitors are
bootstrap the initial keys on their own once they reach quorum. In the
Nautilus version of the ceph-container mon, we stopped generating the
keys 'manually' from inside the container, for more detail see: ceph/ceph-container#1238

Signed-off-by: Sébastien Han <seb@redhat.com>
leseb added a commit to ceph/ceph-ansible that referenced this pull request Nov 30, 2018
This commit unifies the container and non-container code, which in the
meantime gives use the ability to deploy N mon container at the same
time without having to serialized the deployment. This will drastically
reduces the time needed to bootstrap the cluster.
Note, this is only possible since Nautilus because the monitors are
bootstrap the initial keys on their own once they reach quorum. In the
Nautilus version of the ceph-container mon, we stopped generating the
keys 'manually' from inside the container, for more detail see: ceph/ceph-container#1238

Signed-off-by: Sébastien Han <seb@redhat.com>
leseb added a commit to ceph/ceph-ansible that referenced this pull request Dec 2, 2018
This commit unifies the container and non-container code, which in the
meantime gives use the ability to deploy N mon container at the same
time without having to serialized the deployment. This will drastically
reduces the time needed to bootstrap the cluster.
Note, this is only possible since Nautilus because the monitors are
bootstrap the initial keys on their own once they reach quorum. In the
Nautilus version of the ceph-container mon, we stopped generating the
keys 'manually' from inside the container, for more detail see: ceph/ceph-container#1238

Signed-off-by: Sébastien Han <seb@redhat.com>
leseb added a commit to ceph/ceph-ansible that referenced this pull request Dec 3, 2018
This commit unifies the container and non-container code, which in the
meantime gives use the ability to deploy N mon container at the same
time without having to serialized the deployment. This will drastically
reduces the time needed to bootstrap the cluster.
Note, this is only possible since Nautilus because the monitors are
bootstrap the initial keys on their own once they reach quorum. In the
Nautilus version of the ceph-container mon, we stopped generating the
keys 'manually' from inside the container, for more detail see: ceph/ceph-container#1238

Signed-off-by: Sébastien Han <seb@redhat.com>
leseb added a commit to ceph/ceph-ansible that referenced this pull request Dec 3, 2018
This commit unifies the container and non-container code, which in the
meantime gives use the ability to deploy N mon container at the same
time without having to serialized the deployment. This will drastically
reduces the time needed to bootstrap the cluster.
Note, this is only possible since Nautilus because the monitors are
bootstrap the initial keys on their own once they reach quorum. In the
Nautilus version of the ceph-container mon, we stopped generating the
keys 'manually' from inside the container, for more detail see: ceph/ceph-container#1238

Signed-off-by: Sébastien Han <seb@redhat.com>
leseb added a commit to ceph/ceph-ansible that referenced this pull request Dec 3, 2018
This commit unifies the container and non-container code, which in the
meantime gives use the ability to deploy N mon container at the same
time without having to serialized the deployment. This will drastically
reduces the time needed to bootstrap the cluster.
Note, this is only possible since Nautilus because the monitors are
bootstrap the initial keys on their own once they reach quorum. In the
Nautilus version of the ceph-container mon, we stopped generating the
keys 'manually' from inside the container, for more detail see: ceph/ceph-container#1238

Signed-off-by: Sébastien Han <seb@redhat.com>
leseb added a commit to ceph/ceph-ansible that referenced this pull request Dec 3, 2018
This commit unifies the container and non-container code, which in the
meantime gives use the ability to deploy N mon container at the same
time without having to serialized the deployment. This will drastically
reduces the time needed to bootstrap the cluster.
Note, this is only possible since Nautilus because the monitors are
bootstrap the initial keys on their own once they reach quorum. In the
Nautilus version of the ceph-container mon, we stopped generating the
keys 'manually' from inside the container, for more detail see: ceph/ceph-container#1238

Signed-off-by: Sébastien Han <seb@redhat.com>
guits pushed a commit to ceph/ceph-ansible that referenced this pull request Dec 3, 2018
This commit unifies the container and non-container code, which in the
meantime gives use the ability to deploy N mon container at the same
time without having to serialized the deployment. This will drastically
reduces the time needed to bootstrap the cluster.
Note, this is only possible since Nautilus because the monitors are
bootstrap the initial keys on their own once they reach quorum. In the
Nautilus version of the ceph-container mon, we stopped generating the
keys 'manually' from inside the container, for more detail see: ceph/ceph-container#1238

Signed-off-by: Sébastien Han <seb@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants