Hi Dinithi, This is happening because openstack.json template is not having .template prefix. Therefore in [1] file name should be changed to openstack.json.template.
[1] https://github.com/wso2/product-private-paas/tree/master/samples/template-modules/samples-templates/templates/network-partitions/openstack On Tue, Sep 22, 2015 at 3:56 PM, Dinithi De Silva <dinit...@wso2.com> wrote: > Hi Anuruddha, > > I got an issue while trying to deploy a sample application in Openstack. I > have followed the instructions given in [1]. > > After running the configurator, the sample file has been created in the > <ppaas_home>/product-private-paas/samples/network-partitions/openstack > folder but as a plain text file, instead of a json file. > > There after, I could not deploy the application. I got the following error. > > Couldn't read data from file > "/home/dinithi/Github/NEW/product-private-paas/samples/network-partitions/openstack/network-partition-openstack.json", > this makes an empty POST. > > This happened only with network partition file. Cartridge json files are > created as expected. > > [1] - > https://github.com/wso2/product-private-paas/blob/master/samples/template-modules/README.md > > Thanks. > -- > *Dinithi De Silva* > Associate Software Engineer, WSO2 Inc. > m:+94716667655 | e:dinit...@wso2.com | w: www.wso2.com > | a: #20, Palm Grove, Colombo 03 > -- *Thanks and Regards,* Anuruddha Lanka Liyanarachchi Software Engineer - WSO2 Mobile : +94 (0) 712762611 Tel : +94 112 145 345 a <thili...@wso2.com>nurudd...@wso2.com
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev