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

ncm-ceph: various additions #520

Merged
merged 13 commits into from
Aug 12, 2015
Merged

ncm-ceph: various additions #520

merged 13 commits into from
Aug 12, 2015

Conversation

kwaegema
Copy link
Member

@kwaegema kwaegema commented Jun 1, 2015

  • add max_add_osd_failures_per_host option to be flexible with osd failures
  • change schema to be able to use per host osd templates that are included on the deployhost.
  • change injection to a warning: injecting on a host base does not work (anymore)
  • remove empty crushmap buckets when labeling

@kwaegema
Copy link
Member Author

kwaegema commented Jun 1, 2015

fixes #419

@@ -318,14 +321,24 @@ type ceph_cluster = {
'crushmap' ? ceph_crushmap
};

@documentation{
Decentralized config feature:
For use with dedicated pan code that builds the cluster info from remote templates..
Copy link
Member

Choose a reason for hiding this comment

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

.. -> .

@hpcugentbot
Copy link

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/NCM_Components-pull_requests/697/
Test PASSed (test).

@@ -89,10 +89,12 @@ sub inject_realtime {
if (!($param ~~ @NONINJECT)) { # Requires Perl > 5.10 !
@cmd = ('tell',"*.$host",'injectargs','--');
my $keyvalue = "--$param=$changes->{$param}";
$self->info("injecting $keyvalue realtime on $host");
$self->run_ceph_command([@cmd, $keyvalue]) or return 0;
#$self->info("injecting $keyvalue realtime on $host"); # this does not work anymore, see mailinglist
Copy link
Member

Choose a reason for hiding this comment

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

remove if unused

@stdweird
Copy link
Member

stdweird commented Jun 1, 2015

@kwaegema minor remarks, LGTM otherwise

@jrha jrha added this to the 15.6 milestone Jun 1, 2015
@hpcugentbot
Copy link

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/NCM_Components-pull_requests/698/
Test PASSed (test).

@kwaegema
Copy link
Member Author

Does this needs additional review?

foreach (name;cluster;clusters) {
append(names, name);
};
if(exists(ARGV[0]['clusters'])) {
Copy link
Member

Choose a reason for hiding this comment

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

avoid the extra indent, do a

if(! exists(ARGV[0]['clusters'])) { return(true); };

(also, set it before the names = list();

@hpcugentbot
Copy link

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/NCM_Components-pull_requests/731/
Test PASSed (test).

@kwaegema
Copy link
Member Author

remarks processed

@hpcugentbot
Copy link

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/NCM_Components-pull_requests/735/
Test PASSed (test).

@jrha
Copy link
Member

jrha commented Aug 11, 2015

LGTM

@stdweird
Copy link
Member

LGTM

jrha added a commit that referenced this pull request Aug 12, 2015
ncm-ceph: various additions
@jrha jrha merged commit a3d2490 into quattor:master Aug 12, 2015
@kwaegema kwaegema deleted the addosd branch August 17, 2015 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants