Stuart Hendren created JCLOUDS-703:
--------------------------------------

             Summary: Google Hardware no longer supports images
                 Key: JCLOUDS-703
                 URL: https://issues.apache.org/jira/browse/JCLOUDS-703
             Project: jclouds
          Issue Type: Bug
          Components: jclouds-labs-google
    Affects Versions: 1.8.0
         Environment: Java 1.8
            Reporter: Stuart Hendren
            Priority: Critical
             Fix For: 1.8.1, 2.0.0


All Google hardware now has the AlwaysFalse predicate for supportsImage().

This seems to be because the response for MachineType is missing a value for 
"imageSpaceGb", which gets assigned 0 in the MachineType class and this results 
in the AlwaysFalse predicate.

Current example machine type return taken from a response to GET 
https://www.googleapis.com/compute/v1/projects/project/zones/zone/machineTypes:

{noformat}
{
   "kind": "compute#machineType",
   "id": "7224129552184485774",
   "creationTimestamp": "2013-04-25T13:32:45.550-07:00",
   "name": "g1-small",
   "description": "1 vCPU (shared physical core) and 1.7 GB RAM",
   "guestCpus": 1,
   "memoryMb": 1740,
   "maximumPersistentDisks": 4,
   "maximumPersistentDisksSizeGb": "3072",
   "zone": "europe-west1-a",
   "selfLink": 
"https://www.googleapis.com/compute/v1/projects/cold-front/zones/europe-west1-a/machineTypes/g1-small";
  }
{noformat}



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

Reply via email to