Project

General

Profile

Actions

Bug #6551

closed

ceph-deploy copy config and key to cluster failure

Added by Jonathan Gowar over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
ceph-deploy
Target version:
-
% Done:

0%

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

Description

Hi,

Following the following 2 wiki pages:

http://ceph.com/docs/master/start/quick-start-preflight/
http://ceph.com/docs/master/start/quick-ceph-deploy/

I hit upon a problem at step 6 of "Create a Cluster". Here is the output of the error:-

ceph@pp-ceph-admin:~$ ceph-deploy admin pp-ceph-admin pp-ceph-1 pp-ceph-2 pp-ceph-3
[ceph_deploy.cli][INFO ] Invoked (1.2.7): /usr/bin/ceph-deploy admin pp-ceph-admin pp-ceph-1 pp-ceph-2 pp-ceph-3
[ceph_deploy.admin][DEBUG ] Pushing admin keys and conf to pp-ceph-admin
[ceph_deploy.sudo_pushy][DEBUG ] will use a local connection with sudo
Traceback (most recent call last):
File "/usr/bin/ceph-deploy", line 21, in <module>
sys.exit(main())
File "/usr/lib/python2.7/dist-packages/ceph_deploy/util/decorators.py", line 83, in newfunc
return f(*a, **kw)
File "/usr/lib/python2.7/dist-packages/ceph_deploy/cli.py", line 150, in main
return args.func(args)
File "/usr/lib/python2.7/dist-packages/ceph_deploy/admin.py", line 40, in admin
overwrite=args.overwrite_conf,
File "/usr/lib/python2.7/dist-packages/pushy/protocol/proxy.py", line 255, in <lambda>
(conn.operator(type_, self, args, kwargs))
File "/usr/lib/python2.7/dist-packages/pushy/protocol/connection.py", line 66, in operator
return self.send_request(type_, (object, args, kwargs))
File "/usr/lib/python2.7/dist-packages/pushy/protocol/baseconnection.py", line 329, in send_request
return self.__handle(m)
File "/usr/lib/python2.7/dist-packages/pushy/protocol/baseconnection.py", line 645, in __handle
raise e
pushy.protocol.proxy.ExceptionProxy: [Errno 2] No such file or directory: '/etc/ceph/ceph.conf.3240.tmp'

Actions #1

Updated by Jonathan Gowar over 10 years ago

As a work-around I created the /etc/ceph directory, and then ran the command again, and it passed:-

ceph@pp-ceph-admin:~$ sudo mkdir /etc/ceph/
ceph@pp-ceph-admin:~$ ceph-deploy admin pp-ceph-admin pp-ceph-1 pp-ceph-2 pp-ceph-3
[ceph_deploy.cli][INFO ] Invoked (1.2.7): /usr/bin/ceph-deploy admin pp-ceph-admin pp-ceph-1 pp-ceph-2 pp-ceph-3
[ceph_deploy.admin][DEBUG ] Pushing admin keys and conf to pp-ceph-admin
[ceph_deploy.sudo_pushy][DEBUG ] will use a local connection with sudo
[ceph_deploy.sudo_pushy][DEBUG ] will use a local connection with sudo
[ceph_deploy.admin][DEBUG ] Pushing admin keys and conf to pp-ceph-1
[ceph_deploy.sudo_pushy][DEBUG ] will use a remote connection with sudo
[ceph_deploy.sudo_pushy][DEBUG ] will use a remote connection with sudo
[ceph_deploy.admin][DEBUG ] Pushing admin keys and conf to pp-ceph-2
[ceph_deploy.sudo_pushy][DEBUG ] will use a remote connection with sudo
[ceph_deploy.sudo_pushy][DEBUG ] will use a remote connection with sudo
[ceph_deploy.admin][DEBUG ] Pushing admin keys and conf to pp-ceph-3
[ceph_deploy.sudo_pushy][DEBUG ] will use a remote connection with sudo
[ceph_deploy.sudo_pushy][DEBUG ] will use a remote connection with sudo

Actions #2

Updated by Ian Colle over 10 years ago

  • Target version deleted (v0.72-Dumpling)
Actions #3

Updated by Alfredo Deza over 10 years ago

  • Status changed from New to Fix Under Review

Should be fixed with this pull request: https://github.com/ceph/ceph-deploy/pull/107

Actions #4

Updated by Alfredo Deza over 10 years ago

  • Status changed from Fix Under Review to Resolved

merged into ceph-deploy master branch: 0df07ba

Actions

Also available in: Atom PDF