Re: [Dev] [Private PaaS] Plain text file creates instead of a json file, after running the Configurator
Thanks Anuruddha for the fix. On Tue, Sep 22, 2015 at 5:27 PM, Anuruddha Liyanarachchi < anurudd...@wso2.com> wrote: > Hi Dinithi, > > I have now fixed this issue with commit [1]. > > [1] > https://github.com/wso2/product-private-paas/commit/793f9a062c28e9c733ca547575b877a40f3c3b19 > > On Tue, Sep 22, 2015 at 5:01 PM, Anuruddha Liyanarachchi < > anurudd...@wso2.com> wrote: > >> 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>> 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 >>> /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 nurudd...@wso2.com >> > > > > -- > *Thanks and Regards,* > Anuruddha Lanka Liyanarachchi > Software Engineer - WSO2 > Mobile : +94 (0) 712762611 > Tel : +94 112 145 345 > a nurudd...@wso2.com > -- *Dinithi De Silva* Associate Software Engineer, WSO2 Inc. m:+94716667655 | e:dinit...@wso2.com | w: www.wso2.com | a: #20, Palm Grove, Colombo 03 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Private PaaS] Plain text file creates instead of a json file, after running the Configurator
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 Silvawrote: > 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 > /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 nurudd...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Private PaaS] Plain text file creates instead of a json file, after running the Configurator
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 /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 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Private PaaS] Plain text file creates instead of a json file, after running the Configurator
Hi Dinithi, I have now fixed this issue with commit [1]. [1] https://github.com/wso2/product-private-paas/commit/793f9a062c28e9c733ca547575b877a40f3c3b19 On Tue, Sep 22, 2015 at 5:01 PM, Anuruddha Liyanarachchi < anurudd...@wso2.com> wrote: > 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> 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 >> /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 nurudd...@wso2.com > -- *Thanks and Regards,* Anuruddha Lanka Liyanarachchi Software Engineer - WSO2 Mobile : +94 (0) 712762611 Tel : +94 112 145 345 a nurudd...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev