You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Chiradeep Vittal (JIRA)" <ji...@apache.org> on 2013/04/02 20:13:15 UTC
[jira] [Created] (CLOUDSTACK-1896) S3 and Swift-backed NFS
secondary storage uses Db-based lock when DB is not available
Chiradeep Vittal created CLOUDSTACK-1896:
--------------------------------------------
Summary: S3 and Swift-backed NFS secondary storage uses Db-based lock when DB is not available
Key: CLOUDSTACK-1896
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1896
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Storage Controller
Affects Versions: 4.1.0, 4.2.0
Reporter: Chiradeep Vittal
Assignee: John Burwell
While perusing NfsSecondaryStorageResource.java, I came across:
public Answer execute(final DownloadSnapshotFromS3Command cmd) {
...
try {
executeWithNoWaitLock(determineSnapshotLockId(accountId, volumeId),
new Callable<Void>() {
@Override
public Void call() throws Exception {
....
}
}
The executeWithNoWaitLock utility uses the management server database, which is not available inside the secondary storage vm. So, my conclusion is that there is no way this code works.
Unfortunately the same code has been added to the Swift-backed code as well and will therefore break that as well.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira