AgeCommit message (Collapse)Author
2013-10-03cirros: stash and squashBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-03quantum: configuration and packaging updatesBruce Ashfield
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>
2013-10-03openstack: compute node image free space and deploymentBruce Ashfield
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>
2013-10-03openstack: extra space, network facilities to controller image and deploymentBruce Ashfield
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>
2013-10-03rabbitmq: add /var/log/rabbitmq to packagingBruce Ashfield
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>
2013-10-03postgresql: enable global listening, and explicit IP permissionsBruce Ashfield
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>
2013-10-03openstack-controller-deploy: cirros simple guest supportBruce Ashfield
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>
2013-10-03openstack: create simple deployment frameworkBruce Ashfield
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 ?= "" COMPUTE_HOST ?= "compute" CONTROLLER_IP ?= "" 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>
2013-10-03meta-openstack-qemu: initial creationBruce Ashfield
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>
2013-10-03meta-openstack-controller-deploy: initial creationBruce Ashfield
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>
2013-10-03meta-openstack-compute-deploy: initial creationBruce Ashfield
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>
2013-10-03postgresql: fix slow database startup errorsBruce Ashfield
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>
2013-10-03python-quantum: add pyparsing as an explicit dependencyBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-03nova-common: adapt to non /home/root directory structuresBruce Ashfield
/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>
2013-10-03nova-controller: fix packaging errorBruce Ashfield
nova controller's configuration files in /etc were being improperly packaged in nova-controller-misc. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-03python-keystone: improve first run reliabilityBruce Ashfield
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>
2013-10-03python-pycrypto: override do_installBruce Ashfield
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>
2013-10-03meta-openstack: add bbappends for WRL5.0.xBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-03python-nova*: Hack for FILESMark Hatle
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2013-09-15python-nova*: FILES re-ordering and clarificationMark Hatle
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>
2013-09-13erlang: Fix hard coded /usr/lib in do_installMark Hatle
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2013-09-13novnc: introduce no VNC for guest console accessBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-09-07python-pycrypto: Fix configure failureMark Hatle
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2013-09-06python-nova: use explicit file lists, versus variablesBruce Ashfield
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>
2013-09-06pycrypto: fix QA errors and configure failBruce Ashfield
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>
2013-09-06tgt: use "tgt" instead of PN and drop protocolBruce Ashfield
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>
2013-09-06erlang: fix QA error and use ${libdir}Bruce Ashfield
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>
2013-09-03python-lockfile: fix upstream sourceBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-09-03iproute2: re-sync to oe-core masterBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-09-03meta-openstack: allow dangling bbappendsBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-09-02meta-cloud-servies: add READMEBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-09-01dnsmasq: remove /run to avoid QA errorBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-08-29meta-cloud-services: add common layer infrastructureBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-08-28cloud-controller: remove duplicate python-novaclientBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-08-28nova: split into explicit compute and controller recipesBruce Ashfield
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>
2013-08-28docs: clarify docs names and rolesBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-08-28iptables: update bbappend to match oe-coreBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-08-28keystone: make identity.sh re-entrantBruce Ashfield
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>
2013-08-28iproute: update bbappend to match oe-core masterBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-08-28openstack: update to 2013.1.3 releaseBruce Ashfield
Updating cinder/glanc/swift/horizon/nova/keystone/quantum to the 2013.1.3 bugfix release. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-08-28postgresql: add 9.2.4 bbappendBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-08-28openstack: set libvirt PACKAGECONFIG optionsBruce Ashfield
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>
2013-08-28openstack: rename and clarify image namesBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-08-28python-setuptools: remove site.pyBruce Ashfield
To avoid conflicing installs of site.py, we can safely remove it from this package. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-08-28python-setuptools: avoid conflicting site.pyBruce Ashfield
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>
2013-08-28python-pycrypto: change upstream referenceBruce Ashfield
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>
2013-08-28python-psycopg2: remove references to pg-configBruce Ashfield
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>
2013-08-28keystone: add openrc fileBruce Ashfield
Create the default openrc file for the keystone python install. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-08-28ebtables: Move RRECOMMENDS to ebtables recipeMihai Prica
The kernel module is needed by ebtables so the RRECOMMENDS should be in this recipe. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
2013-08-28iproute2: Move RRECOMMENDS to iproute2 recipeMihai Prica
The kernel module is needed by iproute2 so the RRECOMMENDS should be in this recipe. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>