I have uploaded some zip archive files to Swift object store and marked them as public. I want to download these files from inside a VM instance. I am running CentOS 7 in the VM.
Is it possible to do it ?
I have uploaded some zip archive files to Swift object store and marked them as public. I want to download these files from inside a VM instance. I am running CentOS 7 in the VM.
Is it possible to do it ?
I installed
python-swiftclientandpython-openstackclientusingpipand setup OpenStack API access environment inside the VM instance using theOpenStack RCfile downloaded from the Horizon console.After that, running the command
swift download _container_name_(replace_container_name_with the container you need to access) downloaded all the files associated with the container to the VM instance's file system.Wish there was a simpler way like mounting a remote file system. But for that I should have used a block store instead of an object store.