Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when toggling blink led on 12TB Seagate disks #454

Open
purushotham-s opened this issue May 31, 2019 · 1 comment
Open

Error when toggling blink led on 12TB Seagate disks #454

purushotham-s opened this issue May 31, 2019 · 1 comment

Comments

@purushotham-s
Copy link
Collaborator

System information

Type Version/Name
Distribution Name CentOS
Distribution Version 7.4
Linux Kernel 3.10.0-693.el7
Architecture x86_64
IntegralSTOR Version 1.5.1

Describe the problem you're observing

Error when blinking 12TB non dell disks (seagate)

Include any warning/errors/backtraces from the system logs

Error toggling disk identification

Error Details : Error blinking/un-blonking disk : Error returning output after executing command Error! unsigned number expected, read: : /opt/dell/srvadmin/sbin/omconfig storage pdisk action=blink controller= pdisk=:: 
purushotham-s added a commit to purushotham-s/integralstor that referenced this issue Jun 1, 2019
@purushotham-s
Copy link
Collaborator Author

This issue occurs when udevadmn and dell's omreport don't show the exact same serial number for a disk. With these particular 12T disks, udevadmn reported a longer version of serial number and omreport reported a shorter version.

[root@linux integralstor]# udevadm info -q property -n sda | grep -ie ID_SCSI_SERIAL | cut -d "=" -f2
ZJV32YM90000C913FKUQ
<DeviceSerialNumber type="astring">ZJV32YM9</DeviceSerialNumber>
<DeviceSerialNumber type="astring">ZJV2VRRT</DeviceSerialNumber>
<DeviceSerialNumber type="astring">ZJV32FWV</DeviceSerialNumber>
<DeviceSerialNumber type="astring">ZJV32KSH</DeviceSerialNumber>
<DeviceSerialNumber type="astring">ZJV33NMS</DeviceSerialNumber>
<DeviceSerialNumber type="astring">ZJV32L9Y</DeviceSerialNumber>
<DeviceSerialNumber type="astring">ZJV32ETR</DeviceSerialNumber>
<DeviceSerialNumber type="astring">ZJV32YG6</DeviceSerialNumber>

serial numbers from both the commands are compared in disk.py's get_disk_status(), comparison fails since they don't match.

purushotham-s added a commit to purushotham-s/integralstor that referenced this issue Jun 1, 2019
fractalram pushed a commit that referenced this issue Jun 17, 2019
fractalram pushed a commit that referenced this issue Jun 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants