Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for cjson (0.14 sec)

  1. buildscripts/verify-healing.sh

    GOPATH=/tmp/gopath
    
    function start_minio_3_node() {
    	export MINIO_ROOT_USER=minio
    	export MINIO_ROOT_PASSWORD=minio123
    	export MINIO_ERASURE_SET_DRIVE_COUNT=6
    	export MINIO_CI_CD=1
    
    	first_time=$(find ${WORK_DIR}/ | grep format.json | wc -l)
    
    	start_port=$2
    	args=""
    	for d in $(seq 1 3 5); do
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 4.2K bytes
    - Viewed (1)
  2. buildscripts/heal-inconsistent-versions.sh

    		sudo chown -R root. "${WORK_DIR}/disk${i}"
    
    		"${PWD}/mc" cp /etc/hosts minio/bucket/testobj
    
    		sudo chown -R ${USER}. "${WORK_DIR}/disk${i}"
    	done
    
    	for vid in $("${PWD}/mc" ls --json --versions minio/bucket/testobj | jq -r .versionId); do
    		"${PWD}/mc" cat --vid "${vid}" minio/bucket/testobj | md5sum
    	done
    
    	pkill minio
    	sleep 3
    }
    
    function main() {
    	start_port=$(shuf -i 10000-65000 -n 1)
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  3. buildscripts/minio-upgrade.sh

    		-f "buildscripts/upgrade-tests/compose.yml" \
    		rm -s -f
    	docker volume prune -f
    }
    
    verify_checksum_after_heal() {
    	local sum1
    	sum1=$(curl -s "$2" | sha256sum)
    	mc admin heal --json -r "$1" >/dev/null # test after healing
    	local sum1_heal
    	sum1_heal=$(curl -s "$2" | sha256sum)
    
    	if [ "${sum1_heal}" != "${sum1}" ]; then
    		echo "mismatch expected ${sum1_heal}, got ${sum1}"
    		exit 1
    	fi
    }
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 11:39:55 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  4. buildscripts/minio-iam-ldap-upgrade-import-test.sh

    	echo "AFTER IMPORT mappings:"
    	mc idp ldap policy entities new-minio
    	set +x
    
    	# mc admin service stop new-minio
    }
    
    verify_iam_content_in_new_minio() {
    	output=$(mc idp ldap policy entities new-minio --json)
    
    	groups=$(echo "$output" | jq -r '.result.policyMappings[] | select(.policy == "readwrite") | .groups[]')
    	if [ "$groups" != "cn=project.c,ou=groups,ou=swengg,dc=min,dc=io" ]; then
    		echo "Failed to verify groups: $groups"
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:49:53 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  5. buildscripts/verify-build.sh

    	## version is purposefully set to '3' for minio to migrate configuration file
    	echo '{"version": "3", "credential": {"accessKey": "minio", "secretKey": "minio123"}, "region": "us-east-1"}' >"$MINIO_CONFIG_DIR/config.json"
    
    	if ! wget -q -O "$FUNCTIONAL_TESTS" https://raw.githubusercontent.com/minio/mc/master/functional-tests.sh; then
    		echo "failed to download https://raw.githubusercontent.com/minio/mc/master/functional-tests.sh"
    		exit 1
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  6. manifests/addons/gen.sh

      compressDashboard "pilot-dashboard.json"
      compressDashboard "istio-performance-dashboard.json"
      compressDashboard "istio-workload-dashboard.json"
      compressDashboard "istio-service-dashboard.json"
      compressDashboard "istio-mesh-dashboard.json"
      compressDashboard "istio-extension-dashboard.json"
      echo -e "\n---\n"
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 09 21:40:53 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  7. buildscripts/verify-healing-with-root-disks.sh

    	while [ "$u" != "0" ]; do
    		sudo umount ${WORK_DIR}/mnt/disk4/
    		u=$?
    		sleep 1
    	done
    
    	# Wait until MinIO self heal kicks in
    	sleep 60
    
    	if [ -f ${WORK_DIR}/mnt/disk4/.minio.sys/format.json ]; then
    		echo "A root disk is formatted unexpectedely"
    		cat "${WORK_DIR}/server4.log"
    		exit -1
    	fi
    }
    
    function cleanup() {
    	pkill minio
    	sudo umount ${WORK_DIR}/mnt/disk{1..3}/
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  8. buildscripts/verify-healing-empty-erasure-set.sh

    	## version is purposefully set to '3' for minio to migrate configuration file
    	echo '{"version": "3", "credential": {"accessKey": "minio", "secretKey": "minio123"}, "region": "us-east-1"}' >"$MINIO_CONFIG_DIR/config.json"
    }
    
    function perform_test() {
    	start_minio_3_node 120 $2
    
    	echo "Testing Distributed Erasure setup healing of drives"
    	echo "Remove the contents of the disks belonging to '${1}' erasure set"
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  9. docs/bucket/replication/setup_replication.sh

          ],
          "Resource": [
           "arn:aws:s3:::bucket"
          ]
         }
        ]
       }
    EOF
    mc admin policy create source repladmin-policy ./repladmin-policy-source.json
    cat ./repladmin-policy-source.json
    
    #assign this replication policy to repladmin
    mc admin policy attach source repladmin-policy --user=repladmin
    
    ### on dest alias
    # Create a replication user : repluser on dest alias
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  10. .github/workflows/multipart/migrate.sh

    ./mc ready site2/
    
    for i in $(seq 1 10); do
    	# mc admin heal -r --remove when used against a LB endpoint
    	# behaves flaky, let this run 10 times before giving up
    	./mc admin heal -r --remove --json site1/ 2>&1 >/dev/null
    	./mc admin heal -r --remove --json site2/ 2>&1 >/dev/null
    done
    
    failed_count_site1=$(s3-check-md5 -versions -access-key minioadmin -secret-key minioadmin -endpoint http://site1-nginx:9001 -bucket testbucket 2>&1 | grep FAILED | wc -l)
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 15:54:24 GMT 2024
    - 4.4K bytes
    - Viewed (0)
Back to top