Project

General

Profile

Actions

Bug #6508

closed

ceph-deploy: config push and admin commands broken

Added by Tamilarasi muthamizhan over 10 years ago. Updated over 10 years ago.

Status:
Rejected
Priority:
Urgent
Assignee:
Category:
ceph-deploy
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

test set up: mira025, mira038

dev dumpling version of ceph [] installed and running on mira025 and mira038.

trying to bring a rgw instance running on mira025, hence trying to copy the modified ceph.conf from mira025 to mira038, but unable to do so,


on mira025:

ubuntu@mira025:~/ceph-dep/ceph-deploy$ sudo cat ceph.conf 
[global]
fsid = bcc18aa1-a7c2-47e3-93aa-c26318b41acd
mon_initial_members = mira025, mira038
mon_host = 10.214.132.128,10.214.133.138
auth_supported = cephx
osd_journal_size = 1024
filestore_xattr_use_omap = true

[client.radosgw.gateway]
          host = mira025
          keyring = /etc/ceph/keyring.radosgw.gateway
          rgw socket path = /tmp/radosgw.sock
          log file = /var/log/ceph/radosgw.log 

ubuntu@mira025:~/ceph-dep/ceph-deploy$ ./ceph-deploy config push mira038
[ceph_deploy.cli][INFO  ] Invoked (1.2.7): ./ceph-deploy config push mira038
[ceph_deploy.config][DEBUG ] Pushing config to mira038
[ceph_deploy.sudo_pushy][DEBUG ] will use a remote connection with sudo
[ceph_deploy.config][ERROR ] config file /etc/ceph/ceph.conf exists with different content; use --overwrite-conf to overwrite
[ceph_deploy][ERROR ] GenericError: Failed to config 1 hosts

ubuntu@mira025:~/ceph-dep/ceph-deploy$ ./ceph-deploy config push mira038 --overwrite-conf
usage: ceph-deploy [-h] [-v | -q] [-n] [--version] [--overwrite-conf]
                   [--cluster NAME]
                   COMMAND ...
ceph-deploy: error: unrecognized arguments: --overwrite-conf

same thing happens with admin command as well.

ubuntu@mira025:~/ceph-dep/ceph-deploy$ ./ceph-deploy admin mira038 
[ceph_deploy.cli][INFO  ] Invoked (1.2.7): ./ceph-deploy admin mira038
[ceph_deploy.admin][DEBUG ] Pushing admin keys and conf to mira038
[ceph_deploy.sudo_pushy][DEBUG ] will use a remote connection with sudo
[ceph_deploy.admin][ERROR ] config file /etc/ceph/ceph.conf exists with different content; use --overwrite-conf to overwrite
[ceph_deploy][ERROR ] GenericError: Failed to configure 1 admin hosts

ubuntu@mira025:~/ceph-dep/ceph-deploy$ ./ceph-deploy admin mira038 --overwrite-conf
usage: ceph-deploy [-h] [-v | -q] [-n] [--version] [--overwrite-conf]
                   [--cluster NAME]
                   COMMAND ...
ceph-deploy: error: unrecognized arguments: --overwrite-conf

looks like --overwrite-conf option is not behaving as expected.

Actions #1

Updated by Tamilarasi muthamizhan over 10 years ago

ubuntu@mira025:~/ceph-dep/ceph-deploy$ ./ceph-deploy --version
1.2.7
ubuntu@mira025:~/ceph-dep/ceph-deploy$ sudo ceph -v
ceph version 0.67.4-5-g3a3724b (3a3724b782c53c92c45624ad02df9f0de77f1545)

Actions #2

Updated by Tamilarasi muthamizhan over 10 years ago

  • Status changed from New to Rejected
it works fine when tried with option before the command, as suggested. 

ubuntu@mira025:~/ceph-dep/ceph-deploy$ ./ceph-deploy --overwrite-conf config push mira038
[ceph_deploy.cli][INFO  ] Invoked (1.2.7): ./ceph-deploy --overwrite-conf config push mira038
[ceph_deploy.config][DEBUG ] Pushing config to mira038
[ceph_deploy.sudo_pushy][DEBUG ] will use a remote connection with sudo

Actions

Also available in: Atom PDF