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 ceph-create-keys from mon startup #9345

Merged
merged 7 commits into from Nov 4, 2016

Conversation

oms4suse
Copy link
Contributor

@oms4suse
Copy link
Contributor Author

I suspect the issue is in the test suite as the failing command is:

ceph osd setcrushmap -i /tmp/cephtool26589/map

Since now the mon servers will not definitely have admin keyrings on them this could be he reason for a false positive.

@liewegas
Copy link
Member

test this please

@oms4suse
Copy link
Contributor Author

oms4suse commented Jun 1, 2016

Seems all test have past this time :)

@yuriw
Copy link
Contributor

yuriw commented Jun 2, 2016

@smithfarm
Copy link
Contributor

@oms4suse Needs rebase

@smithfarm smithfarm self-assigned this Aug 19, 2016
@smithfarm
Copy link
Contributor

@liewegas
Copy link
Member

liewegas commented Sep 7, 2016

@oms4suse ping

@oms4suse
Copy link
Contributor Author

oms4suse commented Sep 7, 2016

Hi sage, I thought this was resolved upstream already

@smithfarm smithfarm removed their assignment Sep 7, 2016
@oms4suse
Copy link
Contributor Author

I am back on this PR.

@oms4suse
Copy link
Contributor Author

Pushed new version.

@oms4suse
Copy link
Contributor Author

Rebased to master again

@oms4suse
Copy link
Contributor Author

Rebasing to restart checks.

Jenkins agent failed last time, and http request failed, both unrelated to this code base.

@tchaikov
Copy link
Contributor

jenkins, retest this please.

@oms4suse
Copy link
Contributor Author

seems all tests passed.

@oms4suse
Copy link
Contributor Author

@yuriw Please can you retest?

@smithfarm
Copy link
Contributor

Needs rebase again.

@oms4suse
Copy link
Contributor Author

oms4suse commented Nov 2, 2016

Thanks Nathan I will get back to this.

@oms4suse
Copy link
Contributor Author

oms4suse commented Nov 2, 2016

Rebased to master

@liewegas liewegas changed the title Remove ceph-create-keys from mon startup mon: remove ceph-create-keys from mon startup Nov 2, 2016
@liewegas liewegas added this to the kraken milestone Nov 2, 2016
@liewegas
Copy link
Member

liewegas commented Nov 2, 2016

@yuriw let's get this merged this week for kraken. probably just needs a ceph-deploy and smoke test?

@oms4suse
Copy link
Contributor Author

oms4suse commented Nov 2, 2016

Test failed but I think its unrelated.

@oms4suse
Copy link
Contributor Author

oms4suse commented Nov 3, 2016

Rebased on todays master to see if tests now pass

@oms4suse
Copy link
Contributor Author

oms4suse commented Nov 3, 2016

Seems tests pass on todays master.

@oms4suse
Copy link
Contributor Author

oms4suse commented Nov 4, 2016

@yuriw Please can you retest?

@liewegas
Copy link
Member

liewegas commented Nov 4, 2016

This passes my manual ceph-deploy test.

Copy link
Member

@liewegas liewegas left a comment

Choose a reason for hiding this comment

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

Minor nit, otherwise this is ready to go

@@ -809,7 +809,7 @@ rm -rf %{buildroot}
%{_bindir}/osdmaptool
%{_bindir}/ceph-run
%{_bindir}/ceph-detect-init
%{_unitdir}/ceph-create-keys@.service
%{_bindir}/ceph-client-debug
Copy link
Member

Choose a reason for hiding this comment

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

I think this line shouldn't be added here... can you remove?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

ceph-create-keys should not be started on boot of mons with systemd so should
not exist in the rpm.

Signed-off-by: Owen Synge <osynge@suse.com>
ceph-create-keys should not be started on boot of mons with upstart so should
not exist in the deb.

Signed-off-by: Owen Synge <osynge@suse.com>
ceph-create-keys should not be started on boot of mons with upstart so should
not exist in the upstart files

Signed-off-by: Owen Synge <osynge@suse.com>
ceph-create-keys should not be started on boot of mons with systemd so should
not exist in the systemd files

Signed-off-by: Owen Synge <osynge@suse.com>
ceph-create-keys should not be started on boot of mons with systemd so should
not exist as 'After' or 'Wants' for the ceph-mon.service

Signed-off-by: Owen Synge <osynge@suse.com>
ceph-create-keys should not be started on boot of mons with systemd so should
not exist as 'After' or 'Wants' for the ceph-mon.service

Signed-off-by: Owen Synge <osynge@suse.com>
ceph-create-keys should not be started on boot of mons with sysv init.

Signed-off-by: Owen Synge <osynge@suse.com>
@oms4suse
Copy link
Contributor Author

oms4suse commented Nov 4, 2016

Changes requested complete I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants