54 Commits

Author SHA1 Message Date
Jenkins
a6ccb90922 Merge "Start tgtd in cinder-volume container" 2015-07-17 15:32:42 +00:00
Jenkins
a5b6b2f0d7 Merge "Parttially implement ceilometer container code" 2015-07-17 11:33:45 +00:00
Christian Berendt
57093e8dfe Only use default values for MY_IP/MY_DEV in genenv if not set
This way it is possible to manually specify MY_IP/MY_DEV when running
the genenv script.

Closes-bug: #1475572

Change-Id: I291815a4ed1ea15adbddf94905706c77c8bb5a09
2015-07-17 10:14:19 +00:00
Swapnil Kulkarni
08a1414738 Parttially implement ceilometer container code
Added the compose yaml file
Added the genenv
Added fixes to run the containter

Change-Id: Ied3ea92e495fc0fc0274a0da736394d2ab52a754
Partially Implements: blueprint ceilometer-container
2015-07-16 15:27:19 +00:00
Steven Dake
4008ca8619 Start tgtd in cinder-volume container
The tgtd process was not being started in the cinder-volume container.
This results in iSCSI not being avialable for Cinder to operate
against.  Unfortunately cinder doesn't report the problem because LVM
is responsible for the iSCSI mapping.

Co-Authored-By: Ryan Hallisey <rhallise@redhat.com>

Closes-Bug: 1473090
Closes-Bug: 1469323
Change-Id: Ie3403c5c3f81beb48960e838b4274e0c5796e387
2015-07-15 10:35:31 -04:00
Swapnil Kulkarni
ba1901de65 Add config-internal/config-external for barbican
Partially Implements: Blueprint standard-start

Change-Id: I34b4d96515b4c68d42319b477504abdfe9581bad
2015-07-09 12:08:47 -04:00
Harm Weites
2c8ca64856 Fix CONFIG_STRATEGY var in bash scripts
It should read KOLLA_CONFIG_STRATEGY.

Change-Id: I1819b4b1b6e28e8f83ad01c078d4c6e4c502587e
Partial-bug: #1471326
2015-07-03 21:16:35 +02:00
Jenkins
0dbf3e2e11 Merge "Remove duplicate PUBLIC_IP entry from tools/genenv" 2015-07-02 21:27:10 +00:00
Paul Bourke
5afdab4787 Remove duplicate PUBLIC_IP entry from tools/genenv
Change-Id: I385638f4b633aa74fa617f66ab0329556fa314ea
Closes-Bug: #1470456
2015-07-01 11:36:44 +01:00
Sam Yaple
3ac7da64d1 Add initial config function and keystone support
Add set_configs function that implements the flow from the proposed
ansible-multi spec. Move start.sh to config-internal.sh to preserve existing
behaviour.

config-externall.sh copies the appropriate configs in from the bind'd
location and sets permissions and ownership appropriately.

Partially Implements: blueprint ansible-multi

Change-Id: I53fca0660451087f273fefc3c63e0d8cf1a2c096
2015-06-30 17:26:23 +00:00
Harm Weites
73a6ba90c4 Properly set MAGNUM_API_SERVICE_PORT
While at it, place this var in the same place as the other MAGNUM scoped vars.

Change-Id: I7f142415d7fb1874d77778d3d1301956f9799a83
Closes-bug: #1469561
2015-06-28 21:27:32 +02:00
Jenkins
a48900bc1c Merge "Liberty requires Cinder to use the v2 API" 2015-06-26 22:13:55 +00:00
Ryan Hallisey
3935cbafa3 Liberty requires Cinder to use the v2 API
The Liberty release of Cinder will remove the v1 api so we
need to disable it in the cinder_api container and use v2.

Change-Id: I5dab7214d4d39afdf92555e3ffbd7f4a6194cd45
Closes-bug: #1469177
2015-06-26 17:17:34 -04:00
Jenkins
8708de74fb Merge "Add missing Magnum vars" 2015-06-26 21:03:55 +00:00
inc0
552effa0d1 Add missing Magnum vars
Add missing vars to genenv and integration guide Magnum requires.

Co-Authored-By: Jeff Peeler <jpeeler@redhat.com>

Change-Id: I615098cffc081a53127275a07e95fecc924a862c
Closes-Bug: #1468997
2015-06-26 16:21:23 -04:00
Michal Stachowski
1d9c5f914c Add missing openstack.env vars and export to heat
Heat failed on heat-keystone-setup-domain because it requires openrc
style of env vars. Also, genenv missed Keystone port env vars.

There are several openrc instances that are using the keystone public
port, bug filed: https://bugs.launchpad.net/kolla/+bug/1469209

Change-Id: I03b57c43c38fb3ebded4d6f206161cf02fb4883d
Closes-Bug: #1469003
Co-Authored-by: Jeff Peeler <jpeeler@redhat.com>
2015-06-26 15:34:23 -04:00
Ryan Hallisey
258d6ae3f3 Allow /dev/pts proper permissions so cinder and libvirt work
We need to mount /dev both Libvirt and Cinder containers and
/dev/pts is not correctly mounted.  The /dev/pts recieves no
permissions from the host so it becomes inacessable.
We need to change the permissions of /dev/pts in the container
to 666.

Change-Id: Id197a766adc3aecb24e6b10aa84f51c23124b488
Closes-bug: #1468951
2015-06-25 22:02:32 -04:00
Harm Weites
24577bdeac Check if tools/genenv binary dependencies are met.
The check is using the bash-native 'type' instead of which, because which
is not always available on all environments.

Current implementation only checks for the availability of openssl but
this can be easily expanded.

Change-Id: I97e8f52ea664ef80901deae9dea8acc93b6e1ca4
Closes-Bug: #1463101
2015-06-25 11:21:09 +09:00
Daneyon Hansen
4a4cf92eb9 Fixes MariaDB to support Heat
When spawning Heat stacks, the DB reaches the max_connections
limit. This causes MariaDB to block all traffic by source IP,
essentially blocking all services. This patch introduces the
MARIADB_MAX_CONNECTIONS parameter to make the max_connections
configurable. The default of 151 max_connections is maintained.

Closes-Bug: #1465422

Change-Id: I869aa9f117c6fa959b1c6948dfc379f30a6bc1d7
2015-06-24 19:57:31 +00:00
Harm Weites
f23a35651e Configure Heat service domain
Change-Id: Iefc2dfea4bf4ce2fa9a5d1f013594929d218b9fc
Closes-Bug: #1463970
2015-06-24 20:38:37 +02:00
Michal Stachowski
214ac7e608 RabbitMQ container with HA support
This is new RabbitMQ container with support for HA. It's next step for
provide HA support in Kolla project. RabbitMQ is supporting now
active/active model and It's ready for active/passive model.

Change-Id: I2eb6c65f6268ee96d377e72cf880a01c8042559e
Implements: blueprint rabbitmq-ha
2015-06-24 14:10:10 +02:00
Jenkins
54aa5d2fd1 Merge "Keepalived container" 2015-06-24 06:01:40 +00:00
Jenkins
2336ba39d4 Merge "Fix Heat container env vars and dependencies" 2015-06-24 05:58:50 +00:00
Ryan Hallisey
2dbde4ad8e Add option to not run db sync
Database syncs should not be required every time a container starts.
We can default database startup to true, but give the option
to set it to false.

Change-Id: Ib76876b2671f6c31f4511412efd3a438ec78f01f
Closes-bug: #1467576
2015-06-22 16:37:14 -04:00
Michal Jastrzebski (inc0)
52f4909435 Keepalived container
This patch contains keepalived container for yum-based distros.

Change-Id: I8e3ea7a61ad6c27b25b635e7aeeff5ef04a807b4
Implements: blueprint keepalived-container
2015-06-22 17:18:44 +02:00
Jeff Peeler
1962bfb16e Fix Heat container env vars and dependencies
This commit adds a few dependencies (that are actually packaging errors)
present in all of the containers, as well as specifically in
heat-engine. Some of the environment variables were not set correctly in
the heat-api-cfn container. The environment variables have also been
correctly added to the genenv script.

Also removed duplicated compose file data already present in
heat-api-engine.

Closes-Bug: #1461872
Change-Id: I9631d1bc6ea42425272570a9dda8cbf5edcef4f3
2015-06-19 17:33:32 -04:00
Ryan Hallisey
72d1ef47dd Add cinder into the docker compose setup
This patch adds the docker-compose files, updates the docs,
and adds cinder to the start command.

Implements: blueprint container-set-storage-operation

Change-Id: I5386851e2247c00696704dc26a8a286451d4bf59
2015-06-19 13:15:48 -04:00
Michal Rostecki
1420d63c7f Add designate-sink service
Container for Designate Sink, automatic domain creation for
enabled notification handlers (nova and/or neutron).

Change-Id: I41118cb149e7f39a17bff49123d82905b51b7939
Blueprint: designate-container
2015-06-19 17:08:47 +02:00
Michal Stachowski
abbee7dbca Galera container
This changes are providing support for galera cluster. It's important for
project to has got support for database cluster as a one of the steps to
providing High Avability(HA) in Kolla project

Change-Id: If51bb88ab05972d3b8aa8abbbbd2a5480213a10e
Implemented: blueprint galera-container
2015-06-19 16:14:34 +02:00
Harm Weites
88ba777bab Autogenerated value for DESIGNATE_POOLMAN_POOLID
Change-Id: I14eec402d4e9afbfc58b74938df01c858314e6f3
Closes-bug: #1462798
2015-06-07 20:51:11 +02:00
Harm Weites
76c5d9a6c8 Add the Designate DNSaaS services.
This is a complete DNS solution, with hidden master and bind9 slave.

It lacks the designate-sink service, because there is no true specification
to implement that. It listens for Nova/Neutron events and creates records
though adding those to just 1 domain isn't helping much in an environment
with multiple tenants.

Change-Id: I500fb6058b118d25a4ccfd1d3479830c36af7e2a
Blueprint: designate-container
2015-06-05 21:06:06 +02:00
Daneyon Hansen
fa51eb4b53 Fixes Nova NoVNC
Previously, vnc was not completely working properly because
nova.conf config flags were not properly implemented in t he correct
containers.

This patch moves the nova.conf config flags for vnc to the proper
containers. Additionally, the patch modifies the proxy client ip
param to be consistent with the param within nova.conf and adds
all the novnc params to docs.

Change-Id: I1944baca64ccd113bbca582784b08f90dc0eff69
2015-05-12 12:11:40 -07:00
Steven Dake
5a06901664 Add Magnum Containers as a Service to Kolla
This adds Magnum Containers as a Service to Kolla.

Change-Id: I572cd62845515f42a6a16291d2bd87ad8d972e24
Implements-blueprint: container-magnum
2015-05-11 09:26:02 -07:00
Harm Weites
5ffc66cd69 Add a novnc container running the novnc-proxy.
All VNC-specific configuration bits are moved from nova-api-base to
nova-compute and the new nova-novncproxy and nova-consoleauth
containers. The compose specification has been updated to reflect this.

A future patch will make the desired backend configurable (spice/vnc).

Change-Id: I8b64abf125fd1ecd7d3463515e3717dd9bd60420
Blueprint: novnc-container
2015-05-06 22:32:38 +02:00
Steven Dake
ea0f5c7efa Add heat-api-cfn
Add Heat-api-cfn for wait conditions

Magnum needs wait conditions in order to operate properly.  heat-api-cfn
is where wait conditions connect.

Change-Id: I56742dd96e4607dc0042d0cef4e18c922f9ed736
Implements: blueprint container-heat-api-cfn
2015-05-06 05:33:55 -07:00
Steven Dake
4999b0cb53 genenv generated invalid variable
NEUTRON_SHARED_SECRET was being generated incorrectly.  It had a colon
at the front, which causes nova not to operate.

Change-Id: Id0d9390fa60b3d946513098fed394aaba3a53c70
2015-04-14 15:56:36 -07:00
Jenkins
005e4293e3 Merge "Sets debug logging to false" 2015-04-14 00:24:15 +00:00
Daneyon Hansen
c853f62dee Sets debug logging to false
Previously, debug logging was enabled by default. Only verbose
logging should be enabled by default.

Change-Id: I5a1fc805284be777dd49c79cc344a5e8600a238d
2015-04-13 20:33:28 +00:00
Daneyon Hansen
8edfda14f5 Sets Neutron log_dir=/var/log/neutron as default
Previously, the log_dir was blank, causing neutron to log
to stdout. The log_dir param must be set for this:

https://github.com/stackforge/kolla/blob/master/docker/neutron/neutron-agents/config-scripts/config-dhcp-agent.sh#L69

Change-Id: Ibf14224e5a6f27f2c0f9900828a7cd00f3babfab
2015-04-13 20:29:42 +00:00
Daneyon Hansen
ed107a5e26 Adds Neutron Agents Support
Previously, the agents ran in seperate containers. Since some of
the agents create and use network namespaces, runnning them in
seperate containers has become a challenge. This patch adds
neutron agent support in a single container.

Partially Implements: blueprint compute-operation-neutron

Change-Id: If4f893abd50d90b58e8435ec2659870dce36951c
2015-04-13 07:34:12 +00:00
Daneyon Hansen
2f2bb366e0 Adds neutron-server to neutron container-set
Adds neutron-server components of the neutron container set.

Partially Implements: blueprint compute-operation-neutron

Change-Id: I63525ae85f4ead4e010cdb9b6bc8059bb9d252e7
2015-04-10 03:11:23 +00:00
Daneyon Hansen
0b671ad58d Adds Initial Logging Support
Previously, logging was hard coded into the nova and neutron
containers. This patch creates two common params for logging:

DEBUG_LOGGING
VERBOSE_LOGGING

and sets default values of verbose=true and debug=false. This patch
implements logging for Nova and Neutron. Add'l OS service config
scripts and images will need to be updated to use the logging
params.

Change-Id: I03d48005d5b4789aa3c519879a20d963ef1cbaa3
2015-04-07 19:13:29 +00:00
Daneyon Hansen
40be5646fa Partially Implements: Container set compute-operation-neutron
Adds the neutron-linuxbridge-agent to the neutron container set.

Change-Id: I20752611c24a3110cc5d2e4fca2d501fc32a4d87
2015-03-27 23:36:06 +00:00
Daneyon Hansen
1182e060cb Extends Nova Metadata Service Parameterization and Composition
Previously, nova enabled_apis was hard coded and metdata_host
was using PUBLIC_IP param instead of exposing an individual
param.

Extending these params and creating a separate compose yml that
includes compute/libvirt/network/api is required to support
nova network multi_host.

Additional details can be found here:

http://docs.openstack.org/admin-guide-cloud/content/section_metadata-service.html

Change-Id: I5d417a0ee460f8ad9b2982fe83d63ab57013918e
2015-03-25 17:27:44 +00:00
Daneyon Hansen
81d65f0b3d Refactor nova-network
Previously, eth0 was set as the nova flat interface. This
interface is used to bridge VM traffic between instances and
should not have an IP. It's a problem when you associate an
interface with an IP to the FLAT_INTERFACE.

Change-Id: I38c516094430e2d55b1b4c047a1bbcfe711a2dff
2015-03-24 18:44:28 +00:00
Jenkins
2dab951747 Merge "Have genenv offer some hepful hints about FLAT_INTERFACE" 2015-03-24 14:39:35 +00:00
Ryan Hallisey
1aa0f7ce49 Fixes bug where heat container was not getting heat meta data
Heat container is having trouble accessing heat meta data.
Heat needs to have HEAT_CFN_API_SERVICE_HOST set in order
to properly receive meta data.

Closes-bug 1435288

Change-Id: Ia28ece3ae91ec7acc62cc86039612841ac487f36
2015-03-23 16:22:05 -04:00
Jenkins
a99a861bc0 Merge "Improve Heat integration" 2015-03-21 03:15:38 +00:00
Jenkins
17eccb0dfd Merge "Implements: blueprint Implement a database container set" 2015-03-21 02:47:52 +00:00
Steven Dake
89df9eb381 Have genenv offer some hepful hints about FLAT_INTERFACE
The FLAT_INTERFACE is for vm communication, and should be
manually configured if necessary.

Change-Id: I79846705c18c2f0f2d4340e53d04183ec689e191
2015-03-20 16:19:01 -07:00