Project

General

Profile

Feature #9854

Puppetize mIgratation from oracle java to openjdk

Added by Natalia Ratnikova over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
High
Start date:
08/20/2015
Due date:
% Done:

0%

Estimated time:
Spent time:
component:
base
Stakeholders:
Co-Assignees:
Duration:

Description

Technical details and tests done during the preparation to Aug5th downtime are in:
https://cdcvs.fnal.gov/redmine/issues/9784,

This issue is for tracking puppet related work and final testing.

History

#1 Updated by Natalia Ratnikova over 4 years ago

According to Tony, java is not used anywhere besides dcache.

The requirement for java in ./modules/osg_gatekeeper/manifests/install.pp is obsolete,
i.e. even openjdk java is no longer needed there.

If that's the case, there is no need to keep the old oracle java in the uscmst1 repository.
Except for a while if we need to roll back the change.

#2 Updated by Natalia Ratnikova over 4 years ago

git checkout natalia_dcache_java_upgrade_test
git diff -r itb
git merge itb
git push
git status
git diff -r itb => now only shows changes in modules/dcache/files/etc/dcache/poolmanager-disk_itb.conf

#3 Updated by Natalia Ratnikova over 4 years ago

Here are all the places where jdk is currently set:

[cmsdev33 16:37] grep jdk `find . -type f | grep -v \.git`
./modules/osg_gatekeeper/manifests/install.pp: command => 'yum --disablerepo=osg --disablerepo=uscmst1 -y install java-1.7.0-openjdk',
./modules/osg_gatekeeper/manifests/install.pp: unless => 'rpm -q java-1.7.0-openjdk',
./modules/dcache/manifests/init.pp: ensure_packages ( ['dcache', 'jdk', 'rpcbind', 'nfs-utils', $packages] )
./modules/dcache/manifests/init.pp: require => [ Package['dcache'], Package['jdk'] ]

NOTE: the version is not actually specified, and slf repo has both 1.7.X and 1.8.X openjdk versions.
However the packages have java version encoded in their name, so we should be fine with just specifying the package name

In ENC:

put all testbed nodes onto natalia_dcache_java_upgrade_test branch:

modified:   cmspnfs1.fnal.gov.yaml
modified: cmsstor112.fnal.gov.yaml
modified: cmsstor151.fnal.gov.yaml
modified: cmsstor152.fnal.gov.yaml
modified: cmsstor153.fnal.gov.yaml
modified: cmsstor154.fnal.gov.yaml
modified: cmsstor155.fnal.gov.yaml

Commit: 279780374ec871ef383e2e6f0662c4ee38f1629b

IN Puppet: edit modules/dcache/manifests/init.pp ,

commit: 48db0633306dd036133624ab512e146ae6067edd

(make puppet-lint happy, the previous commit actually contains the change).

#4 Updated by Natalia Ratnikova over 4 years ago

On cmsstor112 - migration to openjdk java has already been made.
Puppet runs almost cleanly - just changing the environment:

[root@cmsstor112 ~]# puppet agent -t
Warning: Local environment: "production" doesn't match server specified node environment "natalia_dcache_java_upgrade_test", switching agent to "natalia_dcache_java_upgrade_test".
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/os_maj_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/rsyslog_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/ip6tables_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/certificate_facts.rb
Info: Loading facts in /var/lib/puppet/lib/facter/postgres_default_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/cvmfsversion.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/iptables_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/code_server.rb
Info: Loading facts in /var/lib/puppet/lib/facter/iptables_persistent_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in /var/lib/puppet/lib/facter/afs_cache_size.rb
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in /var/lib/puppet/lib/facter/cvmfspartsize.rb
Info: Caching catalog for cmsstor112.fnal.gov
Info: Applying configuration version '1440110811'
Info: /Stage[main]/P_fact::Puppet/P_fact::String[puppetenvironment]/File[/etc/facter/facts.d/puppetenvironment.txt]: Filebucketed /etc/facter/facts.d/puppetenvironment.txt to main with sum 3692a554bef3dc154a87a0a54a6e97b3
Notice: /Stage[main]/P_fact::Puppet/P_fact::String[puppetenvironment]/File[/etc/facter/facts.d/puppetenvironment.txt]/content: content changed '{md5}3692a554bef3dc154a87a0a54a6e97b3' to '{md5}430af18c5e7188929f99b954233d1840'
Info: /Stage[main]/Motd::Warning/Motd[/etc/motd]/File[/etc/motd]: Filebucketed /etc/motd to main with sum 8dbfc0f49f497aa7fccff854f5750b3d
Notice: /Stage[main]/Motd::Warning/Motd[/etc/motd]/File[/etc/motd]/content: content changed '{md5}8dbfc0f49f497aa7fccff854f5750b3d' to '{md5}62e3b328715af629aa2abed666268975'
Notice: Finished catalog run in 85.98 seconds

#5 Updated by Natalia Ratnikova over 4 years ago

Testing on cmspnfs1 - chimera node :

Puppet run succeeds, see full log below.

Currently testbed servers have mount problems on reboot, to mitigate the following script implements a work around:

[root@cmspnfs1 ]# cat `which reboot_no_dbdisk`
#! /bin/bash
read -p "Removing mount for DBdisk from /etc/fstab and rebooting {Y/N} ? " -n 1 -r
echo # (optional) move to a new line
if [[ $REPLY =
^[Yy]$ ]]
then
cp -p /etc/fstab /etc/fstab.reboot_no_dbdisk.`date +%s`.orig
perl -p -i -e 's/(^LABEL=DBdisk)/#$1/' /etc/fstab
reboot
fi

script is put in /root/bin, which is already in the $PATH.

This needs to be done on other servers as well.

root@cmspnfs1 ~]# reboot_no_dbdisk
Removing mount for DBdisk from /etc/fstab and rebooting {Y/N} ? y

Broadcast message from
(/dev/pts/0) at 18:27 ...

The system is going down for reboot NOW!
[root@cmspnfs1 ~]# Connection to cmspnfs1 closed by remote host.
Connection to cmspnfs1 closed.
[root@cmsadmin1 ~]#

[root@cmspnfs1 ~]# puppet agent t
Warning: Local environment: "production" doesn't match server specified node environment "natalia_dcache_java_upgrade_test", switching agent to "natalia_dcache_java_upgrade_test".
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/postgres_default_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/rsyslog_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/afs_cache_size.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/certificate_facts.rb
Info: Loading facts in /var/lib/puppet/lib/facter/cvmfsversion.rb
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in /var/lib/puppet/lib/facter/os_maj_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/ip6tables_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/code_server.rb
Info: Loading facts in /var/lib/puppet/lib/facter/iptables_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/cvmfspartsize.rb
Info: Loading facts in /var/lib/puppet/lib/facter/iptables_persistent_version.rb
Info: Caching catalog for cmspnfs1.fnal.gov
Info: Applying configuration version '1440110960'
Notice: /Stage[main]/Main/Firewall[099 terad canyon.fnal.gov]/ensure: removed
Notice: /Stage[main]/P_krb5::Rootusers/K5login[/root/.k5login]/principals: principals changed ['', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''] to ' '
Notice: /Stage[main]/Dcache::Server/Dcache::Crons[copyWalls]/Cron[copyWalls]/ensure: created
Notice: /Stage[main]/Dcache::Server/Dcache::Crons[poolmanager]/Cron[poolmanager]/ensure: created
Notice: /Stage[main]/Dcache::Server/Dcache::Crons[pnfsmanager]/Cron[pnfsmanager]/ensure: created
Info: FileBucket got a duplicate file {md5}ea7334f8c69e939798394229fe48de96
Info: /Stage[main]/P_fact/File[/etc/facter/facts.d/tibs.txt]: Filebucketed /etc/facter/facts.d/tibs.txt to main with sum ea7334f8c69e939798394229fe48de96
Notice: /Stage[main]/P_fact/File[/etc/facter/facts.d/tibs.txt]/ensure: removed
Info: /Stage[main]/P_fact::Puppet/P_fact::String[puppetenvironment]/File[/etc/facter/facts.d/puppetenvironment.txt]: Filebucketed /etc/facter/facts.d/puppetenvironment.txt to main with sum 024e5d93f2f57a4062dd85f2f4bdbd21
Notice: /Stage[main]/P_fact::Puppet/P_fact::String[puppetenvironment]/File[/etc/facter/facts.d/puppetenvironment.txt]/content: content changed '{md5}024e5d93f2f57a4062dd85f2f4bdbd21' to '{md5}430af18c5e7188929f99b954233d1840'
Notice: /Stage[main]/P_fact::Manager/P_fact::String[secondary]/File[/etc/facter/facts.d/secondary.txt]/content:
--
/etc/facter/facts.d/secondary.txt 2015-06-08 17:15:41.622677054 -0500
+++ /tmp/puppet-file20150820-31609-1q420mo-0 2015-08-20 17:50:07.284747327 -0500
@ -1 +1 @
-secondary=gerard1,huangch
\ No newline at end of file
+secondary=catalind
\ No newline at end of file

