Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #242489

ceph storage

From Gokan Atmaca <linux.gokan@gmail.com>
Newsgroups linux.debian.user
Subject ceph storage
Date 2021-11-28 20:50 +0100
Message-ID <Doylr-81D-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hello

I am installing ceph storage. I have 3 monitors, 3 OSD servers. I am
using the link below for installation. (*) The error I get is as
follows. I couldn't run "fdisk" on the OSD server.

What could cause the problem?


(*)
https://github.com/ceph/ceph-deploy.git

error:

# ceph-deploy disk list ceph-osd1 ceph-osd2 ceph-osd3
[ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf
[ceph_deploy.cli][INFO  ] Invoked (2.1.0): /usr/local/bin/ceph-deploy
disk list ceph-osd1 ceph-osd2 ceph-osd3
[ceph_deploy.cli][INFO  ] ceph-deploy options:
[ceph_deploy.cli][INFO  ]  verbose                       : False
[ceph_deploy.cli][INFO  ]  quiet                         : False
[ceph_deploy.cli][INFO  ]  username                      : None
[ceph_deploy.cli][INFO  ]  overwrite_conf                : False
[ceph_deploy.cli][INFO  ]  ceph_conf                     : None
[ceph_deploy.cli][INFO  ]  cluster                       : ceph
[ceph_deploy.cli][INFO  ]  subcommand                    : list
[ceph_deploy.cli][INFO  ]  cd_conf                       :
<ceph_deploy.conf.cephdeploy.Conf object at 0x7febc9bfaca0>
[ceph_deploy.cli][INFO  ]  default_release               : False
[ceph_deploy.cli][INFO  ]  func                          : <function
disk at 0x7febc9c144c0>
[ceph_deploy.cli][INFO  ]  host                          :
['ceph-osd1', 'ceph-osd2', 'ceph-osd3']
[ceph_deploy.cli][INFO  ]  debug                         : False
[ceph-osd1][DEBUG ] connected to host: ceph-osd1
[ceph-osd1][INFO  ] Running command: fdisk -l
[ceph_deploy][ERROR ] Traceback (most recent call last):
[ceph_deploy][ERROR ]   File
"/usr/local/lib/python3.8/dist-packages/ceph_deploy/util/decorators.py",
line 69, in newfunc
[ceph_deploy][ERROR ]     return f(*a, **kw)
[ceph_deploy][ERROR ]   File
"/usr/local/lib/python3.8/dist-packages/ceph_deploy/cli.py", line 166,
in _main
[ceph_deploy][ERROR ]     return args.func(args)
[ceph_deploy][ERROR ]   File
"/usr/local/lib/python3.8/dist-packages/ceph_deploy/osd.py", line 435,
in disk
[ceph_deploy][ERROR ]     disk_list(args, cfg)
[ceph_deploy][ERROR ]   File
"/usr/local/lib/python3.8/dist-packages/ceph_deploy/osd.py", line 375,
in disk_list
[ceph_deploy][ERROR ]     line = line.decode('utf-8')
[ceph_deploy][ERROR ] AttributeError: 'str' object has no attribute 'decode'
[ceph_deploy][ERROR ]



-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

ceph storage Gokan Atmaca <linux.gokan@gmail.com> - 2021-11-28 20:50 +0100
  Re: ceph storage Pierre-Elliott Bécue <peb@debian.org> - 2021-11-28 21:10 +0100
    Re: ceph storage Gokan Atmaca <linux.gokan@gmail.com> - 2021-11-29 05:10 +0100

csiph-web