Project

General

Profile

Actions

Bug #6300

closed

ceph-deploy: mon create prompts for password

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

Status:
Resolved
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

ceph-deploy version: 1.2.3

ceph version: dumpling [v0.67.3]

on a single node setup, "mon create" command prompts for password, not sure if some recent changes to ceph-deploy has caused this to happen.

ubuntu@mira074:~/ceph-deploy$ ./ceph-deploy mon create mira074
[ceph_deploy.mon][DEBUG ] Deploying mon, cluster ceph hosts mira074
[ceph_deploy.mon][DEBUG ] detecting platform for host mira074 ...
[ceph_deploy.sudo_pushy][DEBUG ] will use a local connection with sudo
[ceph_deploy.mon][INFO  ] distro info: Ubuntu 12.04 precise
[mira074][DEBUG ] determining if provided host has same hostname in remote
[mira074][DEBUG ] deploying mon to mira074
[mira074][DEBUG ] remote hostname: mira074
[mira074][INFO  ] write cluster configuration to /etc/ceph/{cluster}.conf
[mira074][INFO  ] creating path: /var/lib/ceph/mon/ceph-mira074
[mira074][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-mira074/done
[mira074][DEBUG ] done path does not exist: /var/lib/ceph/mon/ceph-mira074/done
[mira074][INFO  ] creating keyring file: /var/lib/ceph/tmp/ceph-mira074.mon.keyring
[mira074][INFO  ] create the monitor keyring file
[mira074][INFO  ] Running command: ceph-mon --cluster ceph --mkfs -i mira074 --keyring /var/lib/ceph/tmp/ceph-mira074.mon.keyring
[mira074][INFO  ] ceph-mon: mon.noname-a 10.214.135.138:6789/0 is local, renaming to mon.mira074
[mira074][INFO  ] ceph-mon: set fsid to 32f07b67-2895-4ed8-b391-f1f398e511ae
[mira074][INFO  ] ceph-mon: created monfs at /var/lib/ceph/mon/ceph-mira074 for mon.mira074
[mira074][INFO  ] unlinking keyring file /var/lib/ceph/tmp/ceph-mira074.mon.keyring
[mira074][INFO  ] create a done file to avoid re-doing the mon deployment
[mira074][INFO  ] create the init path if it does not exist
Warning: Permanently added 'mira074' (ECDSA) to the list of known hosts.
ubuntu@mira074's password: 

Actions #1

Updated by Alfredo Deza over 10 years ago

Actually, this is kind of valid (my initial take on it was that keys where missing).

This is caused by how ceph-deploy is using the new library to connect, disregarding the fact that it may be connecting to the current host.

Actions #2

Updated by Alfredo Deza over 10 years ago

  • Status changed from New to 12
Actions #3

Updated by Alfredo Deza over 10 years ago

  • Status changed from 12 to 15

This is now fixed in the library handling ceph-deploy connections: https://github.com/alfredodeza/remoto/commit/ed27375be84edf57baf23586f7e0bfbf6174b7cb

But it will take a release of ceph-deploy to see it through. Leaving it open for now until we do a release.

Actions #4

Updated by Alfredo Deza over 10 years ago

  • Status changed from 15 to Fix Under Review
Actions #5

Updated by Alfredo Deza over 10 years ago

  • Status changed from Fix Under Review to Resolved

Merged into ceph-deploy master branch with hash: 1c3114a

Actions

Also available in: Atom PDF