From: Adam King Date: Tue, 24 Feb 2026 15:14:17 +0000 (-0500) Subject: remove broken test X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cd169a8b3a30be80ae0ebb3ffe4979bec3f2fdb1;p=ceph-ci.git remove broken test 2026-02-24 15:00:21,650.650 INFO:teuthology.suite.run:Suite orch:cephadm in /tank/home/adking/src/git.ceph.com_ceph-c_40fe9656072005c5f469a2b8ac38bc2b002136b5/qa/suites/orch/cephadm generated 118 jobs (not yet filtered or merged) Traceback (most recent call last): File "/tank/home/adking/teuth-venv/teuthology/virtualenv/bin/teuthology-suite", line 6, in sys.exit(main()) ^^^^^^ File "/tank/home/adking/teuth-venv/teuthology/scripts/suite.py", line 232, in main return teuthology.suite.main(args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tank/home/adking/teuth-venv/teuthology/teuthology/suite/__init__.py", line 140, in main run.prepare_and_schedule() File "/tank/home/adking/teuth-venv/teuthology/teuthology/suite/run.py", line 467, in prepare_and_schedule num_jobs = self.schedule_suite() ^^^^^^^^^^^^^^^^^^^^^ File "/tank/home/adking/teuth-venv/teuthology/teuthology/suite/run.py", line 636, in schedule_suite configs = list(config_merge(configs, **config_merge_kwargs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tank/home/adking/teuth-venv/teuthology/teuthology/suite/merge.py", line 139, in config_merge yaml_cache[path] = (txt, yaml.safe_load(txt)) ^^^^^^^^^^^^^^^^^^^ File "/tank/home/adking/teuth-venv/teuthology/virtualenv/lib/python3.12/site-packages/yaml/__init__.py", line 125, in safe_load return load(stream, SafeLoader) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/tank/home/adking/teuth-venv/teuthology/virtualenv/lib/python3.12/site-packages/yaml/__init__.py", line 81, in load return loader.get_single_data() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/tank/home/adking/teuth-venv/teuthology/virtualenv/lib/python3.12/site-packages/yaml/constructor.py", line 49, in get_single_data node = self.get_single_node() ^^^^^^^^^^^^^^^^^^^^^^ File "/tank/home/adking/teuth-venv/teuthology/virtualenv/lib/python3.12/site-packages/yaml/composer.py", line 36, in get_single_node document = self.compose_document() ^^^^^^^^^^^^^^^^^^^^^^^ File "/tank/home/adking/teuth-venv/teuthology/virtualenv/lib/python3.12/site-packages/yaml/composer.py", line 55, in compose_document node = self.compose_node(None, None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tank/home/adking/teuth-venv/teuthology/virtualenv/lib/python3.12/site-packages/yaml/composer.py", line 84, in compose_node node = self.compose_mapping_node(anchor) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tank/home/adking/teuth-venv/teuthology/virtualenv/lib/python3.12/site-packages/yaml/composer.py", line 133, in compose_mapping_node item_value = self.compose_node(node, item_key) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tank/home/adking/teuth-venv/teuthology/virtualenv/lib/python3.12/site-packages/yaml/composer.py", line 82, in compose_node node = self.compose_sequence_node(anchor) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tank/home/adking/teuth-venv/teuthology/virtualenv/lib/python3.12/site-packages/yaml/composer.py", line 111, in compose_sequence_node node.value.append(self.compose_node(node, index)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tank/home/adking/teuth-venv/teuthology/virtualenv/lib/python3.12/site-packages/yaml/composer.py", line 84, in compose_node node = self.compose_mapping_node(anchor) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tank/home/adking/teuth-venv/teuthology/virtualenv/lib/python3.12/site-packages/yaml/composer.py", line 133, in compose_mapping_node item_value = self.compose_node(node, item_key) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tank/home/adking/teuth-venv/teuthology/virtualenv/lib/python3.12/site-packages/yaml/composer.py", line 84, in compose_node node = self.compose_mapping_node(anchor) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tank/home/adking/teuth-venv/teuthology/virtualenv/lib/python3.12/site-packages/yaml/composer.py", line 133, in compose_mapping_node item_value = self.compose_node(node, item_key) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tank/home/adking/teuth-venv/teuthology/virtualenv/lib/python3.12/site-packages/yaml/composer.py", line 82, in compose_node node = self.compose_sequence_node(anchor) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tank/home/adking/teuth-venv/teuthology/virtualenv/lib/python3.12/site-packages/yaml/composer.py", line 110, in compose_sequence_node while not self.check_event(SequenceEndEvent): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tank/home/adking/teuth-venv/teuthology/virtualenv/lib/python3.12/site-packages/yaml/parser.py", line 98, in check_event self.current_event = self.state() ^^^^^^^^^^^^ File "/tank/home/adking/teuth-venv/teuthology/virtualenv/lib/python3.12/site-packages/yaml/parser.py", line 382, in parse_block_sequence_entry if self.check_token(BlockEntryToken): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tank/home/adking/teuth-venv/teuthology/virtualenv/lib/python3.12/site-packages/yaml/scanner.py", line 115, in check_token while self.need_more_tokens(): ^^^^^^^^^^^^^^^^^^^^^^^ File "/tank/home/adking/teuth-venv/teuthology/virtualenv/lib/python3.12/site-packages/yaml/scanner.py", line 152, in need_more_tokens self.stale_possible_simple_keys() File "/tank/home/adking/teuth-venv/teuthology/virtualenv/lib/python3.12/site-packages/yaml/scanner.py", line 291, in stale_possible_simple_keys raise ScannerError("while scanning a simple key", key.mark, yaml.scanner.ScannerError: while scanning a simple key in "", line 62, column 1: basicConstraints=CA:FALSE ^ could not find expected ':' in "", line 63, column 1: keyUsage=digitalSignature,keyEnc ... ^ --- diff --git a/qa/suites/orch/cephadm/workunits/task/test_nvmeof_mtls_enabled_inline_certs.yaml b/qa/suites/orch/cephadm/workunits/task/test_nvmeof_mtls_enabled_inline_certs.yaml deleted file mode 100644 index 48f8db20303..00000000000 --- a/qa/suites/orch/cephadm/workunits/task/test_nvmeof_mtls_enabled_inline_certs.yaml +++ /dev/null @@ -1,142 +0,0 @@ -overrides: - ceph: - log-ignorelist: - - CEPHADM_FAILED_DAEMON - log-only-match: - - CEPHADM_ -roles: -- - host.a - - mon.a - - mgr.a - - osd.0 -- - host.b - - mon.b - - mgr.b - - osd.1 -- - host.c - - mon.c - - osd.2 - -tasks: -- install: -- cephadm: - -# Deploy nvmeof using INLINE embedded certs (server/client + root CA) -- cephadm.shell: - host.c: - - | - set -ex - - DEPLOY_HOST=${HOSTNAME} - - # 1) Create pool used by nvmeof - ceph osd pool create nvmeof 64 64 replicated - ceph osd pool application enable nvmeof rbd - - # 2) Generate a minimal CA + server/client certs (inline cert source) - mkdir -p /tmp/nvmeof-inline-certs - cd /tmp/nvmeof-inline-certs - - # Get the IP address clients will use: ask Ceph for DEPLOY_HOST addr - SERVER_IP="$(ceph orch host ls -f json | jq -r --arg H "$DEPLOY_HOST" '.[] | select(.hostname==$H) | .addr')" - if [ -z "$SERVER_IP" ] || [ "$SERVER_IP" = "null" ]; then - echo "ERROR: Could not resolve addr for $DEPLOY_HOST from 'ceph orch host ls'." - ceph orch host ls -f json-pretty || true - exit 1 - fi - echo "Using SERVER_IP=$SERVER_IP for certificate SAN (host=$DEPLOY_HOST)" - - # Root CA - openssl req -x509 -newkey rsa:4096 -nodes \ - -keyout ca.key -out ca.crt -days 30 -sha256 \ - -subj "/CN=nvmeof-test-root-ca" - - # Server key + CSR - # CN is not used for modern verification; SANs are what matters. - openssl req -newkey rsa:4096 -nodes \ - -keyout server.key -out server.csr \ - -subj "/CN=${DEPLOY_HOST}" - - # Server cert with SANs (host name + IP used by clients) - cat > server.ext < client.ext < /tmp/nvmeof-inline.yaml -service_type: nvmeof -service_id: nvmeof2.group -placement: - hosts: - - ${HOSTNAME} -spec: - group: group - pool: nvmeof - ssl: true - enable_auth: true - certificate_source: inline -EOT - - echo " server_key: |" >> /tmp/nvmeof-inline.yaml - while read -r LINE; do echo "$LINE" | sed -e "s/^/ /"; done < server.key >> /tmp/nvmeof-inline.yaml - echo " server_cert: |" >> /tmp/nvmeof-inline.yaml - while read -r LINE; do echo "$LINE" | sed -e "s/^/ /"; done < server.crt >> /tmp/nvmeof-inline.yaml - - echo " client_key: |" >> /tmp/nvmeof-inline.yaml - while read -r LINE; do echo "$LINE" | sed -e "s/^/ /"; done < client.key >> /tmp/nvmeof-inline.yaml - echo " client_cert: |" >> /tmp/nvmeof-inline.yaml - while read -r LINE; do echo "$LINE" | sed -e "s/^/ /"; done < client.crt >> /tmp/nvmeof-inline.yaml - - echo " root_ca_cert: |" >> /tmp/nvmeof-inline.yaml - while read -r LINE; do echo "$LINE" | sed -e "s/^/ /"; done < ca.crt >> /tmp/nvmeof-inline.yaml - - # 4) Apply spec - ceph orch apply -i /tmp/nvmeof-inline.yaml - -- cephadm.wait_for_service: - service: nvmeof.nvmeof2.group - -# Basic verification of the CLI path + daemon presence -- cephadm.shell: - host.a: - - | - set -ex - - echo "=== nvmeof daemons ===" - ceph orch ps --daemon-type nvmeof -f json-pretty - - echo "=== test CLI: get nvmeof gateway info (group) ===" - ceph nvmeof gateway info group - - echo "=== orch ls (nvmeof) ===" - ceph orch ls --service_type nvmeof -f json-pretty - - echo "=== done ==="