Code Monkey home page Code Monkey logo

calamari-clients's Introduction

Calamari-clients is being renamed

To romana https://en.wikipedia.org/wiki/Squid_(food)#Squid_preparation available here https://github.com/ceph/romana

What does this mean for you?

Nothing much. This code will still be available under the same license as before (MIT) see https://github.com/ceph/romana/blob/master/LICENSE.txt It will still be developed in the same way as in the past. PRs against the other repo will be kindly moved over here for a time.

Where can I go to ask questions or engage the community?

Calamari developer documentation: http://calamari.readthedocs.org

Calamari mailing list: http://lists.ceph.com/listinfo.cgi/ceph-calamari-ceph.com

Calamari issue tracker: http://tracker.ceph.com/projects/calamari

calamari-clients's People

Contributors

christinameno avatar dmick avatar jcsp avatar karnan4ever avatar theanalyst avatar tserong avatar yanfali avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

calamari-clients's Issues

not clear instruction to install compass

The readme has the following instruction:
"install grunt-cli globally via npm and compass via gem and make sure your system has a recent gnu compatible make binary"

The problem is with " compass via gem" - does it imply that Ruby (gem) needs to be installed? Because it's not clear what exact command needs to be run here, and the requirements do not mention Ruby/gem prerequisite.

[email protected] not available anymore

Hi,

It seems the build depends on yo 1.0.0, which is apparently not provided anymore.

npm ERR! notarget No compatible version found: yo@'>=1.0.0-0 <1.1.0-0'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["1.1.0","1.1.1","1.1.2","1.2.0","1.2.1","1.3.0","1.3.2","1.3.3"]

I replaced the version by 1.1.0 in admin & login package.json and it build fine.

Bertrand

ImportError: No module named renderers

Hi,

Ive built calamari-clients using the vagrant precise build method however trying to view the dashboard results in the following error in httpd_error.log.

.deb built from 1.2 branch.

[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146] mod_wsgi (pid=5139): Exception occurred processing WSGI script '/opt/calamari/conf/calamari.wsgi'.
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146] Traceback (most recent call last):
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]   File "/opt/calamari/venv/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 255, in __call__
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]     response = self.get_response(request)
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]   File "/opt/calamari/venv/lib/python2.7/site-packages/django/core/handlers/base.py", line 178, in get_response
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]     response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]   File "/opt/calamari/venv/lib/python2.7/site-packages/django/core/handlers/base.py", line 220, in handle_uncaught_exception
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]     if resolver.urlconf_module is None:
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]   File "/opt/calamari/venv/lib/python2.7/site-packages/django/core/urlresolvers.py", line 342, in urlconf_module
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]     self._urlconf_module = import_module(self.urlconf_name)
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]   File "/opt/calamari/venv/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]     __import__(name)
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]   File "/opt/calamari/venv/lib/python2.7/site-packages/calamari_web-0.1-py2.7.egg/calamari_web/urls.py", line 20, in <module>
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]     url(r'^api/v1/', include('calamari_rest.urls.v1')),
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]   File "/opt/calamari/venv/lib/python2.7/site-packages/django/conf/urls/__init__.py", line 25, in include
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]     urlconf_module = import_module(urlconf_module)
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]   File "/opt/calamari/venv/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]     __import__(name)
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]   File "/opt/calamari/venv/lib/python2.7/site-packages/calamari_rest_api-0.1-py2.7.egg/calamari_rest/urls/v1.py", line 2, in <module>
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]     from rest_framework import routers
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]   File "/opt/calamari/venv/lib/python2.7/site-packages/rest_framework/routers.py", line 21, in <module>
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]     from rest_framework import views
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]   File "/opt/calamari/venv/lib/python2.7/site-packages/rest_framework/views.py", line 81, in <module>
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]     class APIView(View):
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]   File "/opt/calamari/venv/lib/python2.7/site-packages/rest_framework/views.py", line 84, in APIView
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]     renderer_classes = api_settings.DEFAULT_RENDERER_CLASSES
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]   File "/opt/calamari/venv/lib/python2.7/site-packages/rest_framework/settings.py", line 198, in __getattr__
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]     val = perform_import(val, attr)
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]   File "/opt/calamari/venv/lib/python2.7/site-packages/rest_framework/settings.py", line 150, in perform_import
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]     return [import_from_string(item, setting_name) for item in val]
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]   File "/opt/calamari/venv/lib/python2.7/site-packages/rest_framework/settings.py", line 166, in import_from_string
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146]     raise ImportError(msg)
[Fri Aug 01 02:34:45 2014] [error] [client 10.19.168.146] ImportError: Could not import 'calamari_rest.renderers.CalamariBrowsableAPIRenderer' for API setting 'DEFAULT_RENDERER_CLASSES'. ImportError: No module named renderers.

troubles during install

Dear all,
I've got some troubles with the installation process.

When I run make dist,the result is just a tar of the repository (weird, isn't it ? espacially knowing that the operation lasts about 7 minutes) and when I run make dist I get this error stack

Running "concurrent:dist" (concurrent) task
[D] Task source: /tmp/calamari_client_repo/calamari-clients/manage/node_modules/grunt-concurrent/tasks/concurrent.js

Running "copy:styles" (copy) task
[D] Task source: /tmp/calamari_client_repo/calamari-clients/manage/node_modules/grunt-contrib-copy/tasks/copy.js


Done, without errors.


Execution Time (2015-01-21 13:17:54 UTC)
loading tasks   4ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇ 27%
copy:styles    10ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 67%
Total 15ms
    Warning: 
/tmp/calamari_client_repo/calamari-clients/manage/node_modules/grunt-contrib-compass/node_modules/tmp/lib/tmp.js:261
  throw err;
        ^
Error: ENOENT, no such file or directory 'dist/images/logo.png'
    at Object.fs.statSync (fs.js:695:18)
    at processed (/tmp/calamari_client_repo/calamari-clients/manage/node_modules/grunt-contrib-imagemin/tasks/imagemin.js:84:43)
    at /tmp/calamari_client_repo/calamari-clients/manage/node_modules/grunt-contrib-imagemin/tasks/imagemin.js:131:29
    at callDone (/tmp/calamari_client_repo/calamari-clients/manage/node_modules/grunt/node_modules/grunt-legacy-util/index.js:159:5)
    at ChildProcess.<anonymous> (/tmp/calamari_client_repo/calamari-clients/manage/node_modules/grunt/node_modules/grunt-legacy-util/index.js:198:5)
    at ChildProcess.emit (events.js:98:17)
    at maybeClose (child_process.js:756:16)
    at Socket.<anonymous> (child_process.js:969:11)
    at Socket.emit (events.js:95:17)
    at Pipe.close (net.js:465:12) Use --force to continue.

    Aborted due to warnings.

Can anyone help me please ?

details : I'am building the packages on a centos 7 Virtual Machine .

Regards
F

troubles building clients packages

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

CentOS build issues (may deal with proxies)

Hey Calamari folks,

I've tried to work this out on my own, but I'm kinda at the end of my rope here. To start off, I've considered swapping over to the Vagrant build configuration, but I'm intending to actively develop on Calamari for a number of months and would prefer to work within a standard CentOS environment.

I'm using Centos7, and your step by step guide for Fedora 20 was quite helpful:

yum install nodejs npm ruby make git
npm install -g grunt-cli
download and install rubygems
gem install compass
checkout the code git clone [email protected]:ceph/calamari-clients.git
cd into calamari-clients folder
to build: make build-real

Problems didn't really crop up until I actually tried to build. I'm building behind HP's corporate firewall, so I need to deal with a proxy. Here are the places that I've defined a proxy:

  1. The bash environment variables (http_proxy, https_proxy, HTTP_PROXY, HTTPS_PROXY)
    • I made them part of the base bash environment variables in /etc/bashrc
  2. The git global proxies
    • both git config --global http.proxy and https.proxy
    • a bonus config point via git config --global url."https://".insteadOf git://
  3. Each individual .bowerrc file
    • proxy and https-proxy
  4. npm proxies
    • proxy, http-proxy, and https-proxy

I had been running make build-real, but the build consistently failed. I'll post images a bit farther down. So, I took a look at the makefile to double-check that running sudo make build in each individual directory would be effectively the same as running sudo make build-real at the base directory (calamari-clients). So, I went and built dashboard, admin, and login. All three seem to have worked correctly (there's a dist directory in each of those three directories). The manage directory is the area where I'm consistently having problems. The compass.dist task runs, but then things fall off the wagon a bit:

calamari_pre-build_failure

The "pre-build test failed, compiling from source..." lines take a few minutes to come out, and then another five minutes or so to get the ETIMEDOUT lines, which still seem to indicate some sort of success. We sit and wait at the screen above for a solid ten minutes. In that time, the system becomes semi-unresponsive. Before we get to that point, I ran a 'ps aux | grep node'. I didn't count the processes, but there are quite a few running simultaneously. The mouse cursor moves, but nothing else works (second terminals don't respond to text input or mouse clicks, for instance). Then, I get this:

calamari_make_failure

Any idea what to make of this? I took a look at the Gruntfile.js in the manage directory and saw that the concurrent:dist task deals with compass (unless I'm totally misinterpreting the Gruntfile). My thought is that this all stems from the ETIMEDOUT messages, but I don't know enough about calamari's build process to know for sure. I tracked down a stackoverflow post that seemed to have potential, but either I can't figure out the right way to define the HP proxy in the proxies: json entry or that's not my problem spot. http://stackoverflow.com/questions/24821833/how-do-i-configure-grunt-connect-proxy-behind-a-firewall

Sorry for the long post. Any help or pointers in the right direction would be greatly appreciated. Also, at some point I'd like to add to at least the .bowerrc files to help out anyone who might deal with proxies in the future like me...having a couple of commented out lines for proxies along with some documentation on what proxies need to be set would've saved me a few trips to the Google search bar.

Joe

vagrant build fails for precise-build

When I run "make dpkg" under vagrant in precise-build, I receive the following error message.
Increasing bower to 1.3.8 allows a successful build.

vagrant@precise64:~/clients$ make dpkg
DEBEMAIL=[email protected] dch
--newversion 1.2-rc2-49-g3e3686d""
-D unstable --force-bad-version --force-distribution "built on Wed Aug 6 22:06:55 UTC 2014"
dch warning: Recognised distributions are:
{hardy,lucid,maverick,natty,oneiric,precise,quantal}{,-updates,-security,-proposed,-backports} and UNRELEASED.
Using your request anyway.

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-rc2-49-g3e3686d
dpkg-buildpackage: source changed by vagrant [email protected]
dpkg-buildpackage: host architecture amd64
dpkg-source --before-build clients
fakeroot debian/rules clean
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-08-06 22:07:08 UTC)
loading tasks 22ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 50%
clean:dist 15ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 34%
clean:server 5ms ▇▇▇▇▇▇ 11%
Total 44ms
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'
debian/rules build
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
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 --allow-root install

Update available: 1.3.9 (current: 1.2.8)

Run npm update -g bower to update

bower not-cached git://github.com/jrburke/requirejs-bower.git#~2.1.10
bower resolve git://github.com/jrburke/requirejs-bower.git#~2.1.10
bower not-cached git://github.com/mgcrea/angular-motion.git#~0.3.1
bower resolve git://github.com/mgcrea/angular-motion.git#~0.3.1
bower error Arguments to path.join must be strings

Stack trace:
TypeError: Arguments to path.join must be strings
at path.js:360:15
at Array.filter (native)
at Object.exports.join (path.js:358:36)
at GitHubResolver._checkout (/usr/lib/node_modules/bower/lib/core/resolvers/GitHubResolver.js:54:21)
at /usr/lib/node_modules/bower/lib/core/resolvers/GitResolver.js:69:21
at _fulfilled (/usr/lib/node_modules/bower/node_modules/q/q.js:798:54)
at self.promiseDispatch.done (/usr/lib/node_modules/bower/node_modules/q/q.js:827:30)
at Promise.promise.promiseDispatch (/usr/lib/node_modules/bower/node_modules/q/q.js:760:13)
at /usr/lib/node_modules/bower/node_modules/q/q.js:574:44
at flush (/usr/lib/node_modules/bower/node_modules/q/q.js:108:17)

Console trace:
Trace
at StandardRenderer.error (/usr/lib/node_modules/bower/lib/renderers/StandardRenderer.js:74:17)
at Logger.updateNotifier.packageName (/usr/lib/node_modules/bower/bin/bower:109:18)
at Logger.emit (events.js:95:17)
at Logger.emit (/usr/lib/node_modules/bower/node_modules/bower-logger/lib/Logger.js:29:39)
at /usr/lib/node_modules/bower/lib/commands/install.js:27:16
at _rejected (/usr/lib/node_modules/bower/node_modules/q/q.js:808:24)
at /usr/lib/node_modules/bower/node_modules/q/q.js:834:30
at Promise.when (/usr/lib/node_modules/bower/node_modules/q/q.js:1079:31)
at Promise.promise.promiseDispatch (/usr/lib/node_modules/bower/node_modules/q/q.js:752:41)
at /usr/lib/node_modules/bower/node_modules/q/q.js:574:44

System info:
Bower version: 1.2.8
Node version: 0.10.30
OS: Linux 3.2.0-23-generic x64
make[4]: *** [build-stamp] Error 1
make[4]: Leaving directory /home/vagrant/clients/manage' make[3]: *** [build-ui] Error 2 make[3]: Leaving directory/home/vagrant/clients'
make[2]: *** [build] Error 2
make[2]: Leaving directory /home/vagrant/clients' dh_auto_build: make -j1 returned exit code 2 make[1]: *** [build] Error 2 make[1]: Leaving directory/home/vagrant/clients'
dpkg-buildpackage: error: debian/rules build gave error exit status 2
make: *** [dpkg] Error 2
vagrant@precise64:/clients$ Connection to 127.0.0.1 closed by remote host.
Connection to 127.0.0.1 closed.
kevin@nereocystis:
/src/calamari-clients/vagrant/precise-build$

calamari-client build doesn't create tar file

I follow the instruction in this link: https://github.com/ceph/calamari-clients/wiki/Fedora-Build-Instructions

yum install nodejs npm ruby make git
npm install -g grunt-cli
download and install rubygems
gem install compass
checkout the code git clone [email protected]:ceph/calamari-clients.git
cd into calamari-clients folder
to build: make build-real

Upon successful build you will have dist folders in admin/login/dashboard/manage folders and you have to use them in your webapp/content folder of calamari.

The build process seems working correctly (no error message)
The admin/login/dashboard/manage folders have been updated:

[root@acme64 calamari-clients]# ls -l
total 76
drwxr-xr-x 8 root root 4096 Jul 27 13:18 admin
-rw-r--r-- 1 root root 1398 Jul 23 13:46 bootstrap.md
-rw-r--r-- 1 root root 2222 Jul 23 13:46 calamari-clients.suse.spec
-rw-r--r-- 1 root root 1170 Jul 23 13:46 clients.spec
-rw-r--r-- 1 root root 1646 Jul 23 13:46 COPYING
drwxr-xr-x 10 root root 4096 Jul 27 13:21 dashboard
drwxr-xr-x 2 root root 4096 Jul 23 13:46 debian
-rwxr-xr-x 1 root root 874 Jul 23 13:46 get-versions.sh
-rw-r--r-- 1 root root 1127 Jul 23 13:46 LICENSE.txt
drwxr-xr-x 8 root root 4096 Jul 27 13:19 login
-rw-r--r-- 1 root root 4569 Jul 23 13:46 Makefile
-rw-r--r-- 1 root root 910 Jul 23 13:46 Makefile.sub
drwxr-xr-x 9 root root 4096 Jul 27 13:17 manage
-rw-r--r-- 1 root root 856 Jul 23 13:46 README.md
drwxr-xr-x 2 root root 4096 Jul 23 13:46 screenshots
-rw-r--r-- 1 root root 815 Jul 23 13:46 ui.build.instructions.md
drwxr-xr-x 3 root root 4096 Jul 23 13:46 utils
drwxr-xr-x 9 root root 4096 Jul 23 13:46 vagrant

for admin, the dist folder has been created.

[root@acme64 admin]# ls -l
total 52
drwxr-xr-x 7 root root 4096 Jul 27 13:17 app
-rw-r--r-- 1 root root 493 Jul 23 13:46 bower.json
-rw-r--r-- 1 root root 0 Jul 27 13:18 build-stamp
drwxr-xr-x 7 root root 4096 Jul 27 13:18 dist
-rw-r--r-- 1 root root 8977 Jul 23 13:46 Gruntfile.js
-rw-r--r-- 1 root root 1285 Jul 23 13:46 karma.conf.js
-rw-r--r-- 1 root root 1134 Jul 23 13:46 karma-e2e.conf.js
-rw-r--r-- 1 root root 24 Jul 23 13:46 Makefile
drwxr-xr-x 32 root root 4096 Jul 27 13:17 node_modules
-rw-r--r-- 1 root root 1018 Jul 23 13:46 package.json
-rw-r--r-- 1 root root 480 Jul 23 13:46 README.md
drwxr-xr-x 3 root root 4096 Jul 23 13:46 test
[root@acme64 admin]#

