3236 Commits

Author SHA1 Message Date
Allen Gao
1eeaf60497 Remove the role path from the template src
The path of the template file under the same role
can easily be omitted, and we are using this omitting
in most places except those this commit is fixing.

TrivialFix
Change-Id: I6d1563e235151669d9d9268d69555aae15e31926
2016-02-29 10:42:01 +08:00
Jenkins
846a19035a Merge "Fix the syntax error for manila in neutron role" 2016-02-28 22:36:31 +00:00
Jenkins
559b63332b Merge "Sanity check for cinder" 2016-02-28 22:35:36 +00:00
Jenkins
a238fb5d3e Merge "Reconfigure keystone service" 2016-02-28 19:39:46 +00:00
Jenkins
ac12632ead Merge "Recommend vagrant and heat for development only" 2016-02-28 19:10:30 +00:00
Jenkins
5311f86822 Merge "Add timeout to requests.get() in kolla/cmd/build.py" 2016-02-28 19:03:10 +00:00
Jenkins
0c7cf6fdc4 Merge "Modify a hard-code keystone username in neutron and heat." 2016-02-28 18:52:49 +00:00
Jeffrey Zhang
4af394a242 Fix the syntax error for manila in neutron role
This is introduced by I21904659b1789fa71118401bfb6ac2227ae564da

TrivialFix

Change-Id: I8ab62c5b6c69e198e29205518941a9b0054c105f
2016-02-28 11:21:30 +08:00
Vikram Hosakote
320c1f9272 Add timeout to requests.get() in kolla/cmd/build.py
When kolla-build is running, if there are network issues or if the
source's location (like http://tarballs.openstack.org) fails to
respond due to high number of concurrent requests, kolla-build just
hangs/blocks indefinitely.

This patch set resolves this issue by adding a timeout of 120
seconds for requests.get() in kolla/cmd/build.py, adds a unit test
for it in kolla/tests/test_build.py and also the "timeout" argument
in kolla/common/config.py.

Change-Id: I7c8745a20b9bd1c3f5d6a55c72a794f16fd7e513
Closes-Bug: #1548614
2016-02-28 00:54:47 +00:00
jvora
c31729cdaf Sanity check for cinder
This runs first sanity check for cinder. Once
cinder is deployed it checks volumes.list()

Change-Id: I1b4cc57f21cf0fa52a391229c2c2b3fa995d32a8
Partially-Implements: blueprint sanity-check-container
2016-02-27 16:22:34 -08:00
Jenkins
c81097df8b Merge "Change kolla_internal_address variable" 2016-02-27 17:50:52 +00:00
Jeffrey Zhang
3a10f2d6e9 No need the keystone-dist-paste.ini file
This file is in the expected path when using CentOS binary install

TrivialFix

Change-Id: Ic64d2bed4791250065464b6bdb6cc0992c858aaf
2016-02-28 00:01:36 +08:00
Rajath Agasthya
58ef5fee02 Recommend vagrant and heat for development only
Vagrant and Heat, while really cool tech, are not very well maintained
in Kolla. They are not always up to date, and as a result, are not
recommended for evaluation purposes by this change.

TrivialFix

Change-Id: Ic8b8519431ed5c50a9a46b2e8b8f822d0982b1cf
2016-02-26 23:36:21 -08:00
Jeffrey Zhang
72ac7a5541 Reconfigure keystone service
Partially-implements: bp kolla-reconfig

Change-Id: Ied293e59bf4531e88a0e5e5bf9a5f5f495d2a0e7
2016-02-27 02:15:48 +00:00
Jenkins
32936b5923 Merge "Neutron ugprade play" 2016-02-26 22:51:01 +00:00
Jenkins
e4c027e395 Merge "Add upgrade play for ceph" 2016-02-26 22:49:26 +00:00
Jenkins
68ea0f55f4 Merge "Fixed slight gramatical issues that could be considered confusing" 2016-02-26 22:46:01 +00:00
Jenkins
0f7edbc47d Merge "Add suport to neutron-agents and ovs runs in storage node" 2016-02-26 22:45:08 +00:00
Jenkins
c972f83b8f Merge "Add Ansible scripts to generate TLS certificates for testing" 2016-02-26 22:31:07 +00:00
SamYaple
d3cfb2052a Change kolla_internal_address variable
Due to poor planning on our variable names we have a situation where
we have "internal_address" which must be a VIP, but "external_address"
which should be a DNS name. Now with two vips "external_vip_address"
is a new variable.

This corrects that issue by deprecating kolla_internal_address and
replacing it with 4 nicely named variables.

kolla_internal_vip_address
kolla_internal_fqdn
kolla_external_vip_address
kolla_external_fqdn

The default behaviour will remain the same, and the way the variable
inheritance is setup the kolla_internal_address variable can still be
set in globals.yml and propogate out to these 4 new variables like it
normally would, but all reference to kolla_internal_address has been
completely removed.

Change-Id: I4556dcdbf4d91a8d2751981ef9c64bad44a719e5
Partially-Implements: blueprint ssl-kolla
2016-02-26 20:00:09 +00:00
Mauricio Lima
d7850df6dd Add suport to neutron-agents and ovs runs in storage node
The generic driver for manila need the neutron agents
and OVS / Linuxbridge running on the same node as manila_share.
This is necessary when the DHSS (Driver Handles Share Servers)
is the value "True", so that the manila_share can talk
with NFS manager.

Change-Id: I21904659b1789fa71118401bfb6ac2227ae564da
Partially-Implements: blueprint enable-manila-containers
2016-02-26 14:38:40 -05:00
Dave McCowan
fd28087229 Add Ansible scripts to generate TLS certificates for testing
Working towards the blueprint that will add TLS protection
for the external endpoints, kolla needs certificates.

When kolla deploys OpenStack, the external VIP will need
a server side certifcate.  Clients that access those endpoints will
need the public CA certificate that signed that certificate.

This ansible script will create these two certificates to make
it easy to use TLS in a test environment.  The generated
certificate files are:

/etc/kolla/certificates/haproxy.pem  (server side certificate)
/etc/kolla/certificates/haproxy-ca.pem (CA certificate)

The generated certificates are not suitable for use in a
production environment, but will be useful for testing and
verifying operations.

Partially-implements: blueprint ssl-kolla

Change-Id: I208777f9e5eee3bfb06810c7b18a2727beda234d
2016-02-26 14:09:31 -05:00
Jenkins
35830a65ef Merge "Fix issue in newest_dhcp_lease.py" 2016-02-26 18:53:46 +00:00
Michael A. Trimm
f9b603872b Fixed slight gramatical issues that could be considered confusing
Signed-off-by: Michael Trimm <mitrimm@cisco.com>
Change-Id: Iccd3c53526caf8b109ba4ede117eebf66958782d
2016-02-26 12:56:53 -05:00
SamYaple
3cdd445d8b Neutron ugprade play
Since openvswitch is handled in the kernel, it really is as simple as
upgrade the container since the container only has userspace tools in
it.

Partially-Implements: blueprint upgrade-kolla
Implements: blueprint upgrade-neutron
Change-Id: Iec57c67a1ccba8f48b752fe832cd714bcc658af0
2016-02-26 16:00:26 +00:00
SamYaple
e76f862e99 Add upgrade play for ceph
Ceph is pretty easy to work with. Upgrade mons, then osds, then rgws

We want to eventually make these serial values configurable, but for
now due to cephs delicate distributed network nature it is safest to
only run 1 change at a time.

Change-Id: Icc721ab3651379c28fee853ca95f9e3ddf102998
Partially-Implements: blueprint upgrade-kolla
Implements: blueprint upgrade-ceph
2016-02-26 15:45:43 +00:00
Éric Lemoine
9544166c4b Fix issue in newest_dhcp_lease.py
This fixes a bug in newest_dhcp_lease.py where the get_mac_address
function currently searches for a "bridge" interface instead of
searching for the interface whose source network is
"vagrant-private-dhcp".

Change-Id: Iea0b25f893b959b5e319b117e7a1c4c63a00dd23
Closes-Bug: #1548742
2016-02-26 15:48:51 +01:00
Éric Lemoine
95cf542f8d Fix parsing of RabbitMQ logs
Currently Heka fails to parse the RabbitMQ logs. There are two
problems:

1. The rabbit-sasl.log file is ignored but the file_match expression
   does not match.
