diff options
| author | Mihai Prica <prica.mihai@gmail.com> | 2013-07-11 16:57:31 +0300 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-08-28 18:41:58 -0400 |
| commit | 60d55f8387137df345a34343057cb532c9519ea4 (patch) | |
| tree | 46ac007ef967aeb4d7ba26a32e5f1edbbfcd2b45 /meta-openstack | |
| parent | c0f28b189f54c0dd587ea8018a98afb95e455309 (diff) | |
| download | meta-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/DOC | 69 |
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 | ||
| 10 | Components | 10 | Components |
| 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 |
| 13 | recipes-devtools/python folder. Each component has been split into multiple | 13 | recipes-devtools/python folder. Each component has been split into multiple |
| 14 | packages similar to the ones used by other Linux distributions. | 14 | packages 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 |
| 17 | package name. The debug and verbose options have been enabled for capturing | 17 | for each package. The debug and verbose options have been enabled for capturing |
| 18 | meaningful information in the logs. The configurations have been done using | 18 | meaningful information in the logs. The packages have been configured |
| 19 | devstack as a model. Each package has to initialize the database before it is | 19 | following the model used by devstack. Each package has to initialize a database |
| 20 | used for the first time. This is done using a postinstall script that is run | 20 | before it is used for the first time. This is done using a postinstall script |
| 21 | the first time the image is booted. Due to this, the image boot time is longer | 21 | that is run the first time the image is booted. This is why the image boot |
| 22 | the first time. | 22 | time 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 |
| 27 | an initscript that starts the DB server at boot time. Tests were also done | 27 | an initscript that starts the DB server at boot time. Tests were done |
| 28 | using sqlite3 and MySQL and there were no errors. | 28 | using 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 |
| 31 | started at boot time with the default configuration. | 31 | at 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 |
| 37 | node. This provides all functionality except the hosting of the virtual | 35 | node. This provides all functionality except the actual hosting of the virtual |
| 38 | machines or providing network services. This includes the postgresql-server, | 36 | machines or network services. This includes the database server, AMQP server |
| 39 | rabbitmq-server and all the openstack services except the nova-compute | 37 | and all the openstack services except nova-compute. |
| 40 | component. | ||
| 41 | ** packagegroup-cloud-compute - packages for a processing node. This node runs | 38 | ** packagegroup-cloud-compute - packages for a processing node. This node runs |
| 42 | the compute service as well as the network service agent (in our case, the | 39 | the compute service as well as the network service agent (in our case, the |
| 43 | Open vSwitch plugin agent). This server also manages the KVM hypervisor. | 40 | Open 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, |
| 45 | layer 2 switching, layer 3 routing and metadata connectivity. | 42 | layer 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 |
| 48 | be used both as a controller and compute node. | 45 | that has the functionality of both a controller and compute node. |
| 49 | 46 | ||
| 50 | Dependencies | 47 | Dependencies |
| 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 |
| 59 | that contain the packagegroups with the same name, that have been describe | 56 | that contain the packagegroups with the same name, that have been describe |
| 60 | above. | 57 | in 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 |
| 63 | to the bblayers.conf file: | 60 | to the bblayers.conf file: |
| @@ -69,19 +66,23 @@ to the bblayers.conf file: | |||
| 69 | Package configurations | 66 | Package configurations |
| 70 | ---------------------- | 67 | ---------------------- |
| 71 | The identity.sh script creates the necessary users, services and endpoints | 68 | The identity.sh script creates the necessary users, services and endpoints |
| 72 | for the Keystone identity system. If you want to customize the usernames, | 69 | for the Keystone identity system. If you want to customize the usernames or |
| 73 | passwords you have to change this information in the configuration | 70 | passwords don't forget to change the information in the configuration files |
| 74 | files for the services as well. | 71 | for the services as well. |
| 75 | 72 | ||
| 76 | Running an image | 73 | Running an image |
| 77 | ---------------- | 74 | ---------------- |
| 78 | * Controller node * | 75 | * Controller node * |
| 79 | To test the image, you can run it using the runqemu script. After the image | 76 | To test the image, you can run it using the runqemu script. In order to use |
| 80 | has booted, to use the command line clients some environmental variables | 77 | the command line clients (nova, keystone, glance etc) some environmental |
| 81 | required by the openstack services to connect to the identity service have to | 78 | variables have to be set. These are required by the openstack services to |
| 82 | be set. These can be found in /root/.bashrc. If you start a new bash session | 79 | connect to the identity service and authenticate the user. These can be found |
| 83 | they are automatically loaded. All the nova(except compute), keystone, glance, | 80 | in /root/.bashrc. If you start a new bash session they are automatically |
| 84 | cinder, quantum, swift services should be running after a successful boot. | 81 | loaded. All the installed OpenStack services nova(except compute), keystone, |
| 82 | glance, cinder, quantum, swift horizon should be running after a successful boot. | ||
| 83 | |||
| 84 | The dashboard component is listening for new connections on port 8080. You can | ||
| 85 | connect to it using any browser. | ||
| 85 | 86 | ||
| 86 | * Compute node * | 87 | * Compute node * |
| 87 | The configuration files for the nova package are for a controller node so some | 88 | The 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; |
| 93 | Once the changes are done you have to restart the nova-compute service. | 94 | Once the changes are done you have to restart the nova-compute service. |
| 94 | !! Hint !! | 95 | !! Hint !! |
| 95 | When using a multi-node setup is recommended that each host have a different | 96 | When using a multi-node setup it is recommended that each host have a different |
| 96 | hostname and that every host knows the other hosts. | 97 | hostname and that every host knows the other hosts. |