for dashboard, the dist folder has been created:

[root@acme64 dashboard]# ls -l
total 60
drwxr-xr-x 6 root root 4096 Jul 27 13:20 app
-rw-r--r-- 1 root root 835 Jul 23 13:46 bower.json
-rw-r--r-- 1 root root 0 Jul 27 13:21 build-stamp
drwxr-xr-x 7 root root 4096 Jul 27 13:21 dist
drwxr-xr-x 3 root root 4096 Jul 27 13:21 docs
drwxr-xr-x 2 root root 4096 Jul 23 13:46 documentation
-rw-r--r-- 1 root root 12894 Jul 23 13:46 Gruntfile.js
-rw-r--r-- 1 root root 24 Jul 23 13:46 Makefile
drwxr-xr-x 33 root root 4096 Jul 27 13:19 node_modules
-rw-r--r-- 1 root root 1068 Jul 23 13:46 package.json
-rw-r--r-- 1 root root 7606 Jul 23 13:46 README.md
drwxr-xr-x 4 root root 4096 Jul 23 13:46 test
[root@acme64 dashboard]#

for login , the dist folder has been created
[root@acme64 login]# ls -l
total 48
drwxr-xr-x 6 root root 4096 Jul 27 13:19 app
-rw-r--r-- 1 root root 322 Jul 23 13:46 bower.json
-rw-r--r-- 1 root root 0 Jul 27 13:19 build-stamp
drwxr-xr-x 7 root root 4096 Jul 27 13:19 dist
-rw-r--r-- 1 root root 12351 Jul 23 13:46 Gruntfile.js
-rw-r--r-- 1 root root 24 Jul 23 13:46 Makefile
drwxr-xr-x 33 root root 4096 Jul 27 13:18 node_modules
-rw-r--r-- 1 root root 1066 Jul 23 13:46 package.json
-rw-r--r-- 1 root root 451 Jul 23 13:46 README.md
drwxr-xr-x 4 root root 4096 Jul 23 13:46 test
[root@acme64 login]#

for manage, the dist folder has been created:
drwxr-xr-x 7 root root 4096 Jul 27 13:16 app
-rw-r--r-- 1 root root 676 Jul 23 13:46 bower.json
-rw-r--r-- 1 root root 0 Jul 27 13:17 build-stamp
drwxr-xr-x 8 root root 4096 Jul 27 13:17 dist
drwxr-xr-x 2 root root 4096 Jul 23 13:46 documentation
-rw-r--r-- 1 root root 13706 Jul 23 13:46 Gruntfile.js
-rw-r--r-- 1 root root 1564 Jul 23 13:46 karma.conf.js
-rw-r--r-- 1 root root 1348 Jul 23 13:46 karma-e2e.conf.js
-rw-r--r-- 1 root root 24 Jul 23 13:46 Makefile
drwxr-xr-x 45 root root 4096 Jul 27 13:15 node_modules
-rw-r--r-- 1 root root 1632 Jul 27 13:14 package.json
-rw-r--r-- 1 root root 8353 Jul 23 13:46 README.md
drwxr-xr-x 3 root root 4096 Jul 23 13:46 test
[root@acme64 manage]#

what is my next step, I need:

  1. run some make dist command to create a new tar ball

  2. do I need to manually copy all the tar files?

Thanks a lot;

Charley

how to deploy the calamari-client tarball in the calamari master machine

dear Calamari guy;

I follow the instruction from the link:
https://github.com/ceph/calamari-clients/wiki/Fedora-Build-Instructions

yum install nodejs npm ruby make git

npm install -g grunt-cli

download and install rubygems

gem install compass

checkout the code git clone [email protected]:ceph/calamari-clients.git

cd into calamari-clients folder

to build: make build-real

to build: make dist 

After creating the tar ball, I checked that admin, login, dashboard, manage all have the app and dist created.

