4263 Commits

Author SHA1 Message Date
Jenkins
62ffe35c24 Merge "Refer to operator VM as primary VM" 2016-06-17 18:24:54 +00:00
Martin André
aba8add541 Connect to remote hosts as root
Since this is the user for which we setup the SSH key.

This commit allows to run kolla-ansible as vagrant user without using
sudo.

This only applies to multinode.

TrivialFix

Change-Id: Ie5231085a66511a520d4dbe5e9f35414acf1900b
2016-06-17 16:47:40 +02:00
Martin André
5f79732927 Only keep localhost for 127.0.0.1
The regex used previously would keep the short hostname (hostname -s)
on the 127.0.0.1 line.

Reset the 127.0.0.1 line to keep only localhost.

TrivialFix

Change-Id: I90bdec6793ac5b2d304e178e5114369b7b3b9626
2016-06-17 16:04:47 +02:00
Martin André
cbd67d3cf7 Remove unused SUPPORT_NODE variable
The SUPPORT_NODE variable was missed during a refactoring of
bootstrap.sh and is now unused. Remove it.

TrivialFix

Change-Id: I10ab4368b383dbb620916f70c368153403944001
2016-06-17 14:50:01 +02:00
Martin André
5718356eb2 Set internal vip to vagrant private network
In vagrant environments, the kolla_internal_vip_address didn't belong
to the private network provisioned on the machine and was failing the
prechecks.

TrivialFix

Change-Id: I0e7e4d134e350c49ef7510c7262677754a83bcbf
2016-06-17 14:46:58 +02:00
Martin André
acfe3b73aa Refer to operator VM as primary VM
This allows us to execute vagrant commands by default on the 'operator'
VM and eliminate one of the difference between AIO and multinode.

TrivialFix

Change-Id: Ia14aa026d1146ec4b1e006c72a2460edfc0cf6eb
2016-06-17 14:38:51 +02:00
hanchao
4aa0951053 TrivialFix: A typo fix in the globals.yml
Correct `container` to `contain` in the comment.

Change-Id: Ia156676406fac8745e1c7873bae6a5884d6ce27e
2016-06-17 15:46:09 +08:00
Jenkins
877aa79398 Merge "Remove EC2 API related configurations and tasks" 2016-06-17 05:12:07 +00:00
Hui Kang
4108c6c6ec Implement ceilometer ansible role
Change-Id: I13c50a78b2dc7c98b720a4b2e7161104213bd295
Implements: bp ansible-ceilometer
2016-06-16 22:05:56 -04:00
Jenkins
1924db6d77 Merge "Properly fail precheck for internal VIP's network" 2016-06-16 18:40:30 +00:00
Jenkins
ace7500372 Merge "Fix ownership of nova-novncproxy-source directory" 2016-06-16 17:26:18 +00:00
MD NADEEM
0e459bb6d3 Added unit test for start container
This patch check two senario
first if  we choose to start a new container
with name say XXX, however in the env a container
already exist with XXX name and second to start a stopped container.

Change-Id: Ibd6c5fbcc6f37ea2481634ac2e6b3edb91ae7aab
Partially-Implements: blueprint ansible-unit-tests
2016-06-16 21:20:38 +05:30
Martin André
7e00288ff0 Properly fail precheck for internal VIP's network
When kolla_internal_vip_address didn't belong to the same network as
network_interface, the prechecks would spit out an ugly error:

  Unexpected templating type error occurred on [snip]:
  argument of type 'NoneType' is not iterable"

This commit fixes the check to execute properly.

Change-Id: I24a066c212c78e105a923525b131724736ac74b6
2016-06-16 16:56:50 +02:00
Jenkins
9931fc6d9e Merge "Format commands to the code block" 2016-06-16 12:01:54 +00:00
Jenkins
07aa95274d Merge "Add kolla-kubernetes bootstrap capability to Keystone" 2016-06-16 12:01:44 +00:00
Jenkins
5f86491bdf Merge "Add kolla-kubernetes bootstrap capability to mariadb" 2016-06-16 12:00:20 +00:00
Christian Berendt
c073b2d897 Remove EC2 API related configurations and tasks
The Nova EC2 API is disabled by default, the default value
of the enabled_apis parameter in nova.conf is "osapi_compute, metadata"
The EC2 API is marked as deprecated and will be removed from Nova in
the future.

