summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* python-mox: introduce Mock object frameworkBruce Ashfield2013-12-111-1/+6
| | | | | | | Many python-nose tests require mox and stubout, so we introduce the python-mox to meet the demand. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* tempest: create per-component test packages and flakes8Bruce Ashfield2013-12-117-6/+40
| | | | | | | | | | | | To add more complete tempest support, we require flakes8, so it is added to the dependency list. To get the individual component test scripts onto the target, create a $PACKAGE-tests package and add the script. When the tests are required on target, these packages should be added to the install list. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-flake8: introduce python-flake8 and dependenciesBruce Ashfield2013-12-114-0/+87
| | | | | | For full tempest test results, we require flake8 and dependencies. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-*client: update PV to include client versionBruce Ashfield2013-12-098-15/+15
| | | | | | | | Rather than only using the git has for the client apis, we'll also use the latest tagged version. This makes the mapping to pypi and capabilities much simpler. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* postgresql: Add corner case for DRBD conversionJason Wessel2013-12-091-1/+10
| | | | | | | | | | If the prior instance of postgresql was running there is no way to kill it after the conversion to DRBD. This adds the corner case to stop the old daemon after the data directory has been migrated. Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
* postgresql-init: Fix logic inversionJason Wessel2013-12-092-3/+3
| | | | | | | The logic was flipped in the wrong place. This makes things right and fixes up the possibility that the symlink already exists. Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
* Merge branch 'havana'Bruce Ashfield2013-12-0511-41/+50
|\
| * python-nova: add libvirt to DEPENDSBruce Ashfield2013-12-021-1/+1
| | | | | | | | | | | | | | Since python-nova uses the group "libvirt", which is created by the libvirt recipe, we must specify libvirt explicitly in DEPENDS. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
| * openstack: update bbappends to match ↵Bruce Ashfield2013-12-023-0/+15
| | | | | | | | | | | | oe-core/meta-networing/meta-virtualization master Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
| * python-nova: run services as nova user instead of rootBruce Ashfield2013-11-284-8/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this change we now run both the nova controller services and compute node agents as the dedicated "nova" user. Changes to configuration were made to relocated locks and logs to nova writeable directories. Wherever possible configuration files and directories have been changed to nova instead of root (with the notable exception of rootwrap configuration). nova has also been granted sudo privileges to run rootwrap commands. And finally, a libvirt system group has been created and nova added to that group. This allows the compute agent to communicate with libvirtd via the "libvirt" group while keeping permissions tight. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
| * python-pyparsing: uprev to meet havana nova-api requirementsBruce Ashfield2013-11-271-2/+2
| | | | | | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
| * python-cmd2: uprev to meet havana nova-api requirementsBruce Ashfield2013-11-271-3/+3
| | | | | | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
| * python-cliff: uprev to havana nova-api minimum requirementsBruce Ashfield2013-11-272-27/+3
| | | | | | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* | python-horizon: remove nodejs from RDEPENDS of powerpc archZhenhua Luo2013-11-261-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>
* | erlang: skip the host library path check to fix cross-compile issueZhenhua Luo2013-11-262-0/+26
|/ | | | | | | | | Below is the error message: ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities. Rerun configure task after fixing this. Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cloud-controller: add component setup packagesBruce Ashfield2013-11-251-1/+9
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* init: remove remaining createdb commands to separate init packagesBruce Ashfield2013-11-258-12/+14
| | | | | | | | After moving all database creation initialization packages, we also remove it from the RDEPENDS of the various control node recipes. This allows images to select database initialization or skip it. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* initscripts: split into -setup and init packagesBruce Ashfield2013-11-255-28/+43
| | | | | | | | | | | | | | | | | | | | | | | Many OpenStack modules require a first boot action to setup up users, databases, bridges, etc. These same packages install initscripts to start daemons and servers. The 1st boot package post install actions immediately exit to indicate that the action cannot be performed in the cross environment and instead should be done on first boot. The update-rc.d post install actions are intended to be run in the cross environment to symlink scripts into the proper runlevels. The early exit from the db setup routines, means that the rc files are not linked in host cross. If the rootfs doesn't contain update-rc.d, they also will not be set up on first boot. The end result is a system that does not start all of its required services on boot. To fix this, we split out db and other first boot setup tasks into dedicated (but empty) -setup packages. These run on first boot, while update-rc.d is left to create the proper symlinks. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* nova: cosmetic: line up package dependenciesBruce Ashfield2013-11-251-35/+35
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* controller: add chkconfig into default packagelistBruce Ashfield2013-11-251-0/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* nova: generate per-service initscriptsBruce Ashfield2013-11-252-10/+55
| | | | | | | | | | | Rather than use the catch-all "nova-all" initscript, we switch to one initscript per-service. The old nova-all is still installed, but not linked as an initscript, so it can be used as a fallback. In addition to per-service initscripts, we switch to generating those initscripts from a common template script. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* initscrtips: make initscripts chkconfig and service safeBruce Ashfield2013-11-255-3/+24
| | | | | | | | To support the execution of the chkconfig and service scripts, we need to ensure a consistent header on the initscripts, and a consistent environment that allows scratch files to be written. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* tempest: fix configuration for test executionBruce Ashfield2013-11-253-41/+37
| | | | | | | | | | | | | | | | | The initial integration of tempest didn't configure logging.conf or tempest.conf with the proper values for test execution. With this commit, we have a log configuration, passwords and other settings such that basic tests may be executed on target as follows: root@controller:/usr/lib/python2.7/site-packages# nosetests tempest/api To build the tests into the controller image, the following should be added to local.conf: OPENSTACK_CONTROLLER_EXTRA_INSTALL += "tempest" Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* tempest: introduce the openstack unit test frameworkBruce Ashfield2013-11-253-0/+577
| | | | | | | | | | | Introduce the OpenStack test framework "tempest". This initial integration makes the framework available, but does not enable it in any images by default, nor does it stage the tests for execution. Subsequent updates will modify this baseline for test execution and reporting. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* images: add variables for package additionsBruce Ashfield2013-11-252-0/+6
| | | | | | | | | | | | | | | | By default the controller and compute images use IMAGE_INSTALL= to set their package lists. This doesn't allow a local.conf to add packages via IMAGE_INSTALL += <FOO>. To allow package addition, but yet still control the base package list, there are two variables that can now be used to add packages: ${OPENSTACK_COMPUTE_EXTRA_INSTALL} ${OPENSTACK_CONTROLLER_EXTRA_INSTALL} Which variable does what, should be self explanitory. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* heat: add heat-client to dependency listBruce Ashfield2013-11-251-0/+1
| | | | | | | When heat is running, we typically want the client as well. So we add it to the dependency list. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-testtools: introduce package to meet tempest dependenciesBruce Ashfield2013-11-251-0/+18
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-testresources: introduce package to meet tempest dependenciesBruce Ashfield2013-11-251-0/+18
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-testrespository: introduce package to meet tempest dependenciesBruce Ashfield2013-11-251-0/+22
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-subunit: introduce package to meet tempest dependenciesBruce Ashfield2013-11-251-0/+17
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-mimeparse: introduce package to meet tempest dependenciesBruce Ashfield2013-11-251-0/+22
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-keyring: introduce package to meet tempest dependenciesBruce Ashfield2013-11-251-0/+17
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-fixtures: introduce package to meet tempest dependenciesBruce Ashfield2013-11-251-0/+22
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-extras: introduction to meet tempest dependenciesBruce Ashfield2013-11-251-0/+17
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-heat: update heat.conf with keystone authentication informationBruce Ashfield2013-11-251-4/+9
| | | | | | | | | The authentication information was in the wrong section of the .conf file, which mean that the stack api was not able to properly authenticate. Creating a new keystone section fixes the problem and we can now manipulate stacks. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* postgresql: Fix init to work with postgresql in a drbd data containerJason Wessel2013-11-251-3/+15
| | | | | | | | | | | | | When postgresql installed on the target and configured with drbd the data will live in the drbd container and the startup script must account for the different invocation to pg_ctl, as well as checking that the config files are properly linked into to the postgresql data directory. The set -e was removed because the script was exiting improperly during the restart operation and status operations. Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
* heat: introduce python-heat, heat-engine, heat-api*Bruce Ashfield2013-11-255-1/+988
| | | | | | | | | Introducing the OpenStack Havana heat component. This initial integration covers the basic integration with keystone and horizon, but does not fully enable stack management. Subsequent updates will enable the full functionality. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* nova: add ceilometer configurationBruce Ashfield2013-11-251-0/+6
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* images: add ceilometer component to compute and controller imagesBruce Ashfield2013-11-253-1/+5
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ceilometer: introduce ceilomter havana componentBruce Ashfield2013-11-253-0/+1105
| | | | | | | | | | | | | Import and package the basic ceilometer package, havana version. This minimal configuration creates: - init scripts - packages the compute, control and APIs - creates the configuration and database It is expected to need extension in the future. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* keystone: add metering serviceBruce Ashfield2013-11-251-0/+2
| | | | | | | Create the metering service and endpoints required to interact with the ceilometer component. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-pytz: uprev to meet havana version requirementsBruce Ashfield2013-11-251-2/+2
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-novaclient: uprev and switch to git based buildBruce Ashfield2013-11-251-3/+4
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-beautifulsoup4: introduce recipe to meet ceilometer requirementsBruce Ashfield2013-11-251-0/+23
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-webtest: introduce recipe to meet ceilometer requirementsBruce Ashfield2013-11-251-0/+19
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-thrift: introduce recipe to meet ceilometer requirementsBruce Ashfield2013-11-251-0/+17
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-waitress: introduce recipe to meet ceilometer requirementsBruce Ashfield2013-11-251-0/+17
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-simplegeneric: introduce recipe to meet ceilometer requirementsBruce Ashfield2013-11-251-0/+17
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-pymongo: introduce recipe to meet ceilometer requirementsBruce Ashfield2013-11-251-0/+17
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-warlock: uprev to meet havana min requirementsBruce Ashfield2013-11-251-3/+3
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>