Failure to get pus using rest api when primary backup zones are defined

Description

Calling REST API /v2/pus generate an exception when deployed in two-zone (primary, backup):
curl --user grdmanager:b7mKfbg1 -k -X GET --header 'Accept: text/plain' 'http://sdsdevap005.fr.world.socgen:8090/v2/pus'
java.lang.IllegalArgumentException: array contains an element 'Perimeter_DEVCloud_P,Perimeter_DEVCloud_B' that contains the separator ','
at org.openspaces.core.util.StringPropertiesUtils.putArray(StringPropertiesUtils.java:162)
at org.openspaces.core.util.StringPropertiesUtils.putSet(StringPropertiesUtils.java:200)
at org.openspaces.core.util.StringProperties.putSet(StringProperties.java:112)
at org.openspaces.admin.zone.config.AbstractZonesConfig.setZones(AbstractZonesConfig.java:70)
at org.openspaces.admin.zone.config.AtLeastOneZoneConfigurer.create(AtLeastOneZoneConfigurer.java:58)
at org.openspaces.admin.internal.pu.DefaultProcessingUnit.getRequiredContainerZones(DefaultProcessingUnit.java:1337)
at com.gigaspaces.manager.rest.service.DeploymentsService.createDeploymentSLA(DeploymentsService.scala:227)
at com.gigaspaces.manager.rest.service.DeploymentsService.createRestDeploymentFromGsProcessingUnit(DeploymentsService.scala:105)
at com.gigaspaces.manager.rest.service.DeploymentsService$$anonfun$getAllDeployments$1.apply(DeploymentsService.scala:190)
at com.gigaspaces.manager.rest.service.DeploymentsService$$anonfun$getAllDeployments$1.apply(DeploymentsService.scala:190)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:245)
at scala.collection.mutable.ArrayOps$ofRef.map(ArrayOps.scala:186)
at com.gigaspaces.manager.rest.service.DeploymentsService.getAllDeployments(DeploymentsService.scala:190)
at com.gigaspaces.manager.rest.api.PusApi.pusGet(PusApi.scala:27)
at com.gigaspaces.manager.rest.api.PusApiSupport$$anonfun$1.apply(PusApiSupport.scala:30)
at com.gigaspaces.manager.rest.api.PusApiSupport$$anonfun$1.apply(PusApiSupport.scala:27)
at org.scalatra.ScalatraBase$class.org$scalatra$ScalatraBase$$liftAction(ScalatraBase.scala:285)
at org.scalatra.ScalatraBase$$anonfun$invoke$1.apply(ScalatraBase.scala:279)
at org.scalatra.ScalatraBase$$anonfun$invoke$1.apply(ScalatraBase.scala:279)
at org.scalatra.ApiFormats$class.withRouteMultiParams(ApiFormats.scala:189)
at com.gigaspaces.manager.rest.api.PusApiSupport.withRouteMultiParams(PusApiSupport.scala:21)
at org.scalatra.ScalatraBase$class.invoke(ScalatraBase.scala:278)
at com.gigaspaces.manager.rest.api.PusApiSupport.org$scalatra$json$JsonSupport$$super$invoke(PusApiSupport.scala:21)
at org.scalatra.json.JsonSupport$$anonfun$invoke$1.apply(JsonSupport.scala:88)
at org.scalatra.json.JsonSupport$$anonfun$invoke$1.apply(JsonSupport.scala:82)
at org.scalatra.ApiFormats$class.withRouteMultiParams(ApiFormats.scala:189)
at com.gigaspaces.manager.rest.api.PusApiSupport.withRouteMultiParams(PusApiSupport.scala:21)
at org.scalatra.json.JsonSupport$class.invoke(JsonSupport.scala:82)
at com.gigaspaces.manager.rest.api.PusApiSupport.invoke(PusApiSupport.scala:21)
at org.scalatra.ScalatraBase$$anonfun$runRoutes$1$$anonfun$apply$8.apply(ScalatraBase.scala:253)
at org.scalatra.ScalatraBase$$anonfun$runRoutes$1$$anonfun$apply$8.apply(ScalatraBase.scala:251)

Workaround

None

Acceptance Test

None

Assignee

Unassigned

Reporter

Ester Atzmon

Labels

None

Priority

Medium

SalesForce Case ID

12764

Fix versions

None

Commitment Version/s

None

Due date

None

Product

None

Edition

Open Source

Platform

All
Configure