Cannot create cluster Ver. 3.0.2
benda
2 Posts
April 7, 2022, 7:21 amQuote from benda on April 7, 2022, 7:21 amHi,
on new instalation cannot create new cluster. All old data from disk has be shred v /dev/sda-d.
but in new clear instalation problem stay.
Show only this text page:
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
Hi,
on new instalation cannot create new cluster. All old data from disk has be shred v /dev/sda-d.
but in new clear instalation problem stay.
Show only this text page:
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
admin
2,930 Posts
April 7, 2022, 11:51 amQuote from admin on April 7, 2022, 11:51 amNot sure at what stage/node you see this..but can you first double check you connections/ips/subnets not overlapping one another.
Not sure at what stage/node you see this..but can you first double check you connections/ips/subnets not overlapping one another.
yangsm
31 Posts
April 11, 2022, 12:02 pmQuote from yangsm on April 11, 2022, 12:02 pmon new instalation cannot create new cluster,There is no problem in installing 2.8.1 and 3.0.1. When installing 3.0.2, after entering the cluster name and password, click Next and it will appear
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
What are the values of MD5 and SHA-256 of 3.0.2, is there something wrong with my download?
on new instalation cannot create new cluster,There is no problem in installing 2.8.1 and 3.0.1. When installing 3.0.2, after entering the cluster name and password, click Next and it will appear
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
What are the values of MD5 and SHA-256 of 3.0.2, is there something wrong with my download?
yangsm
31 Posts
April 11, 2022, 12:37 pmQuote from yangsm on April 11, 2022, 12:37 pm11/04/2022 20:22:53 INFO Start settings IPs
11/04/2022 20:23:09 ERROR Config file error. The PetaSAN os maybe just installed.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/PetaSAN/backend/cluster/deploy.py", line 74, in get_node_status
node_name = config.get_node_info().name
File "/usr/lib/python3/dist-packages/PetaSAN/core/cluster/configuration.py", line 99, in get_node_info
with open(config.get_node_info_file_path(), 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/petasan/config/node_info.json'
11/04/2022 20:23:29 INFO Created keys for cluster ceph
11/04/2022 20:23:29 INFO Created cluster file and set cluster name to ceph
11/04/2022 20:23:29 INFO password set successfully.
11/04/2022 20:23:29 ERROR list index out of range
11/04/2022 20:23:29 ERROR Exception on / [GET]
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/flask/app.py", line 2446, in wsgi_app
response = self.full_dispatch_request()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1951, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/lib/python3/dist-packages/flask/app.py", line 1820, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python3/dist-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/lib/python3/dist-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/lib/python3/dist-packages/PetaSAN/web/deploy_controller/wizard.py", line 179, in main
interfaces_json = eths_ls[0]
TypeError: 'Response' object is not subscriptable
11/04/2022 20:23:58 ERROR Config file error. The PetaSAN os maybe just installed.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/PetaSAN/backend/cluster/deploy.py", line 74, in get_node_status
node_name = config.get_node_info().name
File "/usr/lib/python3/dist-packages/PetaSAN/core/cluster/configuration.py", line 99, in get_node_info
with open(config.get_node_info_file_path(), 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/petasan/config/node_info.json'
11/04/2022 20:24:30 ERROR Config file error. The PetaSAN os maybe just installed.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/PetaSAN/backend/cluster/deploy.py", line 74, in get_node_status
node_name = config.get_node_info().name
File "/usr/lib/python3/dist-packages/PetaSAN/core/cluster/configuration.py", line 99, in get_node_info
with open(config.get_node_info_file_path(), 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/petasan/config/node_info.json'
11/04/2022 20:24:54 INFO Created keys for cluster ceph
11/04/2022 20:24:54 INFO Created cluster file and set cluster name to ceph
11/04/2022 20:24:54 INFO password set successfully.
11/04/2022 20:24:54 ERROR list index out of range
11/04/2022 20:24:54 ERROR Exception on / [GET]
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/flask/app.py", line 2446, in wsgi_app
response = self.full_dispatch_request()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1951, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/lib/python3/dist-packages/flask/app.py", line 1820, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python3/dist-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/lib/python3/dist-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/lib/python3/dist-packages/PetaSAN/web/deploy_controller/wizard.py", line 179, in main
interfaces_json = eths_ls[0]
TypeError: 'Response' object is not subscriptable
11/04/2022 20:25:04 ERROR Config file error. The PetaSAN os maybe just installed.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/PetaSAN/backend/cluster/deploy.py", line 74, in get_node_status
node_name = config.get_node_info().name
File "/usr/lib/python3/dist-packages/PetaSAN/core/cluster/configuration.py", line 99, in get_node_info
with open(config.get_node_info_file_path(), 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/petasan/config/node_info.json'
11/04/2022 20:22:53 INFO Start settings IPs
11/04/2022 20:23:09 ERROR Config file error. The PetaSAN os maybe just installed.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/PetaSAN/backend/cluster/deploy.py", line 74, in get_node_status
node_name = config.get_node_info().name
File "/usr/lib/python3/dist-packages/PetaSAN/core/cluster/configuration.py", line 99, in get_node_info
with open(config.get_node_info_file_path(), 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/petasan/config/node_info.json'
11/04/2022 20:23:29 INFO Created keys for cluster ceph
11/04/2022 20:23:29 INFO Created cluster file and set cluster name to ceph
11/04/2022 20:23:29 INFO password set successfully.
11/04/2022 20:23:29 ERROR list index out of range
11/04/2022 20:23:29 ERROR Exception on / [GET]
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/flask/app.py", line 2446, in wsgi_app
response = self.full_dispatch_request()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1951, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/lib/python3/dist-packages/flask/app.py", line 1820, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python3/dist-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/lib/python3/dist-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/lib/python3/dist-packages/PetaSAN/web/deploy_controller/wizard.py", line 179, in main
interfaces_json = eths_ls[0]
TypeError: 'Response' object is not subscriptable
11/04/2022 20:23:58 ERROR Config file error. The PetaSAN os maybe just installed.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/PetaSAN/backend/cluster/deploy.py", line 74, in get_node_status
node_name = config.get_node_info().name
File "/usr/lib/python3/dist-packages/PetaSAN/core/cluster/configuration.py", line 99, in get_node_info
with open(config.get_node_info_file_path(), 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/petasan/config/node_info.json'
11/04/2022 20:24:30 ERROR Config file error. The PetaSAN os maybe just installed.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/PetaSAN/backend/cluster/deploy.py", line 74, in get_node_status
node_name = config.get_node_info().name
File "/usr/lib/python3/dist-packages/PetaSAN/core/cluster/configuration.py", line 99, in get_node_info
with open(config.get_node_info_file_path(), 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/petasan/config/node_info.json'
11/04/2022 20:24:54 INFO Created keys for cluster ceph
11/04/2022 20:24:54 INFO Created cluster file and set cluster name to ceph
11/04/2022 20:24:54 INFO password set successfully.
11/04/2022 20:24:54 ERROR list index out of range
11/04/2022 20:24:54 ERROR Exception on / [GET]
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/flask/app.py", line 2446, in wsgi_app
response = self.full_dispatch_request()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1951, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/lib/python3/dist-packages/flask/app.py", line 1820, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python3/dist-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/lib/python3/dist-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/lib/python3/dist-packages/PetaSAN/web/deploy_controller/wizard.py", line 179, in main
interfaces_json = eths_ls[0]
TypeError: 'Response' object is not subscriptable
11/04/2022 20:25:04 ERROR Config file error. The PetaSAN os maybe just installed.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/PetaSAN/backend/cluster/deploy.py", line 74, in get_node_status
node_name = config.get_node_info().name
File "/usr/lib/python3/dist-packages/PetaSAN/core/cluster/configuration.py", line 99, in get_node_info
with open(config.get_node_info_file_path(), 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/petasan/config/node_info.json'
admin
2,930 Posts
April 11, 2022, 7:54 pmQuote from admin on April 11, 2022, 7:54 pmPlease double check your network connections/ips/make sure no duplicate ips, no overlap of subnets..etc.
Then re-install from iso from the beginning. Then deploy the nodes one by one, if you get an error while deploying..stop and post the PetaSAN.log file for that node and state which node number it is.
Please double check your network connections/ips/make sure no duplicate ips, no overlap of subnets..etc.
Then re-install from iso from the beginning. Then deploy the nodes one by one, if you get an error while deploying..stop and post the PetaSAN.log file for that node and state which node number it is.
benda
2 Posts
September 20, 2022, 9:25 amQuote from benda on September 20, 2022, 9:25 amHi, in version 3.1 the same error
in petasan.log is this error
" 20/09/2022 08:32:43 INFO Created keys for cluster CLUSTER-01
20/09/2022 08:32:43 INFO Created cluster file and set cluster name to CLUSTER-01
20/09/2022 08:32:43 INFO password set successfully.
20/09/2022 08:32:43 ERROR list index out of range
20/09/2022 08:32:43 ERROR Exception on / [GET]
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/flask/app.py", line 2446, in wsgi_app
response = self.full_dispatch_request()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1951, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/lib/python3/dist-packages/flask/app.py", line 1820, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python3/dist-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/lib/python3/dist-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/lib/python3/dist-packages/PetaSAN/web/deploy_controller/wizard.py", line 179, in main
interfaces_json = eths_ls[0]
TypeError: 'Response' object is not subscriptable
"
Hi, in version 3.1 the same error
in petasan.log is this error
" 20/09/2022 08:32:43 INFO Created keys for cluster CLUSTER-01
20/09/2022 08:32:43 INFO Created cluster file and set cluster name to CLUSTER-01
20/09/2022 08:32:43 INFO password set successfully.
20/09/2022 08:32:43 ERROR list index out of range
20/09/2022 08:32:43 ERROR Exception on / [GET]
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/flask/app.py", line 2446, in wsgi_app
response = self.full_dispatch_request()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1951, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/lib/python3/dist-packages/flask/app.py", line 1820, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python3/dist-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/lib/python3/dist-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/lib/python3/dist-packages/PetaSAN/web/deploy_controller/wizard.py", line 179, in main
interfaces_json = eths_ls[0]
TypeError: 'Response' object is not subscriptable
"
admin
2,930 Posts
September 20, 2022, 6:16 pmQuote from admin on September 20, 2022, 6:16 pmCould be same as
http://www.petasan.org/forums/?view=thread&id=1070&part=1#postid-5801
Could be same as
http://www.petasan.org/forums/?view=thread&id=1070&part=1#postid-5801
Cannot create cluster Ver. 3.0.2
benda
2 Posts
Quote from benda on April 7, 2022, 7:21 amHi,
on new instalation cannot create new cluster. All old data from disk has be
shred v /dev/sda-d.
but in new clear instalation problem stay.
Show only this text page:
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
Hi,
on new instalation cannot create new cluster. All old data from disk has be shred v /dev/sda-d.
but in new clear instalation problem stay.
Show only this text page:
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
admin
2,930 Posts
Quote from admin on April 7, 2022, 11:51 amNot sure at what stage/node you see this..but can you first double check you connections/ips/subnets not overlapping one another.
Not sure at what stage/node you see this..but can you first double check you connections/ips/subnets not overlapping one another.
yangsm
31 Posts
Quote from yangsm on April 11, 2022, 12:02 pmon new instalation cannot create new cluster,There is no problem in installing 2.8.1 and 3.0.1. When installing 3.0.2, after entering the cluster name and password, click Next and it will appear
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
What are the values of MD5 and SHA-256 of 3.0.2, is there something wrong with my download?
on new instalation cannot create new cluster,There is no problem in installing 2.8.1 and 3.0.1. When installing 3.0.2, after entering the cluster name and password, click Next and it will appear
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
What are the values of MD5 and SHA-256 of 3.0.2, is there something wrong with my download?
yangsm
31 Posts
Quote from yangsm on April 11, 2022, 12:37 pm11/04/2022 20:22:53 INFO Start settings IPs
11/04/2022 20:23:09 ERROR Config file error. The PetaSAN os maybe just installed.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/PetaSAN/backend/cluster/deploy.py", line 74, in get_node_status
node_name = config.get_node_info().name
File "/usr/lib/python3/dist-packages/PetaSAN/core/cluster/configuration.py", line 99, in get_node_info
with open(config.get_node_info_file_path(), 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/petasan/config/node_info.json'
11/04/2022 20:23:29 INFO Created keys for cluster ceph
11/04/2022 20:23:29 INFO Created cluster file and set cluster name to ceph
11/04/2022 20:23:29 INFO password set successfully.
11/04/2022 20:23:29 ERROR list index out of range
11/04/2022 20:23:29 ERROR Exception on / [GET]
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/flask/app.py", line 2446, in wsgi_app
response = self.full_dispatch_request()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1951, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/lib/python3/dist-packages/flask/app.py", line 1820, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python3/dist-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/lib/python3/dist-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/lib/python3/dist-packages/PetaSAN/web/deploy_controller/wizard.py", line 179, in main
interfaces_json = eths_ls[0]
TypeError: 'Response' object is not subscriptable
11/04/2022 20:23:58 ERROR Config file error. The PetaSAN os maybe just installed.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/PetaSAN/backend/cluster/deploy.py", line 74, in get_node_status
node_name = config.get_node_info().name
File "/usr/lib/python3/dist-packages/PetaSAN/core/cluster/configuration.py", line 99, in get_node_info
with open(config.get_node_info_file_path(), 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/petasan/config/node_info.json'
11/04/2022 20:24:30 ERROR Config file error. The PetaSAN os maybe just installed.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/PetaSAN/backend/cluster/deploy.py", line 74, in get_node_status
node_name = config.get_node_info().name
File "/usr/lib/python3/dist-packages/PetaSAN/core/cluster/configuration.py", line 99, in get_node_info
with open(config.get_node_info_file_path(), 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/petasan/config/node_info.json'
11/04/2022 20:24:54 INFO Created keys for cluster ceph
11/04/2022 20:24:54 INFO Created cluster file and set cluster name to ceph
11/04/2022 20:24:54 INFO password set successfully.
11/04/2022 20:24:54 ERROR list index out of range
11/04/2022 20:24:54 ERROR Exception on / [GET]
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/flask/app.py", line 2446, in wsgi_app
response = self.full_dispatch_request()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1951, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/lib/python3/dist-packages/flask/app.py", line 1820, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python3/dist-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/lib/python3/dist-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/lib/python3/dist-packages/PetaSAN/web/deploy_controller/wizard.py", line 179, in main
interfaces_json = eths_ls[0]
TypeError: 'Response' object is not subscriptable
11/04/2022 20:25:04 ERROR Config file error. The PetaSAN os maybe just installed.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/PetaSAN/backend/cluster/deploy.py", line 74, in get_node_status
node_name = config.get_node_info().name
File "/usr/lib/python3/dist-packages/PetaSAN/core/cluster/configuration.py", line 99, in get_node_info
with open(config.get_node_info_file_path(), 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/petasan/config/node_info.json'
11/04/2022 20:22:53 INFO Start settings IPs
11/04/2022 20:23:09 ERROR Config file error. The PetaSAN os maybe just installed.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/PetaSAN/backend/cluster/deploy.py", line 74, in get_node_status
node_name = config.get_node_info().name
File "/usr/lib/python3/dist-packages/PetaSAN/core/cluster/configuration.py", line 99, in get_node_info
with open(config.get_node_info_file_path(), 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/petasan/config/node_info.json'
11/04/2022 20:23:29 INFO Created keys for cluster ceph
11/04/2022 20:23:29 INFO Created cluster file and set cluster name to ceph
11/04/2022 20:23:29 INFO password set successfully.
11/04/2022 20:23:29 ERROR list index out of range
11/04/2022 20:23:29 ERROR Exception on / [GET]
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/flask/app.py", line 2446, in wsgi_app
response = self.full_dispatch_request()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1951, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/lib/python3/dist-packages/flask/app.py", line 1820, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python3/dist-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/lib/python3/dist-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/lib/python3/dist-packages/PetaSAN/web/deploy_controller/wizard.py", line 179, in main
interfaces_json = eths_ls[0]
TypeError: 'Response' object is not subscriptable
11/04/2022 20:23:58 ERROR Config file error. The PetaSAN os maybe just installed.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/PetaSAN/backend/cluster/deploy.py", line 74, in get_node_status
node_name = config.get_node_info().name
File "/usr/lib/python3/dist-packages/PetaSAN/core/cluster/configuration.py", line 99, in get_node_info
with open(config.get_node_info_file_path(), 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/petasan/config/node_info.json'
11/04/2022 20:24:30 ERROR Config file error. The PetaSAN os maybe just installed.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/PetaSAN/backend/cluster/deploy.py", line 74, in get_node_status
node_name = config.get_node_info().name
File "/usr/lib/python3/dist-packages/PetaSAN/core/cluster/configuration.py", line 99, in get_node_info
with open(config.get_node_info_file_path(), 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/petasan/config/node_info.json'
11/04/2022 20:24:54 INFO Created keys for cluster ceph
11/04/2022 20:24:54 INFO Created cluster file and set cluster name to ceph
11/04/2022 20:24:54 INFO password set successfully.
11/04/2022 20:24:54 ERROR list index out of range
11/04/2022 20:24:54 ERROR Exception on / [GET]
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/flask/app.py", line 2446, in wsgi_app
response = self.full_dispatch_request()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1951, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/lib/python3/dist-packages/flask/app.py", line 1820, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python3/dist-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/lib/python3/dist-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/lib/python3/dist-packages/PetaSAN/web/deploy_controller/wizard.py", line 179, in main
interfaces_json = eths_ls[0]
TypeError: 'Response' object is not subscriptable
11/04/2022 20:25:04 ERROR Config file error. The PetaSAN os maybe just installed.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/PetaSAN/backend/cluster/deploy.py", line 74, in get_node_status
node_name = config.get_node_info().name
File "/usr/lib/python3/dist-packages/PetaSAN/core/cluster/configuration.py", line 99, in get_node_info
with open(config.get_node_info_file_path(), 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/petasan/config/node_info.json'
admin
2,930 Posts
Quote from admin on April 11, 2022, 7:54 pmPlease double check your network connections/ips/make sure no duplicate ips, no overlap of subnets..etc.
Then re-install from iso from the beginning. Then deploy the nodes one by one, if you get an error while deploying..stop and post the PetaSAN.log file for that node and state which node number it is.
Please double check your network connections/ips/make sure no duplicate ips, no overlap of subnets..etc.
Then re-install from iso from the beginning. Then deploy the nodes one by one, if you get an error while deploying..stop and post the PetaSAN.log file for that node and state which node number it is.
benda
2 Posts
Quote from benda on September 20, 2022, 9:25 amHi, in version 3.1 the same error
in petasan.log is this error
" 20/09/2022 08:32:43 INFO Created keys for cluster CLUSTER-01
20/09/2022 08:32:43 INFO Created cluster file and set cluster name to CLUSTER-01
20/09/2022 08:32:43 INFO password set successfully.
20/09/2022 08:32:43 ERROR list index out of range
20/09/2022 08:32:43 ERROR Exception on / [GET]
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/flask/app.py", line 2446, in wsgi_app
response = self.full_dispatch_request()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1951, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/lib/python3/dist-packages/flask/app.py", line 1820, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python3/dist-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/lib/python3/dist-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/lib/python3/dist-packages/PetaSAN/web/deploy_controller/wizard.py", line 179, in main
interfaces_json = eths_ls[0]
TypeError: 'Response' object is not subscriptable"
Hi, in version 3.1 the same error
in petasan.log is this error
" 20/09/2022 08:32:43 INFO Created keys for cluster CLUSTER-01
20/09/2022 08:32:43 INFO Created cluster file and set cluster name to CLUSTER-01
20/09/2022 08:32:43 INFO password set successfully.
20/09/2022 08:32:43 ERROR list index out of range
20/09/2022 08:32:43 ERROR Exception on / [GET]
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/flask/app.py", line 2446, in wsgi_app
response = self.full_dispatch_request()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1951, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/lib/python3/dist-packages/flask/app.py", line 1820, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python3/dist-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/lib/python3/dist-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/lib/python3/dist-packages/PetaSAN/web/deploy_controller/wizard.py", line 179, in main
interfaces_json = eths_ls[0]
TypeError: 'Response' object is not subscriptable
"
admin
2,930 Posts
Quote from admin on September 20, 2022, 6:16 pmCould be same as
http://www.petasan.org/forums/?view=thread&id=1070&part=1#postid-5801
Could be same as
http://www.petasan.org/forums/?view=thread&id=1070&part=1#postid-5801