summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* quantum: update configuration and deployment optionsBruce Ashfield2013-10-034-5/+8
| | | | | | | | Replace the controller and compute specific deployment classes with the central "hosts" class, and change the configuration file update routines to use the new values and externally visible IPs. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cirros: stash and squashBruce Ashfield2013-10-031-3/+5
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* quantum: configuration and packaging updatesBruce Ashfield2013-10-031-1/+10
| | | | | | | | | | For proper operation of quantum in both a control and compute node, the following items are required: - The controller IP set to the rabbit_host - Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openstack: compute node image free space and deploymentBruce Ashfield2013-10-031-1/+4
| | | | | | | | | | | | Various components (such as rabbitmq) have checks for minimum amounts of free space on a image. If those checks fail, the service exits in a hard to debug manner. To ensure that these services run, and meet typical usage scenarios, we increase the free space in the image to 3G. Finally, we inherit openstack-image-base, to trigger simple rootfs configuration and deployment. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openstack: extra space, network facilities to controller image and deploymentBruce Ashfield2013-10-031-2/+5
| | | | | | | | | | | | | | | Various components (such as rabbitmq) have checks for minimum amounts of free space on a image. If those checks fail, the service exits in a hard to debug manner. To ensure that these services run, and meet typical usage scenarios, we increase the free space in the image to 3G. We also automatically include the network node packages into this image type, to ensure that full quantum functionality is available. Finally, we inherit openstack-image-base, to trigger simple rootfs configuration and deployment. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* rabbitmq: add /var/log/rabbitmq to packagingBruce Ashfield2013-10-031-1/+5
| | | | | | | | | For systems with non-volatile /var mounts, adding /var/log/rabbmitmq to the main package allows logging to be enabled by default. For volatile /var based systems, it does no harm, but does not always create the directory on boot. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* postgresql: enable global listening, and explicit IP permissionsBruce Ashfield2013-10-031-1/+5
| | | | | | | | | | | | | To allow better out of the box configuration of postgresql, two things are required: listen on all addresses, and add explicit permissions for the known nodes in the network. In this change, the former is done by adding listen_addresses = '*' to the generated postgresql configuration on first boot, as well as adding the known compute and controller IPs to pg_hba.conf. (note: the values for these IPs come from hosts.bbclass) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openstack-controller-deploy: cirros simple guest supportBruce Ashfield2013-10-031-0/+19
| | | | | | | | | | | | | | | It is often desireable to test a OpenStack controller and compute node pair with a small, well known image. The cirros simple cloud image fits this bill. To enable the inclusion of this image, add: IMAGE_INSTALL_append = " cirros-guest-image" to local.conf (or relevant configuration file). Once the build completes, the cirros image can be found in /root/images/ Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openstack: create simple deployment frameworkBruce Ashfield2013-10-038-8/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* meta-openstack-qemu: initial creationBruce Ashfield2013-10-034-0/+79
| | | | | | | When included in a build, this layer modifies settings to allow a controller and compute node boot and runtime under qemu system emulation. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* meta-openstack-controller-deploy: initial creationBruce Ashfield2013-10-034-0/+60
| | | | | | | Creating a layer than when added to a build, modifies configuration via appends and classes to create a configured control node. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* meta-openstack-compute-deploy: initial creationBruce Ashfield2013-10-034-0/+60
| | | | | | | Add a nested layer that contains the configuration and appends necessary to deploy a compute node. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* postgresql: fix slow database startup errorsBruce Ashfield2013-10-031-1/+26
| | | | | | | | | | | | | | | | On some targets postgresql's server processes start slowly. If they haven't started and the admin account or other operations are attempted, they fail with a message about not being able to communicate to the local server. If postgres is not properly setup, then subsequent components will also fail, since they either cannot talk to the server, or can't use the 'admin' account. To fix this issue, we add additional sleep states, and attempt to create the admin role 10 times, with a delay between each attempt. If we fail to contact the server after 10 attempts, a clear message is displayed and the postinst returns a failing return code. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-quantum: add pyparsing as an explicit dependencyBruce Ashfield2013-10-031-3/+4
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* nova-common: adapt to non /home/root directory structuresBruce Ashfield2013-10-031-1/+5
| | | | | | | | | | /home/root was hardcoded as the location for root's .bashrc. With this change we'll update .bashrc in /home/root or /root. We also add the $D prefix to the paths, to ensure there is no chance of clobbering the build machines /root/.bashrc. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* nova-controller: fix packaging errorBruce Ashfield2013-10-031-1/+0
| | | | | | | nova controller's configuration files in /etc were being improperly packaged in nova-controller-misc. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-keystone: improve first run reliabilityBruce Ashfield2013-10-031-4/+8
| | | | | | | | | In cases where the postgresql database wasn't properly started, keystone's first run setup fails without clear error messages. With this change, we insert longer sleep periods after attempting to start the database server, which improves the chances of a proper startup. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-pycrypto: override do_installBruce Ashfield2013-10-031-0/+7
| | | | | | | | | | | | python-pycrypto must inherit autotools to have the proper parameters passed to its configuration phase. But this same package doesn't have a "make install" target, so the autotools added install rule errors when run against the package. To fix this, we pick and chose what we execute by implementing our own do_install and calling the class routines explicitly. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* meta-openstack: add bbappends for WRL5.0.xBruce Ashfield2013-10-034-0/+15
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-nova*: Hack for FILESMark Hatle2013-10-031-4/+20
| | | | Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* python-nova*: FILES re-ordering and clarificationMark Hatle2013-09-152-27/+41
| | | | | | | To prevent build errors to the order of evaluation of FILES_* we re-order and clarify the contents of each package. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* erlang: Fix hard coded /usr/lib in do_installMark Hatle2013-09-131-2/+2
| | | | Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* novnc: introduce no VNC for guest console accessBruce Ashfield2013-09-133-0/+121
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-pycrypto: Fix configure failureMark Hatle2013-09-071-27/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* python-nova: use explicit file lists, versus variablesBruce Ashfield2013-09-062-6/+26
| | | | | | | | | | | By setting the FILES_ packaging variables via .inc local vars, we can run into trouble with variable resolution timing and hence packaging fails. We temporarily switch back to explicit (and duplicated) file lists to fix packaging Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* pycrypto: fix QA errors and configure failBruce Ashfield2013-09-061-1/+31
| | | | | | | | | Two fixes in this change, one is to clearly set capabilities and trigger configure, to avoid build and configuration issues. The second is to workaround an autoconf bug by exporting: ac_cv_func_malloc_0_nonnull=yes Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* tgt: use "tgt" instead of PN and drop protocolBruce Ashfield2013-09-061-2/+2
| | | | | | | Without this fix, the fetcher may think there are multiple SRCREVs in the SRC_URI and demand a SRCREV_FORMAT, which we don't need. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* erlang: fix QA error and use ${libdir}Bruce Ashfield2013-09-063-2/+32
| | | | | | | | | | | | | | The lib/wx subcomponent of erlang generates the following QA error: ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities. Stop configure looking for files on the host, specifically unsafe paths such as /usr/local/include. Additionally we should be using ${libdir} and not "lib", since 64 bit builds will use lib64 and by using ${libdir} we adapt automatically. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-lockfile: fix upstream sourceBruce Ashfield2013-09-031-3/+3
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* iproute2: re-sync to oe-core masterBruce Ashfield2013-09-031-0/+2
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* meta-openstack: allow dangling bbappendsBruce Ashfield2013-09-031-0/+2
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* meta-cloud-servies: add READMEBruce Ashfield2013-09-021-0/+35
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* dnsmasq: remove /run to avoid QA errorBruce Ashfield2013-09-011-0/+4
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* meta-cloud-services: add common layer infrastructureBruce Ashfield2013-08-291-0/+9
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cloud-controller: remove duplicate python-novaclientBruce Ashfield2013-08-281-1/+0
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* nova: split into explicit compute and controller recipesBruce Ashfield2013-08-289-126/+233
| | | | | | | | | | | 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>
* docs: clarify docs names and rolesBruce Ashfield2013-08-282-31/+47
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* iptables: update bbappend to match oe-coreBruce Ashfield2013-08-281-0/+0
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* keystone: make identity.sh re-entrantBruce Ashfield2013-08-281-12/+78
| | | | | | | | Sometimes it is desirable to double check the identities, roles and ids in the system. To re-intialize the database, we can allow identity.sh to be re run. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* iproute: update bbappend to match oe-core masterBruce Ashfield2013-08-281-0/+0
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openstack: update to 2013.1.3 releaseBruce Ashfield2013-08-286-13/+12
| | | | | | | Updating cinder/glanc/swift/horizon/nova/keystone/quantum to the 2013.1.3 bugfix release. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* postgresql: add 9.2.4 bbappendBruce Ashfield2013-08-281-0/+35
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openstack: set libvirt PACKAGECONFIG optionsBruce Ashfield2013-08-281-0/+4
| | | | | | | | Rather than support all of the hypervisors and containers that the the default libvirt configuration adds, we specify our own KVM/lxc and related options for a basic openstack configuration. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openstack: rename and clarify image namesBruce Ashfield2013-08-285-13/+37
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-setuptools: remove site.pyBruce Ashfield2013-08-281-0/+4
| | | | | | | To avoid conflicing installs of site.py, we can safely remove it from this package. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-setuptools: avoid conflicting site.pyBruce Ashfield2013-08-281-0/+4
| | | | | | | Several python recipes install a site.py file. To avoid package install problems with the conflicting file, we remove site.py from this package. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-pycrypto: change upstream referenceBruce Ashfield2013-08-281-1/+1
| | | | | | | ftp.dlitz.net is not always avaialble, switching the upstream to pypi.python.org results in reliable builds. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-psycopg2: remove references to pg-configBruce Ashfield2013-08-281-1/+14
| | | | | | | | | pg-config is not provided as a native tool, so if called, the host version will be found. Since the values that are typically returned by pg-config can be determined in our build environment, we can safely remove the calls completely. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* keystone: add openrc fileBruce Ashfield2013-08-282-1/+8
| | | | | | Create the default openrc file for the keystone python install. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ebtables: Move RRECOMMENDS to ebtables recipeMihai Prica2013-08-282-4/+7
| | | | | | | The kernel module is needed by ebtables so the RRECOMMENDS should be in this recipe. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>