Change-Id: I6b9d66017e066cde5749be45b367194d2192ead3
Closes-bug: #1586605
2016-06-16 12:16:07 +02:00
hanchao
bb6a4befdf Format commands to the code block
Put commands to the code block in quickstart.rst.

Change-Id: Ia2f12fd5693032029912d7fda2f6bf13701723fa
2016-06-16 10:07:16 +00:00
Christian Berendt
e299720eb7 Fix ownership of nova-novncproxy-source directory
This solves the following issue when using latest noVNC sources for
the nova-novncproxy container:

OSError: [Errno 13] Permission denied: '/usr/share/novnc'

Change-Id: Iea1f3dfcc696f53431e99570019e27cdef4ca5cb
Closes-bug: #1593006
2016-06-16 01:24:59 +02:00
Michal (inc0) Jastrzebski
f1c3422582 Macro install packages
Simplification of package installations

Change-Id: I78c0a84c55e891dec7c9bd21bc61700dba244526
Partially-implements: blueprint third-party-plugin-support
2016-06-15 19:42:02 +00:00
Jenkins
2cb0f445bb Merge "Remove the pull action in the deploy_aio CI" 2016-06-15 17:28:58 +00:00
Jenkins
c3b74bcda7 Merge "Revert "Added precheck to check kernel version 4.2 on Ubuntu 14.04."" 2016-06-15 17:28:22 +00:00
Jenkins
4b271c7e4a Merge "Add support for mistral ubuntu binary containers" 2016-06-15 08:58:55 +00:00
Jeffrey Zhang
4cc256d9d4 Remove the pull action in the deploy_aio CI
In the current CI, we have no regitry service. when running pull action,
it will pull image form docker.io where has no such image too.

The right direction is set up a local regitry service, then push and
pull image from there.

TrivialFix

Change-Id: I3ebea5cdb539cb700487a2dbffa894fcce8f8723
2016-06-15 16:02:49 +08:00
Jeffrey Zhang
d7b665929d Revert "Added precheck to check kernel version 4.2 on Ubuntu 14.04."
Upgrade the kernel version is not acceptable for the server in most
of case. I do not see the issue when using ubuntu 14.04 default
kernel with docker aufs storage driver.

Even if there is some wrong in the aufs driver, we could recommend
the user to use other drivers, like lvm, brtfs or even overlay driver.

This reverts commit 833c1269c7941498787d49ce879be6c283728407.

Change-Id: I6ee71ecd1ca64777b874bfcc342162622643b89c
2016-06-15 16:02:43 +08:00
Jenkins
9ed6712bd1 Merge "Load the metadata definitions during Glance bootstrap" 2016-06-15 02:48:49 +00:00
Jenkins
07924c9ade Merge "Makes ml2_conf.ini configuration consistent" 2016-06-15 02:36:34 +00:00
Jenkins
55fb29bc3f Merge "Added unit test for start container" 2016-06-14 19:51:17 +00:00
Jenkins
4133778a5f Merge "Change the search path to look locally" 2016-06-14 19:02:13 +00:00
Jenkins
ee424a10ad Merge "Run more kolla-ansible task in the gate" 2016-06-14 18:46:36 +00:00
Jenkins
f0fd3277df Merge "Make cleanup remove restarting/exited containers" 2016-06-14 18:20:19 +00:00
MD NADEEM
45799699fe Added unit test for start container
Partially-Implements: blueprint ansible-unit-tests
Change-Id: I398f73f24ee5fa29dd11cd9bb8582cc6c195d007
2016-06-14 17:22:52 +00:00
Michal (inc0) Jastrzebski
f76e9a1e0d Make cleanup remove restarting/exited containers
If we have bug in contianer or it simplt somehow ended up in Exited
state, cleanup doesn't flush it. It also means it doesn't flush volumes
and that might cause an dirty env.

Closes-Bug: #1587344
Change-Id: Ib5705992500ce7efdc66509df61c381bd33d1954
2016-06-14 16:59:41 +00:00
Jenkins
a6b2142cc6 Merge "Implement Rally Dockerfile" 2016-06-14 16:45:55 +00:00
Derek Ditch
977a46ce22 Makes ml2_conf.ini configuration consistent
Change-Id: I10f2209428b21cd3dedb6b7fb14e9de34bbf3fa4
Closes-Bug: 1592444
2016-06-14 10:02:12 -05:00
Jeffrey Zhang
3afe149e51 Implement Rally Dockerfile
Partially Implements: blueprint rally-container

Change-Id: If8c4fdb51b8083078dddc68598d48c6e139a615a
2016-06-14 14:30:03 +00:00
Christian Berendt
8acc1771fb Remove verbose parameter from lbaas_agent.ini file
The verbose parameter is deprecated and should not be used. This
solves the following issue:

Option "verbose" from group "DEFAULT" is deprecated for removal.
Its value may be silently ignored in the future

TrivialFix

Change-Id: Ifb04c3f396a96b6917637af3a90a3ddb1599e29d
2016-06-14 15:53:23 +02:00
Jenkins
e6c1d41782 Merge "Create ansible home directory in kolla-toolbox container" 2016-06-14 11:52:29 +00:00
Jenkins
19e9585ffb Merge "Added test document" 2016-06-14 09:06:39 +00:00
Swapnil Kulkarni (coolsvap)
3f063626a2 Update kollaglue repo on docker to kolla
[1] http://lists.openstack.org/pipermail/openstack-dev/2016-June/097227.html

Change-Id: I73af59dcf1e755dbe0579486f1fb0ebe5ca0119c
Closes-Bug: #1592286
2016-06-14 12:34:34 +05:30
Christian Berendt
76f97b4067 Create ansible home directory in kolla-toolbox container
This solves the following issue when running an ansible command inside
the kolla-toolbox container:

[Errno 13] Permission denied: '/home/ansible/.ansible'

Change-Id: I654d27c49b7fcc50e018b61146084660894352aa
Closes-bug: #1592268
2016-06-14 07:47:22 +02:00
Jenkins
0b0e301eec Merge "Fix missing ceilometer user in the sudoers list for binary type" 2016-06-14 05:38:13 +00:00
Jenkins
50b955c66c Merge "Remove Heat CLI deprecated commands" 2016-06-14 05:11:31 +00:00
Jenkins
232b5a3617 Merge "The quickstart guide still says to use Anisble 1.9.4" 2016-06-14 02:21:58 +00:00
Christian Berendt
c37d1d25bc Load the metadata definitions during Glance bootstrap
Change-Id: I4e6ecbcfbd11a516b1ddc2fe7a62f20b8313ae07
Closes-bug: #1584698
2016-06-13 20:36:57 +02:00
Mauricio Lima
700d5d7a42 Remove Heat CLI deprecated commands
Change-Id: I2fc8f50f6448d58852f9e6c6d465e6f4e7288afa
Closes-Bug:#1581731
2016-06-13 13:51:02 -04:00
Patrick Powell
b6ae413cef The quickstart guide still says to use Anisble 1.9.4
Closes-bug: #1585995
Change-Id: I3163720dd4402848904fc9673e3240082e0c708f
Partially-includes: blueprint documentation-rework
2016-06-13 12:07:10 -04:00
Jenkins
baae1b2474 Merge "Fix typos in Kolla" 2016-06-13 14:07:13 +00:00
MD NADEEM
66b6eccd1b Added test document
This doc explain how to run kolla tests.

Change-Id: I498e18187c2c69bbd37c490ce4e1a8548f933791
Partially-implements: blueprint documentation-rework
2016-06-13 11:26:20 +00:00
Jenkins
92d0670be9 Merge "Added unit test for kolla_docker" 2016-06-13 11:05:34 +00:00