Commit Graph

431 Commits

Author SHA1 Message Date
Steven Dake 934215d668 Fix typos in readme.rst
Change-Id: Id8f66bb6c8ff34c3fd08b5673c67d5a9d6f62589
2016-06-02 19:39:21 -07:00
Steven Dake 4bfd337991 Final removal of files beginning with dot
The dot files were missing from the retirement.

Update the documentation to point to the correct SHA hash.

Change-Id: I9da7e1d5016da0cdc5160a417324f766a75119ee
2016-05-02 10:12:33 -07:00
Steven Dake 3652f95164 Retire the kolla-mesos repository
The core reviewer team voted with majority to retire this project.

The full thread of the retirement can be found here:

http://lists.openstack.org/pipermail/openstack-dev/2016-April/093180.html

Change-Id: I1599167bb948a186547cf9d270d37cb2d2cec4fd
Depends-On: Ief32a399d0ff57332864c65d5380269051e24b6b
2016-04-30 16:57:15 -05:00
OpenStack Proposal Bot a0ffda04ae Updated from global requirements
Change-Id: Iba064bf03fe8aea3d941a426131123cc7e952c33
2016-04-13 12:43:48 +00:00
Proskurin Kirill 011cbb20b7 RBMQ cluster cant use ip adrr as names, so we reveting this back to hostnames
Change-Id: Ida62e9d5d1861d1594acbf1baf9ca22eb4c8d898
2016-04-05 13:12:03 +00:00
Jenkins 0d1eb79009 Merge "Fix marathon framework autodetection" 2016-03-31 14:40:33 +00:00
Jenkins 9ca6dfeb8f Merge "Fix rabbitmq version for centos" 2016-03-31 13:30:18 +00:00
Jenkins f1a07d9755 Merge "Move memcached deps to bootstrap section for horizon" 2016-03-31 10:20:09 +00:00
Andrey Pavlov 18c9de1bc7 Fix marathon framework autodetection
TrivialFix

Change-Id: I3f0406e6a634350a6dca2675037978b2bff73379
2016-03-30 11:20:23 +00:00
Jenkins 75e2038a5a Merge "Add user vagrant to group docker" 2016-03-30 10:58:53 +00:00
Jenkins 550dda0f4e Merge "Change docker private registry to version 2" 2016-03-30 10:58:33 +00:00
Jenkins d2b0b8c8f7 Merge "Set correct NIC number for hostmanager IP resolver" 2016-03-30 10:58:11 +00:00
Jenkins f57f8d0643 Merge "Fixing "commands list" command" 2016-03-30 10:45:09 +00:00
Jenkins 546a60880e Merge "Fix OpenStack services registration" 2016-03-30 10:41:49 +00:00
Andrey Pavlov 9b10fa917e Fixing "commands list" command
TrivialFix

Change-Id: I6f73c0c8d6f8d6b69ee311659ae8abb4c242e39a
2016-03-30 12:48:20 +03:00
Jenkins 731d16620a Merge "Using oslo_log for logging in CLI" 2016-03-30 00:46:53 +00:00
Andrei-Lucian Șerb 60a5091c0c Add user vagrant to group docker
The bootstrap script for Vagrant did not add the vagrant user to the
docker group. That caused all docker commands, not executed with sudo,
to fail. This commit adds the vagrant user to the docker group, which
permits execution of docker commands without sudo.

Change-Id: I56e6372c8b3a4559051f7be1a8fd7528dcbacc53
Closes-Bug: #1563405
Signed-off-by: Andrei-Lucian Șerb <lucian.serb@icloud.com>
2016-03-29 18:59:08 +03:00
Andrei-Lucian Șerb 58bda29af5 Change docker private registry to version 2
The provisioning script for Vagrant was using an old docker private
registry. This commit changes the private registry to version 2, since
it is now the recommended version.

Change-Id: If48edb33393b692a8892843639ab3e88e5fd44f9
Closes-Bug: #1563386
Signed-off-by: Andrei-Lucian Șerb <lucian.serb@icloud.com>
2016-03-29 18:26:34 +03:00
Andrei-Lucian Șerb 2e0e8856a0 Set correct NIC number for hostmanager IP resolver
In the Vagrantfile, when using VirtualBox, the IP used for the
hostmanager plugin is retrieved from the wrong network adapter. This
causes the hostmanager to insert the wrong IP address in /etc/hosts. The
NIC numbering starts from 0, and the one used in the code is 2. That
corresponds to the 3rd NIC, which is actually used as the interface to
the Neutron external network. This commit sets the NIC number to 1,
which represents the internal network used by OpenStack.

Change-Id: I87f2b081c57c8eb3109e8d98b75ee438dd0d4b82
Closes-Bug: #1563367
Signed-off-by: Andrei-Lucian Șerb <lucian.serb@icloud.com>
2016-03-29 17:54:52 +03:00
Proskurin Kirill 3a9455045c Move memcached deps to bootstrap section for horizon
Since it only needed for config render.
TrivialFix

