OpenStack: Backup failing from what appears to be a bad response
Zusammenfassung: OpenStack backup failing from what appears to be a bad response. From the DPE proxy logs, it appears the response in the Json file is missing a record; "AttributeError: 'json_record' object has no attribute 'tenant_id'" ...
Dieser Artikel gilt für
Dieser Artikel gilt nicht für
Dieser Artikel ist nicht an ein bestimmtes Produkt gebunden.
In diesem Artikel werden nicht alle Produktversionen aufgeführt.
Symptome
OpenStack backup failing from what appears to be a bad response. From the DPE proxy logs, it appears the response in the Json file is missing a record; "AttributeError: 'json_record' object has no attribute 'tenant_id'"
DPE proxy logs, It appears the authentication is happening as admin.
ERROR avamar.service.proxy No access to tenant xxxxxx (admin) WARNING avamar.service.proxy Client error: Cannot authenticate as tenant: admin avamar.service.proxy ==== backup_finish tenant: xxxxx client: xxxx INFO avamar.stack.keystone direct_scoped_token is : False
dpe_proxy_service.log
- INFO avamar.controller.conventions TENANT source : uuid (admin) - INFO avamar.controller.conventions TENANT destination : uui (avamar) - INFO avamar.stack.meta nova-metadata href: https://urldefense.com/v3/__http://DPE_Proxy:8775/latest/__;!!LpKI!iyNU2VxHCuJVJ02KdrcyVvK46FIjVmgyFLiRjxPS2O0G0btCMxahE9YkrHnmnv5rjkKlwJxSAyHCuUcqKQEa6al7$ xxx secret: xxxxxxyyyyy - INFO avamar.controller.backup keystone: type(keystone):<class 'avamar.stack.base.json_record'> - INFO avamar.controller.backup keystone_cred: type(keystone_cred):<class 'dict'> - INFO avamar.controller.proxy PROXY INSTANCE UUID(DPE_proxy-name) - INFO avamar.controller.backup ==== BACKUP START ==== - INFO avamar.controller.backup INSTANCE/python3.6/site-packages/avamar/controller/backup.py", line 212, in _fetch metadata = self.meta.inspect(instance.tenant_id, instance.id) AttributeError: 'json_record' object has no attribute 'tenant_id' uuid - ERROR avamar.controller.backup Cannot fetch metadata for instance: uuid Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/avamar/controller/backup.py", line 212, in _fetch metadata = self.meta.inspect(instance.tenant_id, instance.id) AttributeError: 'json_record' object has no attribute 'tenant_id' - ERROR avamar.controller.backup A client or server error on backup-start Traceback (most recent call last): File "/usr/lib
Ursache
Backup_Admin role is not added as member of the project.
Lösung
Change the Backup_admin role as member of the project.
See screenshots for example:


Betroffene Produkte
Avamar, OpenStack Data Protection ExtensionArtikeleigenschaften
Artikelnummer: 000222805
Artikeltyp: Solution
Zuletzt geändert: 23 Okt. 2024
Version: 3
Antworten auf Ihre Fragen erhalten Sie von anderen Dell NutzerInnen
Support Services
Prüfen Sie, ob Ihr Gerät durch Support Services abgedeckt ist.