Azure / doAzureParallel

A R package that allows users to submit parallel workloads in Azure
MIT License
107 stars 51 forks source link

containerConfiguration type dockerCompatible not valid anymore #369

Closed mvanbraak closed 4 years ago

mvanbraak commented 4 years ago

Before submitting a bug please check the following:

Description It seems like Azure Batch has changed its generation of a pool. I tried creating a pool using the cluster.json from the example file, but every time I get the follow error when making the cluster:

Error in makeCluster("cluster.json") : InvalidPropertyValue: The value provided for one of the properties in the request body is invalid. PropertyName: type PropertyValue: dockerCompatible Reason: The value provided for one of the properties in the request body is invalid.

In the code cluster.R we can find this setting, which is not configurable:

install docker

containerConfiguration <- list(
  type = "dockerCompatible"
)

Instruction to repro the problem if applicable Generate an authentication file and a default cluster file and try to make a cluster with this. Probably this 'type' setting has changed in Azure batch.

sessionInfo() R version 3.5.3 (2019-03-11) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows Server >= 2012 x64 (build 9200)

Matrix products: default

locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages: [1] stats graphics grDevices datasets utils methods base

other attached packages: [1] rAzureBatch_0.7.0 doAzureParallel_0.8.0 RevoUtils_11.0.3 jsonlite_1.6 igraph_1.2.4 lpSolveAPI_5.5.2.0-17 lpSolve_5.6.13
[8] sp_1.3-1 geosphere_1.5-7 doSNOW_1.0.16 snow_0.4-3 iterators_1.0.11 foreach_1.4.4 data.table_1.12.2
[15] plyr_1.8.4 RevoUtilsMath_11.0.0

loaded via a namespace (and not attached): [1] Rcpp_1.0.1 magrittr_1.5 lattice_0.20-38 rjson_0.2.20 R6_2.4.0 httr_1.4.0 tools_3.5.3 parallel_3.5.3 grid_3.5.3 digest_0.6.18
[11] bitops_1.0-6 codetools_0.2-16 curl_3.3 RCurl_1.95-4.12 compiler_3.5.3 pkgconfig_2.0.2

mvanbraak commented 4 years ago

Solved: made a release from the master branch and the issue was solved.