Skip to content

Commit 4c0a5b7

Browse files
authored
Merge pull request #21 from grid5000/fix_ganglia
[big] Fix ganglia bug 7748
2 parents 9aab6cf + ca1dbb7 commit 4c0a5b7

File tree

5 files changed

+40
-4
lines changed

5 files changed

+40
-4
lines changed

virtualbox/jessie-x64-common.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ global:
3131
variant: min # default value for variant. Can be overwritten by --global=variant:<my_variant> when calling kameleon
3232
os_family: debian
3333
os_release: jessie
34-
image_version: 2017011315
34+
image_version: 2017020113
3535
output: "$${kameleon_cwd}/$${kameleon_recipe_name}" # output files basename
3636
g5k_tgz_path: server:///path/to/your/image
3737
g5k_postinst_path: server:///grid5000/postinstalls/debian-x64-min-1.2-post.tgz
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# INSTALLED BY PUPPET
2+
3+
[Unit]
4+
SourcePath=/etc/init.d/ganglia-monitor
5+
Description=(null)
6+
Before=runlevel2.target runlevel3.target runlevel4.target runlevel5.target shutdown.target
7+
After=network-online.target nss-lookup.target remote-fs.target systemd-journald-dev-log.socket
8+
Wants=network-online.target
9+
Conflicts=shutdown.target
10+
11+
[Service]
12+
Type=forking
13+
Restart=no
14+
TimeoutSec=5min
15+
IgnoreSIGPIPE=no
16+
KillMode=process
17+
GuessMainPID=no
18+
RemainAfterExit=yes
19+
SysVStartPriority=2
20+
ExecStartPre=/bin/bash -c "[[ $(lsmod | grep -ic nvidia) -eq 0 ]] && rm -f /etc/ganglia/conf.d/{nvidia.pyconf,modpython-nvidia.conf}"
21+
ExecStart=/etc/init.d/ganglia-monitor start
22+
ExecStop=/etc/init.d/ganglia-monitor stop
23+
24+
[Install]
25+
WantedBy=multi-user.target

virtualbox/steps/data/puppet/modules/env/manifests/big/configure_nvidia_gpu/ganglia.pp

+11
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,17 @@
2525
mode => '0644',
2626
source => "puppet:///modules/env/big/nvidia/modpython-nvidia.conf",
2727
require => Package['ganglia-monitor-python-nvidia'];
28+
'/etc/systemd/system/ganglia-monitor.service':
29+
ensure => file,
30+
owner => root,
31+
group => root,
32+
mode => '0644',
33+
source => "puppet:///modules/env/big/nvidia/ganglia-monitor.service";
34+
}
35+
exec {
36+
'Enable ganglia on startup':
37+
command => "systemctl enable ganglia-monitor",
38+
path => ['/bin','/usr/bin','/sbin'];
2839
}
2940
}
3041
default: {

virtualbox/steps/data/puppet/modules/env/manifests/big/install_ceph/apt.pp

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
owner => root,
2121
group => root,
2222
content => "# ceph
23-
deb http://ceph.com/debian-${version}/ ${::lsbdistcodename} main
24-
deb-src http://ceph.com/debian-${version}/ ${::lsbdistcodename} main";
23+
deb http://download.ceph.com/debian-${version}/ ${::lsbdistcodename} main
24+
deb-src http://download.ceph.com/debian-${version}/ ${::lsbdistcodename} main";
2525
}
2626

2727
Exec['import_ceph_apt_key'] -> File['/etc/apt/sources.list.d/ceph.list'] ~> Exec['/usr/bin/apt-get update']

virtualbox/steps/data/puppet/modules/env/manifests/std/install_g5kchecks.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
include 'env::std::ipmitool' # ipmitool is required by g5k-checks
44
include 'env::std::dell' # dell tools are required by g5k-checks
55

6-
$g5kchecks_version = "0.7.5"
6+
$g5kchecks_version = "0.7.8"
77

88
$g5kchecks_deps = [ 'ruby-rest-client', 'ohai', 'ruby-popen4', 'fio', 'ruby-json', 'x86info' ]
99
case $operatingsystem {

0 commit comments

Comments
 (0)