summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-nova_git.bb
Commit message (Collapse)AuthorAgeFilesLines
* python-*: prevent setuptools from fetching required eggsMark Asselstine2014-03-171-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several python packages require 'python-pbr' both at build and runtime, as listed in their respective setup.py files, yet this dependency is not included in their recipe. Adding python-pbr to the RDEPENDS to correct this. In addition this situation is complicated by the fact that the setuptools will actually fetch python-pip and python-pbr eggs, regardless of the value of BB_NO_NETWORK, if any of these packages are built before python-pip and python-pbr are in the sysroot. Most dramitically if you were to attempt to build any of these packages with no network connectivity the do_compile() task will fail with the following: | DEBUG: Executing shell function do_compile | Download error: [Errno 110] Connection timed out -- Some packages may not be found! | Couldn't find index page for 'pip' (maybe misspelled?) | Download error: [Errno 110] Connection timed out -- Some packages may not be found! | No local packages or download links found for pip>=1.0 | Traceback (most recent call last): | File "setup.py", line 21, in <module> | pbr=True) Adding the missing DEPENDS will ensure these packages are available without the need for setuptools to fetch them, and avoid possible build issues due to network connectivity. In order to test these modifications all of these packages have been built with a populated sstate cache and the network crippled using: iptables -A OUTPUT -p tcp --destination-port 80 -j DROP to ensure no extra fetches are taking place. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* nova: add migrate.cfg to the manifestBruce Ashfield2014-01-301-0/+1
| | | | | | | | | To properly sync the nova database during boot, the migrate.cfg must be present in the rootfs. This wasn't currently being packaged, so we add it to the manifest. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* meta-openstack: adding missing RDEPENDS for -setup packagesBruce Ashfield2014-01-201-0/+1
| | | | | | | | Installation from package feeds shows some missing REDPENDS for the -setup packages. Signed-off-by: Rob Wolley <Rob.Woolley@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* nova: update to 2013.2.2Bruce Ashfield2013-12-191-2/+2
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* nova: add -tests package to deploy run_tests.sh on targetBruce Ashfield2013-12-111-0/+5
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* 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>
* python-nova: run services as nova user instead of rootBruce Ashfield2013-11-281-7/+13
| | | | | | | | | | | | | | | | | | 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>
* init: remove remaining createdb commands to separate init packagesBruce Ashfield2013-11-251-2/+4
| | | | | | | | 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>
* nova: cosmetic: line up package dependenciesBruce Ashfield2013-11-251-35/+35
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* nova: generate per-service initscriptsBruce Ashfield2013-11-251-5/+49
| | | | | | | | | | | 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>
* nova-compute: add python-six rdependsBruce Ashfield2013-11-251-0/+1
| | | | | | | The havana nova-compute requires python-six for python2 -> 3 compatibility so we add it into the RDEPENDS of the common python-nova package. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* nova: switch to neutron and add new RDEPENDSBruce Ashfield2013-11-251-2/+3
| | | | | | | To work with havana, nova needs to reference neutron and not quantum. We also add dependencies that the uprev has added. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* nova: uprev to havana release versionBruce Ashfield2013-11-251-0/+212
This commit uprevs the nova component to the havana release version, and switches the build from tarballs to using the git repository. No other runtime changes are made at this point.` Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>