Status: Accepted
Owner: ----

New issue 571 by [email protected]: Failed to load config because of null file driver
http://code.google.com/p/ganeti/issues/detail?id=571

gnt-cluster --version
gnt-cluster (ganeti v2.7.0-4-g73e0c64) 2.8.0~rc2

What steps will reproduce the problem?
1. Use RAPI to create an instance of file disk template and without specifying file driver.

The job completes successfully, but then confd can not load configuration file:

2013-09-11 18:14:12,132102000000 EEST: ganeti-confd pid=4338 ERROR Failed to load config: parsing configuration: key 'instances': key 'snf-44': key 'disks': Can't parse raw value for type FileDriver: Unable to read String from JSNull


Snippet from config file:
...

"disks": [
    {
        "dev_type": "file",
        "iv_name": "disk/0",
        "logical_id": [
            null,
            "/srv/ganeti/file-storage/snf-44/disk0"
        ],
        "mode": "rw",
        "params": {},
        "physical_id": [
            null,
            "/srv/ganeti/file-storage/snf-44/disk0"
        ],
        "size": 1024,
        "uuid": "2ae4903e-a7d5-4a4b-add7-c9eb77458993"
    }
],
...

This happens only from RAPI, because 'gnt-instance' client has a default value for 'file_driver' option ('loop').

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Reply via email to