Change-Id: Idb04fd3c82fa0c9f6799cdbff2eb024a999b4a70
2016-03-29 17:39:19 +03:00
Proskurin Kirill ae25fdb562 Fix rabbitmq version for centos
TrivialFix

Change-Id: I0f8b862654a1105af17349141f0dac14ad802b3c
2016-03-29 15:47:44 +03:00
Jenkins 7614e9d2a1 Merge "Parse and render yaml files in the proper order" 2016-03-29 12:42:45 +00:00
Jenkins a418a8a36a Merge "Fix string parameter in mesos-dns.conf" 2016-03-29 12:27:12 +00:00
Jenkins 4671da921c Merge "Encode the ifname before passing to struct" 2016-03-29 12:27:06 +00:00
Jenkins c3ca7c4efb Merge "Override Mesos config in configuration tests" 2016-03-29 12:23:57 +00:00
Jenkins 0afabde92c Merge "Bump rabbitmq version in rabbitmq-env.conf" 2016-03-29 12:23:44 +00:00
Andrey Pavlov 4b5162c74f Using oslo_log for logging in CLI
partial blueprint per-service-cli

Change-Id: I733c6c0d9f25c2f5c85f8ef3011e19a0f720948e
2016-03-29 12:54:21 +03:00
Éric Lemoine 10720351e4 Fix OpenStack services registration
TrivialFix

Change-Id: Iba15764f6544ea5e813888a137e63319e951ed00
2016-03-29 11:06:49 +02:00
Proskurin Kirill a1aea38e2c Bump rabbitmq version in rabbitmq-env.conf
Upstream was updated to 3.5.7.
TrivialFix

Change-Id: I4878ce20025496d57bbd9d36490216381cbd7ab3
2016-03-28 12:23:37 +03:00
Allen Gao 847f914067 Fix the deprecated security_group_api and network_api_class
https://review.openstack.org/#/c/288602
https://review.openstack.org/#/c/288077

TrivialFix

Change-Id: I625754669de34f90ed12222533c3e73b98314d0d
2016-03-28 03:12:26 +00:00
Michal Rostecki ea39e9e5ed Parse and render yaml files in the proper order
This commit introduces a clear order of loading jvars:
- passwords.yml
- globals.yml
- custom variables based on globals.yml
- config/<service>/all.yml
- config/<service/[...]

It also introduces a mechanism of jinja2 templating yaml
files by themselves, which means that one variable in yaml
file can be reused in the next variables inside the same file.

TrivialFix

Change-Id: I1a7a61e90963d396702f5e0c14eb476d3ccd21bf
2016-03-25 15:00:18 +01:00
Michal Rostecki 5666ef4ff5 Fix string parameter in mesos-dns.conf
TrivialFix

Change-Id: Ib3d6cbc7406889757319dd45995125be69661d93
2016-03-24 08:25:17 +01:00
Michal Rostecki 2f6c04c8d7 Encode the ifname before passing to struct
Structs don't allow to put unicodes, so they have to be encoded
before.

TrivialFix

Change-Id: I5b62e42606ea21feac2d77d9d70385474bb70cda
2016-03-24 08:25:17 +01:00
Michal Rostecki 14edd878e9 Override Mesos config in configuration tests
To ensure that the requests_mock will work everywhere, we have
to override the host setting.

TrivialFix

Change-Id: Ia4c51c913b03f6926f83c8cb5616bb1e757fcd37
2016-03-24 08:25:16 +01:00
Jenkins 3d77747cc9 Merge "Fix auto doc generation" 2016-03-24 06:50:22 +00:00
Andrei-Lucian Șerb 349a2a8ebb Attach external NIC to a NAT-Network if on Wi-Fi
On computers with wi-fi adapters, promiscuous mode on the VirtualBox (or
maybe other hypervisors as well) NICs does not work, which means the
default way of connecting the Neutron external interface to a bridged
adapter, will not allow communication to and from the Nova VMs over
floating IPs with any computer on the external network (except the host
computer) or with the wi-fi router. This means no ability to connect to
the Nova VMs and no internet access inside the Nova VMs.

According to VirtualBox documentation (excerpt): "Bridging to a wireless
interface is done differently from bridging to a wired interface,
because most wireless adapters do not support promiscuous mode. All
traffic has to use the MAC address of the host’s wireless adapter, and
therefore VirtualBox needs to replace the source MAC address in the
Ethernet header of an outgoing packet to make sure the reply will be
sent to the host interface. When VirtualBox sees an incoming packet with
a destination IP address that belongs to one of the virtual machine
adapters it replaces the destination MAC address in the Ethernet header
with the VM adapter’s MAC address and passes it on. VirtualBox examines
ARP and DHCP packets in order to learn the IP addresses of virtual
machines."

To fix this issue, a new flag has been introduced: WIFI. If true, the
default Vagrant public network is not created anymore. Instead, the 3rd
NIC will be connected to a NAT-Network named OSNetwork. The NAT-Network
has a virtual gateway, which will be used to communicate with the
external physical wi-fi router. Since Vagrant does not have a high-level
mechanism to attach an adapter to a NAT-Network, the code uses the
low-level Vagrant construct vm.customize which makes it provider
specific.

Promiscuous mode is now activated by default on the 3rd NIC.

The WIFI flag is false by default.

This commit only addresses VirtualBox, and it is currently unknown if
the problem described and fixed in this commit is present in other
hypervisors.

DocImpact
Closes-Bug: #1560274
Change-Id: I22517d055cfdcbe70e4c34a0dba611d0ed50dcc3
Signed-off-by: Andrei-Lucian Șerb <lucian.serb@icloud.com>
2016-03-22 03:13:31 +02:00
Angus Salkeld 23dd5b601d Fix auto doc generation
Change-Id: Id176d784c292e26f152f5a1a8468f5b6e55cc2f0
2016-03-22 09:36:37 +10:00
Michal Rostecki cacdf3fb28 Fix path to ml2_conf.ini files
TrivialFix

Change-Id: Ib0b005abd525f147a7432a690f721673d5c8bd12
2016-03-21 14:09:33 +01:00
Michal Rostecki eaf75d9bd9 Allow to use "run" method only if the runner is enabled
Checking for "_enabled" attriture in Runner class and its subclasses
didn't happen everywhere it's needed. This commit simplified this
check and does it in every needed place.

TrivialFix

Change-Id: Ib901e8f26cb870d6fbf08b557467bca6427de217
2016-03-21 14:09:33 +01:00
Michal Rostecki 52b2028585 Fix the service conf file path
TrivialFix

Change-Id: If3cb5e55df944cb79747d6f1fff378c7598c6249
2016-03-21 14:09:33 +01:00
Michal Rostecki 4225243399 Adjust profiles to already implemented services
The new kolla-mesos CLI fails when some service in the profile
is not implemented. That required the following changes in all
profiles:
- remove the kolla-toolbox and openvswitch services, because
  they're included in the other ones
- remove the haproxy and keepalived profiles, because we will
  load balance services by the other more Mesos-compatible way
- remove all not yet implemented services (ceph, ceilometer,
  heat etc.)

TrivialFix

Change-Id: I6afe70c9b992e82debe9446661eb1da304952453
2016-03-21 14:09:29 +01:00
Jenkins b1558c9a90 Merge "Fix python 3 unit tests" 2016-03-21 09:56:59 +00:00
Jenkins ac1a4489cf Merge "Added custom help for interactive mode" 2016-03-21 08:32:15 +00:00
Jenkins a0fc2d2f7e Merge "Fixing run, show, list for interactive mode" 2016-03-21 08:32:06 +00:00
Angus Salkeld 11e0f47c57 Fix python 3 unit tests
- all zookeeper node writes must have string encoded and reads decoded
- list(zip())
- file mocking

Change-Id: I0e858c179cac587ee965aa57c0245050c41dc51a
2016-03-21 10:13:38 +10:00
Artur Zarzycki 625e5988ba Switch services to use mesos-dns names
Change-Id: I12a0212aa50b1f5efd45eace5fb6e960e95abff9
Partially-Implements: blueprint services-use-mesos-dns
DocImpact
2016-03-18 13:58:03 +00:00
Andrey Pavlov 5d88c2ce80 CLI: implement commands list command
kolla-mesos commands list <service>

show_tasks.py will be replaced with
this command

partial blueprint per-service-cli

Change-Id: I0fe2f4d3d70e698e2cb3af762572f5f2317292bb
2016-03-18 13:20:35 +00:00
Andrey Pavlov a6ce1448d1 CLI: implement deployment list command
kolla-mesos deployment list

partial blueprint per-service-cli

Change-Id: I4a7928c89ca8a5af57d7a99362c6a5041c70685a
2016-03-18 13:20:19 +00:00
Angus Salkeld 000b508b53 CLI: implement deployment commands
These are to replace the current
 kolla-mesos-deploy
 kolla-mesos-cleanup

Make scripts that redirect to the new commands.

partial blueprint per-service-cli
Change-Id: Id730a1480b97e1059a7d04dd066b62156a028d20
2016-03-18 16:17:52 +03:00
Artur Zarzycki d30f449f4c Connect to mariadb with dnsname.
Change-Id: Ic12e2d1c719ffd321ba721c2a7135302453cc71e
Partially-Implements: blueprint services-use-mesos-dns
DocImpact
2016-03-18 12:35:45 +00:00