StratusLab / client

Command Line Interface (CLI) for StratusLab cloud services
Apache License 2.0
2 stars 1 forks source link

image create fails when pdisk is not installed on frontend #97

Closed loomis closed 11 years ago

loomis commented 11 years ago

The image create process fails when the pdisk server is installed on a machine other than the frontend. The problem is in the TMSaveCache.py script when it tries to get the path for the snapshot file. It assumes that the backend configuration script is present on the frontend. The script should look on the pdisk server for this information. (This is already the case when it tries to actually do the checksum.)

loomis commented 11 years ago

The problem in the _getSnapshotPath() method. It assumes the file is local. It should use SSH to get this file information from the pdisk server. This is around line 448 in the TMSaveCache.py file.