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 ...@@ -169,7 +169,7 @@ kubectl --namespace ${NAMESPACE} exec ctacli -- cta-admin --json version | jq
done done
kubectl --namespace ${NAMESPACE} exec ctacli -- cta-admin storageclass add \ kubectl --namespace ${NAMESPACE} exec ctacli -- cta-admin storageclass add \
--name ctaStorageClass \ --name ctaStorageClass \
--copynb 1 \ --numberofcopies 1 \
--vo vo \ --vo vo \
--comment "ctasystest" --comment "ctasystest"
kubectl --namespace ${NAMESPACE} exec ctacli -- cta-admin archiveroute add \ kubectl --namespace ${NAMESPACE} exec ctacli -- cta-admin archiveroute add \
......
...@@ -328,7 +328,7 @@ repackMoveAndAddCopies() { ...@@ -328,7 +328,7 @@ repackMoveAndAddCopies() {
storageClassName=`kubectl -n ${NAMESPACE} exec ctacli -- cta-admin --json storageclass ls | jq -r ". [0] | .name"` storageClassName=`kubectl -n ${NAMESPACE} exec ctacli -- cta-admin --json storageclass ls | jq -r ". [0] | .name"`
echo "Changing the storage class $storageClassName nb copies" 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 "OK"
echo "Putting all drives up" echo "Putting all drives up"
......
...@@ -8,7 +8,7 @@ cta tapepool add --name ctasystest --partialtapesnumber 5 --encrypted false --co ...@@ -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 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" cta archiveroute add --instance root --storageclass ctaStorageClass --copynb 1 --tapepool ctasystest --comment "ctasystest"
......
...@@ -82,7 +82,7 @@ echo "Preparing CTA for tests" ...@@ -82,7 +82,7 @@ echo "Preparing CTA for tests"
kubectl --namespace ${NAMESPACE} exec ctacli -- cta storageclass add \ kubectl --namespace ${NAMESPACE} exec ctacli -- cta storageclass add \
--instance ${EOSINSTANCE} \ --instance ${EOSINSTANCE} \
--name ctaStorageClass \ --name ctaStorageClass \
--copynb 1 \ --numberofcopies 1 \
--comment "ctasystest" --comment "ctasystest"
kubectl --namespace ${NAMESPACE} exec ctacli -- cta archiveroute add \ kubectl --namespace ${NAMESPACE} exec ctacli -- cta archiveroute add \
--instance ${EOSINSTANCE} \ --instance ${EOSINSTANCE} \
......
...@@ -85,7 +85,7 @@ done ...@@ -85,7 +85,7 @@ done
kubectl --namespace ${NAMESPACE} exec ctacli -- cta storageclass add \ kubectl --namespace ${NAMESPACE} exec ctacli -- cta storageclass add \
--instance ${EOSINSTANCE} \ --instance ${EOSINSTANCE} \
--name ctaStorageClass \ --name ctaStorageClass \
--copynb 1 \ --numberofcopies 1 \
--comment "ctasystest" --comment "ctasystest"
kubectl --namespace ${NAMESPACE} exec ctacli -- cta archiveroute add \ kubectl --namespace ${NAMESPACE} exec ctacli -- cta archiveroute add \
--instance ${EOSINSTANCE} \ --instance ${EOSINSTANCE} \
......
...@@ -83,7 +83,7 @@ done ...@@ -83,7 +83,7 @@ done
kubectl --namespace ${NAMESPACE} exec ctacli -- cta storageclass add \ kubectl --namespace ${NAMESPACE} exec ctacli -- cta storageclass add \
--instance ${EOSINSTANCE} \ --instance ${EOSINSTANCE} \
--name ctaStorageClass \ --name ctaStorageClass \
--copynb 1 \ --numberofcopies 1 \
--comment "ctasystest" --comment "ctasystest"
kubectl --namespace ${NAMESPACE} exec ctacli -- cta archiveroute add \ kubectl --namespace ${NAMESPACE} exec ctacli -- cta archiveroute add \
--instance ${EOSINSTANCE} \ --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