I have Rock cluster with 36 compute node + 1 head node. Somehow while adding compute node in my cluster we got entry of mac address of switch in list of host.
compute-0-20: private ----- 00:0f:b5:89:b5:6b -------------- 255.255.0.0 ----------- ------ compute-0-20
this is not compute node but head node is consider as compute-20 node. in real it is 1 gig switch mac address and enty in host list. how can we remove this entry from list of headnode. while running some test it creating problem.
when we try to remove this compute-20 node it is showing below error:
[root@cluster ~]# rocks remove host compute-0-20
Traceback (most recent call last):
File "/opt/rocks/bin/rocks", line 223, in ?
command.runWrapper(name, args[i:])
File "/opt/rocks/lib/python2.4/site-packages/rocks/commands/__init__.py", line 1459, in runWrapper
self.run(self._params, self._args)
File "/opt/rocks/lib/python2.4/site-packages/rocks/commands/remove/host/__init__.py", line 94, in run
self.runPlugins(host)
File "/opt/rocks/lib/python2.4/site-packages/rocks/commands/__init__.py", line 1210, in runPlugins
plugin.run(args)
File "/opt/rocks/lib/python2.4/site-packages/rocks/commands/remove/host/plugin_pxeboot.py", line 75, in run
self.owner.command('remove.host.pxeboot', [ args ])
File "/opt/rocks/lib/python2.4/site-packages/rocks/commands/__init__.py", line 1152, in command
o.runWrapper(name, args)
File "/opt/rocks/lib/python2.4/site-packages/rocks/commands/__init__.py", line 1459, in runWrapper
self.run(self._params, self._args)
File "/opt/rocks/lib/python2.4/site-packages/rocks/commands/remove/host/pxeboot/__init__.py", line 139, in run
hexstr = '%02x' % (int(i))
ValueError: invalid literal for int():
can any one help us how to remove this node from head node.
--
_____________________________________________________________________
Disclaimer: This e-mail message and all attachments transmitted with it
are intended solely for the use of the addressee and may contain legally
privileged and confidential information. If the reader of this message
is not the intended recipient, or an employee or agent responsible for
delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution, copying, or other use of
this message or its attachments is strictly prohibited. If you have
received this message in error, please notify the sender immediately by
replying to this message and please delete it from your computer. Any
views expressed in this message are those of the individual sender
unless otherwise stated.Company has taken enough precautions to prevent
the spread of viruses. However the company accepts no liability for any
damage caused by any virus transmitted by this email.
_____________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20090427/c4bea06f/attachment.html
------------------
Mike
Hi,
NOTICE:
This message may contain privileged or otherwise confidential information.
If you are not the intended recipient, please immediately advise the sender
by reply email and delete the message and any attachments without using,
copying or disclosing the contents.
still "rocks list host" command show compute-0-20 entry....
insert-ethers --remove compute-0-20
------------------
Mike
Hi,
Email Scanned for Virus & Dangerous Content by : www.CleanMailGateway.com
------------------
Michael Duncan
Systems Analyst
mdu...@x-iss.com
eXcellence in IS Solutions, Inc. (X-ISS)
Office: 713.862.9200 x215
http://www.x-iss.com
Making IT Work for You
HPC & Enterprise IT Solutions
compute-0-21: private eth0 00:30:48:c6:6b:de 10.168.255.234 255.255.0.0 ----------- e1000 compute-0-21
compute-0-21: ------- eth1 00:30:48:c6:6b:df -------------- ----------- ----------- e1000 ---------------
compute-0-20: private ----- 00:0f:b5:89:b5:6b -------------- 255.255.0.0 ----------- ------ compute-0-20
compute-0-28: private eth0 00:30:48:c6:6b:e2 10.168.255.227 255.255.0.0 ----------- e1000 compute-0-28
compute-0-28: ------- eth1 00:30:48:c6:6b:e3 -------------- ----------- ----------- e1000 ---------------
how to remove it
insert-ethers --remove compute-0-20
------------------
Mike
Hi,
* insert-ethers --remove compute-0-20 -> didn't remove the host
* rocks remove host HOSTNAME -> gave error messages (see below)
* rocks sync config -> removed the entry from /etc/hosts but left it in
@allhosts
and thus all queues still think these hosts exist.
Here is the output I got from "rocks remove host HOSTNAME":
===========================================================
File "/opt/rocks/bin/rocks", line 226, in ?
command.runWrapper(name, args[i:])
File
"/opt/rocks/lib/python2.4/site-packages/rocks/commands/__init__.py",
line 1488, in runWrapper
self.run(self._params, self._args)
File
"/opt/rocks/lib/python2.4/site-packages/rocks/commands/remove/host/__init__.py",
line 100, in run
self.runPlugins(host)
File
"/opt/rocks/lib/python2.4/site-packages/rocks/commands/__init__.py",
line 1239, in runPlugins
plugin.run(args)
File
"/opt/rocks/lib/python2.4/site-packages/rocks/commands/remove/host/plugin_pxeaction.py",
line 78, in run
self.owner.command('remove.host.pxeaction', [ args ])
File
"/opt/rocks/lib/python2.4/site-packages/rocks/commands/__init__.py",
line 1181, in command
o.runWrapper(name, args)
File
"/opt/rocks/lib/python2.4/site-packages/rocks/commands/__init__.py",
line 1488, in runWrapper
self.run(self._params, self._args)
File
"/opt/rocks/lib/python2.4/site-packages/rocks/commands/remove/host/pxeaction/__init__.py",
line 152, in run
self.command('set.host.pxeboot', [ host ])
File
"/opt/rocks/lib/python2.4/site-packages/rocks/commands/__init__.py",
line 1181, in command
o.runWrapper(name, args)
File
"/opt/rocks/lib/python2.4/site-packages/rocks/commands/__init__.py",
line 1488, in runWrapper
self.run(self._params, self._args)
File
"/opt/rocks/lib/python2.4/site-packages/rocks/commands/set/host/pxeboot/__init__.py",
line 389, in run
(nodeid, node_os) = self.db.fetchone()
TypeError: unpack non-sequence
-Mark