Info: /Stage[main]/P_fact::Manager/P_fact::String[secondary]/File[/etc/facter/facts.d/secondary.txt]: Filebucketed /etc/facter/facts.d/secondary.txt to main with sum 36b2ebd5c0259da826780e751b790fbe
Notice: /Stage[main]/P_fact::Manager/P_fact::String[secondary]/File[/etc/facter/facts.d/secondary.txt]/content: content changed '{md5}36b2ebd5c0259da826780e751b790fbe' to '{md5}7b113645e353cbccd2e49f2a849e75c5'
Notice: /Stage[main]/P_fact::Manager/P_fact::String[primary]/File[/etc/facter/facts.d/primary.txt]/content:
--- /etc/facter/facts.d/primary.txt 2015-06-08 17:15:41.710681264 -0500
+++ /tmp/puppet-file20150820-31609-1ok1tqj-0 2015-08-20 17:50:07.355750711 -0500
@ -1 +1 @
-primary=natasha
\ No newline at end of file
+primary=huangch,natasha
\ No newline at end of file

Info: /Stage[main]/P_fact::Manager/P_fact::String[primary]/File[/etc/facter/facts.d/primary.txt]: Filebucketed /etc/facter/facts.d/primary.txt to main with sum a412102502d086f567067e6cad0210f5
Notice: /Stage[main]/P_fact::Manager/P_fact::String[primary]/File[/etc/facter/facts.d/primary.txt]/content: content changed '{md5}a412102502d086f567067e6cad0210f5' to '{md5}978c920ee1bb4cdd751c1fcfe123135f'
Notice: /Stage[main]/P_fact::Manager/P_fact::String[manager]/File[/etc/facter/facts.d/manager.txt]/content:
--- /etc/facter/facts.d/manager.txt 2015-06-08 17:15:41.791685140 -0500
+++ /tmp/puppet-file20150820-31609-1y9h4he-0 2015-08-20 17:50:07.421753856 -0500
@ -1 +1 @
-manager=gerard1,huangch,natasha
+manager=catalind,huangch,natasha

Info: /Stage[main]/P_fact::Manager/P_fact::String[manager]/File[/etc/facter/facts.d/manager.txt]: Filebucketed /etc/facter/facts.d/manager.txt to main with sum 69fb1e7441a40c6f88848ff005b535f0
Notice: /Stage[main]/P_fact::Manager/P_fact::String[manager]/File[/etc/facter/facts.d/manager.txt]/content: content changed '{md5}69fb1e7441a40c6f88848ff005b535f0' to '{md5}a50062b5dcefa42115d7f352e75f2015'
Notice: /Stage[main]/Dcache::Server/Dcache::Crons[poolsEnabled]/Cron[poolsenabled]/ensure: created
Info: /Stage[main]/Motd::Warning/Motd[/etc/motd]/File[/etc/motd]: Filebucketed /etc/motd to main with sum 60ff9e6281b3fab0ae707a9ad7f18d96
Notice: /Stage[main]/Motd::Warning/Motd[/etc/motd]/File[/etc/motd]/content: content changed '{md5}60ff9e6281b3fab0ae707a9ad7f18d96' to '{md5}ba708a63d3f5baa2e04b1aa5742c389a'
Notice: /Stage[main]/Dcache/Package[java-1.7.0-openjdk]/ensure: created
Notice: Finished catalog run in 92.27 seconds

