Commit e7063614 authored by Michael Davis's avatar Michael Davis
Browse files

[ci] Changes cta-admin sc --copynb to --numberofcopies

parent 008e53b7
......@@ -169,7 +169,7 @@ kubectl --namespace ${NAMESPACE} exec ctacli -- cta-admin --json version | jq
done
kubectl --namespace ${NAMESPACE} exec ctacli -- cta-admin storageclass add \
--name ctaStorageClass \
--copynb 1 \
--numberofcopies 1 \
--vo vo \
--comment "ctasystest"
kubectl --namespace ${NAMESPACE} exec ctacli -- cta-admin archiveroute add \
......
......@@ -328,7 +328,7 @@ repackMoveAndAddCopies() {
storageClassName=`kubectl -n ${NAMESPACE} exec ctacli -- cta-admin --json storageclass ls | jq -r ". [0] | .name"`
echo "Changing the storage class $storageClassName nb copies"
kubectl -n ${NAMESPACE} exec ctacli -- cta-admin storageclass ch --name $storageClassName --copynb 3
kubectl -n ${NAMESPACE} exec ctacli -- cta-admin storageclass ch --name $storageClassName --numberofcopies 3
echo "OK"
echo "Putting all drives up"
......
......@@ -8,7 +8,7 @@ cta tapepool add --name ctasystest --partialtapesnumber 5 --encrypted false --co
cta tape add --logicallibrary VLSTK --tapepool ctasystest --capacity 1000000000 --comment "ctasystest" --vid ${VID} --full false
cta storageclass add --instance root --name ctaStorageClass --copynb 1 --comment "ctasystest"
cta storageclass add --instance root --name ctaStorageClass --numberofcopies 1 --comment "ctasystest"
cta archiveroute add --instance root --storageclass ctaStorageClass --copynb 1 --tapepool ctasystest --comment "ctasystest"
......
......@@ -81,8 +81,8 @@ echo "Preparing CTA for tests"
done
kubectl --namespace ${NAMESPACE} exec ctacli -- cta storageclass add \
--instance ${EOSINSTANCE} \
--name ctaStorageClass \
--copynb 1 \
--name ctaStorageClass \
--numberofcopies 1 \
--comment "ctasystest"
kubectl --namespace ${NAMESPACE} exec ctacli -- cta archiveroute add \
--instance ${EOSINSTANCE} \
......
......@@ -84,8 +84,8 @@ done
kubectl --namespace ${NAMESPACE} exec ctacli -- cta storageclass add \
--instance ${EOSINSTANCE} \
--name ctaStorageClass \
--copynb 1 \
--name ctaStorageClass \
--numberofcopies 1 \
--comment "ctasystest"
kubectl --namespace ${NAMESPACE} exec ctacli -- cta archiveroute add \
--instance ${EOSINSTANCE} \
......
......@@ -82,8 +82,8 @@ done
kubectl --namespace ${NAMESPACE} exec ctacli -- cta storageclass add \
--instance ${EOSINSTANCE} \
--name ctaStorageClass \
--copynb 1 \
--name ctaStorageClass \
--numberofcopies 1 \
--comment "ctasystest"
kubectl --namespace ${NAMESPACE} exec ctacli -- cta archiveroute add \
--instance ${EOSINSTANCE} \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment