Project

General

Profile

Actions

Bug #5745

closed

ceph-deploy: mds create command errors out EACCES on next branch

Added by Tamilarasi muthamizhan almost 11 years ago. Updated almost 11 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

mds create command throws EACCES.

config file used:

roles:
- [mon.a, mds.a, osd.0, osd.1]
- [mon.b, osd.2, osd.3]
- [mon.c, client.0]

targets:
  ubuntu@mira057.front.sepia.ceph.com: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDJ3bi5U+cSruKhSrjJ4hgIjkEQ841ymk24S0eh+QnCW1jta7Pe26q5TE5B8862TsSqWNlo04gGTPhKtyVbMH75uzwZUBBnkVa4tGRx1cWR9IDxDutdyQBA028lbMjBd5upr1K+jFVx8TvFvD30UVdacaDH0h1V4CUf65ejb1phSjNhE2DrOdKNYBA9Fl5bqlco9EWi7P3NCShMjeXyloY4IdyIFVwFpqqeSXApXEesb/6wSh81uYtWhp8twOYdNxVu+TPFYhjkcSopC3hKdV+BEAkwzG0TBCoXZg7j42UBB8M6KWhYS1YZl0jPlijTFuNaqbpuq4FJYeNqorhUfqLn
  ubuntu@mira074.front.sepia.ceph.com: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDE/Z5eYFgmJuBkdqZDrCeJHRq3zdJ+Gp10qf9d3qrcGnylz5ulwqFQcbnXX7j1ThA0P1s/UVRM0DNIqn7SieqeFcRFj6ER15UfKvI3Gxk13LJSX68NmQHysNc0q7Gkr8EMuyb2gOVdU5Dt2Sg5nCLQ656F+mX0aBwQkbi7ddSkF1Me9kvgwPvbzjKWhjxGO9ffhVoUK/n9QOXhkREG23jvPNt8YP1eUZmRIUbA7Al8YsmkEFR/9GjE0J4E3dsYJY+Da+zJ3vYlSbeIIDnevhv47miYJW+1WFpfEWJPX5Y1JeFCp9CwEA0dywxWUYYzrmtj8M8yUUox82wXJ93T9toP
  ubuntu@mira080.front.sepia.ceph.com: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDGnNwnG4C8IU3gTmWaNB9YU0gbNeoBAcyD18JRuLJlLMKaZgvD2qvDgjis/4n1Fn0w7yY9YILNAI+fRlifaZRjg0nNyjIB3MpYbK/7oB12sO3R/fpNhA8FU6bt0V/9XQWrdWLe2s1PlTVgucMOVEJnp+3eFSR+3thfR9XXHqjdpOJ7Q1Ra/dLzjk/SP94i0EshvBlPl4kClyEWqKLlkMvZNGzKeJj+J9g8jagvsSJ65fdyi9qcaLVvicuOeL6T4ZGRypPaYfUNLRsPGRjTlqE2IZxC8RBtuyL4sVdFl2hBGT3HhOF4IQuFYTWgWzh9fUDJdwCVI7FH8O3id0QLirE7

tasks:
- install:
    extras: yes 
- ssh_keys:
- ceph-deploy:
    branch:
       dev: next 
    test-mon-destroy: true
- workunit:
    clients:
        client.0:
           - rbd/run_cli_tests.sh

2013-07-24T15:15:24.436 DEBUG:teuthology.orchestra.run:Running [10.214.135.138]: 'cd /home/ubuntu/cephtest/ta1307241513/ceph-deploy && ./ceph-deploy mds create mira074'
2013-07-24T15:15:25.100 INFO:teuthology.orchestra.run.err:Error EACCES: access denied
2013-07-24T15:15:25.102 INFO:teuthology.orchestra.run.err:Traceback (most recent call last):
2013-07-24T15:15:25.102 INFO:teuthology.orchestra.run.err:  File "./ceph-deploy", line 9, in <module>
2013-07-24T15:15:25.104 INFO:teuthology.orchestra.run.err:    load_entry_point('ceph-deploy==1.1', 'console_scripts', 'ceph-deploy')()
2013-07-24T15:15:25.104 INFO:teuthology.orchestra.run.err:  File "/home/ubuntu/cephtest/ta1307241513/ceph-deploy/ceph_deploy/cli.py", line 112, in main
2013-07-24T15:15:25.104 INFO:teuthology.orchestra.run.err:    return args.func(args)
2013-07-24T15:15:25.104 INFO:teuthology.orchestra.run.err:  File "/home/ubuntu/cephtest/ta1307241513/ceph-deploy/ceph_deploy/mds.py", line 195, in mds
2013-07-24T15:15:25.105 INFO:teuthology.orchestra.run.err:    mds_create(args)
2013-07-24T15:15:25.105 INFO:teuthology.orchestra.run.err:  File "/home/ubuntu/cephtest/ta1307241513/ceph-deploy/ceph_deploy/mds.py", line 182, in mds_create
2013-07-24T15:15:25.105 INFO:teuthology.orchestra.run.err:    init=init,
2013-07-24T15:15:25.105 INFO:teuthology.orchestra.run.err:  File "/home/ubuntu/cephtest/ta1307241513/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.3-py2.7.egg/pushy/protocol/proxy.py", line 255, in <lambda>
2013-07-24T15:15:25.106 INFO:teuthology.orchestra.run.err:    (conn.operator(type_, self, args, kwargs))
2013-07-24T15:15:25.106 INFO:teuthology.orchestra.run.err:  File "/home/ubuntu/cephtest/ta1307241513/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.3-py2.7.egg/pushy/protocol/connection.py", line 66, in operator
2013-07-24T15:15:25.106 INFO:teuthology.orchestra.run.err:    return self.send_request(type_, (object, args, kwargs))
2013-07-24T15:15:25.107 INFO:teuthology.orchestra.run.err:  File "/home/ubuntu/cephtest/ta1307241513/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.3-py2.7.egg/pushy/protocol/baseconnection.py", line 329, in send_request
2013-07-24T15:15:25.107 INFO:teuthology.orchestra.run.err:    return self.__handle(m)
2013-07-24T15:15:25.107 INFO:teuthology.orchestra.run.err:  File "/home/ubuntu/cephtest/ta1307241513/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.3-py2.7.egg/pushy/protocol/baseconnection.py", line 645, in __handle
2013-07-24T15:15:25.107 INFO:teuthology.orchestra.run.err:    raise e
2013-07-24T15:15:25.108 INFO:teuthology.orchestra.run.err:pushy.protocol.proxy.ExceptionProxy: Command '['ceph', '--cluster', 'ceph', '--name', 'client.bootstrap-mds', '--keyring', '/var/lib/ceph/bootstrap-mds/ceph.keyring', 'auth', 'get-or-create', 'mds.mira074', 'osd', 'allow *', 'mds', 'allow', 'mon', 'allow rwx', '-o', '/var/lib/ceph/mds/ceph-mira074/keyring']' returned non-zero exit status 13

Actions #1

Updated by Sage Weil almost 11 years ago

  • Status changed from New to 7

pushed fix to ceph-deploy master

Actions #2

Updated by Sage Weil almost 11 years ago

  • Status changed from 7 to In Progress

actually, not suite. see wip-5745, except that isn't right either. it should try that command, and if it fails, try the old variation. that way for dumpling+ we get the new caps, and for older clusters it falls back to the old caps.

Actions #3

Updated by Sage Weil almost 11 years ago

  • Status changed from In Progress to Resolved
Actions #4

Updated by Alfredo Deza almost 11 years ago

Fixed in `next` branch of ceph

Hash: ebb9aceb7971f13ae4032f0943854b2b2c0af28a

And in `master` branch of ceph-deploy

Hash: ceba0e25a374cd317f932d8faefc2ccf99243b8b

Actions

Also available in: Atom PDF