#6 Updated by Natalia Ratnikova over 4 years ago

THings look fine on cmspnfs1 after reboot with reboot_no_dbdisk.

Proceed with the rest of the nodes, using pssh command:

root@cmsadmin1 Aug-20-2015]# pssh -h testbed-server-nodes -l root -t 0 -p 4 -o upgrade_reboot.log -e upgrade_reboot.err 'dcache -version; java -version; kernelversion=kernel-2.6.32-573.3.1.el6.x86_64; puppet agent --disable; service dcache-server stop; yum clean all; yum update -y; rpm -q $kernelversion && puppet agent --enable && /root/bin/reboot_no_dbdisk'
[1] 18:55:07 [SUCCESS] cmspnfs1
[2] 18:55:10 [SUCCESS] cmsstor154
[3] 18:55:10 [SUCCESS] cmsstor153
[4] 18:55:11 [SUCCESS] cmsstor152

This should do everything:

If dcache2.2.29 is already in uscmst1 - both kernel and dcache will be upgraded with yum update.
Puppet takes care of installing new version of java.

Once the nodes are restarted, they should run new kernel, new dCache version and new openjdk java.

#7 Updated by Natalia Ratnikova over 4 years ago

[root@cmsadmin1 Aug-20-2015]# pssh -h testbed-server-nodes -l root -t 60 -p 4 -o check_servers.log -e check_servers.err 'kernelversion=kernel-2.6.32-573.3.1.el6.x86_64; uptime; uname -a | grep $kernelversion && (service dcache-server status | grep -v DOMAIN | grep -v running ); dcache -version ; java -version'
[1] 18:59:59 [SUCCESS] cmsstor154
[2] 18:59:59 [SUCCESS] cmsstor152
[3] 18:59:59 [SUCCESS] cmsstor153
[4] 18:59:59 [SUCCESS] cmspnfs1
[root@cmsadmin1 Aug-20-2015]# pssh -h testbed-server-nodes -l root -t 60 -p 4 -o check_servers.log1 -e check_servers.err1 'kernelversion=kernel-2.6.32-573.3.1.el6.x86_64; uptime; uname -a | grep $kernelversion && (service dcache-server status | grep -v DOMAIN | grep -v running ); dcache version ; java -version'
[1] 19:01:30 [SUCCESS] cmsstor154
[2] 19:01:30 [SUCCESS] cmsstor152
[3] 19:01:30 [SUCCESS] cmsstor153
[4] 19:01:31 [SUCCESS] cmspnfs1
[root@cmsadmin1 Aug-20-2015]# cat check_servers.err1/*
java version "1.7.0_85"
OpenJDK Runtime Environment (rhel-2.6.1.3.el6_6-x86_64 u85-b01)
OpenJDK 64-Bit Server VM (build 24.85-b03, mixed mode)
java version "1.7.0_85"
OpenJDK Runtime Environment (rhel-2.6.1.3.el6_6-x86_64 u85-b01)
OpenJDK 64-Bit Server VM (build 24.85-b03, mixed mode)
java version "1.7.0_85"
OpenJDK Runtime Environment (rhel-2.6.1.3.el6_6-x86_64 u85-b01)
OpenJDK 64-Bit Server VM (build 24.85-b03, mixed mode)
java version "1.7.0_85"
OpenJDK Runtime Environment (rhel-2.6.1.3.el6_6-x86_64 u85-b01)
OpenJDK 64-Bit Server VM (build 24.85-b03, mixed mode)
[root@cmsadmin1 Aug-20-2015]# cat check_servers.log1/*
19:01:29 up 30 min, 0 users, load average: 0.22, 0.18, 0.12
2.2.29
19:01:29 up 8 days, 7:57, 1 user, load average: 0.12, 0.16, 0.14
2.2.29
19:01:29 up 2 days, 3:04, 0 users, load average: 0.02, 0.27, 0.22
2.2.29
19:01:29 up 2 days, 7:06, 0 users, load average: 0.04, 0.18, 0.16
2.2.29
[root@cmsadmin1 Aug-20-2015]#

