Error in attempting to register Acronis Storage Gateway
I am trying to register my Acronis Storage Gateway (VM Azure machine) in the Acronis Backup Cloud, but the error below occurs when I try to register. What can it be?
CMD:
sudo acronis-storage-registration -u marcelo.magalhaes@marteengenharia.com -p 'XXXX' -s cloud.acronis.com -a storage-gateway.brazilsouth.cloudapp.azure.com:44445 -i AzureAcronisBackup -o /etc/pki/tls/certs/Acronis/storage/
[sudo] password for administrador:
('POST', 'https://cloud.acronis.com/api/1/groups/self/storages')
Failed:
Traceback (most recent call last):
File "/bin/acronis-storage-registration", line 198, in <module>
main(parser.parse_args()[0])
File "/bin/acronis-storage-registration", line 170, in main
register_storage(args.host, args.owner, args.username, args.password, args.address, args.uid, args.outdir, args.config)
File "/bin/acronis-storage-registration", line 95, in register_storage
redirect = json.loads(opener.open(request, data=data).read())
File "/usr/lib64/python2.7/urllib2.py", line 437, in open
response = meth(req, response)
File "/usr/lib64/python2.7/urllib2.py", line 550, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib64/python2.7/urllib2.py", line 475, in error
return self._call_chain(*args)
File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/usr/lib64/python2.7/urllib2.py", line 558, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 400: Bad request
Live long and prosper,
Marcelo Magalhães
- Log in to post comments
Hi Jays,
Thanks for the tip... but, as root... same problem :(
Live long and prosper,
Marcelo Magalhães
- Log in to post comments
Hi Marcelo
Can you please advise if you are receiving any error message or failure, so that I can just have a bit more of an insight into your issue.
Would it be possible for you to copy the output of the command?
Regards
- Log in to post comments
Hi Jays,
The message and error it gave when I tried to add the gateway as root was the same as before (already posted above). So, same problem, same error.
('POST', 'https://cloud.acronis.com/api/1/groups/self/storages')
Failed:
Traceback (most recent call last):
File "/bin/acronis-storage-registration", line 198, in <module>
main(parser.parse_args()[0])
File "/bin/acronis-storage-registration", line 170, in main
register_storage(args.host, args.owner, args.username, args.password, args.address, args.uid, args.outdir, args.config)
File "/bin/acronis-storage-registration", line 95, in register_storage
redirect = json.loads(opener.open(request, data=data).read())
File "/usr/lib64/python2.7/urllib2.py", line 437, in open
response = meth(req, response)
File "/usr/lib64/python2.7/urllib2.py", line 550, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib64/python2.7/urllib2.py", line 475, in error
return self._call_chain(*args)
File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/usr/lib64/python2.7/urllib2.py", line 558, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 400: Bad request
Live long and prosper,
Marcelo Magalhães
- Log in to post comments
Hi Marcelo
The error " HTTPError: HTTP Error 400: Bad Request refers to: a credential issue. I would recommend that you check your credentials of which you are using to register the Aronis Storage Gateway. These credentials should be the credentials of a distributor administrator account or a sub-distributor administrator account.
Please do note that Acronis Storage cannot be registered with an EUC administrator account.
I do hope that the provided information resolves your issue
Best regards
- Log in to post comments