Skip to content

Commit

Permalink
fix: root username and password
Browse files Browse the repository at this point in the history
  • Loading branch information
bai-charisu committed Jul 17, 2020
1 parent 1f6ee14 commit 9c110e7
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions conf/chunkserver.conf.example
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ clone.thread_num=10
# 克隆的队列深度
clone.queue_depth=6000
# curve用户名
curve.root_username=xxx
curve.root_username=root
# curve密码
curve.root_password=xxx
curve.root_password=root_password
# client配置文件
curve.config_path=conf/cs_client.conf
# s3配置文件
Expand Down
4 changes: 2 additions & 2 deletions conf/mds.conf
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ mds.file.scanIntevalTimeUs=500000
# auth settings
#
# root用户密码
mds.auth.rootUserName=xxx
mds.auth.rootPassword=xxx
mds.auth.rootUserName=root
mds.auth.rootPassword=root_password

#
# file lock setting
Expand Down
4 changes: 2 additions & 2 deletions conf/snapshot_clone_server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
# client配置文件位置
client.config_path=conf/cs_client.conf
# mds root 用户名
mds.rootUser=xxx
mds.rootUser=root
# mds root 密码
mds.rootPassword=xxx
mds.rootPassword=root_password
# 调用client方法的重试总时间
client.methodRetryTimeSec=300
# 调用client方法重试间隔时间
Expand Down
4 changes: 2 additions & 2 deletions curve-ansible/roles/generate_config/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
#

# 通用配置
curve_root_username: xxx
curve_root_password: xxx
curve_root_username: root
curve_root_password: root_password
chunk_size: 16777216
file_expired_time_us: 5000000

Expand Down
4 changes: 2 additions & 2 deletions curve-ansible/server.ini
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,5 @@ deploy_dir=/home/curve
s3_ak=""
s3_sk=""
ansible_ssh_port=22
curve_root_username=xxx
curve_root_password=xxx
curve_root_username=root
curve_root_password=root_password

0 comments on commit 9c110e7

Please sign in to comment.