Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

Physical disk list

Pages: 1 2

Hi, on one node the disks won't show up in the web GUI, it will turn and turn forever.

all other nodes i can see all the physical drives and add and remove OSD's etc.

I also want to mention that on that same node after I restart the node it won't automatically become a Consul member I need to manually run consul_start_up.py

(running the latest version of Petasan 2.7)

 

Thanks for your hard work! this is a great project i hope one day to be able to contribute.

 

 

Shulem

 

As you can see in the image

For both issues: consul not starting and disk list not showing: did this happen since the node was installed or it used to work before or can you relate when these issues showed up ?  do you see log errors ?

 

Since i upgraded to 2.7

Where can i find the log files

/opt/petasan/log/PetaSAN.log

there are hundreds of the same error in the log, see below.

 

07/01/2021 00:15:43 ERROR Traceback (most recent call last):
File "/opt/petasan/scripts/admin/node_manage_disks.py", line 20, in <module>
from PetaSAN.backend.cluster.deploy import Wizard
ImportError: No module named PetaSAN.backend.cluster.deploy

the file should be in:
/usr/lib/python3/dist-packages/PetaSAN/backend/cluster/deploy.py

if not there copy it from another, then do a
systemctl restart petasan-admin

since it is strange the file is not there, i would try compare if there are any different/missing files in
/usr/lib/python3/dist-packages/PetaSAN/
/opt/petasan/scripts/

Thanks for your reply!

The file deploy.py is present and I restarted petasan-admin, but the same error is in the log and the disks still do not show up.

 

 

I tried the following. see the output

root@PS-Node1:/opt/petasan/scripts# ./stop_petasan_services.py
root@PS-Node1:/opt/petasan/scripts# ./start_petasan_services.py
Traceback (most recent call last):
File "/opt/petasan/scripts/node_start_ips.py", line 19, in <module>
from PetaSAN.backend.cluster.deploy import Wizard
ImportError: No module named PetaSAN.backend.cluster.deploy
Traceback (most recent call last):
File "/opt/petasan/scripts/consul_start_up.py", line 18, in <module>
from PetaSAN.core.cluster.configuration import configuration
ImportError: No module named PetaSAN.core.cluster.configuration
mkdir: cannot create directory ‘/sys/kernel/config/target/iscsi’: File exists

Pages: 1 2