Comment 32 for bug 1673411

Revision history for this message
James Page (james-page) wrote :

OK so I'm seeing issues with verification on yakkety when config-drive is enabled - LXD is throwing an error unmarshalling the readonly flag:

t=2017-05-17T09:02:04+0000 lvl=dbug msg="\n\t{\n\t\t\"config\": {\n\t\t\t\"raw.lxc\": \"lxc.console.logfile=/var/log/lxd/instance-00000003/console.log\\n\",\n\t\t\t\"limits.memory\": \"2048MB\",\n\t\t\t\"boot.autostart\": \"True\",\n\t\t\t\"limits.cpu\": \"1\",\n\t\t\t\"environment.product_name\": \"OpenStack Nova\"\n\t\t},\n\t\t\"description\": \"\",\n\t\t\"devices\": {\n\t\t\t\"root\": {\n\t\t\t\t\"path\": \"/\",\n\t\t\t\t\"type\": \"disk\",\n\t\t\t\t\"size\": \"20GB\"\n\t\t\t},\n\t\t\t\"qbr5d4b3062-00\": {\n\t\t\t\t\"hwaddr\": \"fa:16:3e:05:45:97\",\n\t\t\t\t\"type\": \"nic\",\n\t\t\t\t\"host_name\": \"tap5d4b3062-00\",\n\t\t\t\t\"parent\": \"qbr5d4b3062-00\",\n\t\t\t\t\"nictype\": \"bridged\"\n\t\t\t},\n\t\t\t\"configdrive\": {\n\t\t\t\t\"path\": \"/config-drive\",\n\t\t\t\t\"readonly\": true,\n\t\t\t\t\"type\": \"disk\",\n\t\t\t\t\"source\": \"/var/lib/nova/instances/instance-00000003/configdrive\"\n\t\t\t}\n\t\t}\n\t"
t=2017-05-17T09:02:04+0000 lvl=dbug msg="\n\t{\n\t\t\"error\": \"json: cannot unmarshal bool into Go value of type string\",\n\t\t\"error_code\": 400,\n\t\t\"type\": \"error\"\n\t}"