[mon01][WARNIN] To connect to download.ceph.com insecurely, use `--no-check-certificate'.
I’ve upgraded the ceph-deploy, and I used the command:
ceph-deploy install --release luminous mon01 osd01 osd02
but this time it gives certificate errors. I’m behind the corporate Proxy:
[mon01][DEBUG ] connection detected need for sudo
[mon01][DEBUG ] connected to host: mon01
[mon01][DEBUG ] detect platform information from remote host
[mon01][DEBUG ] detect machine type
[ceph_deploy.install][INFO ] Distro info: Ubuntu 16.04 xenial
[mon01][INFO ] installing Ceph on mon01
[mon01][INFO ] Running command: sudo env DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get --assume-yes -q --no-install-recommends install ca-certificates apt-transport-https
[mon01][DEBUG ] Reading package lists...
[mon01][DEBUG ] Building dependency tree...
[mon01][DEBUG ] Reading state information...
[mon01][DEBUG ] apt-transport-https is already the newest version (1.2.24).
[mon01][DEBUG ] ca-certificates is already the newest version (20170717~16.04.1).
[mon01][DEBUG ] 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
[mon01][INFO ] Running command: sudo wget -O release.asc https://download.ceph.com/
keys/release.asc [mon01][WARNIN] --2018-01-05 12:00:33-- https://download.ceph.com/
keys/release.asc [mon01][WARNIN] Resolving download.ceph.com (download.ceph.com)... 158.69.68.124, 2607:5300:201:2000::3:58a1
[mon01][WARNIN] Connecting to download.ceph.com (download.ceph.com)|158.69.68.
124|:443... connected. [mon01][WARNIN] ERROR: cannot verify download.ceph.com's certificate, issued by ‘CN=swcgint1.hvlnet.net’:
[mon01][WARNIN] Self-signed certificate encountered.
[mon01][WARNIN] To connect to download.ceph.com insecurely, use `--no-check-certificate'.
[mon01][WARNIN] command returned non-zero exit status: 5
[mon01][INFO ] Running command: sudo apt-key add release.asc
[mon01][WARNIN] gpg: no valid OpenPGP data found.
[mon01][ERROR ] RuntimeError: command returned non-zero exit status: 2
[ceph_deploy][ERROR ] RuntimeError: Failed to execute command: apt-key add release.asc
Is it possible to overcome this or do I need to use the manual installation? I’m using Ubuntu 16.04.
Thank you,
Atatür
From: Sergey Malinin [mailto:hell@xxxxxxxxxxx]
Sent: Friday, January 5, 2018 11:56 AM
To: Hüseyin Atatür YILDIRIM <hyildirim@xxxxxxxxxxxxxxx>; ceph-users@xxxxxxxxxxxxxx
Subject: Re: "ceph -s" shows no osds
1.5.39 can be installed from “luminous” repo::
From: Hüseyin Atatür YILDIRIM <hyildirim@xxxxxxxxxxxxxxx>
Sent: Friday, January 5, 2018 9:16:48 AM
To: Sergey Malinin; ceph-users@xxxxxxxxxxxxxx
Subject: RE: "ceph -s" shows no osds
Thanks a lot Sergey. I searched about the upgrade of ceph-deploy and found out “pip install” is the most reasonable one; normal software repo install (i.e. sudo apt install ceph-deploy) always installs version 1.32.
Do you agree with this ?
Regards,
Atatür
From: Sergey Malinin [mailto:hell@xxxxxxxxxxx]
Sent: Thursday, January 4, 2018 3:46 PM
To: Hüseyin Atatür YILDIRIM <hyildirim@xxxxxxxxxxxxxxx>; ceph-users@xxxxxxxxxxxxxx
Subject: Re: "ceph -s" shows no osds
Mgr installation was introduced in 1.5.38, you need to upgrade ceph-deploy.
From: Hüseyin Atatür YILDIRIM <hyildirim@xxxxxxxxxxxxxxx>
Sent: Thursday, January 4, 2018 2:01:57 PM
To: Sergey Malinin; ceph-users@xxxxxxxxxxxxxx
Subject: RE: "ceph -s" shows no osds
Hi,
ceph-deploy --version
1.5.32
Thank you,
Atatür
From: Sergey Malinin [mailto:hell@xxxxxxxxxxx]
Sent: Thursday, January 4, 2018 12:51 PM
To: Hüseyin Atatür YILDIRIM <hyildirim@xxxxxxxxxxxxxxx>; ceph-users@xxxxxxxxxxxxxx
Subject: Re: "ceph -s" shows no osds
What is you “ceph-deploy --version” ?
From: Hüseyin Atatür YILDIRIM <hyildirim@xxxxxxxxxxxxxxx>
Sent: Thursday, January 4, 2018 9:14:39 AM
To: Sergey Malinin; ceph-users@xxxxxxxxxxxxxx
Subject: RE: "ceph -s" shows no osds
Hello Sergey,
I issued the mgr create command and it fails with
ceph-deploy mgr create mon01
usage: ceph-deploy [-h] [-v | -q] [--version] [--username USERNAME]
[--overwrite-conf] [--cluster NAME] [--ceph-conf CEPH_CONF]
COMMAND ...
ceph-deploy: error: argument COMMAND: invalid choice: 'mgr' (choose from 'new', 'install', 'rgw', 'mon', 'mds', 'gatherkeys', 'disk', 'osd', 'admin', 'repo', 'config', 'uninstall', 'purge', 'purgedata', 'calamari', 'forgetkeys', 'pkg')
Any ideas?
Thank you..
From: Sergey Malinin [mailto:hell@xxxxxxxxxxx]
Sent: Wednesday, January 3, 2018 5:56 PM
To: Hüseyin Atatür YILDIRIM <hyildirim@xxxxxxxxxxxxxxx>; ceph-users@xxxxxxxxxxxxxx
Subject: Re: "ceph -s" shows no osds
What version are you using? Luminous needs mgr daemons running.
From: ceph-users <ceph-users-bounces@lists.
ceph.com > on behalf of Hüseyin Atatür YILDIRIM <hyildirim@xxxxxxxxxxxxxxx>
Sent: Wednesday, January 3, 2018 5:15:30 PM
To: ceph-users@xxxxxxxxxxxxxx
Subject: "ceph -s" shows no osds
Hello,
I try to setup Ceph cluster on Ubuntu 16.04. I’ve setup 1 monitor-osd (hostname mon01) and 2 osd hosts (osd01 and osd02). At one stage, I issued
ceph-deploy osd create mon01:sdb1 osd01:sdb1 osd02:sdb1
and ran successfully. But when I issued below from the admin host:
ssh mon01 sudo ceph –s
cluster 9c7303db-56ab-4ddf-9fb8-
1882754a4411 health HEALTH_ERR
64 pgs are stuck inactive for more than 300 seconds
64 pgs stuck inactive
64 pgs stuck unclean
no osds
monmap e1: 1 mons at {mon01=192.168.122.158:6789/0}
election epoch 4, quorum 0 mon01
osdmap e1: 0 osds: 0 up, 0 in
flags sortbitwise,require_jewel_osds
pgmap v2: 64 pgs, 1 pools, 0 bytes data, 0 objects
0 kB used, 0 kB / 0 kB avail
64 creating
There’s no osds in the cluster. Can you please help?
Regards,
Atatur
Hüseyin Atatür YILDIRIM
SİSTEM MÜHENDİSİÜniversiteler Mah. İhsan Doğramacı Bul. ODTÜ Teknokent Havelsan A.Ş. 23/B Çankaya Ankara TÜRKİYE
YASAL UYARI: Bu elektronik posta işbu linki kullanarak ulaşabileceğiniz Koşul ve Şartlar dokümanına tabidir.
LEGAL NOTICE: This e-mail is subject to the Terms and Conditions document which can be accessed with this link.
Lütfen gerekmedikçe bu sayfa ve eklerini yazdırmayınız / Please consider the environment before printing this email
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph. com
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com