2 Commits

Author SHA1 Message Date
Olena Logvinova
0c966a602d [docs] Update description of Glance-Swift conf options
This patch:

1. Updates the description of 4 deprecated options:
   * swift_store_auth_version
   * swift_store_auth_address
   * swift_store_user
   * swift_store_key
2. Adds a new sub-section: Configuring Swift configuration file.

Co-Authored-By: Mike Fedosin <mfedosin@mirantis.com>
Co-Authored-By: Olena Logvinova <ologvinova@mirantis.com>

Change-Id: I41baa2343cf92d819a4a64a2e269e1cb2e3be3f4
Closes-Bug: #1426813
Closes-Bug: #1509349
2015-11-20 18:22:43 +02:00
sridevik
63195aaa3b Remove user and key from location in swift
The image locations table stores the swift url for images
which includes the user and key values. This if exposed,
can cause security risk. Hence this patch, santizies
that information out of the location before storing
and plugs it back in when it is required.
Introduced a new configuration file that supports
multiple swift account references. It has the credentials and
authurl for each store.  It is specified using
'swift_store_config_file'.
In addition, this patch does the following things:

Differentiate user and system created swift locations

Currently we do not differentiate between user supplied
uri and system created locations that have the account
reference. This patch introduces new scheme:
'swift+config' for this purpose.

Image create in V1 should validate the uri in case where location isn't
specified.

This patch ensures that a store is not set while
creating an image or updating it.

Related to bp remove-sensitive-data-from-locations
Implements blueprint: support-multiple-swift-backends
Implements bp: v1-image-create-should-validate-the-location-uri
DocImpact

Co-authored by: sridevik <sridevi.koushik@rackspace.com>,
iccha-sethi <iccha.sethi@rackspace.com>,
amalabasha <amala.alungal@rackspace.com>

Change-Id: I75af34145521f533dcd6f5fd7690f5a68f3b44b3
2014-06-24 12:13:26 +05:30