Skip to content

Instantly share code, notes, and snippets.

@leseb
Created June 22, 2022 09:13
Show Gist options
  • Save leseb/51c455219520a20f665f4770ce2d7f05 to your computer and use it in GitHub Desktop.
Save leseb/51c455219520a20f665f4770ce2d7f05 to your computer and use it in GitHub Desktop.
bash-4.4$ radosgw-admin --no-mon-config --rgw-backend-store=dbstore --dbstore-db-dir=/var/lib/ceph/radosgw/data user create --uid=leseb --display-name=leseb
did not load config file, using default settings.
2022-06-22T09:10:05.800+0000 7f2ed43eb500 -1 Errors while parsing config file!
2022-06-22T09:10:05.800+0000 7f2ed43eb500 -1 can't open ceph.conf: (2) No such file or directory
2022-06-22T09:10:05.800+0000 7f2ed43eb500 -1 Errors while parsing config file!
2022-06-22T09:10:05.800+0000 7f2ed43eb500 -1 can't open ceph.conf: (2) No such file or directory
2022-06-22T09:10:05.801+0000 7f2ed43eb500 0 rgw dbstore: DB initialization full db_path(/var/lib/ceph/radosgw/data/dbstore-default_ns)
2022-06-22T09:10:05.801+0000 7f2ed43eb500 0 rgw DBStore backend: Opened database(/var/lib/ceph/radosgw/data/dbstore-default_ns.db) successfully
2022-06-22T09:10:05.801+0000 7f2ed43eb500 0 rgw DBStore backend: DB successfully initialized - name:/var/lib/ceph/radosgw/data/dbstore-default_ns
2022-06-22T09:10:05.802+0000 7f2ed43eb500 0 In GetUser - No user with query(user_id), user_id(leseb) found
2022-06-22T09:10:05.803+0000 7f2ed43eb500 0 In GetUser - No user with query(access_key), user_id() found
2022-06-22T09:10:05.803+0000 7f2ed43eb500 0 In GetUser - No user with query(user_id), user_id(leseb) found
{
"user_id": "leseb",
"display_name": "leseb",
"email": "",
"suspended": 0,
"max_buckets": 1000,
"subusers": [],
"keys": [
{
"user": "leseb",
"access_key": "144CWPI96V6ABIBNAPMK",
"secret_key": "fplJnDFwAer4q0QvjfHPwymGpXkbCetsAiAGSmSu"
}
],
"swift_keys": [],
"caps": [],
"op_mask": "read, write, delete",
"default_placement": "",
"default_storage_class": "",
"placement_tags": [],
"bucket_quota": {
"enabled": false,
"check_on_raw": false,
"max_size": -1,
"max_size_kb": 0,
"max_objects": -1
},
"user_quota": {
"enabled": false,
"check_on_raw": false,
"max_size": -1,
"max_size_kb": 0,
"max_objects": -1
},
"temp_url_keys": [],
"type": "rgw",
"mfa_ids": []
}
bash-4.4$ radosgw-admin user list --no-mon-config --rgw-backend-store=dbstore --dbstore-db-dir=/var/lib/ceph/radosgw/data
did not load config file, using default settings.
2022-06-22T09:10:12.920+0000 7fdf5667c500 -1 Errors while parsing config file!
2022-06-22T09:10:12.920+0000 7fdf5667c500 -1 can't open ceph.conf: (2) No such file or directory
2022-06-22T09:10:12.920+0000 7fdf5667c500 -1 Errors while parsing config file!
2022-06-22T09:10:12.920+0000 7fdf5667c500 -1 can't open ceph.conf: (2) No such file or directory
2022-06-22T09:10:12.921+0000 7fdf5667c500 0 rgw dbstore: DB initialization full db_path(/var/lib/ceph/radosgw/data/dbstore-default_ns)
2022-06-22T09:10:12.921+0000 7fdf5667c500 0 rgw DBStore backend: Opened database(/var/lib/ceph/radosgw/data/dbstore-default_ns.db) successfully
2022-06-22T09:10:12.922+0000 7fdf5667c500 0 rgw DBStore backend: DB successfully initialized - name:/var/lib/ceph/radosgw/data/dbstore-default_ns
[]
bash-4.4$ radosgw-admin --no-mon-config --rgw-backend-store=dbstore --dbstore-db-dir=/var/lib/ceph/radosgw/data user create --uid=leseb --display-name=leseb
did not load config file, using default settings.
2022-06-22T09:10:45.943+0000 7f0d24155500 -1 Errors while parsing config file!
2022-06-22T09:10:45.943+0000 7f0d24155500 -1 can't open ceph.conf: (2) No such file or directory
2022-06-22T09:10:45.943+0000 7f0d24155500 -1 Errors while parsing config file!
2022-06-22T09:10:45.943+0000 7f0d24155500 -1 can't open ceph.conf: (2) No such file or directory
2022-06-22T09:10:45.944+0000 7f0d24155500 0 rgw dbstore: DB initialization full db_path(/var/lib/ceph/radosgw/data/dbstore-default_ns)
2022-06-22T09:10:45.944+0000 7f0d24155500 0 rgw DBStore backend: Opened database(/var/lib/ceph/radosgw/data/dbstore-default_ns.db) successfully
2022-06-22T09:10:45.944+0000 7f0d24155500 0 rgw DBStore backend: DB successfully initialized - name:/var/lib/ceph/radosgw/data/dbstore-default_ns
could not create user: unable to parse parameters, user: leseb exists
bash-4.4$ grep -a leseb /var/lib/ceph/radosgw/data/dbstore-default_ns.db
)��#}indexsqlite_autoindex_/var/lib/ceph/radosgw/data/dbstore-default_ns_user_table_1/var/lib/ceph/radosgw/data/dbstore-defaulLL� _useesebleseb144CWPI96V6ABIBNAPMKfplJnDFwAer4q0QvjfHPwymGpXkbCetsAiAGSmSu144CWPI96V6ABIBNAPMKH144CWPI96V6ABIBNAPMK(fplJnDFLLer4q0Qehsadyehudayehuda@redhat.comblaasdblablaasd�������������������������������������������������UserTAG
��� leseb yehsad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment