summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-swift_git.bb
Commit message (Collapse)AuthorAgeFilesLines
* Keystone: package service/user additionsAndy Ning2014-07-301-0/+19
| | | | | | | | | | | 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>
* openstack initscript: add resetAmy Fong2014-07-251-0/+3
| | | | | | | | Some of the openstack data is associated with external resources (ie glance may have external files), we explicitly invoke the delete commands on those in additional to dropping and recreating the databases. Signed-off-by: Amy Fong <amy.fong@windriver.com>
* swift: update to icehouse releaseBruce Ashfield2014-05-071-3/+3
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* swift: add setup packageVu Tran2014-04-111-2/+53
| | | | | | | | | | | | | | | | | | | | | | | | | Introduce swift setup package. At boot time, this package setups a simple swift cluster including: * 3 zones * each zone has 1 storage device which are based on loopback devices which the backing files size is controlled by variable SWIFT_BACKING_FILE_SIZE The script /etc/swift/swift_setup.sh is also provided to ease the task of setting up a complicated Swift cluster. It reads a cluster config file, which describes what storage devices are included in what rings, and constructs the cluster. For details of how to use swift_setup.sh and the format of Swift cluster config file please refer to the script's help: $ swift_setup.sh Signed-off-by: Vu Tran <vu.tran@windriver.com>
* swift: add testsVu Tran2014-04-111-2/+19
| | | | | | | | | | | | Introduce swift test package which contains all Swift unit tests. Swift unit tests can be run as: $ cd /usr/lib64/python2.7/site-packages/swift $ nosetests -v test Signed-off-by: Vu Tran <vu.tran@windriver.com>
* swift: separate dispersion configVu Tran2014-04-111-0/+6
| | | | | | | | | | There are many changes required for proxy-dispersion config file. So instead of having sed to replace all little details, it's cleaner to add new config file that contains the changes Signed-off-by: Vu Tran <vu.tran@windriver.com>
* swift: separate proxy server configVu Tran2014-04-111-2/+7
| | | | | | | | | | There are many changes required for proxy-server config file. So instead of having sed to replace all little details, it's cleaner to add new config file that contains the changes Signed-off-by: Vu Tran <vu.tran@windriver.com>
* swift: change services config filesVu Tran2014-04-111-1/+19
| | | | | | | | | Modify config files of the following Swift services: contains-server, account-server, and object-server in order for these services are able to start correctly. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* swift: include dnspythonVu Tran2014-04-111-1/+2
| | | | | | | Swift depends on dnspython Signed-off-by: Vu Tran <vu.tran@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>
* swift: update to 2013.2.2Bruce Ashfield2013-12-191-2/+2
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* swift: uprev to havana releaseBruce Ashfield2013-11-251-0/+50
Upreving the swift component to the havana release. At the same time, we switch to building from git. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>