aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2013-11-26python-horizon: remove nodejs from RDEPENDS of powerpc archgrizzlyZhenhua Luo1-2/+6
Nodejs only supports arm, x86 and ia32 archs, it doesn't support powerpc. Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-30meta-openstack: remove duplicate dnsmasq bbappendBruce Ashfield2-11/+7
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-21postgres: add postgresql initscript packageBruce Ashfield1-0/+1
Without adding the initscript package, postgres won't start automatically on boot. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-04docs: remove old patch referencesBruce Ashfield1-4/+0
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-04postgresql: Fix runtime dependsJason Wessel1-0/+1
When using the target installer with postgresql can end up installing in the wrong order due to bad dependencies and cause the install transaction to fail as follows: ==== initdb: invalid locale name "" initdb: invalid locale name "" initdb: invalid locale name "" initdb: invalid locale name "" initdb: invalid locale name "" could not open directory "/usr/share/postgresql/timezone": No such file or directory sh: locale: command not found WARNING: enabling "trust" authentication for local connections You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. /etc/init.d/postgresql: line 25: start-stop-daemon: command not found ==== Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
2013-10-04nova: inherit useradd.bbclassBruce Ashfield1-1/+1
After the merging of python-nova-controller and python-nova-compute, we were missing the inherit of useradd bbclass. As a result, there wasn't a valid nova user and group on the system. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-04meta-openstack-*-deploy: add bbclass patternsBruce Ashfield2-2/+2
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-04postgresql: unify startup and initializationBruce Ashfield9-58/+76
Since we can't count on package postinst order, many components check for a configured postgresql daemon, and if not found, initialize it. Rather than sprinkling the knowledge of how to initialize the database through all these packages, we create a more robust, central postgresql-init script, and call it when any component needs the database configured. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-04python-nova: unify controller and compute recipesBruce Ashfield4-269/+158
The split of compute and controller is no longer necesary, since configuration inheritance is done with overriding layers, not split recipes. This simplifies the build, and packaging of the recipe. Good riddance. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-04meta-openstack: add python greenlet 0.4.1Bruce Ashfield1-0/+14
pre-0.4.0 versions of python greenlet are known to segfault and cause general instability. We temporarily carry 0.4.1 here, until meta-openembedded is upgraded to have a new enough version. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-04meta-openstack: prefer python greenlet 0.4.1Bruce Ashfield1-0/+3
pre-0.4.0 versions of python greenlet are known to segfault and cause general instability. So we set our preferred version to 0.4.1 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-03images: add licence checksumsBruce Ashfield3-0/+6
The network and compute images have a MIT license, but are missing the required checksums. Adding it removes a checksum error during the build. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-03[PATCH] cloud-controller: add novncBruce Ashfield1-0/+1
novnc is required for horizon serial console access, so we add it to the controller task by default. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-03nova: add novnc console proxy supportBruce Ashfield5-6/+173
With this commit the appropriate daemons are started on a control node boot to support horizon console access via the novnc proxy. Additionally, the proper nova configuration is set for boh the control and compute nodes for out of the box console connectivity between the compute, control and horizone interface. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-03meta-openstack: documentation updatesBruce Ashfield3-26/+76
syncing the documentation to match the current layers, configuration and launch. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-03keystone: use external IP address versus localhostBruce Ashfield2-3/+10
To make keystone work properly in a node with "real" IP addresses, both the configuration and identity setup script should use the external address and not localhost. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-03cinder: create /var/log/cinderBruce Ashfield1-1/+5
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-03nova: use common 'hosts' configuration versus 'controller' and 'compute'Bruce Ashfield2-2/+2
Since external IPs can now be used, we can unify the IP configuration to the single global file. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-03nova.conf: use explicit IPs, less localhost and disable the firewallBruce Ashfield1-5/+7
To allow both a controller and compute node to use the same nova.conf, we can switch in more use of %CONTROLLER_IP% and less use of localhost. We also disable the firewall configuration by default, it can be re-enabled by subsequent layers. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-03nova: use ${sysconfdir} instead of ${NOVA_CONF_DIR}Bruce Ashfield1-1/+1
${NOVA_CONF_DIR} points to the staging/build directories, so it shouldn't be placed into on-target config files. Using ${sysconfdir} is the right, on-target, directory to use. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-03quantum: update configuration and deployment optionsBruce Ashfield4-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>
2013-10-03cirros: stash and squashBruce Ashfield1-3/+5
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-03quantum: configuration and packaging updatesBruce Ashfield1-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>
2013-10-03openstack: compute node image free space and deploymentBruce Ashfield1-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>
2013-10-03openstack: extra space, network facilities to controller image and deploymentBruce Ashfield1-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>
2013-10-03rabbitmq: add /var/log/rabbitmq to packagingBruce Ashfield1-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>
2013-10-03postgresql: enable global listening, and explicit IP permissionsBruce Ashfield1-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>
2013-10-03openstack-controller-deploy: cirros simple guest supportBruce Ashfield1-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>
2013-10-03openstack: create simple deployment frameworkBruce Ashfield8-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>
2013-10-03meta-openstack-qemu: initial creationBruce Ashfield4-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>
2013-10-03meta-openstack-controller-deploy: initial creationBruce Ashfield4-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>
2013-10-03meta-openstack-compute-deploy: initial creationBruce Ashfield4-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>
2013-10-03postgresql: fix slow database startup errorsBruce Ashfield1-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>
2013-10-03python-quantum: add pyparsing as an explicit dependencyBruce Ashfield1-3/+4
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-03nova-common: adapt to non /home/root directory structuresBruce Ashfield1-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>
2013-10-03nova-controller: fix packaging errorBruce Ashfield1-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>
2013-10-03python-keystone: improve first run reliabilityBruce Ashfield1-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>
2013-10-03python-pycrypto: override do_installBruce Ashfield1-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>
2013-10-03meta-openstack: add bbappends for WRL5.0.xBruce Ashfield4-0/+15
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-03python-nova*: Hack for FILESMark Hatle1-4/+20
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2013-09-15python-nova*: FILES re-ordering and clarificationMark Hatle2-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>
2013-09-13erlang: Fix hard coded /usr/lib in do_installMark Hatle1-2/+2
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2013-09-13novnc: introduce no VNC for guest console accessBruce Ashfield3-0/+121
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-09-07python-pycrypto: Fix configure failureMark Hatle1-27/+1
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2013-09-06python-nova: use explicit file lists, versus variablesBruce Ashfield2-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>
2013-09-06pycrypto: fix QA errors and configure failBruce Ashfield1-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>
2013-09-06tgt: use "tgt" instead of PN and drop protocolBruce Ashfield1-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>
2013-09-06erlang: fix QA error and use ${libdir}Bruce Ashfield3-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>
2013-09-03python-lockfile: fix upstream sourceBruce Ashfield1-3/+3
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-09-03iproute2: re-sync to oe-core masterBruce Ashfield1-0/+2
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>