summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-glance_git.bb
Commit message (Collapse)AuthorAgeFilesLines
* Keystone: package service/user addition sstate vardepsMark Asselstine2014-08-271-0/+1
| | | | | | | | | | | | | | Several packages utilize the keystone package service/user addition services recently added. The data passed to this service depends on the value assigned to CONTROLLER_IP (used as KEYSTONE_HOST), however, bitbake is not able to automatically determine this dependency so several tasks which should be rerun to create updated package postinst scripts are not run when CONTROLLER_IP is modified. Adding the necessary vardeps ensure these tasks are rerun and now adjustments made to CONTROLLER_IP are reflected in the generated packages. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Keystone: package service/user additionsAndy Ning2014-07-301-1/+20
| | | | | | | | | | | Instead of creating tenant/user/role and service/endpoint for all openstack services in keystone postinstall, now each of the services creates its own keystone identities by queueing them up in its postinstall to a file /etc/keystone/service-user-setup. service-user-setup script, when run as the last postinstall, calls identity.sh with keystone identity parameters to create necessary identities for the services. Signed-off-by: Andy Ning <andy.ning@windriver.com>
* glance builtin tests config location and missing packagesVu Tran2014-06-231-0/+8
| | | | | | | | | | | | | | | | Many glance built-in testcases failed because they can not find glance configuration files, as these testcases assume that they are run at python site-packages dir. So forcing these failure testcases to look for these confiugration file using absolute path. Also some tests fail because of missing two packages: python-psutil and qpid-python. So add these packages into glance-tests RDEPENDS Signed-off-by: Vu Tran <vu.tran@windriver.com>
* glance: update to stable/icehouseBruce Ashfield2014-05-071-5/+16
| | | | | | | | | | | | | | | | | | | | | Updating glance to the icehouse release. Changes include: - patch glance to not load ALL backend modules, only the ones defined in the glance configuration. Without this patch, we must have support for all backends, even if we don't use them. To avoid including support for unused backends .. we prefer to only load used ones. - Add a variable GLANCE_KNOWN_STORES to the recipe, which will be copied into the glance configuration to enable the loading of supported options (as modifed by the first patch). - Change "sql_connection" to the new "connection" directive - Change the "notifier_strategy" to the new "notification_driver" Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* glance: enable swift backendVu Tran2014-04-111-2/+6
| | | | | | | | Modify glance config file to allow it to be able to use Swift as backend driver. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* glance/keystone/neutron/nova: update to latest havana/stableBruce Ashfield2014-04-041-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* glance: make default_store configurableVu Tran2014-03-241-0/+4
| | | | | | | | | The "default_store" option in /etc/glance/glance-api.conf controls how glance store images. Make this option configurable through variable GLANCE_DEFAULT_STORE. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* Readjust the start level of openstack componentsVu Tran2014-03-171-1/+3
| | | | | | | | | | | | | | Currently all the openstack components have default start level of 20. There are other services such as glusterfs, rabbbitmq, database... are also starting at the same start level. On some platform, this can cause racing condition between services which in turn causes some of openstack components not started. By adjusting the openstack components start level to higher will ensure that system services start in the determistic way. Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* 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>
* 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>
* glance: add ceilometer configurationBruce Ashfield2014-01-191-0/+4
| | | | | | | We change the notification channel to rabbit in order to send statistics for ceilometer use. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* glance: update to 2013.2.2Bruce Ashfield2013-12-191-2/+2
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* tempest: create per-component test packages and flakes8Bruce Ashfield2013-12-111-1/+5
| | | | | | | | | | | | 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>
* init: remove remaining createdb commands to separate init packagesBruce Ashfield2013-11-251-2/+3
| | | | | | | | 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>
* glance: add RDEPENDS on python-pipBruce Ashfield2013-11-251-0/+1
| | | | | | | | Havana requires the pip module, so we add it into glance's runtime dependencies. This package comes from meta-oe, so an up to date checkout is required. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* glance: update to havana release versionBruce Ashfield2013-11-251-0/+123
As part of the glance uprev to havana, we switch to a git based build. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>