error add host on the cluster
alvarobcdv
1 Post
April 2, 2022, 1:17 pmQuote from alvarobcdv on April 2, 2022, 1:17 pmHello,
I was received this error to add 3rd host on the cluster:
02/04/2022 10:12: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'
02/04/2022 10:12:52 INFO Starting node join
02/04/2022 10:12:52 INFO Successfully copied public keys.
02/04/2022 10:12:53 INFO Successfully copied private keys.
02/04/2022 10:12:53 INFO password set successfully.
02/04/2022 10:12:53 INFO Start copying cluster info file.
02/04/2022 10:12:53 INFO Successfully copied cluster info file.
02/04/2022 10:12:53 INFO Start copying services interfaces file.
02/04/2022 10:12:53 INFO Successfully copied services interfaces file.
02/04/2022 10:12:53 INFO Joined cluster brazucacloud
02/04/2022 10:12:54 ERROR list index out of range
02/04/2022 10:12: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 331, in main
interfaces_json = eths_ls[0]
TypeError: 'Response' object is not subscriptable
Any idea for it?
Thanks a lot
Hello,
I was received this error to add 3rd host on the cluster:
02/04/2022 10:12: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'
02/04/2022 10:12:52 INFO Starting node join
02/04/2022 10:12:52 INFO Successfully copied public keys.
02/04/2022 10:12:53 INFO Successfully copied private keys.
02/04/2022 10:12:53 INFO password set successfully.
02/04/2022 10:12:53 INFO Start copying cluster info file.
02/04/2022 10:12:53 INFO Successfully copied cluster info file.
02/04/2022 10:12:53 INFO Start copying services interfaces file.
02/04/2022 10:12:53 INFO Successfully copied services interfaces file.
02/04/2022 10:12:53 INFO Joined cluster brazucacloud
02/04/2022 10:12:54 ERROR list index out of range
02/04/2022 10:12: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 331, in main
interfaces_json = eths_ls[0]
TypeError: 'Response' object is not subscriptable
Any idea for it?
Thanks a lot
admin
2,918 Posts
April 2, 2022, 2:25 pmQuote from admin on April 2, 2022, 2:25 pmit may be errors with deploying the prev nodes, since you did not build the cluster yet, i recommend you re-install from installer and deploy again the first 3 nodes, if you still have errors let me know.
it may be errors with deploying the prev nodes, since you did not build the cluster yet, i recommend you re-install from installer and deploy again the first 3 nodes, if you still have errors let me know.
Last edited on April 2, 2022, 2:25 pm by admin · #2
pedro6161
36 Posts
October 10, 2022, 9:18 amQuote from pedro6161 on October 10, 2022, 9:18 am
Quote from admin on April 2, 2022, 2:25 pm
it may be errors with deploying the prev nodes, since you did not build the cluster yet, i recommend you re-install from installer and deploy again the first 3 nodes, if you still have errors let me know.
if we doing re-install, how about the existing rbd image ? are will be gone ?
Quote from admin on April 2, 2022, 2:25 pm
it may be errors with deploying the prev nodes, since you did not build the cluster yet, i recommend you re-install from installer and deploy again the first 3 nodes, if you still have errors let me know.
if we doing re-install, how about the existing rbd image ? are will be gone ?
admin
2,918 Posts
October 10, 2022, 12:00 pmQuote from admin on October 10, 2022, 12:00 pmI suggested this a long time ago when you were building the cluster, you cannot re-install from scratch now.
I suggested this a long time ago when you were building the cluster, you cannot re-install from scratch now.
rhamon
30 Posts
November 6, 2022, 4:58 pmQuote from rhamon on November 6, 2022, 4:58 pmIs this on 3.1.0? If so, could it need the fix "| tr ',' ' ' " in /opt/petasan/scripts/detects interfaces.sh?
IIRC I was getting the same " interfaces_json = eths_ls[0]
TypeError: 'Response' object is not subscriptable " until I applied the fix to detect-interfaces.sh
Is this on 3.1.0? If so, could it need the fix "| tr ',' ' ' " in /opt/petasan/scripts/detects interfaces.sh?
IIRC I was getting the same " interfaces_json = eths_ls[0]
TypeError: 'Response' object is not subscriptable " until I applied the fix to detect-interfaces.sh
error add host on the cluster
alvarobcdv
1 Post
Quote from alvarobcdv on April 2, 2022, 1:17 pmHello,
I was received this error to add 3rd host on the cluster:
02/04/2022 10:12: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'
02/04/2022 10:12:52 INFO Starting node join
02/04/2022 10:12:52 INFO Successfully copied public keys.
02/04/2022 10:12:53 INFO Successfully copied private keys.
02/04/2022 10:12:53 INFO password set successfully.
02/04/2022 10:12:53 INFO Start copying cluster info file.
02/04/2022 10:12:53 INFO Successfully copied cluster info file.
02/04/2022 10:12:53 INFO Start copying services interfaces file.
02/04/2022 10:12:53 INFO Successfully copied services interfaces file.
02/04/2022 10:12:53 INFO Joined cluster brazucacloud
02/04/2022 10:12:54 ERROR list index out of range
02/04/2022 10:12: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 331, in main
interfaces_json = eths_ls[0]
TypeError: 'Response' object is not subscriptable
Any idea for it?
Thanks a lot
Hello,
I was received this error to add 3rd host on the cluster:
02/04/2022 10:12: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'
02/04/2022 10:12:52 INFO Starting node join
02/04/2022 10:12:52 INFO Successfully copied public keys.
02/04/2022 10:12:53 INFO Successfully copied private keys.
02/04/2022 10:12:53 INFO password set successfully.
02/04/2022 10:12:53 INFO Start copying cluster info file.
02/04/2022 10:12:53 INFO Successfully copied cluster info file.
02/04/2022 10:12:53 INFO Start copying services interfaces file.
02/04/2022 10:12:53 INFO Successfully copied services interfaces file.
02/04/2022 10:12:53 INFO Joined cluster brazucacloud
02/04/2022 10:12:54 ERROR list index out of range
02/04/2022 10:12: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 331, in main
interfaces_json = eths_ls[0]
TypeError: 'Response' object is not subscriptable
Any idea for it?
Thanks a lot
admin
2,918 Posts
Quote from admin on April 2, 2022, 2:25 pmit may be errors with deploying the prev nodes, since you did not build the cluster yet, i recommend you re-install from installer and deploy again the first 3 nodes, if you still have errors let me know.
it may be errors with deploying the prev nodes, since you did not build the cluster yet, i recommend you re-install from installer and deploy again the first 3 nodes, if you still have errors let me know.
pedro6161
36 Posts
Quote from pedro6161 on October 10, 2022, 9:18 amQuote from admin on April 2, 2022, 2:25 pmit may be errors with deploying the prev nodes, since you did not build the cluster yet, i recommend you re-install from installer and deploy again the first 3 nodes, if you still have errors let me know.
if we doing re-install, how about the existing rbd image ? are will be gone ?
Quote from admin on April 2, 2022, 2:25 pmit may be errors with deploying the prev nodes, since you did not build the cluster yet, i recommend you re-install from installer and deploy again the first 3 nodes, if you still have errors let me know.
if we doing re-install, how about the existing rbd image ? are will be gone ?
admin
2,918 Posts
Quote from admin on October 10, 2022, 12:00 pmI suggested this a long time ago when you were building the cluster, you cannot re-install from scratch now.
I suggested this a long time ago when you were building the cluster, you cannot re-install from scratch now.
rhamon
30 Posts
Quote from rhamon on November 6, 2022, 4:58 pmIs this on 3.1.0? If so, could it need the fix "| tr ',' ' ' " in /opt/petasan/scripts/detects interfaces.sh?
IIRC I was getting the same " interfaces_json = eths_ls[0]
TypeError: 'Response' object is not subscriptable " until I applied the fix to detect-interfaces.sh
Is this on 3.1.0? If so, could it need the fix "| tr ',' ' ' " in /opt/petasan/scripts/detects interfaces.sh?
IIRC I was getting the same " interfaces_json = eths_ls[0]
TypeError: 'Response' object is not subscriptable " until I applied the fix to detect-interfaces.sh