Managed to fix it with the following json:
{
"id": "P1",
"provider": "openstack",
"property": [
{
"name": "region",
"value": "RegionOne"
},
{
"name": "partitionMin",
"value": "1"
}
],
"partitionMin": "1",
"partitionMax":"3"
}
But why have we made partitionMin and partitionMax properties
mandatory in partition deployment step? This doesn't comply with what
we have on the Wiki.
https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Sample+Partition+Definition
On Mon, Apr 28, 2014 at 12:31 PM, Akila Ravihansa Perera
<[email protected]> wrote:
> Hi,
>
> I get this error when trying to deploy a new partition.
>
> org.xml.sax.SAXParseException; columnNumber: 0;
> cvc-complex-type.2.4.b: The content of element 'partition' is not
> complete. One of '{property, partitionMin}' is expected.
>
> My partition deployment json:
>
> {
> "id": "P1",
> "provider": "openstack",
> "property": [
> {
> "name": "region",
> "value": "RegionOne"
> }
> ]
> }
>
> I'm on OpenStack Havana and end point URLs are all set in
> cloud-controller.xml. This happened when I tried installing Stratos
> today using a clean maven build. Anyone else having this problem?
>
> Thanks.
>
> --
> Akila Ravihansa Perera
> Software Engineer
> WSO2 Inc.
> http://wso2.com
>
> Phone: +94 77 64 154 38
> Blog: http://ravihansa3000.blogspot.com
--
Akila Ravihansa Perera
Software Engineer
WSO2 Inc.
http://wso2.com
Phone: +94 77 64 154 38
Blog: http://ravihansa3000.blogspot.com