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 [email protected] No repository field.
npm WARN package.json [email protected] No README data
npm WARN package.json [email protected] No README data
npm WARN package.json [email protected] 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 [email protected] No repository field.\nnpm WARN package.json [email protected] No README data\nnpm WARN package.json [email protected] No README data\nnpm WARN package.json [email protected] 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=[email protected] 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 [email protected]\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.692802
local:
ID: full_build_deps
Function: pkg.installed
Result: True
Comment: All specified packages are already installed.
Changes:
ID: install_node
Function: pkgrepo.managed
Name: deb http://ppa.launchpad.net/chris-lea/node.js/ubuntu precise main
Result: True
Comment: Package repo 'deb http://ppa.launchpad.net/chris-lea/node.js/ubuntu precise main' already configured
Changes:
ID: install_node
Function: pkg.latest
Name: nodejs
Result: True
Comment: Package nodejs is already up-to-date.
Changes:
ID: bower
Function: cmd.run
Name: npm install -g [email protected]
Result: True
Comment: Command "npm install -g [email protected]" run
Changes:
----------
pid:
9936
retcode:
0
stderr:
stdout:
/usr/bin/bower -> /usr/lib/node_modules/bower/bin/bower
[email protected] /usr/lib/node_modules/bower
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
ID: grunt-cli
Function: cmd.run
Name: npm install -g grunt-cli
Result: True
Comment: Command "npm install -g grunt-cli" run
Changes:
----------
pid:
9944
retcode:
0
stderr:
stdout:
/usr/bin/grunt -> /usr/lib/node_modules/grunt-cli/bin/grunt
[email protected] /usr/lib/node_modules/grunt-cli
├── [email protected]
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected])
ID: compass
Function: cmd.run
Name: gem install compass
Result: True
Comment: Command "gem install compass" run
Changes:
----------
pid:
9952
retcode:
0
stderr:
unable to convert U+2605 from UTF-8 to US-ASCII for lib/compass/commands/watch_project.rb, skipping
unable to convert U+2605 from UTF-8 to US-ASCII for lib/compass/commands/watch_project.rb, skipping
stdout:
Compass is charityware. If you love it, please donate on our behalf at http://umdf.org/compass Thanks!
Successfully installed compass-1.0.1
1 gem installed
Installing ri documentation for compass-1.0.1...
Installing RDoc documentation for compass-1.0.1...
ID: fix_mode
Function: cmd.run
Name: chown -R vagrant:vagrant /home/vagrant
Result: True
Comment: Command "chown -R vagrant:vagrant /home/vagrant" run
Changes:
----------
pid:
9960
retcode:
0
stderr:
stdout:
ID: git_clone
Function: git.latest
Name: /git/calamari-clients
Result: True
Comment:
Changes:
ID: devscripts
Function: pkg.installed
Result: True
Comment: Package devscripts is already installed
Changes:
ID: build_calamari_clients
Function: cmd.run
Name: make dpkg
Result: False
Comment: Command "make dpkg" run
Changes:
----------
pid:
10019
retcode:
2
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 [email protected] No repository field.
npm WARN package.json [email protected] No README data
npm WARN package.json [email protected] No README data
npm WARN package.json [email protected] 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
stdout:
[email protected] dch \
--newversion 1.2.1.1-32-gb38731e"" \
-D unstable --force-bad-version --force-distribution "built on Thu Oct 30 09:57:58 UTC 2014"
# don't require Build-Depends if not Ubuntu
if [ "y" = y ] ; then \
dpkg-buildpackage -b -us -uc ; \
else \
dpkg-buildpackage -d -b -us -uc ; \
fi
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): -D_FORTIFY_SOURCE=2
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions -Wl,-z,relro
dpkg-buildpackage: source package calamari-clients
dpkg-buildpackage: source version 1.2.1.1-32-gb38731e
dpkg-buildpackage: source changed by vagrant <[email protected]>
dpkg-buildpackage: host architecture amd64
make[1]: Entering 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
make[2]: Entering directory `/home/vagrant/clients'
if [ "y" = y ] ; then \
make clean-real; \
fi
make[3]: Entering directory `/home/vagrant/clients'
for d in manage admin login dashboard; do \
echo $d; cd $d; make clean; cd .. ; \
done ;
manage
make[4]: Entering directory `/home/vagrant/clients/manage'
if [ -d node_modules ] ; then grunt --no-color clean; fi
Running "clean:dist" (clean) task
Running "clean:server" (clean) task
Done, without errors.
Execution Time (2014-10-30 09:58:17 UTC)
loading tasks 10ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 32%
clean:dist 15ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 48%
clean:server 4ms ▇▇▇▇▇▇▇ 13%
Total 31ms
rm -f build-stamp
make[4]: Leaving directory `/home/vagrant/clients/manage'
admin
make[4]: Entering directory `/home/vagrant/clients/admin'
if [ -d node_modules ] ; then grunt --no-color clean; fi
rm -f build-stamp
make[4]: Leaving directory `/home/vagrant/clients/admin'
login
make[4]: Entering directory `/home/vagrant/clients/login'
if [ -d node_modules ] ; then grunt --no-color clean; fi
rm -f build-stamp
make[4]: Leaving directory `/home/vagrant/clients/login'
dashboard
make[4]: Entering directory `/home/vagrant/clients/dashboard'
if [ -d node_modules ] ; then grunt --no-color clean; fi
rm -f build-stamp
make[4]: Leaving directory `/home/vagrant/clients/dashboard'
rm -f /home/vagrant/clients/calamari-clients-build-output.tar.gz
make[3]: Leaving directory `/home/vagrant/clients'
make[2]: Leaving directory `/home/vagrant/clients'
dh_clean
rm -f debian/calamari-clients.substvars
rm -f debian/calamari-clients.*.debhelper
rm -rf debian/calamari-clients/
rm -f debian/*.debhelper.log
rm -f debian/files
find . \( \( -type f -a \
\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
-o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
-o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
-o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
\) -exec rm -f {} \; \) -o \
\( -type d -a -name autom4te.cache -prune -exec rm -rf {} \; \) \)
rm -f *-stamp
make[1]: Leaving directory `/home/vagrant/clients'
make[1]: Entering directory `/home/vagrant/clients'
# keep your *(# hands off my venvs
dh build --without python2 --without python3 --without pycentral --without pysupport
dh_testdir
dh_auto_configure
dh_auto_build
make -j1
make[2]: Entering directory `/home/vagrant/clients'
if [ "y" = y ] ; then \
make build-real; \
fi
make[3]: Entering directory `/home/vagrant/clients'
building ui
set -e ;\
for d in manage admin login dashboard; do \
echo $d; cd $d; make build; cd .. ; \
done
manage
make[4]: Entering directory `/home/vagrant/clients/manage'
npm install --loglevel warn
bower --allow-root --config.interactive=false install
bower requirejs#~2.1.10 not-cached git://github.com/jrburke/requirejs-bower.git#~2.1.10
bower requirejs#~2.1.10 resolve git://github.com/jrburke/requirejs-bower.git#~2.1.10
bower angular-motion#~0.3.1 not-cached git://github.com/mgcrea/angular-motion.git#~0.3.1
bower angular-motion#~0.3.1 resolve git://github.com/mgcrea/angular-motion.git#~0.3.1
make[4]: Leaving directory `/home/vagrant/clients/manage'
make[3]: Leaving directory `/home/vagrant/clients'
make[2]: Leaving directory `/home/vagrant/clients'
make[1]: Leaving directory `/home/vagrant/clients'
ID: copy_calamari_clients
Function: cmd.run
Name: cp calamari-clients*.deb /git/
Result: False
Comment: One or more requisite failed
Changes:
ID: make_build_product
Function: cmd.run
Name: make build-product
Result: False
Comment: One or more requisite failed
Changes:
ID: copyout_build_product
Function: cmd.run
Name: cp calamari-clients*tar.gz /git/
Result: False
Comment: One or more requisite failed
Changes:
Summary
Succeeded: 9
Failed: 4
Total: 13
can anyone help me please ?
Cheers