2. The delimiter used in the RegexSplitter makes Heka stop on the
   very first log entry. '\n\n(=[^=]+====' (with two \n's) is
   a better delimiter. deliver_incomplete_final is used to get the
   final log entry.

TrivialFix

Change-Id: I94720340d5b2d6fd5d7641b9ff58733f6cd882ee
2016-02-26 14:50:32 +01:00
Jenkins
287e4faf99 Merge "Remove the tox linters env" 2016-02-26 13:26:38 +00:00
Jeffrey Zhang
d95fd11b2d Remove the tox linters env
TrivialFix

Change-Id: Icd69a4d6de8ef222b219e758fa38d58f2c98f505
2016-02-26 19:26:26 +08:00
wangtianfa
11572e1c4b Modify a hard-code keystone username in neutron and heat.
Changed hard-code keystone username for neutron and heat in the
neutron.conf template and heat.conf template.

TrivialFix

Change-Id: Ibdd1422bd4cae5011f9fc5f4de7dfc58601dca1d
2016-02-26 04:42:26 -05:00
Jenkins
5c8602d440 Merge "Updated from global requirements" 2016-02-26 09:37:46 +00:00
Jenkins
b3d2917f6b Merge "Fixed grammatical error in ceph-guide.rst" 2016-02-26 02:20:21 +00:00
OpenStack Proposal Bot
acf1bd1f92 Updated from global requirements
Change-Id: I4bc9c24870317189858e66d8e4393199f03c497d
2016-02-26 01:48:31 +00:00
Jenkins
f650adf0af Merge "nova-libvirt is not a child of nova-base" 2016-02-26 01:40:17 +00:00
Jenkins
6fa1ce127d Merge "HAProxy and Keepalived upgrade" 2016-02-25 23:05:13 +00:00
Richa Yadav
dce6fb1bab Fixed grammatical error in ceph-guide.rst
Made changes in section Managing Ceph to correct the grammatical mistake.

Signed-off-by: Richa Yadav <ricyadav@cisco.com>

Change-Id: I2ed13f766dd39a7ac816af86664986b8d2700d80
2016-02-25 14:54:27 -08:00
Jenkins
c79174012c Merge "Add the default empty reconfigure.yml file to all roles" 2016-02-25 21:58:56 +00:00
Jenkins
f1eb20d58a Merge "Import module rather than funciton in the set_configs.py file" 2016-02-25 21:53:13 +00:00
Jenkins
604e1d5e8a Merge "General improvements to quickstart" 2016-02-25 21:52:53 +00:00
Michal (inc0) Jastrzebski
097e259ee9 HAProxy and Keepalived upgrade
This is single task to upgrade both haproxy and keepalived. It stops
slave nodes of keepalived and upgrades them separately to avoid
VIP migration and allow nearly no-downtime upgrade

Change-Id: I06124635a3f3553a4e8e91013cefbf897dd7179f
Implements: blueprint upgrade-haproxy
Implements: blueprint upgrade-keepalived
Partially-implements: blueprint upgrade-kolla
2016-02-25 19:05:20 +00:00
SamYaple
06f1519b7a nova-libvirt is not a child of nova-base
The permissions fix was not applied due to a recent patch.

Related-Id: I37d737509bc7cf3dc74bb13ecb0a6ae68080556e

TrivialFix

Change-Id: Ica737a8e51cdb66b06a09b5484a4915d6e26ee06
2016-02-25 16:28:49 +00:00
Jenkins
317224fa38 Merge "Pin ceph-radosgw" 2016-02-25 15:44:13 +00:00
Jenkins
3616381db2 Merge "Fixed a typo in quickstart.rst" 2016-02-25 15:21:22 +00:00
Abe Music
73f7fcb958 General improvements to quickstart
- Provided info on installing ansible via yum from EPEL and pointed
  readers to the EPEL docs to learn how to install/enable the repo

Change-Id: I4bf87fbf90779be85293eb65fe7cd2ffe548d6ae
2016-02-25 08:10:27 -06:00
Asha Saravanamohan
cf1c3180e5 Fixed a typo in quickstart.rst
In Deploying Kolla section of the quickstart.rst IP addr needed to
be changed IP address.

Change-Id: I4f3895d6f05340a0608b2b66170a769bd1454fb7
Signed-off-by: Asha Saravanamohan <assarava@cisco.com>
2016-02-25 08:56:03 -05:00
Matthew Montgomery
f572cbf0af Quick spelling/grammar fix
Change-Id: I882fb31bc21be4b4f22e61938c1d8f6775d69323
2016-02-24 21:55:07 -06:00
Jeffrey Zhang
d26c259754 Add the default empty reconfigure.yml file to all roles
DocImpact

Partially-implements: bp kolla-reconfig
Change-Id: I9738e80960bcfbef18d1ef1b7942f81c45684e85
2016-02-25 09:32:53 +08:00
Jenkins
32695378cb Merge "Remove information about downgrading docker" 2016-02-25 00:59:22 +00:00
Jeffrey Zhang
2eaf65a1e1 Import module rather than funciton in the set_configs.py file
TrivialFix

Change-Id: I352ef1176407edf093667644ce6adbd48eb63865
2016-02-25 08:20:09 +08:00