There are two bugs in the procedure:

1) reboot_no_dbdisk requires confirmation , so this should be done with" "yes | reboot_no_dbdisk"

2) Gerard's instructions on the foswiki for checking kernel in uname are wrong - the version listed there is not the same as rpm package name - only includes the version.

#8 Updated by Natalia Ratnikova over 4 years ago

Push java upgrate to itb and watch what happens

Here are the stor nodes currently running of itb environment:

hosts/cmsstor141.fnal.gov.yaml:environment: itb
hosts/cmsstor167.fnal.gov.yaml:environment: itb
hosts/cmsstor361.fnal.gov.yaml:environment: itb
hosts/cmsstor376.fnal.gov.yaml:environment: itb
hosts/cmsstor401.fnal.gov.yaml:environment: itb
hosts/cmsstor402.fnal.gov.yaml:environment: itb
hosts/cmsstor403.fnal.gov.yaml:environment: itb

Open sessions on cmsstor361, cmsstor376

in my puppet area:

[cmsdev33 12:10] push_to_itb -h
Usage: push_to_itb [OPTION] <git branch name>

OPTIONS:
-h [optional] display this help and exit
-b [mandatory] the branch to be merged into the 'ITB' branch
-s [mandatory] 'signed-off-by' This is the name or username of the
person that reviewed the branch and agreed that it is ready to be
merged
-t [optional] override the default 'merge-to' branch. The default is
to merge into the 'ITB' branch.

ARGUMENTS:
The git branch name is the name of the branch that will be merged into itb.

[cmsdev33 12:10] git status
On branch natalia_dcache_java_upgrade_test
Your branch is up-to-date with 'origin/natalia_dcache_java_upgrade_test'.

Untracked files:
(use "git add <file>..." to include in what will be committed)

hieradata/roles/phedex_itb.yaml

nothing added to commit but untracked files present (use "git add" to track)

[cmsdev33 12:10] push_to_itb s Gerard -b natalia_dcache_java_upgrade_test
Branch to merge: natalia_dcache_java_upgrade_test
Signed off by: Gerard
Merging to branch: itb
Switched to branch 'itb'
Squash commit -
not updating HEAD
Automatic merge went well; stopped before committing as requested
[itb 05c4d73] Moving from frozen oracle java version to openjdk java, which includes security updates. Added cmsstor112 pool server with three pools to dCache testbed.
2 files changed, 30 insertions(), 17 deletions()
Counting objects: 19, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (10/10), done.
Writing objects: 100% (10/10), 1.33 KiB, done.
Total 10 (delta 7), reused 0 (delta 0)
remote:
remote: diff-tree:
remote: :100644 100644 07b225b09ce633fc91172da0fd521abcf9290d3c 7e535af3cbc9c72a8c52ebeeee92c07cfc67a435 M modules/dcache/files/etc/dcache/poolmanager-disk_itb.conf
remote: :100644 100644 902cc7f77c240880e39a84ce457594b6f31ded65 ebca98df43656f66eae0e4796f71a9a60b568248 M modules/dcache/manifests/init.pp
remote: Recieved from stdin:
remote: oldrev: f65e436e8cd101325c2e7cadca851e4f077ef7c9
remote: newrev: 05c4d735b18912a514a5ee32a0585187e25f037f
remote: refname: refs/heads/itb
remote: Derived Configuration:
remote: REPO: puppet@cms-git:/var/lib/puppet/puppet.git
remote: BRANCH: itb
remote: BRANCH_DIR: /srv/puppet/environments
remote: PUPPET_SERVERS:
remote: Updating remote branch /srv/puppet/environments/itb on
remote: attempting to pull branch itb to /srv/puppet/environments/itb
remote: From cms-git:/var/lib/puppet/puppet
remote: * branch itb -> FETCH_HEAD
remote: Updating f65e436..05c4d73
remote: Fast-forward
remote: .../files/etc/dcache/poolmanager-disk_itb.conf | 30 +
++++++++++++-----
remote: modules/dcache/manifests/init.pp | 17 ++++-----
remote: 2 files changed, 30 insertions(), 17 deletions()
remote: Updating remote branch /srv/puppet/environments/itb on
remote: attempting to pull branch itb to /srv/puppet/environments/itb
remote: From cms-git:/var/lib/puppet/puppet
remote: * branch itb -> FETCH_HEAD
remote: Updating f65e436..05c4d73
remote: Fast-forward
remote: .../files/etc/dcache/poolmanager-disk_itb.conf | 30 +
++++++++++++-----
remote: modules/dcache/manifests/init.pp | 17 ++++-----
remote: 2 files changed, 30 insertions(), 17 deletions()
remote: Updating remote branch /srv/puppet/environments/itb on
remote: attempting to pull branch itb to /srv/puppet/environments/itb
remote: From cms-git:/var/lib/puppet/puppet
remote: * branch itb -> FETCH_HEAD
remote: Updating f65e436..05c4d73
remote: Fast-forward
remote: .../files/etc/dcache/poolmanager-disk_itb.conf | 30 +
++++++++++++-----
remote: modules/dcache/manifests/init.pp | 17 ++++-----
remote: 2 files changed, 30 insertions(+), 17 deletions(-)
To puppet@cms-git:/var/lib/puppet/puppet.git
f65e436..05c4d73 itb -> itb
Switched to branch 'natalia_dcache_java_upgrade_test'
[cmsdev33 12:10]

