Build failed in Jenkins: JClouds » jclouds-with-credentials » jclouds-packet-live-tests #54

2021-09-04 Thread Apache Jenkins Server
See 


Changes:


--
Started by timer
Running as SYSTEM
No JDK named ?JDK 1.8.0_144 (unlimited security)? found
[EnvInject] - Loading node environment variables.
Building remotely on H34 (ubuntu) in workspace 

No JDK named ?JDK 1.8.0_144 (unlimited security)? found
ERROR: A Maven installation needs to be available for this project to be 
built.Either your server has no Maven installations defined, or the requested 
Maven version does not exist.
No JDK named ?JDK 1.8.0_144 (unlimited security)? found
No JDK named ?JDK 1.8.0_144 (unlimited security)? found


[jira] [Resolved] (JCLOUDS-1584) Deployment API fails when ARM Template deploys for creating Azure VM

2021-09-04 Thread Andrew Gaul (Jira)


 [ 
https://issues.apache.org/jira/browse/JCLOUDS-1584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Gaul resolved JCLOUDS-1584.
--
Fix Version/s: 2.4.0
 Assignee: Andrew Gaul
   Resolution: Fixed

> Deployment API fails when ARM Template deploys for creating Azure VM
> 
>
> Key: JCLOUDS-1584
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1584
> Project: jclouds
>  Issue Type: Bug
>  Components: jclouds-compute
>Affects Versions: 2.3.0
>Reporter: Rajani Palavala
>Assignee: Andrew Gaul
>Priority: Major
>  Labels: azurecompute-arm
> Fix For: 2.4.0
>
> Attachments: Deployment.java, Value.java
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Hello,
> we are using jclouds for azure compute operations. while using deployment API 
> for creating virtual machine using ARM Template get success but fails to get 
> the deployment details.
>  
> while investigating we found two issues
> *1.* java.lang.NullPointerException: Null 
> valuejava.lang.NullPointerException: Null value at 
> org.jclouds.azurecompute.arm.domain.AutoValue_Value.(AutoValue_Value.java:20)
>  at org.jclouds.azurecompute.arm.domain.Value.create(Value.java:39)
> The ARM template have secure information (password) which Azure is not 
> returning the value when we do GET on the deployment, which is causing null 
> pointer @Value.java 
> *Solution:* We added @Nullable to value() which solved our issue.
>  
> *2.* com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: 
> Expected a string but was BEGIN_ARRAY at line 1 column 472 path 
> $.properties.parameters..value
> at 
> org.jclouds.json.internal.DeserializationConstructorAndReflectiveTypeAdapterFactory$DeserializeIntoParameterizedConstructor.read(DeserializationConstructorAndReflectiveTypeAdapterFactory.java:193)
>  
> The ARM Template have parameters which is type Array is the reason.
>  
> *Solution:* We have modified parameter map value to JSONBALL to accept all 
> types of values.
>  
> we would like to have patch including the solutions, please review and accept 
> the request.
> Thanks.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (JCLOUDS-1584) Deployment API fails when ARM Template deploys for creating Azure VM

2021-09-04 Thread ASF subversion and git services (Jira)


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

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

Commit 8167513c35bcb1c4ffaf34c9529bfcba14bb07ba in jclouds's branch 
refs/heads/master from Rajani-cloud
[ https://gitbox.apache.org/repos/asf?p=jclouds.git;h=8167513 ]

JCLOUDS-1584 : Deployment API fails when ARM Template deploys for creating 
Azure VM


> Deployment API fails when ARM Template deploys for creating Azure VM
> 
>
> Key: JCLOUDS-1584
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1584
> Project: jclouds
>  Issue Type: Bug
>  Components: jclouds-compute
>Affects Versions: 2.3.0
>Reporter: Rajani Palavala
>Priority: Major
>  Labels: azurecompute-arm
> Attachments: Deployment.java, Value.java
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Hello,
> we are using jclouds for azure compute operations. while using deployment API 
> for creating virtual machine using ARM Template get success but fails to get 
> the deployment details.
>  
> while investigating we found two issues
> *1.* java.lang.NullPointerException: Null 
> valuejava.lang.NullPointerException: Null value at 
> org.jclouds.azurecompute.arm.domain.AutoValue_Value.(AutoValue_Value.java:20)
>  at org.jclouds.azurecompute.arm.domain.Value.create(Value.java:39)
> The ARM template have secure information (password) which Azure is not 
> returning the value when we do GET on the deployment, which is causing null 
> pointer @Value.java 
> *Solution:* We added @Nullable to value() which solved our issue.
>  
> *2.* com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: 
> Expected a string but was BEGIN_ARRAY at line 1 column 472 path 
> $.properties.parameters..value
> at 
> org.jclouds.json.internal.DeserializationConstructorAndReflectiveTypeAdapterFactory$DeserializeIntoParameterizedConstructor.read(DeserializationConstructorAndReflectiveTypeAdapterFactory.java:193)
>  
> The ARM Template have parameters which is type Array is the reason.
>  
> *Solution:* We have modified parameter map value to JSONBALL to accept all 
> types of values.
>  
> we would like to have patch including the solutions, please review and accept 
> the request.
> Thanks.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[GitHub] [jclouds] gaul commented on pull request #121: JCLOUDS-1584 : Deployment API fails when ARM Template deploys

2021-09-04 Thread GitBox


gaul commented on pull request #121:
URL: https://github.com/apache/jclouds/pull/121#issuecomment-912926923


   Thank you for your contribution @Rajani-cloud!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@jclouds.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [jclouds] gaul merged pull request #121: JCLOUDS-1584 : Deployment API fails when ARM Template deploys

2021-09-04 Thread GitBox


gaul merged pull request #121:
URL: https://github.com/apache/jclouds/pull/121


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@jclouds.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org