Ask Your Question

Evgeny's profile - activity

2014-12-27 14:56:12 -0500 commented question Unable to login using launch pad

Looks like the Ubuntu login had superseded the launchpad authentication.

2014-12-27 14:56:12 -0500 commented question Unable to login using launch pad

Could you please try logging in using some other method and then go to your account, click "manage login method" and re-login using generic openid and url https://login.ubuntu.com . This way it might be possible to compare the ids on the backend and migrate user logins to the ubuntu one system.

2014-07-09 00:49:07 -0500 received badge  Citizen Patrol
2014-03-31 00:54:41 -0500 received badge  Enthusiast
2014-01-23 22:27:14 -0500 commented question There are [no longer] Markdown rendering problems with ask.openstack.org

I have removed the "autolinking" feature temporarily, because it was interfering with the markdown converter. There is still an issue that the server implementation of markdown2 is not matching the client previewer.

2014-01-23 22:25:46 -0500 edited question There are [no longer] Markdown rendering problems with ask.openstack.org

Please do not edit this question to "fix" the formatting issues

This questions exists so that I can link to it from a bug report. AskBot purports to support Markdown, but Markdown says that links should be formatted like this:

And while this renders correctly in the preview, it does not render correctly when actually viewing the question.

I should be able to include arbitrary characters inside a code block, but again, while this renders correctly in the preview:

myvariable = <some value>

This gets horribly corrupted when actually rendered. So there is some weird different between the Markdown processor used to generate the preview and the Markdown processor used to generate the actual question.

2014-01-23 22:03:01 -0500 received badge  Supporter (source)
2014-01-06 16:29:08 -0500 received badge  Organizer (source)
2013-08-04 15:17:31 -0500 commented answer How do I get started with installing OpenStack Swift?

@rahmu, @smaffulli this issue should be resolved now, please let me know otherwise. Thanks.

2013-08-04 15:05:52 -0500 received badge  Editor (source)
2013-08-04 15:05:52 -0500 edited answer How do I get started with installing OpenStack Swift?

It's difficult to answer your question exactly. Installing Swift is more complicated operation than just entering apt-get install swift. You should find a guide to follow during your installation. Luckily, you'll find plenty of documentation about the topic.

Selected guides

You can chose one of the following:

  • Swift All In One (SAIO): This document guides you through the installation of Swift on a single machine. Great to get yourself familiar with the process.
  • Multinode Server Swift Installation: This document will guide you through a slightly more realistic installation, as Swift is almost never deployed on a single node in production.

I selected these 2, but you can find more if you search through the official documentation website.

Real World installation

The guides I showed you above have great pedagogical value, and will give you a good insight on how Swift works. However, in the real world, you'll rarely install it manually. In good devops fashion (isn't that what all the cool kids say now?), everything will be automated.

  • Devstack: devstack describes itself as "an opinionated Openstack developer's installation". It's a shell script that deploys a minimal openstack on a single machine. Programmers use it to test their patches against, but it won't give you a real idea of what Openstack (or Swift) is like in production.

Note that going through the comments of devstack is a great way to learn how Openstack works

  • Deployment in production will be done with a specialized tool like Chef or Puppet. When dealing with several dozens of disks (if not hundreds!), you don't want to do everything by hand. Virtually every "real world" deployment is done using these tools (or something equivalent).

After installation

Now that you have a working Swift installation, you can accomplish your 2nd (querying Keystone) and 3rd (upload/download files) steps by querying Swift through its API. You can find it thoroughly documented.

If you don't want to write your own Swift client, (or you don't want to go through the joys of hand-writing your HTTP requests with wget or curl), you can use the official Swift client to do this. You'll find it either on PyPI or Github.

To install from PyPI:

$ sudo pip install python-swiftclient

To install from Github

$ git clone https://github.com/openstack/python-swiftclient
$ cd python-swiftclient
$ python setup.py develop

Note that you may want to use a virtualenv, but that's outside the scope of this answer.

You can then read the inline help to discover which commands to launch:

$ swift --help

Finally, note that adding the --debug option to every command will show you in detail the HTTP requests/responses going on between your client and the server. It will (very quickly) become very handy to do so.

2013-04-10 18:05:44 -0500 received badge  Taxonomist