17 Commits

Author SHA1 Message Date
Chen Zhiwei
76c1fe6371 Change the default shell to bash
Unify the shell to bash in all Kolla scripts.

Change-Id: Ib9591b2f8f344eb88455c5e9b7ecf2164fb5960a
Implements: blueprint use-bash-shell
2015-04-27 13:26:37 +08:00
Jenkins
35c0a05bff Merge "Adds Mariadb-client to the Heat template" 2015-04-17 04:52:50 +00:00
Daneyon Hansen
f43dbb5029 Adds Mariadb-client to the Heat template
Previously, one would have to use nsenter or docker exec to
interact with the mariadb container. This patch adds mariadb
client support to the Fedora 21 instance, making it easier to
work with and test the mariadb-server container.

Change-Id: Iebfbd88b7ca6a86268e03e3e4cf4763dd46fd6a7
2015-04-16 22:29:07 +00:00
Daneyon Hansen
b18b49d4d7 Disables firewalld for Heat-deployed Fedora instances
Previously, Heat was deploying Fedora21 instances with firewalld
enabled and running. It is well documented that firewalld causes
problems with OpenStack Neutron. That is becasue Neutron uses
iptables instead of firewalld for security filtering.

Change-Id: I25cb32984841423a7b1c44b55cd19b5b4588c9e8
2015-04-16 22:26:38 +00:00
Jenkins
b3bee1b927 Merge "Adds OpenStack Clients to Heat Template" 2015-04-16 01:55:49 +00:00
Daneyon Hansen
148d4251b2 Updates Docker Client in Heat Template
Now installs rc5 and changes the install directory to
/usr/local/sbin.

Change-Id: I30332ff0bd4cca1eed7f754c3bd620e59c052c1d
2015-04-15 02:02:53 +00:00
Daneyon Hansen
2079e44300 Adds OpenStack Clients to Heat Template
Previously, Kolla nodes deployed using the Heat template did not
contain OpenStack clients. This patch adds the OpenStack client
packages.

Change-Id: I72a4db1e4edc7350adf5b302955d39182cc58a58
2015-04-15 01:37:23 +00:00
Daneyon Hansen
db860f148e Updates Heat template Compose and Kolla Repositories
Previously, compose was being pulled from sdake. Since pull 1011
for pid=host support was merged, we can now use the upstream repo.

Additionally, the heat template was using the Kolla ml-3 release.
Since ml3 was cut, trunk should be reverted to using Kolla trunk.

Change-Id: I44ad01ee9fde914c87d981c05b825fa549420f8c
2015-04-10 18:40:31 +00:00
Daneyon Hansen
ed3f541a6f Updates Docker bin in Heat template
Previously, Heat was using the docker-1.5.0-dev version of the
Docker binary. This PS updates the Heat kollanode template to use
the latest version of the Docker binary used by the project due to

https://github.com/docker/docker/issues/11760#issuecomment-88288278

Change-Id: I1c771b89758baa9faaa04a0e647a23f32bff48a9
2015-04-09 18:27:16 +00:00
Daneyon Hansen
a63e7f8a2b Adds vxlan kernel module to Heat template
Previously, the vxlan kernel module was not being loaded. This
causes the following error when trying to start the lb-agent
when using the vxlan type driver:

ERROR neutron.plugins.linuxbridge.agent.linuxbridge_neutron_agent
[-] Linux kernel vxlan module and iproute2 3.8 or above are
required to enable VXLAN.

Change-Id: I1c9f5d13d25e887d15270a96d35f41a08316c8f0
2015-03-31 22:36:57 +00:00
Sam Yaple
1dcd904d27 Loads ebtables from inside the containers
We have to overlay the /lib/modules folder from the host to properly
`modprobe` from within a container. We don't have to give it write
permissions however, so the docker-compose volume is mounted in as 'ro'

Change-Id: I95101136dad56e9331d8b92cd394495f7bd0576a
2015-03-28 15:54:43 -05:00
Jenkins
84a81ed75b Merge "Updates Heat Template for M3 Release" 2015-03-24 14:32:44 +00:00
Daneyon Hansen
fd250d58bd Adds Rabbit and MariaDB TCP ports to Heat template
Previously, Heat was not allowing the necessary TCP ports for
RabbitMQ and MariaDB to Kolla nodes.

Change-Id: If34ca2de2e5213cb97138e5855cc88ff5c564b76
2015-03-24 07:47:34 +00:00
Daneyon Hansen
cdb97831f5 Updates Heat Template for M3 Release
Updates the following:

1. Replaces Docker copr pkgs with binary
2. Updates docs
3. Adds compose from sdake GH repo
4. Adds required ebtables kernel module for nova-network
5. Adds container net/subnet info required for correct nova
networking functionality.
6. Consolidates pkgs installs from get-image script to the
heat template.

Change-Id: Ibec2dd5909bb8379c193b5cdbad665a5b6c2e8f8
2015-03-24 00:38:59 +00:00
Daneyon Hansen
83e8050307 Closes-Bug: 1425631
Kolla containers obtain time from the host they run on.
Therefore, it is important that hosts (virtual hosts in the case
of the heat template) maintain proper time. NTP should be used
for this purpose.

Change-Id: Ieaf272c79884fb8b5e655ba52d8cc72467a9c831
2015-02-25 18:12:02 +00:00
Daneyon Hansen
f2f679690a Implements: blueprint heat-fig-update
Fig is initially being evaluated to provide container set
functionality. Therefore, the heat template needs to be updated
to support running fig on Kolla nodes. This patch adds the
required directories, files, and commands to run fig and a
RabbitMQ container for testing.

Change-Id: Ifad399b43d8ca712a5efbdafe945d055c33b1e77
2015-02-19 00:50:01 +00:00
Daneyon Hansen
e0de6af3ec Implements: blueprint heat-template
Previously, the kolla heat template was maintained outside of
the project in the larsks/heat-kubernetes repo. This patch adds
the templates to the project's devenv directory. Additionally,
the patch updates the templates and documentation to reflect
the design changes outlined in the following spec:

https://github.com/stackforge/kolla/blob/master/specs/containerize-openstack.rst

Change-Id: I11305f87cceb2495478d458a7e381d20838e664a
2015-02-16 23:41:22 +00:00