Ticket #24 (closed defect: fixed)

Opened 6 weeks ago

Last modified 3 weeks ago

"Hot spare" trigger the "bad" status and caused an exit 1

Reported by: stefano.bridi@… Owned by: gandalf
Priority: major Milestone: 1.0.0
Component: wiki Version:
Keywords: hot spare hotspare Cc: stefano.bridi@…

Description

If you have an "hot spare" drive in your server, both the aacraid-status and the megaraidsas-status (and I suppose other script around) signal this as a problem.
I have patched in this way on aacraid-status:

for disk in diskinfo:

if disk[1] != 'Online' and disk[1] != 'Hot Spare':

bad = True

and in this way on megaraidsas-status:

for disk in disklist:

if not disk[-1] == 'online' and not disk[-1] == 'hotspare':

bad = True

Anyway on aacraid the hotspare is not listed bye the command.

Attachments

Change History

Changed 3 weeks ago by gandalf

  • status changed from new to closed
  • resolution set to fixed

Fixed in megaraid-status-0.9 (both megaraid-status and megaraidsas-status).
Fixed in aacraid-status-0.16.

Add/Change #24 ("Hot spare" trigger the "bad" status and caused an exit 1)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
The resolution will be deleted. Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.