[ 
https://issues.apache.org/jira/browse/LIBCLOUD-628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14193344#comment-14193344
 ] 

Siim Põder commented on LIBCLOUD-628:
-------------------------------------

I'm not sure this is correct. It seems something is not working as I expected 
with image name resolving. I was passing 'debian-7-backports' as the image name 
which should be resolved as an alias to whatever the latest image version is 
IIUIC however that's not working. I've just noticed the images are created as 
plain empty 100G non-bootable disks with this patch :)

That's also likely the real reason that None was not workin as disk size - None 
should be okay when creating the disk form image/snapshot as the image/snapshot 
size would be used.

Feel free to chime in if you know I'm doing something wrong. Otherwise I'll try 
to sort out how to get this to work and open a pull request or send a 
format-patch if there is anything that could/should be changed.

> gce.create_node fails to create boot disk if needed.
> ----------------------------------------------------
>
>                 Key: LIBCLOUD-628
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-628
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Compute
>            Reporter: Siim Põder
>            Priority: Minor
>
> Calling create_node calls create_volume with size of None which results in 
> API error:
> libcloud.common.google.InvalidRequestError: {'domain': 'global', 'message': 
> "Invalid value for field 'resource.sizeGb': ''.  Disk size is required.", 
> 'reason': 'invalid'}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to