Skip to content
Cristi Pufu edited this page Nov 7, 2016 · 2 revisions

Run this commands on a proxy node:

  • Stats
swift -A http://$PROXY_IP:8080/auth/v1.0 -U system:root -K testpass stat
  • Upload container
swift -A http://$PROXY_IP:8080/auth/v1.0 -U system:root -K testpass post CONTAINERNAME
  • Create and upload a file
fallocate -l 100M FILENAME
swift -A http://$PROXY_IP:8080/auth/v1.0 -U system:root -K testpass upload CONTAINERNAME FILENAME 
  • Download file
swift -A http://$PROXY_IP:8080/auth/v1.0 -U system:root -K testpass download CONTAINERNAME FILENAME 

  • Troubleshooting:

If you encounter problems, swift logs events in /var/log/syslog:

tail /var/log/syslog -n 50 #view last 50 lines