-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 2.0.16
-
Fix Version/s: None
-
Component/s: Backend: Ceph, CLI
-
Labels:None
Sometimes the 'oaconfig install' fails if a related Ceph cluster is in state error or warning:
Database openattic exists, owned by openattic Creating tables ... Installing custom SQL ... Installing indexes ... Installed 70 object(s) from 2 fixture(s) We have an admin already, not creating default user. Found lo Found eth0 Found eth1 The authentication token for 'openattic' does already exist. checking disk /dev/sdc checking disk /dev/sdd checking disk /dev/sda checking disk /dev/sdb Checking Ceph cluster ceph (09524f96-aca6-4d6d-b4f7-7b77d0db3181)... known Checking Ceph OSD 0... known Checking Ceph OSD 1... known Checking Ceph OSD 2... known Checking Ceph OSD 3... known Checking Ceph OSD 4... known Checking Ceph OSD 5... known Checking Ceph OSD 6... added Checking Ceph OSD 7... added Checking Ceph pool rbd... known Checking Ceph pool cephfs_data... known Checking Ceph pool cephfs_metadata... known Checking Ceph pool .rgw.root... known Checking Ceph pool default.rgw.control... known Checking Ceph pool default.rgw.data.root... known Checking Ceph pool default.rgw.gc... known Checking Ceph pool default.rgw.log... known Checking Ceph pool default.rgw.users.uid... known Checking Ceph pool default.rgw.users.email... known Checking Ceph pool default.rgw.users.keys... known Checking Ceph pool default.rgw.users.swift... known Checking Ceph pool pera... known Checking Ceph pool beograd... known Checking Ceph mds ix64ph1079... skipped Checking Ceph mon ix64ph1079... skipped Checking Ceph mon ix64ph1080... skipped Checking Ceph mon ix64ph1081... skipped Checking Ceph auth entity mds.ix64ph1079... found Checking Ceph auth entity osd.0... found Checking Ceph auth entity osd.1... found Checking Ceph auth entity osd.2... found Checking Ceph auth entity osd.3... found Checking Ceph auth entity osd.4... found Checking Ceph auth entity osd.5... found Checking Ceph auth entity osd.6... added Checking Ceph auth entity osd.7... added Checking Ceph auth entity client.admin... found Checking Ceph auth entity client.bootstrap-mds... found Checking Ceph auth entity client.bootstrap-osd... found Checking Ceph auth entity client.bootstrap-rgw... found Checking Ceph auth entity client.rgw.gateway1... found Checking Ceph auth entity client.rgw.gateway10... found Checking Ceph auth entity client.rgw.gateway2... found Checking Ceph auth entity client.rgw.gateway3... found Checking Ceph auth entity client.rgw.gateway4... found Checking Ceph auth entity client.rgw.gateway5... found Checking Ceph auth entity client.rgw.gateway6... found Checking Ceph auth entity client.rgw.gateway7... found Checking Ceph auth entity client.rgw.gateway8... found Checking Ceph auth entity client.rgw.gateway9... found Updating Nagios configs: adding detected Ceph clusters Traceback (most recent call last): File "manage.py", line 26, in <module> execute_from_command_line(sys.argv) File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line utility.execute() File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv self.execute(*args, **options.__dict__) File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute output = self.handle(*args, **options) File "/usr/share/openattic/sysutils/management/commands/post_install.py", line 49, in handle sysutils.models.post_install.send(sender=sysutils.models) File "/usr/lib/python2.7/site-packages/django/dispatch/dispatcher.py", line 185, in send response = receiver(signal=self, sender=sender, **named) File "/usr/share/openattic/ceph/management/__init__.py", line 208, in update nagios.restart_service() File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 70, in __call__ return self._proxy_method(*args, **keywords) File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 145, in __call__ **keywords) File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.