Comment 2 for bug 1798125

Revision history for this message
Gaƫtan Trellu (goldyfruit) wrote :

region_id option was missing in [karbor_client] section.
Now I got a different error:

2018-11-23 17:34:56.278 7 DEBUG karbor.common.karbor_keystone_plugin [req-3b788b56-b4d3-4c95-a98f-f21a5f465cee - 612bafb75fe044e0aca60db037bcf26e - - -] MSG001: [<Service description=Application Data Protection Service, enabled=True, id=9c4cf2135d4c45039e4ff88d81219509, links={u'self': u'http://10.128.150.100:35357/v3/services/9c4cf2135d4c45039e4ff88d81219509'}, name=karbor, type=data-protect>] get_service_endpoint /var/lib/kolla/venv/local/lib/python2.7/site-packages/karbor/common/karbor_keystone_plugin.py:108
2018-11-23 17:34:56.279 7 DEBUG karbor.common.karbor_keystone_plugin [req-3b788b56-b4d3-4c95-a98f-f21a5f465cee - 612bafb75fe044e0aca60db037bcf26e - - -] MSG002: [<Endpoint enabled=True, id=5d5a80d606e3460b92d5be5638f35de0, interface=internal, links={u'self': u'http://10.128.150.100:35357/v3/endpoints/5d5a80d606e3460b92d5be5638f35de0'}, region=uat-ca-yul-1, region_id=uat-ca-yul-1, service_id=9c4cf2135d4c45039e4ff88d81219509, url=http://10.128.150.100:8799/v1/%(tenant_id)s>] get_service_endpoint /var/lib/kolla/venv/local/lib/python2.7/site-packages/karbor/common/karbor_keystone_plugin.py:109
2018-11-23 17:34:56.280 7 ERROR karbor.services.operationengine.engine.executors.green_thread_executor [req-3b788b56-b4d3-4c95-a98f-f21a5f465cee - 612bafb75fe044e0aca60db037bcf26e - - -] Run operation(0e6fd26e-5d84-4eda-bc3c-8877c261c41f) failed: KeyError: u'tenant_id'
2018-11-23 17:34:56.280 7 ERROR karbor.services.operationengine.engine.executors.green_thread_executor Traceback (most recent call last):
2018-11-23 17:34:56.280 7 ERROR karbor.services.operationengine.engine.executors.green_thread_executor File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/karbor/services/operationengine/engine/executors/green_thread_executor.py", line 153, in _run_operation
2018-11-23 17:34:56.280 7 ERROR karbor.services.operationengine.engine.executors.green_thread_executor param=param)
2018-11-23 17:34:56.280 7 ERROR karbor.services.operationengine.engine.executors.green_thread_executor File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/karbor/services/operationengine/operation_manager.py", line 57, in run_operation
2018-11-23 17:34:56.280 7 ERROR karbor.services.operationengine.engine.executors.green_thread_executor op.run(operation_definition, **kwargs)
2018-11-23 17:34:56.280 7 ERROR karbor.services.operationengine.engine.executors.green_thread_executor File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/karbor/services/operationengine/operations/base.py", line 100, in run
2018-11-23 17:34:56.280 7 ERROR karbor.services.operationengine.engine.executors.green_thread_executor self._execute(operation_definition, param)
2018-11-23 17:34:56.280 7 ERROR karbor.services.operationengine.engine.executors.green_thread_executor File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/karbor/services/operationengine/operations/protect_operation.py", line 46, in _execute
2018-11-23 17:34:56.280 7 ERROR karbor.services.operationengine.engine.executors.green_thread_executor self._run(operation_definition, param, log_ref)
2018-11-23 17:34:56.280 7 ERROR karbor.services.operationengine.engine.executors.green_thread_executor File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/karbor/services/operationengine/operations/protect_operation.py", line 53, in _run
2018-11-23 17:34:56.280 7 ERROR karbor.services.operationengine.engine.executors.green_thread_executor param.get("user_id"), param.get("project_id"))
2018-11-23 17:34:56.280 7 ERROR karbor.services.operationengine.engine.executors.green_thread_executor File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/karbor/services/operationengine/operations/base.py", line 199, in _create_karbor_client
2018-11-23 17:34:56.280 7 ERROR karbor.services.operationengine.engine.executors.green_thread_executor karbor_url = self.karbor_endpoint % {"project_id": project_id}
2018-11-23 17:34:56.280 7 ERROR karbor.services.operationengine.engine.executors.green_thread_executor KeyError: u'tenant_id'
2018-11-23 17:34:56.280 7 ERROR karbor.services.operationengine.engine.executors.green_thread_executor