"Exiting; failed to retrieve certificate and waitforcert is disabled" This log says it is waiting for master to sign its certificate.
If type puppet cert list it wil list all the unsigned certs. To fix this you have to manually sign the certificate. puppet cert sign 009209021511.default.nodejsdevelopment.puppet On Mon, Feb 9, 2015 at 12:18 PM, Hasitha Weerasinghe <[email protected]> wrote: > The contents of my puppet masters puppet.conf is follows > > > [main] > logdir=/var/log/puppet > vardir=/var/lib/puppet > ssldir=/var/lib/puppet/ssl > rundir=/var/run/puppet > factpath=$vardir/lib/facter > templatedir=$confdir/templates > debug=true > verbose=true > prerun_command=/etc/puppet/etckeeper-commit-pre > postrun_command=/etc/puppet/etckeeper-commit-post > > > [master] > # These are needed when the puppetmaster is run by passenger > # and can safely be removed if webrick is used. > ssl_client_header = SSL_CLIENT_S_DN > ssl_client_verify_header = SSL_CLIENT_VERIFY > autosign=true > > [appfactory] > environment=appfactory > > modulepath=/home/ubuntu/product-af/modules/puppet-manifests/appfactory/modules > > templatedir=/home/ubuntu/product-af/modules/puppet-manifests/appfactory/templates > > manifest=/home/ubuntu/product-af/modules/puppet-manifests/appfactory/manifests/site.pp > > manifestdir=/home/ubuntu/product-af/modules/puppet-manifests/appfactory/manifests/ > > > > > > On Mon, Feb 9, 2015 at 11:51 AM, Manula Waidyanatha <[email protected]> > wrote: > >> Hi Hasith, >> Looks like autosign is disabled in your puppet masters puppet.conf file. >> >> On Mon, Feb 9, 2015 at 11:10 AM, Hasitha Weerasinghe <[email protected]> >> 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 : [email protected] >>> >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Regards, >> Manula Waidyanatha >> Systems Engineer, WSO2, Inc. >> Phone: +94 774 195853 >> Blog: blog.manula.org >> > > > > -- > *Hasitha Weerasinghe* > *Software Engineer Intern - WSO2 <http://wso2.com/> * > Mobile : +94 776 33 6626 > Email : [email protected] > > > > > -- Regards, Manula Waidyanatha Systems Engineer, WSO2, Inc. Phone: +94 774 195853 Blog: blog.manula.org
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
