ceph / calamari-clients

Ceph Manager API Client Code
Other
101 stars 59 forks source link

Trusty calamari-clients build failure #70

Closed BadgerOps closed 9 years ago

BadgerOps commented 9 years ago

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.

BadgerOps commented 9 years ago

Yeah, I missed that when building using http://calamari.readthedocs.org/en/latest/development/building_packages.html.

@dmick got me pointed in the right direction as well at my issue I accidentally submitted at https://github.com/ceph/calamari/issues/226

Any reason that caviat isn't mentioned in the RTD build? I suppose that would be easy to add though.