Deploy of elastic space by admin client of 10.x to 12.x server fails due to change in schema name

Description

Customer deploy their space using the admin by following code :
try
{
final Admin admin = this.getAdmin();

final GridServiceManager gsm =
admin.getGridServiceManagers().waitForAtLeastOne(TWO, TimeUnit.MINUTES);

final ElasticSpaceDeployment spaceDeployment = new ElasticSpaceDeployment(“CECommonSpace”);

spaceDeployment
.memoryCapacityPerContainer(200, MemoryUnit.MEGABYTES)
.highlyAvailable(true)
.maxMemoryCapacity(400, MemoryUnit.MEGABYTES)
.numberOfBackupsPerPartition(1)
.scale(new EagerScaleConfigurer().create());

gsm.deploy(spaceDeployment, TWO, TimeUnit.MINUTES);
}
catch (final Exception e)
{
}

running this code from 10.2 client against 12.x server will result in following exception:
2017-01-09 12:27:55,223 ESM SEVERE [org.openspaces.grid.esm] - Error configuring elastic scale bean for pu CECommonSpace; Caused by: org.openspaces.admin.bean.BeanConfigurationException: Processing Unit CECommonSpaceneeds to be either stateless, or stateful or a space (it is partitioned-sync2backup
at org.openspaces.grid.gsm.strategy.AbstractScaleStrategyBean.calcMinimumNumberOfMachines(AbstractScaleStrategyBean.java:366)
at org.openspaces.grid.gsm.strategy.AbstractScaleStrategyBean.afterPropertiesSet(AbstractScaleStrategyBean.java:234)
at org.openspaces.grid.gsm.strategy.EagerScaleStrategyBean.afterPropertiesSet(EagerScaleStrategyBean.java:79)
at org.openspaces.core.bean.DefaultBeanFactory.initInstance(DefaultBeanFactory.java:42)
at org.openspaces.core.bean.DefaultBeanFactory.create(DefaultBeanFactory.java:35)
at org.openspaces.core.bean.DefaultBeanServer.enableBean(DefaultBeanServer.java:63)
at org.openspaces.core.bean.DefaultBeanServer.replaceBeanAssignableTo(DefaultBeanServer.java:232)
at org.openspaces.grid.gsm.ScaleBeanServer.setElasticScaleStrategy(ScaleBeanServer.java:205)
at org.openspaces.grid.gsm.ScaleBeanServer.setElasticProperties(ScaleBeanServer.java:180)
at org.openspaces.grid.esm.ESMImpl.refreshProcessingUnitElasticConfig(ESMImpl.java:709)
at org.openspaces.grid.esm.ESMImpl.processingUnitAdded(ESMImpl.java:664)
at org.openspaces.admin.internal.pu.events.DefaultProcessingUnitAddedEventManager$1.run(DefaultProcessingUnitAddedEventManager.java:45)
at org.openspaces.admin.internal.admin.DefaultAdmin$LoggerRunnable.run(DefaultAdmin.java:2074)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Workaround

None

Acceptance Test

manual verification

Assignee

Niv Ingberg

Reporter

Ester Atzmon

Labels

None

Priority

Medium

SalesForce Case ID

10903

Fix versions

Commitment Version/s

None

Due date

None

Product

XAP

Edition

Premium

Platform

All

Sprint

None
Configure