]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-dev-build: if shaman fails to return a node, fail the build
authorAndrew Schoen <aschoen@redhat.com>
Sat, 1 Oct 2016 11:55:47 +0000 (06:55 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Sat, 1 Oct 2016 11:55:47 +0000 (06:55 -0500)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ceph-dev-build/build/setup_deb
ceph-dev-build/build/setup_rpm

index c4cffc4744f7228b6e27c141ca49a49cec40e917..3db37dfca4d2bb93cb8c3f2357655f9b9b2be76c 100644 (file)
@@ -115,7 +115,7 @@ pkgs=( "chacractl>=0.0.4" )
 install_python_packages "pkgs[@]"
 
 # ask shaman which chacra instance to use
-chacra_url=`curl -f -u $SHAMAN_API_USER:$SHAMAN_API_KEY https://shaman.ceph.com/api/nodes/next/`
+chacra_url=`curl -u $SHAMAN_API_USER:$SHAMAN_API_KEY https://shaman.ceph.com/api/nodes/next/`
 # create the .chacractl config file using global variables
 make_chacractl_config $chacra_url
 
index 13ee8789ed65353bbe26961305b793cc48f65634..bbd19aae480c025e8727bc04ff661aeeb9207b6d 100644 (file)
@@ -123,7 +123,7 @@ pkgs=( "chacractl>=0.0.4" )
 install_python_packages "pkgs[@]"
 
 # ask shaman which chacra instance to use
-chacra_url=`curl -f -u $SHAMAN_API_USER:$SHAMAN_API_KEY https://shaman.ceph.com/api/nodes/next/`
+chacra_url=`curl -u $SHAMAN_API_USER:$SHAMAN_API_KEY https://shaman.ceph.com/api/nodes/next/`
 # create the .chacractl config file using global variables
 make_chacractl_config $chacra_url