Convert README to README.md
This commit is contained in:
@@ -8,8 +8,7 @@ those are also managed by Juju. For Swift to function, you'll also need to
|
|||||||
deploy additional swift-storage nodes using the cs:precise/swift-storage
|
deploy additional swift-storage nodes using the cs:precise/swift-storage
|
||||||
charm.
|
charm.
|
||||||
|
|
||||||
For more information about Swift and its architecture, visit the official
|
For more information about Swift and its architecture, visit the [official project website](http://swift.openstack.org)
|
||||||
project website at http://swift.openstack.org.
|
|
||||||
|
|
||||||
This charm was developed to support deploying multiple version of Swift on
|
This charm was developed to support deploying multiple version of Swift on
|
||||||
Ubuntu Precise 12.04, as they relate to the release series of OpenStack. That
|
Ubuntu Precise 12.04, as they relate to the release series of OpenStack. That
|
||||||
@@ -28,7 +27,7 @@ describes how to select the appropriate zone assignment policy, as well as
|
|||||||
a few other configuration settings of interest. Many of the configuration
|
a few other configuration settings of interest. Many of the configuration
|
||||||
settings can be left as default.
|
settings can be left as default.
|
||||||
|
|
||||||
a. Zone Assignment
|
**Zone Assignment**
|
||||||
|
|
||||||
This setting determines how the charm assigns new storage nodes to storage
|
This setting determines how the charm assigns new storage nodes to storage
|
||||||
zones.
|
zones.
|
||||||
@@ -42,18 +41,18 @@ swift-proxy charm accordingly. Using the cs:precise/swift-storage charm with
|
|||||||
this charm, a deployment would look something like:
|
this charm, a deployment would look something like:
|
||||||
|
|
||||||
$ cat >swift.cfg <<END
|
$ cat >swift.cfg <<END
|
||||||
swift-proxy:
|
swift-proxy:
|
||||||
zone-assignment: manual
|
zone-assignment: manual
|
||||||
replicas: 3
|
replicas: 3
|
||||||
swift-storage-zone1:
|
swift-storage-zone1:
|
||||||
zone: 1
|
zone: 1
|
||||||
block-device: sdb
|
block-device: sdb
|
||||||
swift-storage-zone1:
|
swift-storage-zone1:
|
||||||
zone: 2
|
zone: 2
|
||||||
block-device: sdb
|
block-device: sdb
|
||||||
swift-storage-zone1:
|
swift-storage-zone1:
|
||||||
zone: 3
|
zone: 3
|
||||||
block-device: sdb
|
block-device: sdb
|
||||||
END
|
END
|
||||||
$ juju deploy --config=swift.cfg swift-proxy
|
$ juju deploy --config=swift.cfg swift-proxy
|
||||||
$ juju deploy --config=swift.cfg swift-storage swift-storage-zone1
|
$ juju deploy --config=swift.cfg swift-storage swift-storage-zone1
|
||||||
@@ -103,14 +102,14 @@ single service unit. New units will be distributed across the existing zones.
|
|||||||
# swift-storage/4 is assigned to zone 2.
|
# swift-storage/4 is assigned to zone 2.
|
||||||
etc.
|
etc.
|
||||||
|
|
||||||
b. Installation repository.
|
**Installation repository.**
|
||||||
|
|
||||||
The 'openstack-origin' setting allows Swift to be installed from installation
|
The 'openstack-origin' setting allows Swift to be installed from installation
|
||||||
repositories and can be used to setup access to the Ubuntu Cloud Archive
|
repositories and can be used to setup access to the Ubuntu Cloud Archive
|
||||||
to support installing Swift versions more recent than what is shipped with
|
to support installing Swift versions more recent than what is shipped with
|
||||||
Ubuntu 12.04 (1.4.8). For more information, see config.yaml.
|
Ubuntu 12.04 (1.4.8). For more information, see config.yaml.
|
||||||
|
|
||||||
c. Authentication.
|
**Authentication.**
|
||||||
|
|
||||||
By default, the charm will be deployed using the tempauth auth system. This is
|
By default, the charm will be deployed using the tempauth auth system. This is
|
||||||
a simple and not-recommended auth system that functions without any external
|
a simple and not-recommended auth system that functions without any external
|
||||||
@@ -125,7 +124,7 @@ interface is will configure swift-proxy with the appropriate credentials
|
|||||||
to make use of Keystone and is required for any integration with other
|
to make use of Keystone and is required for any integration with other
|
||||||
OpenStack components.
|
OpenStack components.
|
||||||
|
|
||||||
d. Glance
|
**Glance**
|
||||||
|
|
||||||
Swift may be used to as a storage backend for the Glance image service. To do
|
Swift may be used to as a storage backend for the Glance image service. To do
|
||||||
so, simply add a relation between swift-proxy and an existing Glance service
|
so, simply add a relation between swift-proxy and an existing Glance service
|
||||||
1
hooks/object-store-relation-joined
Symbolic link
1
hooks/object-store-relation-joined
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
swift-hooks.py
|
||||||
Reference in New Issue
Block a user