Hi Issue was resolved, thanks Chamila ! Cheers, Dushan
On Sun, May 22, 2016 at 7:44 PM, Dushan Abeyruwan <[email protected]> wrote: > I'm sorry which file [1] you mean? > in documentation it does not say which file i need to do these changes and > common.yaml has this AFAIU > > For instance gateway-worker only has > > # Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. > # > # Licensed under the Apache License, Version 2.0 (the "License"); > # you may not use this file except in compliance with the License. > # You may obtain a copy of the License at > # > # http://www.apache.org/licenses/LICENSE-2.0 > # > # Unless required by applicable law or agreed to in writing, software > # distributed under the License is distributed on an "AS IS" BASIS, > # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. > # See the License for the specific language governing permissions and > # limitations under the License. > > --- > wso2::mgt_hostname: mgt.gw.dev.wso2.org > wso2::hostname: gw.dev.wso2.org > > wso2::clustering: > enabled: true > domain: gw.am.wso2.domain > sub_domain: worker > local_member_host: "%{::ipaddress}" > local_member_port: 4000 > membership_scheme: wka > wka: > members: > - > hostname: 192.168.100.5 > port: 4000 > - > hostname: 192.168.100.6 > port: 4000 > > wso2::dep_sync: > enabled: true > auto_checkout: true > auto_commit: false > repository_type: svn > svn: > url: http://svn.gw.am.dev.wso2.org/gateway-artifacts > user: svnuser > password: password > append_tenant_id: true > > wso2::registry_mounts: > wso2_config_db: > path: /_system/config > target_path: /_system/config/apim-gw > read_only: true > registry_root: / > enable_cache: true > > wso2_gov_db: > path: /_system/governance > target_path: /_system/governance > read_only: true > registry_root: / > enable_cache: true > > [1] https://github.com/wso2/puppet-modules/tree/master/modules/wso2am > > On Sun, May 22, 2016 at 6:23 PM, Chamila De Alwis <[email protected]> > wrote: > >> 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 <[email protected]> >> 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 <[email protected]> >>> 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 >>> >>> >> > > > -- > 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 [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
