My Oracle Support Banner

Oracle OpenStack 4.0.1: Cinder Backup Reconfigured to NFS Failed Calling Ceph Scripts: "Error: error calling conf_read_file: error code 22" (Doc ID 2400997.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle OpenStack for Oracle Linux - Version OpenStack 4.0.1 and later
Linux x86-64

Symptoms

After enabled Ceph and kollacli deploy Oracle OpenStack, found that Cinder backup driver is configured to use Ceph by default, which is not supported.
Thus configure Cinder backup driver to NFS and kollacli reconfigure.
Afterwards Cinder backup fails as still using ceph configuration, error in cinder_backup log:
2018-05-16 16:01:25.328 1 ERROR oslo.service.loopingcall [req-945c96c5-ebdb-4439-80d8-ad51813ada11 - - - - -] Fixed interval looping call 'cinder.backup.manager.BackupManager._setup_backup_driver' failed: Error: error calling conf_read_file: error code 22
2018-05-16 16:01:25.328 1 ERROR oslo.service.loopingcall Traceback (most recent call last):
2018-05-16 16:01:25.328 1 ERROR oslo.service.loopingcall File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_service/loopingcall.py", line 137, in _run_loop
2018-05-16 16:01:25.328 1 ERROR oslo.service.loopingcall result = func(*self.args, **self.kw)
2018-05-16 16:01:25.328 1 ERROR oslo.service.loopingcall File "/var/lib/kolla/venv/lib/python2.7/site-packages/cinder/backup/manager.py", line 131, in _setup_backup_driver
2018-05-16 16:01:25.328 1 ERROR oslo.service.loopingcall backup_service.check_for_setup_error()
2018-05-16 16:01:25.328 1 ERROR oslo.service.loopingcall File "/var/lib/kolla/venv/lib/python2.7/site-packages/cinder/backup/drivers/ceph.py", line 285, in check_for_setup_error
2018-05-16 16:01:25.328 1 ERROR oslo.service.loopingcall with rbd_driver.RADOSClient(self, self._ceph_backup_pool):
2018-05-16 16:01:25.328 1 ERROR oslo.service.loopingcall File "/var/lib/kolla/venv/lib/python2.7/site-packages/cinder/volume/drivers/rbd.py", line 149, in __init__
2018-05-16 16:01:25.328 1 ERROR oslo.service.loopingcall self.cluster, self.ioctx = driver._connect_to_rados(pool)
2018-05-16 16:01:25.328 1 ERROR oslo.service.loopingcall File "/var/lib/kolla/venv/lib/python2.7/site-packages/cinder/backup/drivers/ceph.py", line 291, in _connect_to_rados
2018-05-16 16:01:25.328 1 ERROR oslo.service.loopingcall conffile=self._ceph_backup_conf)
2018-05-16 16:01:25.328 1 ERROR oslo.service.loopingcall File "rados.pyx", line 525, in rados.Rados.__init__ (rados.c:5719)
2018-05-16 16:01:25.328 1 ERROR oslo.service.loopingcall File "rados.pyx", line 425, in rados.requires.wrapper.validate_func (rados.c:4106)
2018-05-16 16:01:25.328 1 ERROR oslo.service.loopingcall File "rados.pyx", line 568, in rados.Rados.__setup (rados.c:6448)
2018-05-16 16:01:25.328 1 ERROR oslo.service.loopingcall File "rados.pyx", line 425, in rados.requires.wrapper.validate_func (rados.c:4106)
2018-05-16 16:01:25.328 1 ERROR oslo.service.loopingcall File "rados.pyx", line 631, in rados.Rados.conf_read_file (rados.c:7384)
2018-05-16 16:01:25.328 1 ERROR oslo.service.loopingcall Error: error calling conf_read_file: error code 22
2018-05-16 16:01:25.328 1 ERROR oslo.service.loopingcall
2018-05-16 16:01:30.404 1 ERROR cinder.service [req-945c96c5-ebdb-4439-80d8-ad51813ada11 - - - - -] Manager for service cinder-backup o3lceph1.cn.oracle.com is reporting problems, not sending heartbeat. Service will appear "down".
2018-05-16 16:01:40.405 1 ERROR cinder.service [req-945c96c5-ebdb-4439-80d8-ad51813ada11 - - - - -] Manager for service cinder-backup o3lceph1.cn.oracle.com is reporting problems, not sending heartbeat. Service will appear "down".
2018-05-16 16:01:50.406 1 ERROR cinder.service [req-945c96c5-ebdb-4439-80d8-ad51813ada11 - - - - -] Manager for service cinder-backup o3lceph1.cn.oracle.com is reporting problems, not sending heartbeat. Service will appear "down". 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.