29.2.193
by James Page
Add README |
1 |
Overview
|
2 |
--------
|
|
3 |
||
4 |
This charm provides the Glance image service for OpenStack. It is intended to |
|
5 |
be used alongside the other OpenStack components, starting with the Essex |
|
6 |
release in Ubuntu 12.04. |
|
7 |
||
8 |
Usage
|
|
9 |
-----
|
|
10 |
||
11 |
Glance may be deployed in a number of ways. This charm focuses on 3 main |
|
12 |
configurations. All require the existence of the other core OpenStack |
|
13 |
services deployed via Juju charms, specifically: mysql, keystone and |
|
14 |
nova-cloud-controller. The following assumes these services have already |
|
15 |
been deployed. |
|
16 |
||
17 |
Local Storage
|
|
18 |
=============
|
|
19 |
||
20 |
In this configuration, Glance uses the local storage available on the server |
|
21 |
to store image data: |
|
22 |
||
23 |
juju deploy glance
|
|
24 |
juju add-relation glance keystone
|
|
25 |
juju add-relation glance mysql
|
|
26 |
juju add-relation glance nova-cloud-controller
|
|
27 |
||
28 |
Swift backed storage
|
|
29 |
====================
|
|
30 |
||
31 |
Glance can also use Swift Object storage for image storage. Swift is often |
|
32 |
deployed as part of an OpenStack cloud and provides increased resilience and |
|
33 |
scale when compared to using local disk storage. This configuration assumes |
|
34 |
that you have already deployed Swift using the swift-proxy and swift-storage |
|
35 |
charms: |
|
36 |
||
37 |
juju deploy glance
|
|
38 |
juju add-relation glance keystone
|
|
39 |
juju add-relation glance mysql
|
|
29.2.194
by James Page
Add documentation for glance ha |
40 |
juju add-relation glance nova-cloud-controller
|
29.2.193
by James Page
Add README |
41 |
juju add-relation glance swift-proxy
|
42 |
||
43 |
This configuration can be used to support Glance in HA/Scale-out deployments. |
|
44 |
||
45 |
Ceph backed storage
|
|
46 |
===================
|
|
47 |
||
48 |
In this configuration, Glance uses Ceph based object storage to provide |
|
49 |
scalable, resilient storage of images. This configuration assumes that you |
|
50 |
have already deployed Ceph using the ceph charm: |
|
51 |
||
52 |
juju deploy glance
|
|
53 |
juju add-relation glance keystone
|
|
54 |
juju add-relation glance mysql
|
|
29.2.194
by James Page
Add documentation for glance ha |
55 |
juju add-relation glance nova-cloud-controller
|
29.2.193
by James Page
Add README |
56 |
juju add-relation glance ceph
|
57 |
||
58 |
This configuration can also be used to support Glance in HA/Scale-out |
|
59 |
deployments. |
|
60 |
||
29.2.194
by James Page
Add documentation for glance ha |
61 |
Glance HA/Scale-out
|
62 |
===================
|
|
63 |
||
64 |
The Glance charm can also be used in a HA/scale-out configuration using |
|
65 |
the hacluster charm: |
|
66 |
||
67 |
juju deploy -n 3 glance
|
|
68 |
juju deploy hacluster haglance
|
|
69 |
juju set glance vip=<virtual IP address to access glance over>
|
|
70 |
juju add-relation glance haglance
|
|
71 |
juju add-relation glance mysql
|
|
72 |
juju add-relation glance keystone
|
|
73 |
juju add-relation glance nova-cloud-controller
|
|
74 |
juju add-relation glance ceph|swift-proxy
|
|
75 |
||
76 |
In this configuration, 3 service units host the Glance image service; |
|
77 |
API requests are load balanced across all 3 service units via the |
|
78 |
configured virtual IP address (which is also registered into Keystone |
|
79 |
as the endpoint for Glance). |
|
80 |
||
81 |
Note that Glance in this configuration must be used with either Ceph or |
|
82 |
Swift providing backing image storage. |
|
83 |
||
29.2.193
by James Page
Add README |
84 |
Contact Information
|
85 |
-------------------
|
|
86 |
||
87 |
Author: Adam Gandelman <adamg@canonical.com> |
|
88 |
Report bugs at: http://bugs.launchpad.net/charms |
|
89 |
Location: http://jujucharms.com |