OpenStack: Backup failing from what appears to be a bad response
Summary: 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'" ...
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
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
Cause
Backup_Admin role is not added as member of the project.
Resolution
Change the Backup_admin role as member of the project.
See screenshots for example:


Affected Products
Avamar, OpenStack Data Protection ExtensionArticle Properties
Article Number: 000222805
Article Type: Solution
Last Modified: 23 Oct 2024
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.