Project

General

Profile

Bug #11559

Error with calamari_osd_location

Added by Yannick Van Styvendael about 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
High
Category:
Backend (services)
Target version:
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
1 - critical
Reviewed:
Affected Versions:
ceph-qa-suite:
ceph-deploy, rados, rgw, upgrade/hammer
Crash signature (v1):
Crash signature (v2):

Description

Hi,

I installed successfully the Calamari server running on an Ubuntu 12.04.5.
The ceph cluster is installed on a Red Hat 6.3.

I installed the salt and diamond stuff. When a restart the ceph services, I got this message :
ERROR:calamari_osd_location:Error 2 running ceph config-key get:'Error ENOENT: error obtaining 'daemon-private/osd.0/v1/calamari/osd_crush_location': (2) No such file or directory'
ERROR:calamari_osd_location:Error 2 running ceph config-key get:'Error ENOENT: error obtaining 'daemon-private/osd.0/v1/calamari/osd_crush_location': (2) No such file or directory'

I also receive this error when I run the command /usr/bin/calamari-crush-location
[root@UAT1 ~]# /usr/bin/calamari-crush-location --id 0 --type osd
ERROR:calamari_osd_location:Error 2 running ceph config-key get:'Error ENOENT: error obtaining 'daemon-private/osd.0/v1/calamari/osd_crush_location': (2) No such file or directory'
ERROR:calamari_osd_location:Error 2 running ceph config-key get:'Error ENOENT: error obtaining 'daemon-private/osd.0/v1/calamari/osd_crush_location': (2) No such file or directory'
host=UAT1

So on Calamari WebApp, I do not have any cluster detected.
1 Ceph servers are connected to Calamari, but no Ceph cluster has been created yet. Please use ceph-deploy to create a cluster; please see the Inktank Ceph Enterprise

Associated revisions

Revision 7227ee4b (diff)
Added by Gregory Meno about 6 years ago

calamari: fix getting previous CRUSH location

Fixes #11559
Signed-off-by: Gregory Meno <>

Revision 78628542 (diff)
Added by Gregory Meno almost 6 years ago

calamari: fix getting previous CRUSH location

Fixes #11559
Signed-off-by: Gregory Meno <>

(cherry picked from commit 7227ee4be9e345a4e9acdba1ff867b31e13f2414)

History

#1 Updated by Christina Meno about 6 years ago

I agree this is a serious issue. I will look into it.
Would you please tell me a little more about your setup.

Is this a new calamari install or an upgrade?
Can you tell me what version of ceph your cluster is running?

#2 Updated by Yannick Van Styvendael about 6 years ago

Hi,

The Calamari install is a new one.
The Ceph cluster is running latest version (Hammer - 0.94.1)

Kind regards,
yannick

#3 Updated by Christina Meno about 6 years ago

reproduced. I will begin a fix now.
[ubuntu@vpm041 ~]$ sudo service ceph start osd === osd.0 ===
Starting Ceph osd.0 on vpm041...already running === osd.0 ===
Starting Ceph osd.0 on vpm041...already running
[ubuntu@vpm041 ~]$ sudo service ceph restart osd === osd.0 === === osd.0 ===
Stopping Ceph osd.0 on vpm041...kill 24563...kill 24563...done === osd.0 ===
ERROR:calamari_osd_location:Error 2 running ceph config-key get:'Error ENOENT: error obtaining 'daemon-private/osd.0/v1/calamari/osd_crush_location': (2) No such file or directory'
ERROR:calamari_osd_location:Error 2 running ceph config-key get:'Error ENOENT: error obtaining 'daemon-private/osd.0/v1/calamari/osd_crush_location': (2) No such file or directory'
create-or-move updated item name 'osd.0' weight 0.19 at location {host=vpm041} to crush map
Starting Ceph osd.0 on vpm041...
Running as unit run-6296.service.
[ubuntu@vpm041 ~]$

#4 Updated by Christina Meno about 6 years ago

  • Category set to Backend (services)
  • Status changed from New to In Progress
  • Assignee set to Christina Meno
  • Target version set to 1.3-rc1

#5 Updated by Christina Meno about 6 years ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF