Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
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>
|
|
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_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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
/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's configuration files in /etc were being improperly
packaged in nova-controller-misc.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
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 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>
|
|
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
|
|
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>
|
|
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
|
|
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
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>
|
|
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>
|
|
Updating cinder/glanc/swift/horizon/nova/keystone/quantum to the
2013.1.3 bugfix release.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
To avoid conflicing installs of site.py, we can safely remove it from this
package.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Create the default openrc file for the keystone python install.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
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>
|
|
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>
|
|
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
|
|
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>
|
|
ovs_quantum is the default name for the quantum DB.
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
|
|
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
|
|
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
|
|
If DEBUG is set to False the static files are not loaded
correctly.
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
|
|
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>
|
|
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
|
|
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>
|
|
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
|
|
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
|
|
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
The configuration files are now automatically created from
the templates.
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
|