Hi everyone,
I am trying to install slurm-roll to a fresh installation of Rocks 7.0 in my cluster (for the 3rd time).
Everything goes smoothly up to the point I try to run # rocks run roll slurm|sh
The error is:
Traceback (most recent call last):
File "/opt/rocks/bin/rocks", line 260, in <module>
command.runWrapper(name, args[i:])
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/init.py", line 1942, in runWrapper
self.run(self.params, self.args)
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/run/roll/init.py", line 170, in run
'roll=%s' % string.join(rolls, ',') ])
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/init.py", line 1547, in command
o.runWrapper(name, args)
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/init.py", line 1942, in runWrapper
self.run(self.params, self.args)
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/list/host/xml/init.py", line 220, in run
xml = self.command('list.node.xml', args)
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/init.py", line 1547, in command
o.runWrapper(name, args)
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/init.py", line 1942, in runWrapper
self.run(self.params, self.args)
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/list/node/xml/init.py", line 516, in run
handler.parseNode(node, doEval)
File "/opt/rocks/lib/python2.7/site-packages/rocks/profile.py", line 441, in parseNode
xml = handler.getXML()
File "/opt/rocks/lib/python2.7/site-packages/rocks/profile.py", line 1003, in getXML
return self.getXMLHeader() + string.join(self.xml, '')
File "/opt/rocks/lib/python2.7/string.py", line 318, in join
return sep.join(words)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 23: ordinal not in range(128)</module>
Is something wrong with my installation ? I already reinstall rocks 7.0 once and I even try to include slurm-roll in the installation through a roll-server but it fails to find the slurm packages.
Below the messages from the whole procedure are presented:
[root@geminist ~]# export LANG=C [root@geminist ~]# rocks add roll slurm.iso
mount: /dev/loop0 is write-protected, mounting read-only
Copying slurm to Rolls.....42750 blocks [root@geminist ~]# rocks enable roll slurm [root@geminist ~]# (cd /export/rocks/install; rocks create distro)
Cleaning distribution
Resolving versions (base files)
including "kernel" (7.0,x8664) roll...
including "CentOS" (7.4.1708,x8664) roll...
including "hpc" (7.0,x8664) roll...
including "slurm" (7.0.0.220,x8664) roll...
including "Updates-CentOS-7.4.1708" (2020-05-29,x8664) roll...
including "core" (7.0,x8664) roll...
including "base" (7.0,x8664) roll...
including "ganglia" (7.0,x8664) roll...
Including critical RPMS
Resolving versions (RPMs)
including "kernel" (7.0,x8664) roll...
including "CentOS" (7.4.1708,x8664) roll...
including "hpc" (7.0,x8664) roll...
including "slurm" (7.0.0.220,x8664) roll...
including "Updates-CentOS-7.4.1708" (2020-05-29,x8664) roll...
including "core" (7.0,x8664) roll...
including "base" (7.0,x8664) roll...
including "ganglia" (7.0,x8664) roll...
Resolving versions (SRPMs)
including "kernel" (7.0,x8664) roll...
including "CentOS" (7.4.1708,x8664) roll...
including "hpc" (7.0,x8664) roll...
including "slurm" (7.0.0.220,x8664) roll...
including "Updates-CentOS-7.4.1708" (2020-05-29,x8664) roll...
including "core" (7.0,x8664) roll...
including "base" (7.0,x8664) roll...
including "ganglia" (7.0,x8664) roll...
Creating files (symbolic links - fast)
Applying netstage (aka stage2)
Applying rocks-anaconda-updates
Installing XML Kickstart profiles
installing "ganglia" profiles...
installing "base" profiles...
installing "hpc" profiles...
installing "slurm" profiles...
installing "core" profiles...
installing "kernel" profiles...
installing "site" profiles...
Calling Yum genpkgmetadata.py
Creating repository
Rebuilding Product Image including md5 sums
Creating Directory Listing [root@geminist ~]# yum clean all
Loaded plugins: fastestmirror, langpacks
Cleaning repos: Rocks-7.0
Cleaning up everything
Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos
Cleaning up list of fastest mirrors [root@geminist ~]# yum update
Loaded plugins: fastestmirror, langpacks
Rocks-7.0 | 3.6 kB 00:00:00
(1/2): Rocks-7.0/groupgz | 156 kB 00:00:00
(2/2): Rocks-7.0/primarydb | 5.8 MB 00:00:00
Determining fastest mirrors
No packages marked for update [root@geminist ~]# rocks run roll slurm|sh
Traceback (most recent call last):
File "/opt/rocks/bin/rocks", line 260, in <module>
command.runWrapper(name, args[i:])
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/init.py", line 1942, in runWrapper
self.run(self.params, self.args)
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/run/roll/init.py", line 170, in run
'roll=%s' % string.join(rolls, ',') ])
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/init.py", line 1547, in command
o.runWrapper(name, args)
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/init.py", line 1942, in runWrapper
self.run(self.params, self.args)
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/list/host/xml/init.py", line 220, in run
xml = self.command('list.node.xml', args)
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/init.py", line 1547, in command
o.runWrapper(name, args)
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/init.py", line 1942, in runWrapper
self.run(self.params, self.args)
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/list/node/xml/init.py", line 516, in run
handler.parseNode(node, doEval)
File "/opt/rocks/lib/python2.7/site-packages/rocks/profile.py", line 441, in parseNode
xml = handler.getXML()
File "/opt/rocks/lib/python2.7/site-packages/rocks/profile.py", line 1003, in getXML
return self.getXMLHeader() + string.join(self.xml, '')
File "/opt/rocks/lib/python2.7/string.py", line 318, in join
return sep.join(words)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 23: ordinal not in range(128)</module>
Thanks in advance
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi everyone,
I am trying to install slurm-roll to a fresh installation of Rocks 7.0 in my cluster (for the 3rd time).
Everything goes smoothly up to the point I try to run # rocks run roll slurm|sh
The error is:
Traceback (most recent call last):
File "/opt/rocks/bin/rocks", line 260, in <module>
command.runWrapper(name, args[i:])
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/init.py", line 1942, in runWrapper
self.run(self.params, self.args)
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/run/roll/init.py", line 170, in run
'roll=%s' % string.join(rolls, ',') ])
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/init.py", line 1547, in command
o.runWrapper(name, args)
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/init.py", line 1942, in runWrapper
self.run(self.params, self.args)
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/list/host/xml/init.py", line 220, in run
xml = self.command('list.node.xml', args)
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/init.py", line 1547, in command
o.runWrapper(name, args)
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/init.py", line 1942, in runWrapper
self.run(self.params, self.args)
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/list/node/xml/init.py", line 516, in run
handler.parseNode(node, doEval)
File "/opt/rocks/lib/python2.7/site-packages/rocks/profile.py", line 441, in parseNode
xml = handler.getXML()
File "/opt/rocks/lib/python2.7/site-packages/rocks/profile.py", line 1003, in getXML
return self.getXMLHeader() + string.join(self.xml, '')
File "/opt/rocks/lib/python2.7/string.py", line 318, in join
return sep.join(words)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 23: ordinal not in range(128)</module>
Is something wrong with my installation ? I already reinstall rocks 7.0 once and I even try to include slurm-roll in the installation through a roll-server but it fails to find the slurm packages.
Below the messages from the whole procedure are presented:
[root@geminist ~]# export LANG=C
[root@geminist ~]# rocks add roll slurm.iso
mount: /dev/loop0 is write-protected, mounting read-only
Copying slurm to Rolls.....42750 blocks
[root@geminist ~]# rocks enable roll slurm
[root@geminist ~]# (cd /export/rocks/install; rocks create distro)
Cleaning distribution
Resolving versions (base files)
including "kernel" (7.0,x8664) roll...
including "CentOS" (7.4.1708,x8664) roll...
including "hpc" (7.0,x8664) roll...
including "slurm" (7.0.0.220,x8664) roll...
including "Updates-CentOS-7.4.1708" (2020-05-29,x8664) roll...
including "core" (7.0,x8664) roll...
including "base" (7.0,x8664) roll...
including "ganglia" (7.0,x8664) roll...
Including critical RPMS
Resolving versions (RPMs)
including "kernel" (7.0,x8664) roll...
including "CentOS" (7.4.1708,x8664) roll...
including "hpc" (7.0,x8664) roll...
including "slurm" (7.0.0.220,x8664) roll...
including "Updates-CentOS-7.4.1708" (2020-05-29,x8664) roll...
including "core" (7.0,x8664) roll...
including "base" (7.0,x8664) roll...
including "ganglia" (7.0,x8664) roll...
Resolving versions (SRPMs)
including "kernel" (7.0,x8664) roll...
including "CentOS" (7.4.1708,x8664) roll...
including "hpc" (7.0,x8664) roll...
including "slurm" (7.0.0.220,x8664) roll...
including "Updates-CentOS-7.4.1708" (2020-05-29,x8664) roll...
including "core" (7.0,x8664) roll...
including "base" (7.0,x8664) roll...
including "ganglia" (7.0,x8664) roll...
Creating files (symbolic links - fast)
Applying netstage (aka stage2)
Applying rocks-anaconda-updates
Installing XML Kickstart profiles
installing "ganglia" profiles...
installing "base" profiles...
installing "hpc" profiles...
installing "slurm" profiles...
installing "core" profiles...
installing "kernel" profiles...
installing "site" profiles...
Calling Yum genpkgmetadata.py
Creating repository
Rebuilding Product Image including md5 sums
Creating Directory Listing
[root@geminist ~]# yum clean all
Loaded plugins: fastestmirror, langpacks
Cleaning repos: Rocks-7.0
Cleaning up everything
Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos
Cleaning up list of fastest mirrors
[root@geminist ~]# yum update
Loaded plugins: fastestmirror, langpacks
Rocks-7.0 | 3.6 kB 00:00:00
(1/2): Rocks-7.0/groupgz | 156 kB 00:00:00
(2/2): Rocks-7.0/primarydb | 5.8 MB 00:00:00
Determining fastest mirrors
No packages marked for update
[root@geminist ~]# rocks run roll slurm|sh
Traceback (most recent call last):
File "/opt/rocks/bin/rocks", line 260, in <module>
command.runWrapper(name, args[i:])
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/init.py", line 1942, in runWrapper
self.run(self.params, self.args)
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/run/roll/init.py", line 170, in run
'roll=%s' % string.join(rolls, ',') ])
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/init.py", line 1547, in command
o.runWrapper(name, args)
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/init.py", line 1942, in runWrapper
self.run(self.params, self.args)
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/list/host/xml/init.py", line 220, in run
xml = self.command('list.node.xml', args)
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/init.py", line 1547, in command
o.runWrapper(name, args)
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/init.py", line 1942, in runWrapper
self.run(self.params, self.args)
File "/opt/rocks/lib/python2.7/site-packages/rocks/commands/list/node/xml/init.py", line 516, in run
handler.parseNode(node, doEval)
File "/opt/rocks/lib/python2.7/site-packages/rocks/profile.py", line 441, in parseNode
xml = handler.getXML()
File "/opt/rocks/lib/python2.7/site-packages/rocks/profile.py", line 1003, in getXML
return self.getXMLHeader() + string.join(self.xml, '')
File "/opt/rocks/lib/python2.7/string.py", line 318, in join
return sep.join(words)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 23: ordinal not in range(128)</module>
Thanks in advance