Physical disk list
Pages: 1 2
shulemmosko
33 Posts
December 28, 2020, 4:06 amQuote from shulemmosko on December 28, 2020, 4:06 amHi, 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
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
Last edited on December 28, 2020, 4:08 am by shulemmosko · #1
shulemmosko
33 Posts
January 5, 2021, 8:29 pmQuote from shulemmosko on January 5, 2021, 8:29 pmAs you can see in the image
As you can see in the image
admin
2,930 Posts
January 5, 2021, 9:33 pmQuote from admin on January 5, 2021, 9:33 pmFor 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 ?
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 ?
shulemmosko
33 Posts
January 5, 2021, 9:51 pmQuote from shulemmosko on January 5, 2021, 9:51 pmSince i upgraded to 2.7
Since i upgraded to 2.7
shulemmosko
33 Posts
January 5, 2021, 9:51 pmQuote from shulemmosko on January 5, 2021, 9:51 pmWhere can i find the log files
Where can i find the log files
admin
2,930 Posts
January 6, 2021, 8:20 amQuote from admin on January 6, 2021, 8:20 am/opt/petasan/log/PetaSAN.log
/opt/petasan/log/PetaSAN.log
shulemmosko
33 Posts
January 7, 2021, 5:22 amQuote from shulemmosko on January 7, 2021, 5:22 amthere 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
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
admin
2,930 Posts
January 7, 2021, 10:33 amQuote from admin on January 7, 2021, 10:33 amthe 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/
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/
Last edited on January 7, 2021, 10:34 am by admin · #8
shulemmosko
33 Posts
January 7, 2021, 4:33 pmQuote from shulemmosko on January 7, 2021, 4:33 pmThanks 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.
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.
shulemmosko
33 Posts
January 7, 2021, 4:48 pmQuote from shulemmosko on January 7, 2021, 4:48 pmI 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
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
Physical disk list
shulemmosko
33 Posts
Quote from shulemmosko on December 28, 2020, 4:06 amHi, 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
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
shulemmosko
33 Posts
Quote from shulemmosko on January 5, 2021, 8:29 pmAs you can see in the image
As you can see in the image
admin
2,930 Posts
Quote from admin on January 5, 2021, 9:33 pmFor 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 ?
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 ?
shulemmosko
33 Posts
Quote from shulemmosko on January 5, 2021, 9:51 pmSince i upgraded to 2.7
Since i upgraded to 2.7
shulemmosko
33 Posts
Quote from shulemmosko on January 5, 2021, 9:51 pmWhere can i find the log files
Where can i find the log files
admin
2,930 Posts
Quote from admin on January 6, 2021, 8:20 am/opt/petasan/log/PetaSAN.log
/opt/petasan/log/PetaSAN.log
shulemmosko
33 Posts
Quote from shulemmosko on January 7, 2021, 5:22 amthere 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
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
admin
2,930 Posts
Quote from admin on January 7, 2021, 10:33 amthe file should be in:
/usr/lib/python3/dist-packages/PetaSAN/backend/cluster/deploy.pyif not there copy it from another, then do a
systemctl restart petasan-adminsince 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/
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/
shulemmosko
33 Posts
Quote from shulemmosko on January 7, 2021, 4:33 pmThanks 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.
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.
shulemmosko
33 Posts
Quote from shulemmosko on January 7, 2021, 4:48 pmI 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
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