Now, we don't know next step, in the document it says:
Upon successful build you will have dist folders in admin/login/dashboard/manage folders and you

have to use them in your webapp/content folder of calamari.

How do we use them in /opt/calamari/webapp/content?

This is our interpretation (Please correct us if we are wrong)

copy /tmp/calamari-clients/admin/app/* /opt/calamari/webapp/content/manage
copy /tmp/calamari-clients/manage/app/* /opt/calamari/webapp/content/admin
copy /tmp/calamari-clients/login/app/* /opt/calamari/webapp/content/login
copy /tmp/calamari-clients/dashboard/app/* /opt/calamari/webapp/content/dashboard

where ../admin/app
[root@acme64 app]# pwd
/temp/calamari-repo/calamari-clients/admin/app
[root@acme64 app]# ls -l
total 44
-rw-r--r-- 1 root root 4459 Jul 23 16:55 404.html
drwxr-xr-x 15 root root 4096 Jul 23 16:55 bower_components
-rw-r--r-- 1 root root 4286 Jul 23 16:55 favicon.ico
lrwxrwxrwx 1 root root 34 Jul 27 13:07 font -> bower_components/font-awesome/font
drwxr-xr-x 2 root root 4096 Jul 23 16:55 images
-rw-r--r-- 1 root root 3301 Jul 23 16:55 index.html
-rw-r--r-- 1 root root 31 Jul 23 16:55 robots.txt
drwxr-xr-x 3 root root 4096 Jul 23 16:57 scripts
drwxr-xr-x 2 root root 4096 Jul 23 16:55 styles
drwxr-xr-x 2 root root 4096 Jul 23 16:55 views
[root@acme64 app]#

login/app:

[root@acme64 calamari-clients]# cd login/app
[root@acme64 app]# ls -l
total 40
-rw-r--r-- 1 root root 4459 Jul 23 16:55 404.html
drwxr-xr-x 10 root root 4096 Jul 23 16:55 bower_components
-rw-r--r-- 1 root root 4286 Jul 23 16:55 favicon.ico
lrwxrwxrwx 1 root root 34 Jul 27 13:07 font -> bower_components/font-awesome/font
drwxr-xr-x 2 root root 4096 Jul 23 16:55 images
-rw-r--r-- 1 root root 3484 Jul 23 16:55 index.html
-rw-r--r-- 1 root root 31 Jul 23 16:55 robots.txt
drwxr-xr-x 3 root root 4096 Jul 27 13:56 scripts
drwxr-xr-x 2 root root 4096 Jul 23 16:55 styles
[root@acme64 app]#

dashboard/app:
[root@acme64 app]# cd ../../dashbo*
[root@acme64 dashboard]# cd app
[root@acme64 app]# ls -l
total 40
-rw-r--r-- 1 root root 4464 Jul 23 16:55 404.html
drwxr-xr-x 31 root root 4096 Jul 23 16:55 bower_components
-rw-r--r-- 1 root root 6774 Jul 23 16:55 favicon.ico
lrwxrwxrwx 1 root root 35 Jul 27 13:08 fonts -> bower_components/font-awesome/fonts
drwxr-xr-x 2 root root 4096 Jul 23 16:55 images
-rw-r--r-- 1 root root 2808 Jul 23 16:55 index.html
-rw-r--r-- 1 root root 31 Jul 23 16:55 robots.txt
drwxr-xr-x 10 root root 4096 Jul 27 13:56 scripts
drwxr-xr-x 5 root root 4096 Jul 23 16:55 styles
[root@acme64 app]#

and manage/app:
[root@acme64 app]# ls -l
total 40
-rw-r--r-- 1 root root 3529 Jul 23 16:55 404.html
drwxr-xr-x 23 root root 4096 Jul 27 13:06 bower_components
-rw-r--r-- 1 root root 4286 Jul 23 16:55 favicon.ico
lrwxrwxrwx 1 root root 35 Jul 27 13:06 fonts -> bower_components/font-awesome/fonts
drwxr-xr-x 2 root root 4096 Jul 23 16:55 images
-rw-r--r-- 1 root root 2491 Jul 23 16:55 index.html
-rw-r--r-- 1 root root 31 Jul 23 16:55 robots.txt
drwxr-xr-x 8 root root 4096 Jul 23 16:56 scripts
drwxr-xr-x 4 root root 4096 Jul 23 16:55 styles
drwxr-xr-x 2 root root 4096 Jul 23 16:55 views
[root@acme64 app]#

Please help up to resolve the issue,

Thanks a lot;

Charley

Reduce krakenFailThreshold?

Currently, if there haven't been any heartbeats for 15 minutes, the UI shows "Cluster Updates Are Stale. The Cluster isn't updating Calamari. Please contact Administrator". Can we lower this threshold to, say, five minutes, or even maybe two minutes (given the heartbeat interval is one minuet), to give the user quicker notice of failure?

The reason I'm asking is, if the entire cluster is dead (or, at least, if there aren't enough mons alive for the cluster to be quorate, thus providing no heartbeat information), ISTM it would be better if this failure were apparent sooner rather than later.

vagrant build issue


git clone https://github.com/ceph/calamari-clients.git
cd calamari-clients/vagrant/precise-build
vagrant up
vagrant ssh -c 'sudo salt-call state.highstate'


results in the below error:


      ID: copy_calamari_clients
Function: cmd.run
    Name: cp calamari-clients*.deb /git
  Result: False
 Comment: One or more requisite failed: real_make_deb.build_calamari_clients
 Started: 
Duration: 
 Changes:   

      ID: make_build_product
Function: cmd.run
    Name: make build-product
  Result: False
 Comment: One or more requisite failed: real_make_deb.build_calamari_clients
 Started: 
Duration: 
 Changes:   

      ID: copyout_build_product
Function: cmd.run
    Name: cp calamari-clients*tar.gz /git
  Result: False
 Comment: One or more requisite failed: make_build_product.make_build_product
 Started: 
Duration: 
 Changes:   

Summary for local

Succeeded: 9 (changed=9)
Failed: 4

Total states run: 13
Total run time: 659.715 s
Connection to 127.0.0.1 closed.
daniel@laptop/tmp/client/calamari-clients/vagrant/precise-build$ ^C
daniel@laptop:/tmp/client/calamari-clients/vagrant/precise-build$


Trusty calamari-clients build failure

When building the calamari-clients, it appears to expect calamari-clients-$build.tar.gz to exist before it actually does:

[INFO    ] Executing command 'git rev-parse HEAD' as user 'vagrant' in directory '/home/vagrant/clients'
[INFO    ] Repository /git/calamari-clients cloned to /home/vagrant/clients
[INFO    ] {'new': '/git/calamari-clients', 'revision': 'de7bc85c099b7aa9256f0ef61b10fc8b199daecc'}
[INFO    ] Completed state [/git/calamari-clients] at time 17:56:13.734040
[INFO    ] Running state [cp /git/calamari-clients*tar.gz /home/vagrant/clients] at time 17:56:13.734531
[INFO    ] Executing state cmd.run for cp /git/calamari-clients*tar.gz /home/vagrant/clients
[INFO    ] Executing command 'cp /git/calamari-clients*tar.gz /home/vagrant/clients' as user 'vagrant' in directory '/home/vagrant'
[ERROR   ] Command 'cp /git/calamari-clients*tar.gz /home/vagrant/clients' failed with return code: 1
[ERROR   ] stderr: cp: cannot stat '/git/calamari-clients*tar.gz': No such file or directory
[ERROR   ] retcode: 1
[ERROR   ] {'pid': 10272, 'retcode': 1, 'stderr': "cp: cannot stat '/git/calamari-clients*tar.gz': No such file or directory", 'stdout': ''}
[INFO    ] Completed state [cp /git/calamari-clients*tar.gz /home/vagrant/clients] at time 17:56:13.768101
[INFO    ] Running state [devscripts] at time 17:56:13.768539
[INFO    ] Executing state pkg.installed for devscripts
[INFO    ] Package devscripts is already installed.
[INFO    ] Completed state [devscripts] at time 17:56:13.770116
[INFO    ] Running state [make dpkg] at time 17:56:13.770796
[INFO    ] Executing state cmd.run for make dpkg
[INFO    ] Executing command 'make dpkg' as user 'vagrant' in directory '/home/vagrant/clients'
[ERROR   ] Command 'make dpkg' failed with return code: 2

this is built from master, after building the calamari (calamari-server). Building precise works fine for both.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.