backup point in the same container was overwrite if we set the back ends to NFS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
High
|
Gorka Eguileor |
Bug Description
backup point in the same container was overwrite if we set the back ends to NFS
Here is part of my cinder.conf:
[DEFAULT]
backup_driver = cinder.
backup_share = 192.168.
backup_
graceful_
os_privileged_
os_privileged_
os_privileged_
glance_api_servers = http://
osapi_volume_
logging_
logging_
logging_
logging_
volume_clear = zero
backup_swift_url = http://
The command I use to create a backup point is below:
curl -s -H "X-Auth-Token: $OS_TOKEN" -H "Content-Type: application/json" -X POST http://
and we could see that in 192.168.
root@ubuntu:
total 7116
drwxrwx--- 2 1001 1001 4096 Sep 29 12:42 ./
drwxrwxrwx 3 root root 4096 Sep 29 12:41 ../
-rw-rw---- 1 1001 1001 4876309 Sep 29 12:42 backup-00001
-rw-rw---- 1 1001 1001 2285 Sep 29 12:42 backup_metadata
-rw-rw---- 1 1001 1001 2392348 Sep 29 12:42 backup_sha256file
if I perform the command again,and rename the backup's name with "testtwo",the command is below:
curl -s -H "X-Auth-Token: $OS_TOKEN" -H "Content-Type: application/json" -X POST http://
In 192.168.
root@ubuntu:
total 7116
drwxrwx--- 2 1001 1001 4096 Sep 29 12:42 ./
drwxrwxrwx 3 root root 4096 Sep 29 12:41 ../
-rw-rw---- 1 1001 1001 4874356 Sep 29 12:44 backup-00001
-rw-rw---- 1 1001 1001 2290 Sep 29 12:44 backup_metadata
-rw-rw---- 1 1001 1001 2392353 Sep 29 12:44 backup_sha256file
In some circumstances,for example ,if we delete the new backup point,it would be wrong to restore the older backup point.
There is the log:
2016-09-29 12:51:14.167 ERROR oslo_messaging.
2016-09-29 12:51:14.167 TRACE oslo_messaging.
2016-09-29 12:51:14.167 TRACE oslo_messaging.
2016-09-29 12:51:14.167 TRACE oslo_messaging.
2016-09-29 12:51:14.167 TRACE oslo_messaging.
2016-09-29 12:51:14.167 TRACE oslo_messaging.
2016-09-29 12:51:14.167 TRACE oslo_messaging.
2016-09-29 12:51:14.167 TRACE oslo_messaging.
2016-09-29 12:51:14.167 TRACE oslo_messaging.
2016-09-29 12:51:14.167 TRACE oslo_messaging.
2016-09-29 12:51:14.167 TRACE oslo_messaging.
2016-09-29 12:51:14.167 TRACE oslo_messaging.
2016-09-29 12:51:14.167 TRACE oslo_messaging.
2016-09-29 12:51:14.167 TRACE oslo_messaging.
2016-09-29 12:51:14.167 TRACE oslo_messaging.
2016-09-29 12:51:14.167 TRACE oslo_messaging.
2016-09-29 12:51:14.167 TRACE oslo_messaging.
2016-09-29 12:51:14.167 TRACE oslo_messaging.
2016-09-29 12:51:14.167 TRACE oslo_messaging.
2016-09-29 12:51:14.167 TRACE oslo_messaging.
2016-09-29 12:51:14.167 TRACE oslo_messaging.
2016-09-29 12:51:14.167 TRACE oslo_messaging.
2016-09-29 12:51:14.167 TRACE oslo_messaging.
2016-09-29 12:51:14.167 TRACE oslo_messaging.
2016-09-29 12:51:14.167 TRACE oslo_messaging.
2016-09-29 12:51:14.167 TRACE oslo_messaging.
2016-09-29 12:51:30.130 DEBUG oslo_service.
description: | updated |
tags: | added: backup cinder |
no longer affects: | swift |
Changed in cinder: | |
assignee: | nobody → Eric Harney (eharney) |
status: | New → Confirmed |
The version of my devstack is newton,my OS is Ubuntu14.04