summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
...
* postgresql: unify startup and initializationBruce Ashfield2013-10-045-17/+14
| | | | | | | | | | | 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>
* python-nova: unify controller and compute recipesBruce Ashfield2013-10-044-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>
* meta-openstack: add python greenlet 0.4.1Bruce Ashfield2013-10-041-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>
* nova: add novnc console proxy supportBruce Ashfield2013-10-035-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>
* keystone: use external IP address versus localhostBruce Ashfield2013-10-032-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>
* cinder: create /var/log/cinderBruce Ashfield2013-10-031-1/+5
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* nova: use common 'hosts' configuration versus 'controller' and 'compute'Bruce Ashfield2013-10-032-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>
* nova.conf: use explicit IPs, less localhost and disable the firewallBruce Ashfield2013-10-031-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>
* nova: use ${sysconfdir} instead of ${NOVA_CONF_DIR}Bruce Ashfield2013-10-031-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>
* quantum: update configuration and deployment optionsBruce Ashfield2013-10-032-3/+6
| | | | | | | | 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>
* quantum: configuration and packaging updatesBruce Ashfield2013-10-031-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>
* python-quantum: add pyparsing as an explicit dependencyBruce Ashfield2013-10-031-3/+4
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* nova-common: adapt to non /home/root directory structuresBruce Ashfield2013-10-031-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>
* nova-controller: fix packaging errorBruce Ashfield2013-10-031-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>
* python-keystone: improve first run reliabilityBruce Ashfield2013-10-031-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>
* python-pycrypto: override do_installBruce Ashfield2013-10-031-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>
* python-nova*: Hack for FILESMark Hatle2013-10-031-4/+20
| | | | Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* python-nova*: FILES re-ordering and clarificationMark Hatle2013-09-152-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>
* erlang: Fix hard coded /usr/lib in do_installMark Hatle2013-09-131-2/+2
| | | | Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* novnc: introduce no VNC for guest console accessBruce Ashfield2013-09-132-0/+69
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-pycrypto: Fix configure failureMark Hatle2013-09-071-27/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* python-nova: use explicit file lists, versus variablesBruce Ashfield2013-09-062-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>
* pycrypto: fix QA errors and configure failBruce Ashfield2013-09-061-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>
* erlang: fix QA error and use ${libdir}Bruce Ashfield2013-09-063-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>
* python-lockfile: fix upstream sourceBruce Ashfield2013-09-031-3/+3
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* nova: split into explicit compute and controller recipesBruce Ashfield2013-08-287-126/+229
| | | | | | | | | | | To allow unique configuration of nova for compute and controller nodes, the nova class is split into two, but packaged largely the same way. The compute and controller classes are introduced to hold configuration values and operations that are used by the common packaging routines to customize and deploy. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* keystone: make identity.sh re-entrantBruce Ashfield2013-08-281-12/+78
| | | | | | | | Sometimes it is desirable to double check the identities, roles and ids in the system. To re-intialize the database, we can allow identity.sh to be re run. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openstack: update to 2013.1.3 releaseBruce Ashfield2013-08-286-13/+12
| | | | | | | Updating cinder/glanc/swift/horizon/nova/keystone/quantum to the 2013.1.3 bugfix release. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-setuptools: remove site.pyBruce Ashfield2013-08-281-0/+4
| | | | | | | To avoid conflicing installs of site.py, we can safely remove it from this package. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-setuptools: avoid conflicting site.pyBruce Ashfield2013-08-281-0/+4
| | | | | | | Several python recipes install a site.py file. To avoid package install problems with the conflicting file, we remove site.py from this package. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-pycrypto: change upstream referenceBruce Ashfield2013-08-281-1/+1
| | | | | | | ftp.dlitz.net is not always avaialble, switching the upstream to pypi.python.org results in reliable builds. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-psycopg2: remove references to pg-configBruce Ashfield2013-08-281-1/+14
| | | | | | | | | pg-config is not provided as a native tool, so if called, the host version will be found. Since the values that are typically returned by pg-config can be determined in our build environment, we can safely remove the calls completely. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* keystone: add openrc fileBruce Ashfield2013-08-282-1/+8
| | | | | | Create the default openrc file for the keystone python install. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-cinder: Add cinder-scheduler packageMihai Prica2013-08-281-2/+9
| | | | | | | This package contains the cinder-scheduler executable and an initscript that starts the cinder-scheduler at boot time. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
* python-cinder: Update cinder-volume initscript and postinstallMihai Prica2013-08-282-2/+84
| | | | | | | | | Cinder-volume requires the cinder-volumes volume group created. The backing file for this volume is created in the postinstall with a size of 2G on the first boot and the volume group is created at boot time in the cinder-volume initscript. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
* python-cinder: Fix path errorMihai Prica2013-08-281-1/+1
| | | | Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
* python-quantum: Add postinstall for quantum-plugin-openvswitchMihai Prica2013-08-281-0/+8
| | | | | | | | For the openvswitch plugin to work the br-int bridge has to be created. To create the bridge the ovsdb-server is started using the openvswitch-switch initscript. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
* python-quantum: Changed DB name to ovs_quantumMihai Prica2013-08-282-2/+3
| | | | | | ovs_quantum is the default name for the quantum DB. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
* python-nova: Add quantum settingsMihai Prica2013-08-281-0/+9
| | | | Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
* python-horizon: Add runtime dependency on nodejsMihai Prica2013-08-281-1/+2
| | | | Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
* python-horizon: Changed DEBUG to TrueMihai Prica2013-08-281-3/+1
| | | | | | | If DEBUG is set to False the static files are not loaded correctly. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
* python-horizon: Fix bindir search pathMihai Prica2013-08-282-0/+18
| | | | | | | | An error occurs because horizon searches for lessc in /usr/lib/python2.7/site-packages/bin while this is installed in /usr/share/bin. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
* python-horizon: Change tabs to spacesMihai Prica2013-08-281-28/+29
| | | | Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
* keystone, nova: Moved environment variables to novaMihai Prica2013-08-283-5/+7
| | | | | | | The keystone package is only installed on a controller node. This way the credentials can be loaded on both types of nodes. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
* python-nova: Minor refactoringMihai Prica2013-08-281-3/+14
| | | | Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
* identity: Set ADMIN_PASSWORD from identity classMihai Prica2013-08-281-2/+2
| | | | Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
* python-keystone: Remove old commentsMihai Prica2013-08-281-3/+0
| | | | Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
* python-quantum: Configure postgresql credentialsMihai Prica2013-08-283-3/+9
| | | | | | | The user and password for postgresql are defined in the identity class and are loaded by the recipes from this class. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
* python-nova: Configure postgresql credentialsMihai Prica2013-08-282-2/+5
| | | | | | | The user and password for postgresql are defined in the identity class and are loaded by the recipes from this class. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
* python-keystone: Configure postgresql credentialsMihai Prica2013-08-282-5/+6
| | | | | | | The user and password for postgresql are defined in the identity class and are loaded by the recipes from this class. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>