Project

General

Profile

Actions

Bug #54247

closed

rgw/crypt/barbican: Cannot create secret

Added by Casey Bodley about 2 years ago. Updated 9 months ago.

Status:
Resolved
Priority:
Urgent
Assignee:
-
Target version:
-
% Done:

100%

Source:
Tags:
barbican backport_processed
Backport:
pacific quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

this started failing recently. http://qa-proxy.ceph.com/teuthology/teuthology-2022-02-10_03:05:03-rgw-master-distro-default-smithi/6672411/teuthology.log

2022-02-10T04:12:03.567 INFO:tasks.barbican.client.0:Started
2022-02-10T04:12:03.567 DEBUG:teuthology.orchestra.run.smithi196:> cd /home/ubuntu/cephtest/barbican && . .barbicanenv/bin/activate && sleep 15
2022-02-10T04:12:04.806 INFO:tasks.barbican.client.0.smithi196.stdout:2022-02-10 04:12:04.808 51514 INFO barbican.model.repositories [-] Setting up database engine and session factory[00m
2022-02-10T04:12:04.815 INFO:tasks.barbican.client.0.smithi196.stdout:2022-02-10 04:12:04.818 51514 INFO barbican.model.repositories [-] Auto-creating barbican registry DB[00m
2022-02-10T04:12:04.936 INFO:tasks.barbican.client.0.smithi196.stdout:2022-02-10 04:12:04.937 51514 WARNING barbican.model.migration.commands [-] !!! Limited support for migration commands using sqlite databases; This operation may not succeed.[00m
2022-02-10T04:12:04.940 INFO:tasks.barbican.client.0.smithi196.stdout:2022-02-10 04:12:04.942 51514 INFO alembic.runtime.migration [-] Context impl SQLiteImpl.[00m
2022-02-10T04:12:04.940 INFO:tasks.barbican.client.0.smithi196.stdout:2022-02-10 04:12:04.942 51514 INFO alembic.runtime.migration [-] Will assume non-transactional DDL.[00m
2022-02-10T04:12:05.027 INFO:tasks.barbican.client.0.smithi196.stdout:2022-02-10 04:12:05.029 51514 INFO alembic.runtime.migration [-] Running stamp_revision  -> 39cf2e645cba[00m
2022-02-10T04:12:05.079 INFO:tasks.barbican.client.0.smithi196.stdout:2022-02-10 04:12:05.081 51514 WARNING barbican.api.controllers.cas [-] Deprecated: Certificate Authorities API has been deprecated in the Newton release. It will be removed in the Pike release.[00m
2022-02-10T04:12:05.220 INFO:tasks.barbican.client.0.smithi196.stdout:2022-02-10 04:12:05.222 51514 INFO barbican.api.app [-] Barbican app created and initialized[00m
2022-02-10T04:12:05.222 INFO:tasks.barbican.client.0.smithi196.stdout:2022-02-10 04:12:05.224 51514 WARNING keystonemiddleware._common.config [-] The option "auth_url" is not known to keystonemiddleware[00m
2022-02-10T04:12:05.222 INFO:tasks.barbican.client.0.smithi196.stdout:2022-02-10 04:12:05.224 51514 WARNING keystonemiddleware._common.config [-] The option "username" is not known to keystonemiddleware[00m
2022-02-10T04:12:05.222 INFO:tasks.barbican.client.0.smithi196.stdout:2022-02-10 04:12:05.224 51514 WARNING keystonemiddleware._common.config [-] The option "user_domain_name" is not known to keystonemiddleware[00m
2022-02-10T04:12:05.223 INFO:tasks.barbican.client.0.smithi196.stdout:2022-02-10 04:12:05.224 51514 WARNING keystonemiddleware._common.config [-] The option "password" is not known to keystonemiddleware[00m
2022-02-10T04:12:05.223 INFO:tasks.barbican.client.0.smithi196.stdout:2022-02-10 04:12:05.224 51514 WARNING keystonemiddleware.auth_token [-] AuthToken middleware is set with keystone_authtoken.service_token_roles_required set to False. This is backwards compatible but deprecated behaviour. Please set this to True.[00m
2022-02-10T04:12:18.582 INFO:tasks.barbican:barbican_url=http://smithi196.front.sepia.ceph.com:9311
2022-02-10T04:12:19.148 INFO:tasks.barbican.client.0.smithi196.stdout:serving on 0.0.0.0:9311 view at http://127.0.0.1:9311
2022-02-10T04:12:19.149 INFO:tasks.barbican.client.0.smithi196.stdout:2022-02-10 04:12:19.151 51514 WARNING keystonemiddleware.auth_token [-] Using the in-process token cache is deprecated as of the 4.2.0 release and may be removed in the 5.0.0 release or the 'O' development cycle. The in-process cache causes inconsistent results and high memory usage. When the feature is removed the auth_token middleware will not cache tokens by default which may result in performance issues. It is recommended to use  memcache for the auth_token token cache by setting the memcached_servers option.[00m
2022-02-10T04:12:19.579 ERROR:teuthology.contextutil:Saw exception from nested tasks
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_7cebb3f2319fd6c8340c0f7cd15a137e747fd32e/teuthology/contextutil.py", line 31, in nested
    vars.append(enter())
  File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "/home/teuthworker/src/github.com_ceph_ceph_f5b79d7e6bbd3fd92c91375c16357753c45cf8aa/qa/tasks/barbican.py", line 371, in create_secrets
    raise Exception("Cannot create secret")

Related issues 3 (0 open3 closed)

Has duplicate rgw - Bug #61546: quincy: barbican error: cannot create secretDuplicate

Actions
Copied to rgw - Backport #57701: pacific: rgw/crypt/barbican: Cannot create secretResolvedActions
Copied to rgw - Backport #57702: quincy: rgw/crypt/barbican: Cannot create secretResolvedActions
Actions

Also available in: Atom PDF