summaryrefslogtreecommitdiffstats
path: root/meta-openstack
diff options
context:
space:
mode:
authorMihai Prica <prica.mihai@gmail.com>2013-07-11 16:57:31 +0300
committerBruce Ashfield <bruce.ashfield@windriver.com>2013-08-28 18:41:58 -0400
commit60d55f8387137df345a34343057cb532c9519ea4 (patch)
tree46ac007ef967aeb4d7ba26a32e5f1edbbfcd2b45 /meta-openstack
parentc0f28b189f54c0dd587ea8018a98afb95e455309 (diff)
downloadmeta-cloud-services-60d55f8387137df345a34343057cb532c9519ea4.tar.gz
DOC: Updated documentation
* Fixed various typos. * Added more information about the identity service. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
Diffstat (limited to 'meta-openstack')
-rw-r--r--meta-openstack/DOC69
1 files changed, 35 insertions, 34 deletions
diff --git a/meta-openstack/DOC b/meta-openstack/DOC
index f00ae86..66fa085 100644
--- a/meta-openstack/DOC
+++ b/meta-openstack/DOC
@@ -9,43 +9,40 @@ horizon components and their dependencies.
9 9
10Components 10Components
11---------- 11----------
12* All the openstack packages are python packages so they can be found in the 12* All the openstack packages are python packages. They can be found in the
13recipes-devtools/python folder. Each component has been split into multiple 13recipes-devtools/python folder. Each component has been split into multiple
14packages similar to the ones used by other Linux distributions. 14packages similar to the system used by other Linux distributions.
15 15
16* The configuration files for each package can be found in the folder with the 16* The configuration files for each package can be found in the files folder
17package name. The debug and verbose options have been enabled for capturing 17for each package. The debug and verbose options have been enabled for capturing
18meaningful information in the logs. The configurations have been done using 18meaningful information in the logs. The packages have been configured
19devstack as a model. Each package has to initialize the database before it is 19following the model used by devstack. Each package has to initialize a database
20used for the first time. This is done using a postinstall script that is run 20before it is used for the first time. This is done using a postinstall script
21the first time the image is booted. Due to this, the image boot time is longer 21that is run the first time the image is booted. This is why the image boot
22the first time. 22time is longer the first time.
23 23
24* System-V initscripts are also provided that start the services at boot time. 24* System-V initscripts are also provided in order to start the services at boot time.
25 25
26* The postgresql package is used for the database backend. The layer contains 26* We used postgresql (package) for the database backend. The layer contains
27an initscript that starts the DB server at boot time. Tests were also done 27an initscript that starts the DB server at boot time. Tests were done
28using sqlite3 and MySQL and there were no errors. 28using sqlite3 and MySQL and there were no errors.
29 29
30* The RabbitMQ server is used for the AMQP message queues. The server is 30* The RabbitMQ server is used for the AMQP message queues. The server starts
31started at boot time with the default configuration. 31at boot time with the default configuration.
32 32
33* The dashboard(horizon) component is still under development. 33* The layer also contains three packagegroups:
34
35* Three new packagegroups have been defined:
36** packagegroup-cloud-controller - required packages for building a controller 34** packagegroup-cloud-controller - required packages for building a controller
37node. This provides all functionality except the hosting of the virtual 35node. This provides all functionality except the actual hosting of the virtual
38machines or providing network services. This includes the postgresql-server, 36machines or network services. This includes the database server, AMQP server
39rabbitmq-server and all the openstack services except the nova-compute 37and all the openstack services except nova-compute.
40component.
41** packagegroup-cloud-compute - packages for a processing node. This node runs 38** packagegroup-cloud-compute - packages for a processing node. This node runs
42the compute service as well as the network service agent (in our case, the 39the compute service as well as the network service agent (in our case, the
43Open vSwitch plugin agent). This server also manages the KVM hypervisor. 40Open vSwitch plugin agent). This server also manages the KVM hypervisor.
44** packagegroup-cloud-network: this provides networking services like DHCP, 41** packagegroup-cloud-network: this provides networking services like DHCP,
45layer 2 switching, layer 3 routing and metadata connectivity. 42layer 2 switching, layer 3 routing and metadata connectivity.
46 43
47* Multiple packagegroups can be used in the same image to get a image that can 44* When creating an image, multiple packagegroups can be used to obtain a target
48be used both as a controller and compute node. 45that has the functionality of both a controller and compute node.
49 46
50Dependencies 47Dependencies
51------------ 48------------
@@ -57,7 +54,7 @@ Building an image
57----------------- 54-----------------
58* There are two new target images: nova-image-compute and nova-image-controller 55* There are two new target images: nova-image-compute and nova-image-controller
59that contain the packagegroups with the same name, that have been describe 56that contain the packagegroups with the same name, that have been describe
60above. 57in the previous section.
61 58
62* Once a buildir has been initialized you have to append the necessary layers 59* Once a buildir has been initialized you have to append the necessary layers
63to the bblayers.conf file: 60to the bblayers.conf file:
@@ -69,19 +66,23 @@ to the bblayers.conf file:
69Package configurations 66Package configurations
70---------------------- 67----------------------
71The identity.sh script creates the necessary users, services and endpoints 68The identity.sh script creates the necessary users, services and endpoints
72for the Keystone identity system. If you want to customize the usernames, 69for the Keystone identity system. If you want to customize the usernames or
73passwords you have to change this information in the configuration 70passwords don't forget to change the information in the configuration files
74files for the services as well. 71for the services as well.
75 72
76Running an image 73Running an image
77---------------- 74----------------
78* Controller node * 75* Controller node *
79To test the image, you can run it using the runqemu script. After the image 76To test the image, you can run it using the runqemu script. In order to use
80has booted, to use the command line clients some environmental variables 77the command line clients (nova, keystone, glance etc) some environmental
81required by the openstack services to connect to the identity service have to 78variables have to be set. These are required by the openstack services to
82be set. These can be found in /root/.bashrc. If you start a new bash session 79connect to the identity service and authenticate the user. These can be found
83they are automatically loaded. All the nova(except compute), keystone, glance, 80in /root/.bashrc. If you start a new bash session they are automatically
84cinder, quantum, swift services should be running after a successful boot. 81loaded. All the installed OpenStack services nova(except compute), keystone,
82glance, cinder, quantum, swift horizon should be running after a successful boot.
83
84The dashboard component is listening for new connections on port 8080. You can
85connect to it using any browser.
85 86
86* Compute node * 87* Compute node *
87The configuration files for the nova package are for a controller node so some 88The configuration files for the nova package are for a controller node so some
@@ -92,5 +93,5 @@ to replace localhost to the controller node IP in the following files:
92 /root/.bashrc: SERVICE_ENDPOINT, OS_AUTH_URL; 93 /root/.bashrc: SERVICE_ENDPOINT, OS_AUTH_URL;
93Once the changes are done you have to restart the nova-compute service. 94Once the changes are done you have to restart the nova-compute service.
94!! Hint !! 95!! Hint !!
95When using a multi-node setup is recommended that each host have a different 96When using a multi-node setup it is recommended that each host have a different
96hostname and that every host knows the other hosts. 97hostname and that every host knows the other hosts.