Hello we are facing some difficulties when we try to backup a volume stored in a RBD backend to a swift container (we have the same issue with ceph rbd backup backend).
We have googled but it seems that nobody ahs this issue. I hope I could be more lucky here ;) here is the log : TE_USER,NO_ENGINE_SUBSTITUTION _check_effective_sql_mode /usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/session.py:514 2015-05-05 11:34:58.329 14048: DEBUG cinder.volume.drivers.rbd [req-27352642-0b71-49d5-b38b-e7d3cfa7d8ec 4bd09b121e2043e48d7f89cd6ee6eb47 8725df8f38e54f409d2fd1a6de2fac8c - - -] opening connection to ceph cluster (timeout=-1). _connect_to_rados /usr/lib/python2.7/dist-packages/cinder/volume/drivers/rbd.py:300 *2015-05-05 11:34:58.475 14048: ERROR oslo_messaging.rpc.dispatcher [req-27352642-0b71-49d5-b38b-e7d3cfa7d8ec 4bd09b121e2043e48d7f89cd6ee6eb47 8725df8f38e54f409d2fd1a6de2fac8c - - -] Exception during message handling: <type 'NoneType'> can't be encoded* 2015-05-05 11:34:58.475 14048: TRACE oslo_messaging.rpc.dispatcher Traceback (most recent call last): 2015-05-05 11:34:58.475 14048: TRACE oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply 2015-05-05 11:34:58.475 14048: TRACE oslo_messaging.rpc.dispatcher executor_callback)) 2015-05-05 11:34:58.475 14048: TRACE oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch 2015-05-05 11:34:58.475 14048: TRACE oslo_messaging.rpc.dispatcher executor_callback) 2015-05-05 11:34:58.475 14048: TRACE oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 130, in _do_dispatch 2015-05-05 11:34:58.475 14048: TRACE oslo_messaging.rpc.dispatcher result = func(ctxt, **new_args) 2015-05-05 11:34:58.475 14048: TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/osprofiler/profiler.py", line 105, in wrapper 2015-05-05 11:34:58.475 14048: TRACE oslo_messaging.rpc.dispatcher return f(*args, **kwargs) 2015-05-05 11:34:58.475 14048: TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/cinder/backup/manager.py", line 301, in create_backup 2015-05-05 11:34:58.475 14048: TRACE oslo_messaging.rpc.dispatcher 'fail_reason': six.text_type(err)}) 2015-05-05 11:34:58.475 14048: TRACE oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 85, in __exit__ 2015-05-05 11:34:58.475 14048: TRACE oslo_messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb) 2015-05-05 11:34:58.475 14048: TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/cinder/backup/manager.py", line 294, in create_backup 2015-05-05 11:34:58.475 14048: TRACE oslo_messaging.rpc.dispatcher backup_service) 2015-05-05 11:34:58.475 14048: TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/osprofiler/profiler.py", line 105, in wrapper 2015-05-05 11:34:58.475 14048: TRACE oslo_messaging.rpc.dispatcher return f(*args, **kwargs) 2015-05-05 11:34:58.475 14048: TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/rbd.py", line 897, in backup_volume 2015-05-05 11:34:58.475 14048: TRACE oslo_messaging.rpc.dispatcher self.configuration.rbd_ceph_conf) 2015-05-05 11:34:58.475 14048: TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/rbd.py", line 94, in __init__ 2015-05-05 11:34:58.475 14048: TRACE oslo_messaging.rpc.dispatcher self.user = encodeutils.safe_encode(user) 2015-05-05 11:34:58.475 14048: TRACE oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo_utils/encodeutils.py", line 76, in safe_encode 2015-05-05 11:34:58.475 14048: TRACE oslo_messaging.rpc.dispatcher raise TypeError("%s can't be encoded" % type(text)) 2015-05-05 11:34:58.475 14048: TRACE oslo_messaging.rpc.dispatcher TypeError: *<type 'NoneType'> can't be encoded* 2015-05-05 11:34:58.475 14048 TRACE oslo_messaging.rpc.dispatcher Has anyone faced this problem ? Thanks ! -- --- Maxime Aubry Service Hébergement Hexanet --
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack