Closed javarminator closed 10 years ago
The below error seems relevant.
On 10/30/2014 03:08 AM, javarminator wrote:
fatal: unable to connect to github.com: github.com[0: 192.30.252.129]: errno=Connection timed out
the process of build must download the dependence online. so your problem is the network of you virtual machine in vagrant.
I am following the installation tutorial http://karan-mj.blogspot.fi/2014/09/ceph-calamari-survival-guide.html, I successfully built the server packages, but after installing the required packages on the precise64 VM in order to build the client packages, and running the "sudo salt-call state.highstate" command, I get the error stack message
--*****--
[INFO ] Executing command 'make dpkg' as user 'vagrant' in directory '/home/vagrant/clients' . . .
keep your *(# hands off my venvs dh clean --without python2 --without python3 --without pycentral --without pysupport dh_testdir dh_auto_clean make -j1 clean
.... ... ..... .... [ERROR ] stderr: dch warning: Recognised distributions are: {hardy,lucid,maverick,natty,oneiric,precise,quantal}{,-updates,-security,-proposed,-backports} and UNRELEASED. Using your request anyway. dpkg-source --before-build clients fakeroot debian/rules clean debian/rules build npm WARN package.json manage@0.0.0 No repository field. npm WARN package.json grunt-contrib-htmlmin@0.1.3 No README data npm WARN package.json karma-chrome-launcher@0.1.5 No README data npm WARN package.json karma-phantomjs-launcher@0.1.4 No README data bower requirejs#~2.1.10 ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/jrburke/requirejs-bower.git", exit code of #128
Additional error details: fatal: unable to connect to github.com: github.com[0: 192.30.252.129]: errno=Connection timed out make[4]: * [build-stamp] Error 1 make[3]: * [build-ui] Error 2 make[2]: * [build] Error 2 dh_auto_build: make -j1 returned exit code 2 make[1]: * [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 make: * [dpkg] Error 2 [ERROR ] {'pid': 10019, 'retcode': 2, 'stderr': 'dch warning: Recognised distributions are:\n{hardy,lucid,maverick,natty,oneiric,precise,quantal}{,-updates,-security,-proposed,-backports} and UNRELEASED.\nUsing your request anyway.\n dpkg-source --before-build clients\n fakeroot debian/rules clean\n debian/rules build\nnpm WARN package.json manage@0.0.0 No repository field.\nnpm WARN package.json grunt-contrib-htmlmin@0.1.3 No README data\nnpm WARN package.json karma-chrome-launcher@0.1.5 No README data\nnpm WARN package.json karma-phantomjs-launcher@0.1.4 No README data\nbower requirejs#~2.1.10 ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/jrburke/requirejs-bower.git", exit code of #128\n\nAdditional error details:\nfatal: unable to connect to github.com:\ngithub.com[0: 192.30.252.129]: errno=Connection timed out\nmake[4]: * [build-stamp] Error 1\nmake[3]: * [build-ui] Error 2\nmake[2]: * [build] Error 2\ndh_auto_build: make -j1 returned exit code 2\nmake[1]: * [build] Error 2\ndpkg-buildpackage: error: debian/rules build gave error exit status 2\nmake: * [dpkg] Error 2', 'stdout': 'DEBEMAIL=dan.mick@inktank.com dch \n\t\t--newversion 1.2.1.1-32-gb38731e"" \n\t\t-D unstable --force-bad-version --force-distribution "built on Thu Oct 30 09:57:58 UTC 2014"\n# don\'t require Build-Depends if not Ubuntu\nif [ "y" = y ] ; then \n\t\tdpkg-buildpackage -b -us -uc ; \n\telse \n\t\tdpkg-buildpackage -d -b -us -uc ; \n\tfi\ndpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security\ndpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): -D_FORTIFY_SOURCE=2\ndpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security\ndpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2\ndpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions -Wl,-z,relro\ndpkg-buildpackage: source package calamari-clients\ndpkg-buildpackage: source version 1.2.1.1-32-gb38731e\ndpkg-buildpackage: source changed by vagrant dan.mick@inktank.com\ndpkg-buildpackage: host architecture amd64\nmake[1]: Entering directory
/home/vagrant/clients\'\n# keep your *(# hands off my venvs\ndh clean --without python2 --without python3 --without pycentral --without pysupport\n dh_testdir\n dh_auto_clean\n\tmake -j1 clean\nmake[2]: Entering directory
/home/vagrant/clients\'\nif [ "y" = y ] ; then \n\t\tmake clean-real; \n\tfi\nmake[3]: Entering directory/home/vagrant/clients\'\nfor d in manage admin login dashboard; do \\\n\t\techo $d; cd $d; make clean; cd .. ; \\\n\tdone ;\nmanage\nmake[4]: Entering directory
/home/vagrant/clients/manage\'\nif [ -d node_modules ] ; then grunt --no-color clean; fi\nRunning "clean:dist" (clean) task\n\nRunning "clean:server" (clean) task\n\nDone, without errors.\n\n\nExecution Time (2014-10-30 09:58:17 UTC)\nloading tasks 10ms \xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87 32%\nclean:dist 15ms \xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87 48%\nclean:server 4ms \xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87\xe2\x96\x87 13%\nTotal 31ms\nrm -f build-stamp\nmake[4]: Leaving directory/home/vagrant/clients/manage\'\nadmin\nmake[4]: Entering directory
/home/vagrant/clients/admin\'\nif [ -d node_modules ] ; then grunt --no-color clean; fi\nrm -f build-stamp\nmake[4]: Leaving directory/home/vagrant/clients/admin\'\nlogin\nmake[4]: Entering directory
/home/vagrant/clients/login\'\nif [ -d node_modules ] ; then grunt --no-color clean; fi\nrm -f build-stamp\nmake[4]: Leaving directory/home/vagrant/clients/login\'\ndashboard\nmake[4]: Entering directory
/home/vagrant/clients/dashboard\'\nif [ -d node_modules ] ; then grunt --no-color clean; fi\nrm -f build-stamp\nmake[4]: Leaving directory/home/vagrant/clients/dashboard\'\nrm -f /home/vagrant/clients/calamari-clients-build-output.tar.gz\nmake[3]: Leaving directory
/home/vagrant/clients\'\nmake[2]: Leaving directory/home/vagrant/clients\'\n dh_clean\n\trm -f debian/calamari-clients.substvars\n\trm -f debian/calamari-clients.*.debhelper\n\trm -rf debian/calamari-clients/\n\trm -f debian/*.debhelper.log\n\trm -f debian/files\n\tfind . \\( \\( -type f -a \\\n\t \\( -name \'#*#\' -o -name \'.*~\' -o -name \'*~\' -o -name DEADJOE \\\n\t\t -o -name \'*.orig\' -o -name \'*.rej\' -o -name \'*.bak\' \\\n\t\t -o -name \'.*.orig\' -o -name .*.rej -o -name \'.SUMS\' \\\n\t\t -o -name TAGS -o \\( -path \'*/.deps/*\' -a -name \'*.P\' \\) \\\n\t\t\\) -exec rm -f {} \\; \\) -o \\\n\t\t\\( -type d -a -name autom4te.cache -prune -exec rm -rf {} \\; \\) \\)\n\trm -f *-stamp\nmake[1]: Leaving directory
/home/vagrant/clients\'\nmake[1]: Entering directory/home/vagrant/clients\'\n# keep your *(# hands off my venvs\ndh build --without python2 --without python3 --without pycentral --without pysupport\n dh_testdir\n dh_auto_configure\n dh_auto_build\n\tmake -j1\nmake[2]: Entering directory
/home/vagrant/clients\'\nif [ "y" = y ] ; then \n\t\tmake build-real; \n\tfi\nmake[3]: Entering directory/home/vagrant/clients\'\nbuilding ui\nset -e ;\\\n\tfor d in manage admin login dashboard; do \\\n\t\techo $d; cd $d; make build; cd .. ; \\\n\tdone\nmanage\nmake[4]: Entering directory
/home/vagrant/clients/manage\'\nnpm install --loglevel warn\nbower --allow-root --config.interactive=false install\nbower requirejs#~2.1.10 not-cached git://github.com/jrburke/requirejs-bower.git#~2.1.10\nbower requirejs#~2.1.10 resolve git://github.com/jrburke/requirejs-bower.git#~2.1.10\nbower angular-motion#~0.3.1 not-cached git://github.com/mgcrea/angular-motion.git#~0.3.1\nbower angular-motion#~0.3.1 resolve git://github.com/mgcrea/angular-motion.git#~0.3.1\nmake[4]: Leaving directory/home/vagrant/clients/manage\'\nmake[3]: Leaving directory
/home/vagrant/clients\'\nmake[2]: Leaving directory/home/vagrant/clients\'\nmake[1]: Leaving directory
/home/vagrant/clients\''} [INFO ] Completed state [make dpkg] at time 09:59:42.692802local:
Summary
Succeeded: 9
Failed: 4
Total: 13
can anyone help me please ? Cheers