27 Commits

Author SHA1 Message Date
Christian Berendt
8227f6c33b Remove workaround for lp1456360 in devenv
Fix for #1456360 committed (I82df44607f016fdcd14934133bb51727bcb69ece),
workaround can be removed.

Closes-bug: #1475573

Change-Id: Ifa8b17a3664930246845faf390ca8afc2c89a6f5
2015-07-17 10:15:50 +00:00
hayderimran7
4f6a49769e Fix docker-1.7.0 binary download link
The download link is fixed and updated to use docker-1.7.0
from https://get.docker.com instead of https://master.dockerproject.com
because later one only holds latest docker bin which is 1.8.0,
and get.docker.io is also the official way of getting docker binary
as mentioned in docker install docs.Also fixed the docs to point
that 1.7.0 is minimum version required for docker.
Closes-bug: 1467767

Change-Id: I7770295271499275f937be3c2feab7216a30a388
2015-06-23 00:02:03 -07:00
Jenkins
7e7ce4492b Merge "Updates Heat template to Support Magnum" 2015-06-18 21:54:29 +00:00
Steven Dake
502aff36cd Make get-image.sh bashate compliant
Make get-image.sh bashate compliant by creating a file in /tmp
for the ifcfg temporary file and using the --upload command instead
of the --runcommand operation.

Change-Id: I4782140e227105f9aa07fb3967665eaaaeeb0cab
Partially-implements: blueprint bashate-gate
2015-06-16 13:18:30 -07:00
Steven Dake
fc3c304504 Change documentation to recommend Docker 1.7.0-dev
Docker 1.7.0-dev is required to support cinder and neutron thin containers.
It would also be helpful that we validate that Docker 1.7.0-dev is working
well with Kolla.

For more details on the Neutron thin containers check out:

https://github.com/SamYaple/yaodu/blob/master/ansible/roles/docker_build/files/ubuntu/neutron/ip_wrapper.py

Change-Id: Ie422185ea090090b35fcaa2e1c6ecab1c8ea326b
2015-05-31 10:27:02 -07:00
Daneyon Hansen
5bfb2c0b90 Updates Heat template to Support Magnum
Previously, the Heat module did not support Magnum. Installing
from source until pkgs are available.

Change-Id: Ia83af5b811e5a113be91205671809960b24e8eff
2015-05-18 21:59:36 +00:00
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
a2eb42744b Merge "Introduce tools/kolla to interact with kolla" 2015-04-21 16:37:55 +00: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
Martin André
75a6c3bc9f Introduce tools/kolla to interact with kolla
This is supposed to prevent proliferation of scripts in "tools"
directory and reduce code duplication.

This first patch replaces tools/{start,stop,pull,status} scripts and
more commands are to be added in the future.

Change-Id: I3d99cf5033be8631d8e6f32a4c34d3b5ffcae7e8
2015-04-16 14:56:48 +09: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
Jenkins
de13d7eb50 Merge "Implements: blueprint heat-template" 2015-02-17 19:24:12 +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
Daneyon Hansen
fd6d4376b9 Implements: Blueprint update-image-build-script
Previously, the image used for Kolla development
needed to be manually created. This patch adds a
script to automate a consistent, repeatable process
for creating an F21 image used for Kolla development.

Change-Id: Ibbe41ac6c6f1d2f2bdd62a48b05c096967c8324e
2015-02-16 17:39:02 +00:00