Opened 15 years ago
Last modified 10 years ago
#306 new defect
IZ1919: inst_sge -ux fails if host does not belong to any queues but it belongs to a HostGroup.
Reported by: | dom | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | sge | Version: | 6.0u4 |
Severity: | Keywords: | install | |
Cc: |
Description
[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=1919]
Issue #: 1919 Platform: All Reporter: dom (dom) Component: gridengine OS: All Subcomponent: install Version: 6.0u4 CC: None defined Status: NEW Priority: P4 Resolution: Issue type: DEFECT Target milestone: --- Assigned to: dom (dom) QA Contact: dom URL: * Summary: inst_sge -ux fails if host does not belong to any queues but it belongs to a HostGroup. Status whiteboard: Attachments: Issue 1919 blocks: Votes for issue 1919: Opened: Fri Nov 25 09:28:00 -0700 2005 ------------------------ The "inst_sge -ux" command fails if you have a host that does not belong to any queues but it belongs to a HostGroup. This can happen if you modify a queue with "qconf -mq <queue name>" for example and then do a "inst_sge -ux". Then when executing inst_execd_uninst.sh, you end up in RemoveQueues() which will fail and therefore uninstall fails because lines 159,160,161 will not be executed and HostGroup will not be deleted. As a result, it fails to uninstall.. ------------- RemoveQueues() in inst_execd_uninst.sh script -------------- 150 RemoveQueues() 151 { 152 exechost=$1 153 154 for q in `qstat -f | grep $exechost | cut -d" " -f1`; do 155 156 $INFOTEXT "Deleting queue %s!" $q 157 $INFOTEXT -log "Deleting queue %s!" $q 158 159 for hgrp in `qconf -shgrpl`; do 160 $SGE_BIN/qconf -dattr hostgroup hostlist $exechost $hgrp 161 done 162 163 done 164 165 } *** (#1 of 1): 2005-11-22 15:20:14 MET jonas.edberg@sun.com
Note: See
TracTickets for help on using
tickets.