aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools
AgeCommit message (Collapse)Author
2013-10-03nova: add novnc console proxy supportBruce Ashfield
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>
2013-10-03keystone: use external IP address versus localhostBruce Ashfield
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>
2013-10-03cinder: create /var/log/cinderBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-03nova: use common 'hosts' configuration versus 'controller' and 'compute'Bruce Ashfield
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>
2013-10-03nova.conf: use explicit IPs, less localhost and disable the firewallBruce Ashfield
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>
2013-10-03nova: use ${sysconfdir} instead of ${NOVA_CONF_DIR}Bruce Ashfield
${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>
2013-10-03quantum: update configuration and deployment optionsBruce Ashfield
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>
2013-10-03quantum: configuration and packaging updatesBruce Ashfield
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>
2013-10-03python-quantum: add pyparsing as an explicit dependencyBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-03nova-common: adapt to non /home/root directory structuresBruce Ashfield
/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>
2013-10-03nova-controller: fix packaging errorBruce Ashfield
nova controller's configuration files in /etc were being improperly packaged in nova-controller-misc. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-03python-keystone: improve first run reliabilityBruce Ashfield
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>
2013-10-03python-pycrypto: override do_installBruce Ashfield
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>
2013-10-03python-nova*: Hack for FILESMark Hatle
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2013-09-15python-nova*: FILES re-ordering and clarificationMark Hatle
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>
2013-09-13erlang: Fix hard coded /usr/lib in do_installMark Hatle
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2013-09-13novnc: introduce no VNC for guest console accessBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-09-07python-pycrypto: Fix configure failureMark Hatle
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2013-09-06python-nova: use explicit file lists, versus variablesBruce Ashfield
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>
2013-09-06pycrypto: fix QA errors and configure failBruce Ashfield
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>
2013-09-06erlang: fix QA error and use ${libdir}Bruce Ashfield
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>
2013-09-03python-lockfile: fix upstream sourceBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-08-28nova: split into explicit compute and controller recipesBruce Ashfield
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>
2013-08-28keystone: make identity.sh re-entrantBruce Ashfield
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>
2013-08-28openstack: update to 2013.1.3 releaseBruce Ashfield
Updating cinder/glanc/swift/horizon/nova/keystone/quantum to the 2013.1.3 bugfix release. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-08-28python-setuptools: remove site.pyBruce Ashfield
To avoid conflicing installs of site.py, we can safely remove it from this package. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-08-28python-setuptools: avoid conflicting site.pyBruce Ashfield
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>
2013-08-28python-pycrypto: change upstream referenceBruce Ashfield
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>
2013-08-28python-psycopg2: remove references to pg-configBruce Ashfield
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>
2013-08-28keystone: add openrc fileBruce Ashfield
Create the default openrc file for the keystone python install. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-08-28python-cinder: Add cinder-scheduler packageMihai Prica
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>
2013-08-28python-cinder: Update cinder-volume initscript and postinstallMihai Prica
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>
2013-08-28python-cinder: Fix path errorMihai Prica
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
2013-08-28python-quantum: Add postinstall for quantum-plugin-openvswitchMihai Prica
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>
2013-08-28python-quantum: Changed DB name to ovs_quantumMihai Prica
ovs_quantum is the default name for the quantum DB. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
2013-08-28python-nova: Add quantum settingsMihai Prica
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
2013-08-28python-horizon: Add runtime dependency on nodejsMihai Prica
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
2013-08-28python-horizon: Changed DEBUG to TrueMihai Prica
If DEBUG is set to False the static files are not loaded correctly. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
2013-08-28python-horizon: Fix bindir search pathMihai Prica
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>
2013-08-28python-horizon: Change tabs to spacesMihai Prica
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
2013-08-28keystone, nova: Moved environment variables to novaMihai Prica
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>
2013-08-28python-nova: Minor refactoringMihai Prica
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
2013-08-28identity: Set ADMIN_PASSWORD from identity classMihai Prica
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
2013-08-28python-keystone: Remove old commentsMihai Prica
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
2013-08-28python-quantum: Configure postgresql credentialsMihai Prica
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>
2013-08-28python-nova: Configure postgresql credentialsMihai Prica
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>
2013-08-28python-keystone: Configure postgresql credentialsMihai Prica
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>
2013-08-28python-glance: Configure postgresql credentialsMihai Prica
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>
2013-08-28python-cinder: Configure postgresql credentialsMihai Prica
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>
2013-08-28python-quantum: Load credentials from the identity classMihai Prica
The configuration files are now automatically created from the templates. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>