distro=`python -c "exec 'import platform; print platform.linux_distribution()[0].lower()'"`
chacra_endpoint="ceph/${chacra_ref}/${distro}/{$dist}/${ARCH}"
-chacractl exists binaries/${chacra_endpoint}; exists=$? || true
+./venv/bin/chacractl exists binaries/${chacra_endpoint}; exists=$? || true
# if the binary already exists in chacra, do not rebuild
if [ $exists -e 0 ] && [ "$FORCE" = false ] ; then
echo " End Time = $(date)"
# push binaries to chacra
-find release/$vers/ | grep 'changes\|deb\|dsc\|gz' | chacractl binary create ${chacra_endpoint}
+find release/$vers/ | grep 'changes\|deb\|dsc\|gz' | ./venv/bin/chacractl binary create ${chacra_endpoint}
echo "End Date: $(date)"
[ "$TEST" = true ] && chacra_ref="$vers" || chacra_ref="test"
chacra_baseurl="ceph/${chacra_ref}/${DISTRO}/${RELEASE}"
-chacractl exists binaries/${chacra_baseurl}/${ARCH}; exists=$? || true
+./venv/bin/chacractl exists binaries/${chacra_baseurl}/${ARCH}; exists=$? || true
# if the binary already exists in chacra, do not rebuild
if [ $exists -e 0 ] && [ "$FORCE" = false ]; then
# push binaries to chacra
-find release/${vers}/rpm/*/SRPMS | grep rpm | chacractl binary create ${chacra_baseurl}/source
-find release/${vers}/rpm/*/RPMS/* | grep rpm | chacractl binary create ${chacra_baseurl}/${ARCH}
+find release/${vers}/rpm/*/SRPMS | grep rpm | ./venv/bin/chacractl binary create ${chacra_baseurl}/source
+find release/${vers}/rpm/*/RPMS/* | grep rpm | ./venv/bin/chacractl binary create ${chacra_baseurl}/${ARCH}
echo "End Date: $(date)"