{"action":"opened","issue":{"url":"https://api.github.com/repos/ceph/calamari/issues/295","labels_url":"https://api.github.com/repos/ceph/calamari/issues/295/labels{/name}","comments_url":"https://api.github.com/repos/ceph/calamari/issues/295/comments","events_url":"https://api.github.com/repos/ceph/calamari/issues/295/events","html_url":"https://github.com/ceph/calamari/issues/295","id":85931154,"number":295,"title":"Calamari client package build failed for CentOS","user":{"login":"ksingh7","id":9701902,"avatar_url":"https://avatars.githubusercontent.com/u/9701902?v=3","gravatar_id":"","url":"https://api.github.com/users/ksingh7","html_url":"https://github.com/ksingh7","followers_url":"https://api.github.com/users/ksingh7/followers","following_url":"https://api.github.com/users/ksingh7/following{/other_user}","gists_url":"https://api.github.com/users/ksingh7/gists{/gist_id}","starred_url":"https://api.github.com/users/ksingh7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksingh7/subscriptions","organizations_url":"https://api.github.com/users/ksingh7/orgs","repos_url":"https://api.github.com/users/ksingh7/repos","events_url":"https://api.github.com/users/ksingh7/events{/privacy}","received_events_url":"https://api.github.com/users/ksingh7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-07T19:21:53Z","updated_at":"2015-06-07T19:21:53Z","closed_at":null,"body":"I have builded calamari server packages successfully for CentOS , next i was trying to build calamari client packages for CentOS but it failed with the error as\r\n\r\nFull logs here : http://paste.ubuntu.com/11632381/\r\n\r\n```bash\r\n[INFO    ] Completed state [make rpm] at time 19:14:34.437209\r\nlocal:\r\n----------\r\n          ID: rh_repackage_deps\r\n    Function: pkg.installed\r\n      Result: True\r\n     Comment: All specified packages are already installed.\r\n     Started: 19:14:28.519342\r\n    Duration: 3810.621 ms\r\n     Changes:\r\n----------\r\n          ID: git_clone\r\n    Function: git.latest\r\n        Name: /git/calamari-clients\r\n      Result: True\r\n     Comment: Repository /git/calamari-clients cloned to /home/vagrant/clients\r\n     Started: 19:14:32.399199\r\n    Duration: 1877.558 ms\r\n     Changes:\r\n              ----------\r\n              new:\r\n                  /git/calamari-clients\r\n              revision:\r\n                  931ee5883cf52bb6a176634aabf8c41a628e84b8\r\n----------\r\n          ID: copyin_build_product\r\n    Function: cmd.run\r\n        Name: cp /git/calamari-clients*tar.gz /home/vagrant/clients\r\n      Result: False\r\n     Comment: Command \"cp /git/calamari-clients*tar.gz /home/vagrant/clients\" run\r\n     Started: 19:14:34.279902\r\n    Duration: 40.186 ms\r\n     Changes:\r\n              ----------\r\n              pid:\r\n                  2796\r\n              retcode:\r\n                  1\r\n              stderr:\r\n                  cp: cannot stat `/git/calamari-clients*tar.gz': No such file or directory\r\n              stdout:\r\n----------\r\n          ID: build_calamari_clients\r\n    Function: cmd.run\r\n        Name: make rpm\r\n      Result: False\r\n     Comment: Command \"make rpm\" run\r\n     Started: 19:14:34.323721\r\n    Duration: 113.488 ms\r\n     Changes:\r\n              ----------\r\n              pid:\r\n                  2809\r\n              retcode:\r\n                  2\r\n              stderr:\r\n                  + umask 022\r\n                  + cd /home/vagrant/clients/../rpmbuild/BUILD\r\n                  + LANG=C\r\n                  + export LANG\r\n                  + unset DISPLAY\r\n                  + echo prep\r\n                  + exit 0\r\n                  + umask 022\r\n                  + cd /home/vagrant/clients/../rpmbuild/BUILD\r\n                  + '[' /home/vagrant/rpmbuild/BUILDROOT/calamari-clients-1.2.2-32_g931ee58.el6.x86_64 '!=' / ']'\r\n                  + rm -rf /home/vagrant/rpmbuild/BUILDROOT/calamari-clients-1.2.2-32_g931ee58.el6.x86_64\r\n                  ++ dirname /home/vagrant/rpmbuild/BUILDROOT/calamari-clients-1.2.2-32_g931ee58.el6.x86_64\r\n                  + mkdir -p /home/vagrant/rpmbuild/BUILDROOT\r\n                  + mkdir /home/vagrant/rpmbuild/BUILDROOT/calamari-clients-1.2.2-32_g931ee58.el6.x86_64\r\n                  + LANG=C\r\n                  + export LANG\r\n                  + unset DISPLAY\r\n                  + echo install\r\n                  + mkdir -p /home/vagrant/rpmbuild/BUILDROOT/calamari-clients-1.2.2-32_g931ee58.el6.x86_64\r\n                  + cd /home/vagrant/rpmbuild/BUILDROOT/calamari-clients-1.2.2-32_g931ee58.el6.x86_64\r\n                  + tar xfz /home/vagrant/clients/calamari-clients-build-output.tar.gz\r\n                  tar (child): /home/vagrant/clients/calamari-clients-build-output.tar.gz: Cannot open: No such file or directory\r\n                  tar (child): Error is not recoverable: exiting now\r\n                  tar: Child returned status 2\r\n                  tar: Error is not recoverable: exiting now\r\n                  error: Bad exit status from /var/tmp/rpm-tmp.F6IpoI (%install)\r\n                      Bad exit status from /var/tmp/rpm-tmp.F6IpoI (%install)\r\n                  make: *** [rpm] Error 1\r\n              stdout:\r\n                  mkdir -p /home/vagrant/clients/../rpmbuild/{SPECS,RPMS,BUILDROOT}\r\n                  cp clients.spec /home/vagrant/clients/../rpmbuild/SPECS\r\n                  ( \\\r\n                  \tcd /home/vagrant/clients/../rpmbuild; \\\r\n                  \trpmbuild -bb --define \"_topdir /home/vagrant/clients/../rpmbuild\" --define \"version 1.2.2\" --define \"revision 32_g931ee58\" --define \"tarname /home/vagrant/clients/calamari-clients-build-output.tar.gz\" SPECS/clients.spec; \\\r\n                  \t)\r\n                  Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SAzPjb\r\n                  prep\r\n                  Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.F6IpoI\r\n                  install\r\n\r\n\r\n                  RPM build errors:\r\n----------\r\n          ID: copy_calamari_clients\r\n    Function: cmd.run\r\n        Name: cp rpmbuild/RPMS/x86_64/calamari-clients*.rpm /git\r\n      Result: False\r\n     Comment: One or more requisite failed: make_rpm.build_calamari_clients\r\n     Started:\r\n    Duration:\r\n     Changes:\r\n\r\nSummary\r\n------------\r\nSucceeded: 2 (changed=3)\r\nFailed:    3\r\n------------\r\nTotal states run:     5\r\n[vagrant@vagrant-centos64 ~]$\r\n\r\n[vagrant@vagrant-centos64 ~]$ df -h\r\nFilesystem            Size  Used Avail Use% Mounted on\r\n/dev/sda1             7.3G  1.2G  5.8G  17% /\r\ntmpfs                 246M   12K  246M   1% /dev/shm\r\ngit                   233G  215G   18G  93% /git\r\nvagrant               233G  215G   18G  93% /vagrant\r\nsrv_salt              233G  215G   18G  93% /srv/salt\r\n[vagrant@vagrant-centos64 ~]$\r\n[vagrant@vagrant-centos64 ~]$ exit\r\nlogout\r\nConnection to 127.0.0.1 closed.\r\nteeri:centos-package ksingh$\r\nteeri:centos-package ksingh$ cd ../..\r\nteeri:calamari-clients ksingh$\r\nteeri:calamari-clients ksingh$\r\nteeri:calamari-clients ksingh$\r\nteeri:calamari-clients ksingh$ ls -la\r\ntotal 96\r\ndrwxr-xr-x  22 ksingh  staff   748 Jun  7 22:07 .\r\ndrwxr-xr-x   9 ksingh  staff   306 Jun  7 22:07 ..\r\ndrwxr-xr-x  12 ksingh  staff   408 Jun  7 22:07 .git\r\n-rw-r--r--   1 ksingh  staff   175 Jun  7 22:07 .gitignore\r\n-rw-r--r--   1 ksingh  staff  1646 Jun  7 22:07 COPYING\r\n-rw-r--r--   1 ksingh  staff  1127 Jun  7 22:07 LICENSE.txt\r\n-rw-r--r--   1 ksingh  staff  4569 Jun  7 22:07 Makefile\r\n-rw-r--r--   1 ksingh  staff   910 Jun  7 22:07 Makefile.sub\r\n-rw-r--r--   1 ksingh  staff   856 Jun  7 22:07 README.md\r\ndrwxr-xr-x  16 ksingh  staff   544 Jun  7 22:07 admin\r\n-rw-r--r--   1 ksingh  staff  1398 Jun  7 22:07 bootstrap.md\r\n-rw-r--r--   1 ksingh  staff  2222 Jun  7 22:07 calamari-clients.suse.spec\r\n-rw-r--r--   1 ksingh  staff  1170 Jun  7 22:07 clients.spec\r\ndrwxr-xr-x  12 ksingh  staff   408 Jun  7 22:07 dashboard\r\ndrwxr-xr-x  10 ksingh  staff   340 Jun  7 22:07 debian\r\n-rwxr-xr-x   1 ksingh  staff   874 Jun  7 22:07 get-versions.sh\r\ndrwxr-xr-x  14 ksingh  staff   476 Jun  7 22:07 login\r\ndrwxr-xr-x  18 ksingh  staff   612 Jun  7 22:07 manage\r\ndrwxr-xr-x  11 ksingh  staff   374 Jun  7 22:07 screenshots\r\n-rw-r--r--   1 ksingh  staff   815 Jun  7 22:07 ui.build.instructions.md\r\ndrwxr-xr-x   9 ksingh  staff   306 Jun  7 22:07 utils\r\ndrwxr-xr-x  10 ksingh  staff   340 Jun  7 22:07 vagrant\r\nteeri:calamari-clients ksingh$ cd ..\r\nteeri:calamari-git ksingh$ ls -la\r\ntotal 65136\r\ndrwxr-xr-x   9 ksingh  staff       306 Jun  7 22:07 .\r\ndrwxr-xr-x  10 ksingh  staff       340 Jun  7 22:03 ..\r\ndrwxr-xr-x  28 ksingh  staff       952 Jun  7 21:07 Diamond\r\ndrwxr-xr-x  33 ksingh  staff      1122 Jun  7 21:05 calamari\r\ndrwxr-xr-x  22 ksingh  staff       748 Jun  7 22:07 calamari-clients\r\n-rw-r--r--   1 ksingh  staff   8256819 Jun  7 21:46 calamari-repo-el6.tar.gz\r\n-rw-r--r--   1 ksingh  staff  24194260 Jun  7 21:46 calamari-server-1.3-rc_50_gd6e43c6.el6.x86_64.rpm\r\n-rw-r--r--   1 ksingh  staff    595540 Jun  7 21:46 diamond-3.4.67-0.noarch.rpm\r\n-rw-r--r--   1 ksingh  staff    297532 Jun  7 21:46 diamond-3.4.67-0.src.rpm\r\nteeri:calamari-git ksingh$\r\n```"}}