Symptoms
1. Backup storage was registered initially with ACI version 4.5 and below;
2. Attempt to update ABGW certificate via WebCP > Storage Services > Backup Storage > Settings > Certificate or via CLI in ACI 4.6/4.7/5.0 fails with error like the following:
status 400 Missed required body argument 'address'(400) ({"error": {"code": 400, "message": "Missed required body argument 'address'", "details": {"info": "400: Missed required body argument 'address'", "addition": ["Missed required body argument 'address'"]}}}) (, )
Cause
Issue in product, legacy format of .abgw.abc-registration-info
registration file cannot be handled by update certificate procedures.
Solution
Issue is planned to be fixed in scope of future ACI versions.
In order to fix the issue in current ACI version, address of backup storage should be added into .abgw.abc-registration-info
file manually in the following way:
1. Verify address of backup storage from attempt to update certificate via CLI, e.g.:
[root@abgw01 ~]# vstorage-abgw-register update-crt
...
registration server is: {&{0 dd76dfd0-af84-4688-a37f-a68c75bde659 abgw://test-backup-storage.localdomain:44445/ {https://rs-eu-cloud.acronis.com:8443/storages?cipher=gAAAAABh-i4pfszFoUnNUi7Y6zdKCsuJ7MajQ63n3Q5Uc6JYfEon2_HQNCnLvb9ojad81M8WNfU7CZSCezqBryuVp1C6QFQms7WZbUUq-XyfEXbf9DCZJHjs5JBrKK70dSPTpNtJmmUhU9G9X1UJck8huqNYVYXEAQ%3D%3D}}} from https://eu-cloud.acronis.com/api/2/infra/dd76dfd0-af84-4688-a37f-a68c75bde659
...
}) status 400 Missed required body argument 'address'(400) ({"error": {"code": 400, "message": "Missed required body argument 'address'", "details": {"info": "400: Missed required body argument 'address'", "addition": ["Missed required body argument 'address'"]}}}) (, )
2. Copy current registration info file:
[root@abgw01 ~]# cp /mnt/vstorage/vols/acronis-backup/certs/.abgw.abc-registration-info /root/abgw.abc-registration-info.bkp
3. Add the line abgw-address = %address of your backup storage% into the registration info file, e.g.:
[root@abgw01 ~]# echo "abgw-address = test-backup-storage.localdomain:44445" >> /mnt/vstorage/vols/acronis-backup/certs/.abgw.abc-registration-info
[root@abgw01 ~]# cat /mnt/vstorage/vols/acronis-backup/certs/.abgw.abc-registration-info
.type = abgw.abc-registration-info.0
abc-url = https://eu-cloud.acronis.com
abc-account = my_partner_service_admin_user
setup-id = dd76vfd0-af84-4688-a37f-a68c75bde659
setup-id-compat = dd76vfd0-af84-4688-a37f-a68c75bde659
abgw-address = test-backup-storage.localdomain:44445
4. Re-try attempt to update abgw certificates:
[root@abgw01 ~]# vstorage-abgw-register update-crt
...
generating certificates
tmpCertsDir is '/mnt/vstorage/vols/acronis-backup/tmp.certs796066353'
tmpConfDir is '/mnt/vstorage/vols/acronis-backup/tmp.conf.d143406044'
saving in /mnt/vstorage/vols/acronis-backup/tmp.conf.d143406044/certs.default
Contact Acronis support in case if the issue with ABGW certificate update will persist.