jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCLOUDS-1050) Can't configure the bootstrap script with a custom SSL verify mode
Date Wed, 16 Dec 2015 15:05:46 GMT

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

ASF subversion and git services commented on JCLOUDS-1050:
----------------------------------------------------------

Commit 962de83e86842d576d9a82d6105c4f98fdd0dc97 in jclouds's branch refs/heads/master from
[~nacx]
[ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=962de83 ]

JCLOUDS-1050: Fix BootstrapConfig deserialization in Chef


> Can't configure the bootstrap script with a custom SSL verify mode
> ------------------------------------------------------------------
>
>                 Key: JCLOUDS-1050
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1050
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-chef
>    Affects Versions: 1.9.1
>            Reporter: Ignasi Barrera
>            Assignee: Ignasi Barrera
>
> When setting a custom SSL verify mode in the BootstrapConfig, Chef stores its value in
a data bag but is unable to deserialize it later when building teh bootstrap script.
> {code}
> java.lang.IllegalArgumentException: No enum constant org.jclouds.chef.domain.BootstrapConfig.SSLVerifyMode.:verify_none
> 	at java.lang.Enum.valueOf(Enum.java:238) ~[na:1.8.0_25]
> 	at org.jclouds.json.internal.EnumTypeAdapterThatReturnsFromValue.deserialize(EnumTypeAdapterThatReturnsFromValue.java:41)
~[jclouds-core-1.9.1.jar:1.9.1]
> 	at org.jclouds.json.internal.EnumTypeAdapterThatReturnsFromValue.deserialize(EnumTypeAdapterThatReturnsFromValue.java:32)
~[jclouds-core-1.9.1.jar:1.9.1]
> 	at com.google.gson.TreeTypeAdapter.read(TreeTypeAdapter.java:58) ~[gson-2.3.jar:na]
> 	at org.jclouds.json.internal.DeserializationConstructorAndReflectiveTypeAdapterFactory$ParameterReader.read(DeserializationConstructorAndReflectiveTypeAdapterFactory.java:272)
~[jclouds-core-1.9.1.jar:1.9.1]
> 	at org.jclouds.json.internal.DeserializationConstructorAndReflectiveTypeAdapterFactory$DeserializeIntoParameterizedConstructor.read(DeserializationConstructorAndReflectiveTypeAdapterFactory.java:184)
~[jclouds-core-1.9.1.jar:1.9.1]
> 	at com.google.gson.Gson.fromJson(Gson.java:805) ~[gson-2.3.jar:na]
> 	at com.google.gson.Gson.fromJson(Gson.java:770) ~[gson-2.3.jar:na]
> 	at com.google.gson.Gson.fromJson(Gson.java:719) ~[gson-2.3.jar:na]
> 	at com.google.gson.Gson.fromJson(Gson.java:691) ~[gson-2.3.jar:na]
> 	at org.jclouds.json.internal.GsonWrapper.fromJson(GsonWrapper.java:47) ~[jclouds-core-1.9.1.jar:1.9.1]
> 	at org.jclouds.chef.functions.BootstrapConfigForGroup.apply(BootstrapConfigForGroup.java:55)
~[chef-1.9.1.jar:1.9.1]
> 	at org.jclouds.chef.functions.BootstrapConfigForGroup.apply(BootstrapConfigForGroup.java:36)
~[chef-1.9.1.jar:1.9.1]
> 	at com.google.common.cache.CacheLoader$FunctionToCacheLoader.load(CacheLoader.java:151)
~[guava-17.0.jar:na]
> 	at org.jclouds.chef.functions.GroupToBootScript.apply(GroupToBootScript.java:78) ~[chef-1.9.1.jar:1.9.1]
> 	at org.jclouds.chef.internal.BaseChefService.createBootstrapScriptForGroup(BaseChefService.java:160)
~[chef-1.9.1.jar:1.9.1]
> {code}



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

Mime
View raw message