You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Jin-Ho David Shin (JIRA)" <ji...@apache.org> on 2014/03/31 06:00:15 UTC

[jira] [Created] (JCLOUDS-519) Failed to build Template due to unsupported image's metadata

Jin-Ho David Shin created JCLOUDS-519:
-----------------------------------------

             Summary: Failed to build Template due to unsupported image's metadata
                 Key: JCLOUDS-519
                 URL: https://issues.apache.org/jira/browse/JCLOUDS-519
             Project: jclouds
          Issue Type: Bug
          Components: jclouds-compute
    Affects Versions: 1.7.1
         Environment: CentOS 6, JAVA Oracle JDK 7
            Reporter: Jin-Ho David Shin
            Priority: Critical
             Fix For: 1.7.1


The following image existed in the image list and the Template object failed to be built because "block_device_mapping" supports <string,string> but the image was having <string,array>.. Could we support the <string,array> object type? or at least bypass the image ? I am not sure why we are getting the entire list of the images before building the template object... 


  "status": "ACTIVE",
      "updated": "2014-03-27T03:26:33Z",
      "links": [
        {
          "href": "https:\/\/compute.sql1.attcompute.com\/v2\/7c8085916d004bd488291334beca8d7b\/images\/749ab171-b07b-4c07-9bbf-ce5c72ead717",
          "rel": "self"
        },
        {
          "href": "https:\/\/compute.sql1.attcompute.com\/7c8085916d004bd488291334beca8d7b\/images\/749ab171-b07b-4c07-9bbf-ce5c72ead717",
          "rel": "bookmark"
        },
        {
          "href": "http:\/\/192.168.129.139:9292\/7c8085916d004bd488291334beca8d7b\/images\/749ab171-b07b-4c07-9bbf-ce5c72ead717",
          "type": "application\/vnd.openstack.image",
          "rel": "alternate"
        }
      ],
      "id": "749ab171-b07b-4c07-9bbf-ce5c72ead717",
      "OS-EXT-IMG-SIZE:size": 0,
      "name": "test",
      "created": "2014-03-27T03:26:33Z",
      "minDisk": 0,
      "progress": 100,
      "minRam": 0,
      "metadata": {
        "root_device_name": "\/dev\/vda",
        "block_device_mapping": [
          {
            "instance_uuid": "2b98d19d-5339-4897-9bf2-c0f8b13ebd26",
            "virtual_name": null,
            "no_device": null,
            "deleted": 0,
            "created_at": "2014-02-12T23:07:09.000000",
            "volume_id": null,
            "updated_at": "2014-02-12T23:07:11.000000",
            "device_name": "vda",
            "connection_info": "{\"driver_volume_type\": \"nfs\", \"serial\": \"195adb70-ddfe-4a4b-826a-b7d2db7523f8\", \"data\": {\"export\": \"c120703n3270a4001:\/vol\/cinder\", \"name\": \"volume-195adb70-ddfe-4a4b-826a-b7d2db7523f8\"}}",
            "volume_size": null,
            "snapshot_id": "eb6e8e8d-7443-48ef-9019-e6f4a582dc97",
            "id": 686,
            "deleted_at": null,
            "delete_on_termination": false
          }
        ]
      }
    },




--
This message was sent by Atlassian JIRA
(v6.2#6252)