Merge "Adding docs/comments for glance config"
This commit is contained in:
commit
c6cfe818f4
@ -19,13 +19,15 @@ usage.
|
|||||||
|
|
||||||
glance_default_store: swift
|
glance_default_store: swift
|
||||||
|
|
||||||
#. Set the appropriate authentication URL:
|
#. Set the appropriate authentication URL and version:
|
||||||
|
|
||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
|
||||||
|
glance_swift_store_auth_version: 2
|
||||||
glance_swift_store_auth_address: https://127.0.0.1/v2.0
|
glance_swift_store_auth_address: https://127.0.0.1/v2.0
|
||||||
|
|
||||||
#. Set the swift account credentials:
|
#. Set the swift account credentials (see *Special Considerations* at the
|
||||||
|
bottom of this page):
|
||||||
|
|
||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
|
||||||
@ -106,6 +108,16 @@ usage.
|
|||||||
|
|
||||||
- ``trusted-auth+cachemanagement``
|
- ``trusted-auth+cachemanagement``
|
||||||
|
|
||||||
|
Special Considerations
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
If the swift password or key contains a dollar sign (``$``), it must
|
||||||
|
be escaped with an additional dollar sign (``$$``). For example, a password of
|
||||||
|
``super$ecure`` would need to be entered as ``super$$ecure``. This is needed
|
||||||
|
due to the way `oslo.config formats strings`_.
|
||||||
|
|
||||||
|
.. _oslo.config formats strings: https://bugs.launchpad.net/oslo-incubator/+bug/1259729
|
||||||
|
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
.. include:: navigation.txt
|
.. include:: navigation.txt
|
||||||
|
@ -67,9 +67,18 @@ glance_swift_store_endpoint_type: internalURL
|
|||||||
# dhcp_domain:
|
# dhcp_domain:
|
||||||
|
|
||||||
## Glance with Swift
|
## Glance with Swift
|
||||||
### Extra options when configuring swift as a glance back-end.
|
# Extra options when configuring swift as a glance back-end. By default it
|
||||||
### By default it will use the local swift install
|
# will use the local swift installation. Set these when using a remote swift
|
||||||
### Set these when using a remote swift as a glance backend
|
# as a glance backend.
|
||||||
|
#
|
||||||
|
# NOTE: Ensure that the auth version matches your authentication endpoint.
|
||||||
|
#
|
||||||
|
# NOTE: If the password for glance_swift_store_key contains a dollar sign ($),
|
||||||
|
# it must be escaped with an additional dollar sign ($$), not a backslash. For
|
||||||
|
# example, a password of "super$ecure" would need to be entered as
|
||||||
|
# "super$$ecure" below. See Launchpad Bug #1259729 for more details.
|
||||||
|
#
|
||||||
|
#glance_swift_store_auth_version: 3
|
||||||
#glance_swift_store_auth_address: "https://some.auth.url.com"
|
#glance_swift_store_auth_address: "https://some.auth.url.com"
|
||||||
#glance_swift_store_user: "OPENSTACK_TENANT_ID:OPENSTACK_USER_NAME"
|
#glance_swift_store_user: "OPENSTACK_TENANT_ID:OPENSTACK_USER_NAME"
|
||||||
#glance_swift_store_key: "OPENSTACK_USER_PASSWORD"
|
#glance_swift_store_key: "OPENSTACK_USER_PASSWORD"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user