summaryrefslogtreecommitdiffstats
path: root/meta-openstack/classes
Commit message (Collapse)AuthorAgeFilesLines
* Readjust the start level of openstack componentsVu Tran2014-03-171-0/+1
| | | | | | | | | | | | | | Currently all the openstack components have default start level of 20. There are other services such as glusterfs, rabbbitmq, database... are also starting at the same start level. On some platform, this can cause racing condition between services which in turn causes some of openstack components not started. By adjusting the openstack components start level to higher will ensure that system services start in the determistic way. Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openstack: create simple deployment frameworkBruce Ashfield2013-10-034-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To facilitate the creation of a simple OpenStack configuration with a single control and compute node, several things should be known at build time (since in this simple configuration, we are not using dhcp, or other name resolution techniques): - The IP of control node - The IP of the compute node - The IP of the node being built From these values, the OpenStack components and support applications (databases, access control, etc) are configured, as well as simple name resolution generated at build time. A single "hosts" bbclass should be provided with the following values: COMPUTE_IP ?= "192.168.7.4" COMPUTE_HOST ?= "compute" CONTROLLER_IP ?= "192.168.7.2" CONTROLLER_HOST ?= "controller" MY_IP ?= "${CONTROLLER_IP}" MY_HOST ?= "${CONTROLLER_HOST}" The above example is for a control node, using the runqemu default addresses. The openstack-base.bbclass is responsible for generating /etc/hosts and /etc/hostname. Any image type that requires these values at boot tiem, should inherit this class to allow its rootfs post population hooks to run and generate the required configuration. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* nova: split into explicit compute and controller recipesBruce Ashfield2013-08-282-0/+4
| | | | | | | | | | | To allow unique configuration of nova for compute and controller nodes, the nova class is split into two, but packaged largely the same way. The compute and controller classes are introduced to hold configuration values and operations that are used by the common packaging routines to customize and deploy. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* identity: Set ADMIN_PASSWORD from identity classMihai Prica2013-08-281-0/+1
| | | | Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
* postgresql: Made the postgresql credentials configurableMihai Prica2013-08-281-0/+2
| | | | | | | The user and password for postgresql are defined in the identity class and are loaded by the recipes from this class. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
* identity.bbclass: Added new classMihai Prica2013-08-281-0/+3
Each service(nova, glance, cinder...) has its own keystone user. These users are created in a postinstall for the keystone package. This new class is used to store some of the credentials used by keystone and all packages will inherit this class and create the appropriate configuration files. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>