3585 Commits

Author SHA1 Message Date
Steven Dake
fea486a7f0 MariaDB is not copied if enable_rabitmq is disabled
Eric spotted this on IRC.  Submitted a bug and patch
on his behalf since he isn't available to work on Kolla
in the next few hours.

Co-Authored-By: Eric Lemoine <elemoine@mirantis.com>
Change-Id: I91efdd540170a391228d247c2e6e533e6c87b951
Closes-Bug: #1560819
2016-03-23 02:48:40 -04:00
Steven Dake
8307b06a46 Swift busted with Heka
Swift and heka were broken by an optimization that resulted in
a regression in commit:
0a1486a2c73275009f7158c911e7bfd683e40a58

This patch fixes that problem.

Change-Id: I02c6cf4de4f807c3ec66e2d4f59f182d0b864ea3
Closes-Bug: #1560788
2016-03-23 02:08:29 -04:00
Jenkins
87796b0f0c Merge "Wrong variable name for spicehtml5proxy" 2016-03-21 20:46:56 +00:00
Jenkins
7062af1797 Merge "Improve openstack-base image for centos binary" 2016-03-21 20:40:39 +00:00
Jenkins
892dc09c81 Merge "Add generate_passwords.py to generate passwords" 2016-03-21 20:25:44 +00:00
SamYaple
dcc15b9568 Wrong variable name for spicehtml5proxy
Reconfigure was hard broken with spiceproxy

Change-Id: I80b5fcc16bcc0b090807843f7a59f0ae9ea27aec
Closes-Bug: #1560175
2016-03-21 19:15:56 +00:00
Jenkins
a65ce784ec Merge "Fix problem where ipv6 address causes failure" 2016-03-21 18:24:43 +00:00
Jenkins
aaef925585 Merge "Fix rax-ord gate" 2016-03-21 18:15:03 +00:00
Steven Dake
7a9d1a3cb9 Fix problem where ipv6 address causes failure
If an IPV6 address is assigned to the interface as well as IPv4,
Kolla bombs out during deployment.

Change-Id: Ic161c52825e0642e261d22418569d0f7667c6bd1
Closes-Bug: #1560137
2016-03-21 13:23:19 -04:00
SamYaple
f03e06e09b Add generate_passwords.py to generate passwords
As with all tools, this is a first pass at the generation. Perhaps we
even want to move this into kolla/kolla/cmd and be generated with tox
itself in the future.

This tool, when run, will only populate empty fields that have no
values meaning that it is safe to run repeatedly on the same file.

Of note, there is no way to preserve comments in the file after it has
been processed by the yaml parser in python. Comments and sections
will remain in the passwords.yml template for additional documentation
if the user wishes to populate the file themselves.

Use SystemRandom and clean up the docs a bit to not use pronouns.

Co-Authored-By: Steven Dake <stdake@cisco.com>

Closes-Bug: #1559266
Change-Id: I2932d592df8871f1b7811059206d0b4d0553a687
2016-03-21 17:02:23 +00:00
Jenkins
31e8734205 Merge "Split versions onto new line" 2016-03-21 16:01:41 +00:00
Jenkins
45e339c56d Merge "Dynamically pull list of projects and versions" 2016-03-21 15:59:56 +00:00
Jenkins
0cb38df60f Merge "Allow version_check to work on local git repo" 2016-03-21 15:58:59 +00:00
Jenkins
11adcd546b Merge "Fix heat endpoint registration" 2016-03-21 15:55:27 +00:00
Jenkins
ff3095f56e Merge "Allow external ceph journals and fix bootstrap" 2016-03-21 14:17:24 +00:00
Ryan Hallisey
a8f3da204e Improve openstack-base image for centos binary
TrivialFix
Closes-bug: #1560170
Change-Id: Ia3a9756c58f0ead3b20e435f1d1546408f4a8b36
2016-03-21 10:04:35 -04:00
Jenkins
b333f44a53 Merge "Fix mysql bootstrap" 2016-03-21 13:02:40 +00:00
Jenkins
2fc2dc6457 Merge "Install neutron in manila-share group only when enable_manila is true" 2016-03-21 12:39:53 +00:00
Jenkins
fe1f7e29ce Merge "Fix 'optional' config.json values" 2016-03-21 12:39:46 +00:00
Jenkins
4d37a8a33f Merge "Rework heka log copying" 2016-03-21 12:39:35 +00:00
Jenkins
b198da6318 Merge "Enabled nova->glance snapshots" 2016-03-21 12:33:38 +00:00
SamYaple
3e7be6593c Split versions onto new line
This makes the process of updating versions _much_ easier and opens
the door to a rough automated updater

This should merge in master _BEFORE_ mitaka branch

TrivialFix

Change-Id: I90b974316c5b48fd7a31959de317cb71ae3affec
2016-03-21 12:29:10 +00:00
SamYaple
7982ff0c77 Dynamically pull list of projects and versions
This also fixes this version check utility since it was utterly broken
before. While it did run to completion, it never properly returned any
versions that needed updating.

TrivialFix

Change-Id: If5d77f20fd8fc97679d58bc9019115157c5f5967
2016-03-21 12:29:07 +00:00
SamYaple
afce10dea4 Fix mysql bootstrap
The lightsout recover patch broke multinode mysql. Also the lightsout
recovery didnt probably pass the --wsrep-new-cluster flag. This
updates the mariadb bootstrap to work with multinode again.

Closes-Bug: #1559480
Related-Id: I903c3bcd069af39814bcabcef37684b1f043391f
Change-Id: I1ec91a8b2144930ea8f04cc1c201b53712352e4e
2016-03-21 12:23:00 +00:00
Jenkins
cfbd96bbb9 Merge "Move manila variable" 2016-03-21 10:05:13 +00:00
Jenkins
c14007578f Merge "Change deprecated options throughout Kolla" 2016-03-21 10:05:07 +00:00
Jenkins
059f708c5f Merge "Add memcached_servers to keystone_auth section" 2016-03-21 09:52:39 +00:00
Jenkins
25af34ce74 Merge "Allow user to choose filesystem for osd" 2016-03-21 09:26:14 +00:00
Jeffrey Zhang
b13c18ae9c Install neutron in manila-share group only when enable_manila is true
TrivialFix

Change-Id: Idfc5d03d3359003cdb82b85b71b87ccefd4a0a43
2016-03-21 12:58:55 +08:00
SamYaple
052b01cf9a Fix rax-ord gate
Change-Id: I169647999b313def30c0605172cf188ef4518cdb
Related-Id: Id9ea8c5e402f3a06b9064a939ad4b2e168cd6223
2016-03-21 03:28:44 +00:00
SamYaple
59298332fc Fix heat endpoint registration
This got lost in the keystone v3 switchover.

Change-Id: I014c28e71335672153df79be2110e7585d7a21c0
Related-Bug: 1553565
2016-03-21 03:23:17 +00:00
Jenkins
39ac7fab7b Merge "Fix Linux bridge reconfig issue" 2016-03-21 03:08:00 +00:00
Jenkins
9cada9944f Merge "Attach external NIC to a NAT-Network if on Wi-Fi" 2016-03-21 02:21:16 +00:00
Jenkins
fa2b14a69a Merge "Add check if all the hostnames are resolvable" 2016-03-21 02:10:36 +00:00
SamYaple
76e0c09f34 Allow version_check to work on local git repo
Same method we use for build.py

TrivialFix

Change-Id: Ib2a7bbfb8349c473e6fdbacbba239985b05ec0bd
2016-03-21 01:10:23 +00:00
Vikram Hosakote
66f3944db7 Fix Linux bridge reconfig issue
This bug was reported by eandersson in IRC today.

TrivialFix

Change-Id: I3100d2bc567f641894817bd9cf3b2213416085b2
2016-03-21 01:01:00 +00:00
Jenkins
37e67ef3ed Merge "Update quickstart doc to use drop-in unit files" 2016-03-21 00:24:37 +00:00
Jenkins
783d17412d Merge "Explain how to use kolla-ansible pull" 2016-03-21 00:21:24 +00:00
Andrei-Lucian Șerb
3b12b7b951 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: #1558766
Change-Id: I0b4dbbc562d87191b2179f47b634cdd6f6361a5e
Signed-off-by: Andrei-Lucian Șerb <lucian.serb@icloud.com>
2016-03-21 01:08:45 +02:00
Jenkins
6e9c51898e Merge "Fix the prechecks role idempotent" 2016-03-20 17:48:25 +00:00
Jenkins
59bc1b8d74 Merge "Increase usefulness of openstack-base" 2016-03-20 17:05:51 +00:00
Jenkins
d95c736703 Merge "Ceilometer needs pymongo to start" 2016-03-20 16:38:27 +00:00
Jenkins
69553b95f1 Merge "Fix race condition in haproxy" 2016-03-20 16:17:28 +00:00
Jeffrey Zhang
d7495b1d39 Fix the prechecks role idempotent
the prechecks role should be idempotent and should changed nothing when
running.

TrivialFix

Change-Id: Ib5063d879e0f5f414d607bd9b6493a7499fc5652
2016-03-21 00:10:15 +08:00
Jenkins
c4d3726e10 Merge "Fix linuxbridge driver" 2016-03-20 15:57:21 +00:00
Hui Kang
127bd6f5da Ceilometer needs pymongo to start
pymongo is needed when ceilometer uses mongodb as backend database

Change-Id: Id75dc7bed30cdfa12f95bb66ca6d4cdf7be0261c
Closes-Bug: #1559370
Related-Bug: #1559390
2016-03-19 23:00:14 -04:00
SamYaple
d786ac948a Move manila variable
The user variable was incorrectly in passwords.yml

The naming was inconsistent, it should be prefixed with manila_*

Removed old unused variable

TrivialFix

Change-Id: I182797fcc6d62d35174403d78d71c8ad7ddcbc43
2016-03-19 23:55:13 +00:00
SamYaple
56fd071bcb Change deprecated options throughout Kolla
These options have all be deprecated/removed. This switches all
options to thier proper mitaka values.

TrivialFix
Change-Id: Ica8d5ea0d48da01ee11672a32890431acd6a306d
2016-03-19 23:55:05 +00:00
SamYaple
f4175f04d7 Fix 'optional' config.json values
These values are optional only when the services are not enabled.

If the file does not exist we should not warn, but rather inform.

Ceph-mon is an exception here since its bootstrap process means
the files may or may not exist initially.

TrivialFix

Change-Id: Ic02bece76d480e99deecf612036f37abb5604135
2016-03-19 23:01:27 +00:00
SamYaple
0a1486a2c7 Rework heka log copying
Now that we have reconfigure we dont have to copy over all config
files at the same time.

TrivialFix

Change-Id: I866be0f05e604151e081974a64f17bf65787f604
2016-03-19 23:01:15 +00:00