Hi Dushan, It seems you have not enabled the data sources needed to configure the registry mounting. Please refer the module README. It lists which entries should be uncommented and changed in order to configure distributed profiles.
[1] - https://github.com/wso2/puppet-modules/tree/master/modules/wso2am Regards, Chamila de Alwis Committer and PMC Member - Apache Stratos Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Mon, May 23, 2016 at 2:11 AM, Dushan Abeyruwan <dus...@wso2.com> wrote: > compelete error log > > root@dushan-b:/opt# ./setup.sh > ##################################################### > Starting cleanup > ##################################################### > ##################################################### > Setting up environment > ##################################################### > reading.... > product_name=wso2am product_version=1.10.0 product_profile=gateway-worker > reading end > ##################################################### > Installing > ##################################################### > Info: Retrieving plugin > Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb > Info: Loading facts in /var/lib/puppet/lib/facter/service_provider.rb > Info: Loading facts in /var/lib/puppet/lib/facter/package_provider.rb > Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb > Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb > Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb > Error: Could not retrieve catalog from remote server: Error 400 on SERVER: > Failed to parse template wso2am/1.10.0/repository/conf/registry.xml.erb: > Filepath: > /etc/puppet/modules/wso2am/templates/1.10.0/repository/conf/registry.xml.erb > Line: 37 > Detail: undefined method `[]' for nil:NilClass > at /etc/puppet/modules/wso2base/manifests/push_templates.pp:23 on node > dushan-b.openstacklocal > Warning: Not using cache on failed catalog > Error: Could not retrieve catalog; skipping run > root@dushan-b:/opt# exit > exit > ubuntu@dushan-b:~$ exit > > On Sun, May 22, 2016 at 12:49 PM, Dushan Abeyruwan <dus...@wso2.com> > wrote: > >> Hi Devs, >> Getting following error while running profiles other than the default, >> what could be the reason here? >> >> I'm using following script [1], as I mentioned default profile seems >> working fine. >> >> *Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb* >> >> >> >> >> >> >> *Error: Could not retrieve catalog from remote server: Error 400 on >> SERVER: Failed to parse template >> wso2am/1.10.0/repository/conf/registry.xml.erb: Filepath: >> /etc/puppet/modules/wso2am/templates/1.10.0/repository/conf/registry.xml.erb >> Line: >> 37 Detail: undefined method `[]' for nil:NilClassat >> /etc/puppet/modules/wso2base/manifests/push_templates.pp:23 on node >> dushan-b.openstacklocalWarning: Not using cache on failed catalogError: >> Could not retrieve catalog; skipping run* >> >> [1]https://github.com/wso2/puppet-modules/releases/tag/v2.0.0-rc1 >> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fwso2%2Fpuppet-modules%2Freleases%2Ftag%2Fv2.0.0-rc1&sa=D&sntz=1&usg=AFQjCNHA0b950X7MovnpUcIVqXTHQUfaaQ> >> >> -- >> Dushan Abeyruwan | Technical Lead >> >> PMC Member Apache Synpase >> WSO2 Inc. http://wso2.com/ >> Blog:*http://www.dushantech.com/ <http://www.dushantech.com/>* >> LinkedIn:*https://www.linkedin.com/in/dushanabeyruwan >> <https://www.linkedin.com/in/dushanabeyruwan>* >> Mobile:(001)408-791-9312 >> >> > > > -- > Dushan Abeyruwan | Technical Lead > > PMC Member Apache Synpase > WSO2 Inc. http://wso2.com/ > Blog:*http://www.dushantech.com/ <http://www.dushantech.com/>* > LinkedIn:*https://www.linkedin.com/in/dushanabeyruwan > <https://www.linkedin.com/in/dushanabeyruwan>* > Mobile:(001)408-791-9312 > >
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev