Hi, 0. Check the site.pp/nodes.pp (or any other node definition) got a match with the hostname of the agent 1. Check the puppet msters IP and check whether it is correct. 2. Run telnet and see if the port is open. telnet puppet 8140 or telnet <puppet master ip> 8140
3. Run in puppetmaster puppet cert list --all | grep '<puppet agents hostname>' puppet cert sign --all 4. Rerun in agent puppet agent -vt --noop --waitforcert=60 Regards, Thilina Thanks and regards, Thilina Piyasundara Systems Engineer M: 071-775-0006 Blog: thilina.piyasundara.org Linkedin: linkedin.com/in/thilinapiyasundara WSO2, Inc. <http://wso2.com/> lean . enterprise . middleware https://cloud.wso2.com On Mon, Feb 9, 2015 at 11:29 AM, Sajith Kariyawasam <saj...@wso2.com> wrote: > Hi Hasitha, > > Check whether the puppet agent and master settings are according to this > [1] > > [1] http://sajithblogs.blogspot.com/2014/12/puppet-configs.html > > On Mon, Feb 9, 2015 at 11:26 AM, Lasindu Charith <lasi...@wso2.com> wrote: > >> Hi Hasitha, >> >> Seems like the spawned instance is having some issues when connecting to >> the puppet-master. That is the reason why it's not been able to retrieve >> the node-js puppet module from puppet-master. Were you able to spawn any >> other instance using the same puppet-master? >> >> Thanks, >> >> On Sun, Feb 8, 2015 at 9:40 PM, Hasitha Weerasinghe <hasit...@wso2.com> >> wrote: >> >>> Hi All, >>> >>> I followed Apache stratos 4.0.0 [1] >>> <https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Creating+a+Cartridge+on+OpenStack> >>> to create a Nodejs cartridge in openstack. I have added Nodejs puppet >>> modules to my puppet master following this blog [2] >>> <http://blog.lasindu.com/2014/08/apache-stratos-how-nodejs-cartridge.html>. >>> When the successfully build artifact is deployed in s2gitblit, the Nodejs >>> cartridge instance get spawned. But artifact is not getting deployed in >>> cartridge. I have cleared the puppet certificates before creating the >>> snapshot. >>> >>> >>> *puppet_log* file :- >>> >>> Removing all existing certificates .. >>> >>> Node Id 009209021511.default.nodejsdevelopment >>> >>> >>> Domain puppet >>> >>> * Restarting puppet agent >>> ...done. >>> hostname stop/waiting >>> ^[[0;32mInfo: Creating a new SSL key for >>> 009209021511.default.nodejsdevelopment.puppet^[[0m >>> ^[[0;32mInfo: csr_attributes file loading from >>> /etc/puppet/csr_attributes.yaml^[[0m >>> ^[[0;32mInfo: Creating a new SSL certificate request for >>> 009209021511.default.nodejsdevelopment.puppet^[[0m >>> ^[[0;32mInfo: Certificate Request fingerprint (SHA256): >>> 95:37:CD:32:B1:F9:CF:2B:4F:AD:3C:94:A6:3D:28:9E:29:0E:66:B5:FA:2A:D6:55:08:F6:2D:C4:3E:D9:45:F6^[[0m >>> ^[[0;32mInfo: Caching certificate for >>> 009209021511.default.nodejsdevelopment.puppet^[[0m >>> Exiting; failed to retrieve certificate and waitforcert is disabled >>> Initialization completed successfully. >>> >>> >>> [1] >>> https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Creating+a+Cartridge+on+OpenStack >>> [2] >>> http://blog.lasindu.com/2014/08/apache-stratos-how-nodejs-cartridge.html >>> >>> -- >>> *Hasitha Weerasinghe* >>> *Software Engineer Intern - WSO2 <http://wso2.com/> * >>> Mobile : +94 776 33 6626 >>> Email : hasit...@wso2.com >>> >>> >>> >> >> >> -- >> *Lasindu Charith* >> Software Engineer, WSO2 Inc. >> Mobile: +94714427192 >> Web: blog.lasindu.com >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > >
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev