• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » Access OpenStack Swift via FTP (HP Cloud)

By Abhishek Ghosh March 24, 2015 7:54 pm Updated on March 24, 2015

Access OpenStack Swift via FTP (HP Cloud)

Advertisement

Here is a Short Guide on How To Access OpenStack Swift via FTP. We Have Used HP Cloud as an Example Setup. This Method Can Be Used On Own Setup. We have other OpenStack Swift related guide like using a Python Script to upload the static objects to linked CDN. This Guide on How To Access OpenStack Swift via FTP is Intended For The Advanced Users. You must have basic understanding of OpenStack Swift and other related things. You can perform a search on our (this) website to get more guides on OpenStack, which might help you if you are relatively new to OpenStack. This method might not work on Rackspace installation of OpenStack.

 

Access OpenStack Swift via FTP (HP Cloud)

 

We are assuming that python-pip and Python Swift Agent are installed on the client side. Use the default Terminal (not iTerm2) for OS X to force sudo :

Vim
1
sudo pip install ftp-cloudfs python-keystoneclient

For our setup, the openstackrc file’s [read this guide for OpenStack RC] credentials are added in .zshrc. So, if we cd to $HOME and do a cat :

Advertisement

---

Vim
1
cd ~ && cat .zshrc

we will get the export OS_AUTH_URL. For HP Cloud, that is –

Vim
1
https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/

 

Access OpenStack Swift via FTP : Having Fun on HP Cloud

 

For HP Cloud, we will run this command :

Vim
1
ftpcloudfs --foreground --keystone-auth --auth-url https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/

You should be able to access :

Vim
1
http://127.0.0.1:2021

You can run cURL to troubleshoot :

Vim
1
curl -I http://127.0.0.1:2021

It might give you 500 error. Try to get the error by running this command :

Vim
1
curl -i 'https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/' -X POST -H "Content-Type: application/json" -H "Accept: application/json"  -d '{"auth": {"tenantName": "xxxxxxxxxx", "passwordCredentials": {"username": "yourusername", "password": "yourpassword"}}}'

If you are getting :

Vim
1
2
3
4
5
HTTP/1.1 405 Method Not Allowed
Content-Type: application/json
ALLOW: GET
Content-Length: 45
Connection: keep-alive

Ask HP Cloud’s Support. I expect this :

Access OpenStack Swift via FTP (HP Cloud)

Vim
1
2
3
4
5
HTTP/1.1 200 OK
Vary: X-Auth-Token
Content-Type: application/json
Content-Length: 543
Connection: close

Cloud FS project is here :

Vim
1
https://github.com/cloudfs/ftp-cloudfs

Most errors are related to Memcached. By the way, you should kill the pid manually.

Tagged With openstack swift mount ftp
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Access OpenStack Swift via FTP (HP Cloud)

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • Changing Data With cURL for OpenStack Swift (HP Cloud CDN)

    Changing Data With cURL For Object is Quite Easy in OpenStack Swift. Here Are Examples With HP Cloud CDN To Make it Clear. Official Examples Are Bad.

  • Python Script to Upload Files to OpenStack Swift (HP Cloud CDN)

    Here is a Simple Python Script to Upload Files to OpenStack Swift, for Our Case HP Cloud CDN. Very easy to use from Mac or Linux Server.

  • OpenStack Swift & HPCloud CDN PHP Bindings : Basics

    Here is the basics of OpenStack Swift & HPCloud CDN PHP Bindings for the WordPress Plugin developers and those who works with PHP based CMS.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy