node list issue
shulemmosko
33 Posts
March 9, 2022, 9:57 pmQuote from shulemmosko on March 9, 2022, 9:57 pmHi, I'm having an issue with editing a node from the node list tab.
see below images.
Thank you!!
Hi, I'm having an issue with editing a node from the node list tab.
see below images.
Thank you!!
admin
2,930 Posts
March 9, 2022, 11:54 pmQuote from admin on March 9, 2022, 11:54 pmcan you please post the PetaSAN.log file of the node, just the end section after you attempt to open the role page.
can you please post the PetaSAN.log file of the node, just the end section after you attempt to open the role page.
shulemmosko
33 Posts
March 9, 2022, 11:58 pmQuote from shulemmosko on March 9, 2022, 11:58 pm
09/03/2022 18:56:40 ERROR Could not build url for endpoint 'wizard_controller.main'. Did you mean 'main_controller.login' instead?
09/03/2022 18:56:40 ERROR unexpected EOF while parsing (<string>, line 0)
09/03/2022 18:56:40 ERROR Error while run command.
IndexError: list index out of range
interface_info[info_item_ls[0]] = info_item_ls[1]
File "/usr/lib/python3/dist-packages/PetaSAN/backend/cluster/deploy.py", line 1284, in get_interfaces_info
interfaces_info = new_wizard.get_interfaces_info()
File "/opt/petasan/scripts/admin/node_manage_disks.py", line 733, in get_node_interfaces_info
func(args)
File "/opt/petasan/scripts/admin/node_manage_disks.py", line 147, in main_catch
Traceback (most recent call last):
09/03/2022 18:56:40 ERROR list index out of range
09/03/2022 18:56:34 INFO GlusterFS mount attempt
09/03/2022 18:56:04 INFO GlusterFS mount attempt
PetaSAN.NodeStats.PS-Node1.ifaces.throughput.eth2_received 0.0 `date +%s`" | nc -v -q0 172.16.20.101 2003
PetaSAN.NodeStats.PS-Node1.ifaces.percent_util.eth2 0.0 `date +%s`" "
PetaSAN.NodeStats.PS-Node1.ifaces.throughput.eth1_transmitted 0.0 `date +%s`" "
PetaSAN.NodeStats.PS-Node1.ifaces.throughput.eth1_received 0.0 `date +%s`" "
PetaSAN.NodeStats.PS-Node1.ifaces.percent_util.eth1 0.0 `date +%s`" "
PetaSAN.NodeStats.PS-Node1.ifaces.throughput.eth0_transmitted 1054.72 `date +%s`" "
PetaSAN.NodeStats.PS-Node1.ifaces.throughput.eth0_received 1515.52 `date +%s`" "
PetaSAN.NodeStats.PS-Node1.ifaces.percent_util.eth0 0.0 `date +%s`" "
PetaSAN.NodeStats.PS-Node1.memory.percent_util 72.15 `date +%s`" "
Exception: Error running echo command :echo "PetaSAN.NodeStats.PS-Node1.cpu_all.percent_util 9.21 `date +%s`" "
raise Exception("Error running echo command :" + cmd)
File "/usr/lib/python3/dist-packages/PetaSAN/core/common/graphite_sender.py", line 59, in send
graphite_sender.send(leader_ip)
File "/opt/petasan/scripts/node_stats.py", line 66, in get_stats
get_stats()
File "/opt/petasan/scripts/node_stats.py", line 168, in <module>
Traceback (most recent call last):
PetaSAN.NodeStats.PS-Node1.ifaces.throughput.eth2_received 0.0 `date +%s`" | nc -v -q0 172.16.20.101 2003
PetaSAN.NodeStats.PS-Node1.ifaces.percent_util.eth2 0.0 `date +%s`" "
09/03/2022 18:56:40 ERROR Could not build url for endpoint 'wizard_controller.main'. Did you mean 'main_controller.login' instead?
09/03/2022 18:56:40 ERROR unexpected EOF while parsing (<string>, line 0)
09/03/2022 18:56:40 ERROR Error while run command.
IndexError: list index out of range
interface_info[info_item_ls[0]] = info_item_ls[1]
File "/usr/lib/python3/dist-packages/PetaSAN/backend/cluster/deploy.py", line 1284, in get_interfaces_info
interfaces_info = new_wizard.get_interfaces_info()
File "/opt/petasan/scripts/admin/node_manage_disks.py", line 733, in get_node_interfaces_info
func(args)
File "/opt/petasan/scripts/admin/node_manage_disks.py", line 147, in main_catch
Traceback (most recent call last):
09/03/2022 18:56:40 ERROR list index out of range
09/03/2022 18:56:34 INFO GlusterFS mount attempt
09/03/2022 18:56:04 INFO GlusterFS mount attempt
PetaSAN.NodeStats.PS-Node1.ifaces.throughput.eth2_received 0.0 `date +%s`" | nc -v -q0 172.16.20.101 2003
PetaSAN.NodeStats.PS-Node1.ifaces.percent_util.eth2 0.0 `date +%s`" "
PetaSAN.NodeStats.PS-Node1.ifaces.throughput.eth1_transmitted 0.0 `date +%s`" "
PetaSAN.NodeStats.PS-Node1.ifaces.throughput.eth1_received 0.0 `date +%s`" "
PetaSAN.NodeStats.PS-Node1.ifaces.percent_util.eth1 0.0 `date +%s`" "
PetaSAN.NodeStats.PS-Node1.ifaces.throughput.eth0_transmitted 1054.72 `date +%s`" "
PetaSAN.NodeStats.PS-Node1.ifaces.throughput.eth0_received 1515.52 `date +%s`" "
PetaSAN.NodeStats.PS-Node1.ifaces.percent_util.eth0 0.0 `date +%s`" "
PetaSAN.NodeStats.PS-Node1.memory.percent_util 72.15 `date +%s`" "
Exception: Error running echo command :echo "PetaSAN.NodeStats.PS-Node1.cpu_all.percent_util 9.21 `date +%s`" "
raise Exception("Error running echo command :" + cmd)
File "/usr/lib/python3/dist-packages/PetaSAN/core/common/graphite_sender.py", line 59, in send
graphite_sender.send(leader_ip)
File "/opt/petasan/scripts/node_stats.py", line 66, in get_stats
get_stats()
File "/opt/petasan/scripts/node_stats.py", line 168, in <module>
Traceback (most recent call last):
PetaSAN.NodeStats.PS-Node1.ifaces.throughput.eth2_received 0.0 `date +%s`" | nc -v -q0 172.16.20.101 2003
PetaSAN.NodeStats.PS-Node1.ifaces.percent_util.eth2 0.0 `date +%s`" "
shulemmosko
33 Posts
March 9, 2022, 11:59 pmQuote from shulemmosko on March 9, 2022, 11:59 pmthe issue is only on the management servers
the issue is only on the management servers
admin
2,930 Posts
March 10, 2022, 10:19 amQuote from admin on March 10, 2022, 10:19 amcan you show output of
/opt/petasan/scripts/detect-interfaces.sh
can you show output of
/opt/petasan/scripts/detect-interfaces.sh
shulemmosko
33 Posts
March 10, 2022, 7:59 pmQuote from shulemmosko on March 10, 2022, 7:59 pmdevice=eth0,mac=a0:36:9f:12:2c:a8,pci=06:00.0,model=Intel Corporation Ethernet 10G 2P X520 Adapter (10GbE 2P X520 Adapter),path=enp6s0f0
device=eth1,mac=24:8a:07:27:cd:ce,pci=85:00.0,model=Mellanox Technologies MT27700 Family [ConnectX-4] (MCX416A-BCAT, ConnectX-4 EN, 40/56GbE 2P, PCIe3.0 x16),path=enp133s0f0
device=eth2,mac=f8:bc:12:1b:a2:10,pci=01:00.0,model=Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (Ethernet 10G 4P X710/I350 rNDC),path=enp1s0f0
device=eth25,mac=f8:bc:12:1b:a2:31,pci=09:00.1,model=Intel Corporation I350 Gigabit Network Connection,path=enp9s0f1
device=eth26,mac=f8:bc:12:1b:a2:30,pci=09:00.0,model=Intel Corporation I350 Gigabit Network Connection,path=enp9s0f0
device=eth3,mac=f8:bc:12:1b:a2:12,pci=01:00.1,model=Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (Ethernet 10G X710 rNDC),path=enp1s0f1
device=eth4,mac=24:8a:07:27:cd:d6,pci=81:00.0,model=Mellanox Technologies MT27700 Family [ConnectX-4] (MCX416A-BCAT, ConnectX-4 EN, 40/56GbE 2P, PCIe3.0 x16),path=enp129s0f0
device=eth5,mac=24:8a:07:27:cd:d7,pci=81:00.1,model=Mellanox Technologies MT27700 Family [ConnectX-4] (MCX416A-BCAT, ConnectX-4 EN, 40/56GbE 2P, PCIe3.0 x16),path=enp129s0f1
device=eth7,mac=24:8a:07:27:cd:cf,pci=85:00.1,model=Mellanox Technologies MT27700 Family [ConnectX-4] (MCX416A-BCAT, ConnectX-4 EN, 40/56GbE 2P, PCIe3.0 x16),path=enp133s0f1
device=eth0,mac=a0:36:9f:12:2c:a8,pci=06:00.0,model=Intel Corporation Ethernet 10G 2P X520 Adapter (10GbE 2P X520 Adapter),path=enp6s0f0
device=eth1,mac=24:8a:07:27:cd:ce,pci=85:00.0,model=Mellanox Technologies MT27700 Family [ConnectX-4] (MCX416A-BCAT, ConnectX-4 EN, 40/56GbE 2P, PCIe3.0 x16),path=enp133s0f0
device=eth2,mac=f8:bc:12:1b:a2:10,pci=01:00.0,model=Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (Ethernet 10G 4P X710/I350 rNDC),path=enp1s0f0
device=eth25,mac=f8:bc:12:1b:a2:31,pci=09:00.1,model=Intel Corporation I350 Gigabit Network Connection,path=enp9s0f1
device=eth26,mac=f8:bc:12:1b:a2:30,pci=09:00.0,model=Intel Corporation I350 Gigabit Network Connection,path=enp9s0f0
device=eth3,mac=f8:bc:12:1b:a2:12,pci=01:00.1,model=Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (Ethernet 10G X710 rNDC),path=enp1s0f1
device=eth4,mac=24:8a:07:27:cd:d6,pci=81:00.0,model=Mellanox Technologies MT27700 Family [ConnectX-4] (MCX416A-BCAT, ConnectX-4 EN, 40/56GbE 2P, PCIe3.0 x16),path=enp129s0f0
device=eth5,mac=24:8a:07:27:cd:d7,pci=81:00.1,model=Mellanox Technologies MT27700 Family [ConnectX-4] (MCX416A-BCAT, ConnectX-4 EN, 40/56GbE 2P, PCIe3.0 x16),path=enp129s0f1
device=eth7,mac=24:8a:07:27:cd:cf,pci=85:00.1,model=Mellanox Technologies MT27700 Family [ConnectX-4] (MCX416A-BCAT, ConnectX-4 EN, 40/56GbE 2P, PCIe3.0 x16),path=enp133s0f1
admin
2,930 Posts
March 10, 2022, 11:09 pmQuote from admin on March 10, 2022, 11:09 pmMany thanks for the data, it seems the Mellanox model reported contains commas which seems to throw our parsing off.
Can you edit /opt/petasan/scripts/detect-interfaces.sh and replace
MODEL=$(echo "$INFO" | grep ID_MODEL_FROM_DATABASE | cut -f2 -d = )
with
MODEL=$(echo "$INFO" | grep ID_MODEL_FROM_DATABASE | cut -f2 -d = | tr ',' ' ' )
Many thanks for the data, it seems the Mellanox model reported contains commas which seems to throw our parsing off.
Can you edit /opt/petasan/scripts/detect-interfaces.sh and replace
MODEL=$(echo "$INFO" | grep ID_MODEL_FROM_DATABASE | cut -f2 -d = )
with
MODEL=$(echo "$INFO" | grep ID_MODEL_FROM_DATABASE | cut -f2 -d = | tr ',' ' ' )
shulemmosko
33 Posts
March 10, 2022, 11:59 pmQuote from shulemmosko on March 10, 2022, 11:59 pmYou are a genius!! It's working great now.
Thank you so much!!
You are a genius!! It's working great now.
Thank you so much!!
node list issue
shulemmosko
33 Posts
Quote from shulemmosko on March 9, 2022, 9:57 pmHi, I'm having an issue with editing a node from the node list tab.
see below images.
Thank you!!
Hi, I'm having an issue with editing a node from the node list tab.
see below images.
Thank you!!
admin
2,930 Posts
Quote from admin on March 9, 2022, 11:54 pmcan you please post the PetaSAN.log file of the node, just the end section after you attempt to open the role page.
can you please post the PetaSAN.log file of the node, just the end section after you attempt to open the role page.
shulemmosko
33 Posts
Quote from shulemmosko on March 9, 2022, 11:58 pm09/03/2022 18:56:40 ERROR Could not build url for endpoint 'wizard_controller.main'. Did you mean 'main_controller.login' instead?
09/03/2022 18:56:40 ERROR unexpected EOF while parsing (<string>, line 0)
09/03/2022 18:56:40 ERROR Error while run command.
IndexError: list index out of range
interface_info[info_item_ls[0]] = info_item_ls[1]
File "/usr/lib/python3/dist-packages/PetaSAN/backend/cluster/deploy.py", line 1284, in get_interfaces_info
interfaces_info = new_wizard.get_interfaces_info()
File "/opt/petasan/scripts/admin/node_manage_disks.py", line 733, in get_node_interfaces_info
func(args)
File "/opt/petasan/scripts/admin/node_manage_disks.py", line 147, in main_catch
Traceback (most recent call last):
09/03/2022 18:56:40 ERROR list index out of range
09/03/2022 18:56:34 INFO GlusterFS mount attempt
09/03/2022 18:56:04 INFO GlusterFS mount attempt
PetaSAN.NodeStats.PS-Node1.ifaces.throughput.eth2_received 0.0 `date +%s`" | nc -v -q0 172.16.20.101 2003
PetaSAN.NodeStats.PS-Node1.ifaces.percent_util.eth2 0.0 `date +%s`" "
PetaSAN.NodeStats.PS-Node1.ifaces.throughput.eth1_transmitted 0.0 `date +%s`" "
PetaSAN.NodeStats.PS-Node1.ifaces.throughput.eth1_received 0.0 `date +%s`" "
PetaSAN.NodeStats.PS-Node1.ifaces.percent_util.eth1 0.0 `date +%s`" "
PetaSAN.NodeStats.PS-Node1.ifaces.throughput.eth0_transmitted 1054.72 `date +%s`" "
PetaSAN.NodeStats.PS-Node1.ifaces.throughput.eth0_received 1515.52 `date +%s`" "
PetaSAN.NodeStats.PS-Node1.ifaces.percent_util.eth0 0.0 `date +%s`" "
PetaSAN.NodeStats.PS-Node1.memory.percent_util 72.15 `date +%s`" "
Exception: Error running echo command :echo "PetaSAN.NodeStats.PS-Node1.cpu_all.percent_util 9.21 `date +%s`" "
raise Exception("Error running echo command :" + cmd)
File "/usr/lib/python3/dist-packages/PetaSAN/core/common/graphite_sender.py", line 59, in send
graphite_sender.send(leader_ip)
File "/opt/petasan/scripts/node_stats.py", line 66, in get_stats
get_stats()
File "/opt/petasan/scripts/node_stats.py", line 168, in <module>
Traceback (most recent call last):
PetaSAN.NodeStats.PS-Node1.ifaces.throughput.eth2_received 0.0 `date +%s`" | nc -v -q0 172.16.20.101 2003
PetaSAN.NodeStats.PS-Node1.ifaces.percent_util.eth2 0.0 `date +%s`" "
09/03/2022 18:56:40 ERROR Could not build url for endpoint 'wizard_controller.main'. Did you mean 'main_controller.login' instead?
09/03/2022 18:56:40 ERROR unexpected EOF while parsing (<string>, line 0)
09/03/2022 18:56:40 ERROR Error while run command.
IndexError: list index out of range
interface_info[info_item_ls[0]] = info_item_ls[1]
File "/usr/lib/python3/dist-packages/PetaSAN/backend/cluster/deploy.py", line 1284, in get_interfaces_info
interfaces_info = new_wizard.get_interfaces_info()
File "/opt/petasan/scripts/admin/node_manage_disks.py", line 733, in get_node_interfaces_info
func(args)
File "/opt/petasan/scripts/admin/node_manage_disks.py", line 147, in main_catch
Traceback (most recent call last):
09/03/2022 18:56:40 ERROR list index out of range
09/03/2022 18:56:34 INFO GlusterFS mount attempt
09/03/2022 18:56:04 INFO GlusterFS mount attempt
PetaSAN.NodeStats.PS-Node1.ifaces.throughput.eth2_received 0.0 `date +%s`" | nc -v -q0 172.16.20.101 2003
PetaSAN.NodeStats.PS-Node1.ifaces.percent_util.eth2 0.0 `date +%s`" "
PetaSAN.NodeStats.PS-Node1.ifaces.throughput.eth1_transmitted 0.0 `date +%s`" "
PetaSAN.NodeStats.PS-Node1.ifaces.throughput.eth1_received 0.0 `date +%s`" "
PetaSAN.NodeStats.PS-Node1.ifaces.percent_util.eth1 0.0 `date +%s`" "
PetaSAN.NodeStats.PS-Node1.ifaces.throughput.eth0_transmitted 1054.72 `date +%s`" "
PetaSAN.NodeStats.PS-Node1.ifaces.throughput.eth0_received 1515.52 `date +%s`" "
PetaSAN.NodeStats.PS-Node1.ifaces.percent_util.eth0 0.0 `date +%s`" "
PetaSAN.NodeStats.PS-Node1.memory.percent_util 72.15 `date +%s`" "
Exception: Error running echo command :echo "PetaSAN.NodeStats.PS-Node1.cpu_all.percent_util 9.21 `date +%s`" "
raise Exception("Error running echo command :" + cmd)
File "/usr/lib/python3/dist-packages/PetaSAN/core/common/graphite_sender.py", line 59, in send
graphite_sender.send(leader_ip)
File "/opt/petasan/scripts/node_stats.py", line 66, in get_stats
get_stats()
File "/opt/petasan/scripts/node_stats.py", line 168, in <module>
Traceback (most recent call last):
PetaSAN.NodeStats.PS-Node1.ifaces.throughput.eth2_received 0.0 `date +%s`" | nc -v -q0 172.16.20.101 2003
PetaSAN.NodeStats.PS-Node1.ifaces.percent_util.eth2 0.0 `date +%s`" "
shulemmosko
33 Posts
Quote from shulemmosko on March 9, 2022, 11:59 pmthe issue is only on the management servers
the issue is only on the management servers
admin
2,930 Posts
Quote from admin on March 10, 2022, 10:19 amcan you show output of
/opt/petasan/scripts/detect-interfaces.sh
can you show output of
/opt/petasan/scripts/detect-interfaces.sh
shulemmosko
33 Posts
Quote from shulemmosko on March 10, 2022, 7:59 pmdevice=eth0,mac=a0:36:9f:12:2c:a8,pci=06:00.0,model=Intel Corporation Ethernet 10G 2P X520 Adapter (10GbE 2P X520 Adapter),path=enp6s0f0
device=eth1,mac=24:8a:07:27:cd:ce,pci=85:00.0,model=Mellanox Technologies MT27700 Family [ConnectX-4] (MCX416A-BCAT, ConnectX-4 EN, 40/56GbE 2P, PCIe3.0 x16),path=enp133s0f0
device=eth2,mac=f8:bc:12:1b:a2:10,pci=01:00.0,model=Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (Ethernet 10G 4P X710/I350 rNDC),path=enp1s0f0
device=eth25,mac=f8:bc:12:1b:a2:31,pci=09:00.1,model=Intel Corporation I350 Gigabit Network Connection,path=enp9s0f1
device=eth26,mac=f8:bc:12:1b:a2:30,pci=09:00.0,model=Intel Corporation I350 Gigabit Network Connection,path=enp9s0f0
device=eth3,mac=f8:bc:12:1b:a2:12,pci=01:00.1,model=Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (Ethernet 10G X710 rNDC),path=enp1s0f1
device=eth4,mac=24:8a:07:27:cd:d6,pci=81:00.0,model=Mellanox Technologies MT27700 Family [ConnectX-4] (MCX416A-BCAT, ConnectX-4 EN, 40/56GbE 2P, PCIe3.0 x16),path=enp129s0f0
device=eth5,mac=24:8a:07:27:cd:d7,pci=81:00.1,model=Mellanox Technologies MT27700 Family [ConnectX-4] (MCX416A-BCAT, ConnectX-4 EN, 40/56GbE 2P, PCIe3.0 x16),path=enp129s0f1
device=eth7,mac=24:8a:07:27:cd:cf,pci=85:00.1,model=Mellanox Technologies MT27700 Family [ConnectX-4] (MCX416A-BCAT, ConnectX-4 EN, 40/56GbE 2P, PCIe3.0 x16),path=enp133s0f1
device=eth0,mac=a0:36:9f:12:2c:a8,pci=06:00.0,model=Intel Corporation Ethernet 10G 2P X520 Adapter (10GbE 2P X520 Adapter),path=enp6s0f0
device=eth1,mac=24:8a:07:27:cd:ce,pci=85:00.0,model=Mellanox Technologies MT27700 Family [ConnectX-4] (MCX416A-BCAT, ConnectX-4 EN, 40/56GbE 2P, PCIe3.0 x16),path=enp133s0f0
device=eth2,mac=f8:bc:12:1b:a2:10,pci=01:00.0,model=Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (Ethernet 10G 4P X710/I350 rNDC),path=enp1s0f0
device=eth25,mac=f8:bc:12:1b:a2:31,pci=09:00.1,model=Intel Corporation I350 Gigabit Network Connection,path=enp9s0f1
device=eth26,mac=f8:bc:12:1b:a2:30,pci=09:00.0,model=Intel Corporation I350 Gigabit Network Connection,path=enp9s0f0
device=eth3,mac=f8:bc:12:1b:a2:12,pci=01:00.1,model=Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (Ethernet 10G X710 rNDC),path=enp1s0f1
device=eth4,mac=24:8a:07:27:cd:d6,pci=81:00.0,model=Mellanox Technologies MT27700 Family [ConnectX-4] (MCX416A-BCAT, ConnectX-4 EN, 40/56GbE 2P, PCIe3.0 x16),path=enp129s0f0
device=eth5,mac=24:8a:07:27:cd:d7,pci=81:00.1,model=Mellanox Technologies MT27700 Family [ConnectX-4] (MCX416A-BCAT, ConnectX-4 EN, 40/56GbE 2P, PCIe3.0 x16),path=enp129s0f1
device=eth7,mac=24:8a:07:27:cd:cf,pci=85:00.1,model=Mellanox Technologies MT27700 Family [ConnectX-4] (MCX416A-BCAT, ConnectX-4 EN, 40/56GbE 2P, PCIe3.0 x16),path=enp133s0f1
admin
2,930 Posts
Quote from admin on March 10, 2022, 11:09 pmMany thanks for the data, it seems the Mellanox model reported contains commas which seems to throw our parsing off.
Can you edit /opt/petasan/scripts/detect-interfaces.sh and replace
MODEL=$(echo "$INFO" | grep ID_MODEL_FROM_DATABASE | cut -f2 -d = )
with
MODEL=$(echo "$INFO" | grep ID_MODEL_FROM_DATABASE | cut -f2 -d = | tr ',' ' ' )
Many thanks for the data, it seems the Mellanox model reported contains commas which seems to throw our parsing off.
Can you edit /opt/petasan/scripts/detect-interfaces.sh and replace
MODEL=$(echo "$INFO" | grep ID_MODEL_FROM_DATABASE | cut -f2 -d = )
with
MODEL=$(echo "$INFO" | grep ID_MODEL_FROM_DATABASE | cut -f2 -d = | tr ',' ' ' )
shulemmosko
33 Posts
Quote from shulemmosko on March 10, 2022, 11:59 pmYou are a genius!! It's working great now.
Thank you so much!!
You are a genius!! It's working great now.
Thank you so much!!