Skip to content

ydb admin cluster config fetch doesn't work on today's main #14765

@blinkov

Description

@blinkov

I've been trying out #14711 and it didn't work:

ubuntu@static-node-1:~$ /opt/ydb/bin/ydb config profile create default -d /Root/database -e grpcs://$(hostname -f):2135 --ca-file /opt/ydb/certs/ca.crt --user root --password-file ~/password
ubuntu@static-node-1:~$ /opt/ydb/bin/ydb -p default yql -s 'select 1;'
┌─────────┐
│ column0 │
├─────────┤
│ 1       │
└─────────┘
ubuntu@static-node-1:~$ /opt/ydb/bin/ydb -p default admin cluster config fetch
YAML config is absent on this cluster.
ubuntu@static-node-1:~$ head -3 /opt/ydb/cfg/ydbd-config.yaml 
storage_config_generation: 0
static_erasure: mirror-3-dc
host_configs:

Both ydbd and ydb are built from the fresh main branch and it's a new cluster deployed from scratch:

ubuntu@static-node-1:~$ /opt/ydb/bin/ydbd -V
Git info:
    Commit: 0402fc0225de7587fb71303b66a54f2716820e96
    Branch: heads/main
    Author: Ilnaz Nizametdinov <ilnaz@ydb.tech>
    Summary: Mark options that are allowed to be used in the database configuration (#14761)

Other info:
    Build by: blinkov
    Top src dir: /home/blinkov/ydb-ansible-examples/3-nodes-mirror-3-dc/files/ydb-git
    Top build dir: /home/blinkov/.ya/build
    Hostname: oss-blinkov
    Host information: 
        Linux oss-blinkov 6.8.0-52-generic #53-Ubuntu SMP PREEMPT_DYNAMIC Sat Jan 11 00:06:25 UTC 2025 x86_64

    
Build info:
    Compiler: /home/blinkov/.ya/tools/v4/7599469156/bin/clang++
    Compiler version: 
        clang version 18.1.8
        Target: x86_64-unknown-linux-gnu
        Thread model: posix
        InstalledDir: /home/blinkov/.ya/tools/v4/7599469156/bin
    Compile flags: -pipe -m64 -O3 -g -fdebug-default-version=4 -ggnu-pubnames -fdebug-info-for-profiling -fexceptions -fno-common -ffunction-sections -fdata-sections -fuse-init-array -fcolor-diagnostics -faligned-allocation -Werror -Wall -Wextra -Wno-parentheses -Wno-implicit-const-int-float-conversion -Wno-unknown-warning-option -D_THREAD_SAFE -D_PTHREADS -D_REENTRANT -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_YNDX_LIBUNWIND_ENABLE_EXCEPTION_BACKTRACE -D__LONG_LONG_SUPPORTED -DSSE_ENABLED=1 -DSSE3_ENABLED=1 -DSSSE3_ENABLED=1 -DSSE41_ENABLED=1 -DSSE42_ENABLED=1 -DPOPCNT_ENABLED=1 -DCX16_ENABLED=1 -fno-omit-frame-pointer -Wno-unknown-argument -UNDEBUG -Wno-array-parameter -Wno-deprecate-lax-vec-conv-all -Wno-unqualified-std-cast-call -Wno-unused-but-set-parameter -Wno-implicit-function-declaration -Wno-int-conversion -Wno-incompatible-function-pointer-types -Wno-address-of-packed-member -Wno-deprecated-this-capture -Wno-c++11-narrowing-const-reference -Wno-missing-designated-field-initializers -Wno-packed-non-pod -Wno-format -Wno-vla-cxx-extension -Wno-invalid-offsetof -Wno-include-angled-in-module-purview -DCATBOOST_OPENSOURCE=yes -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -mcx16 -UNDEBUG -Wno-array-parameter -Wno-deprecate-lax-vec-conv-all -Wno-unqualified-std-cast-call -Wno-unused-but-set-parameter -Wno-implicit-function-declaration -Wno-int-conversion -Wno-incompatible-function-pointer-types -Wno-address-of-packed-member -Wno-deprecated-this-capture -Wno-c++11-narrowing-const-reference -Wno-missing-designated-field-initializers -Wno-packed-non-pod -Wno-format -Wno-vla-cxx-extension -Wno-invalid-offsetof -Wno-include-angled-in-module-purview -std=c++20 -Wimport-preprocessor-directive-pedantic -Woverloaded-virtual -Wno-ambiguous-reversed-operator -Wno-defaulted-function-deleted -Wno-deprecated-anon-enum-enum-conversion -Wno-deprecated-enum-enum-conversion -Wno-deprecated-enum-float-conversion -Wno-deprecated-volatile -Wno-pessimizing-move -Wno-undefined-var-template -nostdinc++ -DCATBOOST_OPENSOURCE=yes -nostdinc++

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions