You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/08/15 20:25:18 UTC
[jira] [Commented] (LIBCLOUD-544) Passing a dict of metadata to
create_node method of GCE driver doesn't work.
[ https://issues.apache.org/jira/browse/LIBCLOUD-544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14098879#comment-14098879 ]
ASF GitHub Bot commented on LIBCLOUD-544:
-----------------------------------------
GitHub user raphtheb opened a pull request:
https://github.com/apache/libcloud/pull/348
[LIBCLOUD-544] Fix the regression caused by the original implementation ...
...of the bugfix. We now perform a simple sanity check to know whether the metadata dictionary has already been formatted to GCE's specs.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/raphtheb/libcloud LIBCLOUD-544_gce_metadata_fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/libcloud/pull/348.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #348
----
commit 0efaf9d2ab2bb86ec286fadeb9a24e64d09416db
Author: rtheberge <ra...@bhvr.com>
Date: 2014-08-15T18:20:14Z
[LIBCLOUD-544] Fix the regression caused by the original implementation of the bugfix. We now perform a simple sanity check to know whether the metadata dictionary has already been formatted to GCE's specs.
----
> Passing a dict of metadata to create_node method of GCE driver doesn't work.
> ----------------------------------------------------------------------------
>
> Key: LIBCLOUD-544
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-544
> Project: Libcloud
> Issue Type: Bug
> Reporter: Lior Goikhburg
>
> GCE requires metadata to be sent in the following way:
> metadata = {"items": [{"value": "val1", "key": "key1"}, {"value": "val2", "key": "key2"}]}
--
This message was sent by Atlassian JIRA
(v6.2#6252)