ON the pools nodes: run "puppet agent -t" interactively.

Example of output:

[root@cmsstor376 ~]# puppet agent -t
Warning: Local environment: "production" doesn't match server specified node environment "itb", switching agent to "itb".
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in /var/lib/puppet/lib/facter/afs_cache_size.rb
Info: Loading facts in /var/lib/puppet/lib/facter/os_maj_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/rsyslog_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/cvmfsversion.rb
Info: Loading facts in /var/lib/puppet/lib/facter/iptables_persistent_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/postgres_default_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/iptables_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/ip6tables_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/code_server.rb
Info: Loading facts in /var/lib/puppet/lib/facter/certificate_facts.rb
Info: Loading facts in /var/lib/puppet/lib/facter/cvmfspartsize.rb
Info: Caching catalog for cmsstor376.fnal.gov
Info: Applying configuration version '1440437006'
Notice: /Stage[main]/Dcache/Package[java-1.7.0-openjdk]/ensure: created
Notice: Finished catalog run in 98.60 seconds
[root@cmsstor376 ~]#

[root@cmsstor376 ~]# rpm -qa | grep jdk
jdk-1.7.0_25-fcs.x86_64
java-1.7.0-openjdk-1.7.0.85-2.6.1.3.el6_6.x86_64
[root@cmsstor376 ~]#

#9 Updated by Natalia Ratnikova over 4 years ago

  • Status changed from Assigned to Resolved

great, thanks! :)

Gerard

On Mon, Aug 24, 2015 at 12:35 PM, Natalia M Ratnikova <> wrote:

Thanks, Gerard.
the changes are pushed to itb . 
Puppet upgraded the java version on itb  pool servers as expected:
Notice: /Stage[main]/Dcache/Package[java-1.7.0-openjdk]/ensure: created
Notice: Finished catalog run in 98.60 seconds
This is ready for the production push tomorrow.
The actual change will happen  on Wednesday when dCache is restarted.
- Natalia. 
On 8/21/15 5:15 PM, Gerard Bernabeu wrote:

Hi,

I've reviewed the changes and they look good :) Feel free to push.

The change seems to work fine in cmssrv112 too, good!

have a good weekend,
Gerard

On Thu, Aug 20, 2015 at 7:24 PM, Natalia M Ratnikova <> wrote:

Hi,

all changes are confined to two files and tested on dCache testbed.

modules/dcache/manifests/init.pp
- move from oracle java onto openjdk 1.7.0
- make puppet-lint happy
modules/dcache/files/etc/dcache/poolmanager-disk_itb.conf
- added cmsstor112 to the testbed

Thanks,
Natalia.

PS I'd like to push this to itb on Monday.
PSS. I have an AWS day off tomorrow, but will be taking the calls as
secondary.



Also available in: Atom PDF