1062 Commits

Author SHA1 Message Date
Paul Bourke
5d5b209823 Add 'optional' param for mariadb heka conf
If one is using an existing or alternative mysql deployment and sets
enable_mariadb to false, heka would fail to deploy.

TrivialFix

Change-Id: Ieb793e11a40358e5d4fc1f3955f200e2cddef4f5
2016-07-15 11:02:59 +01:00
Jenkins
5e0c985dd0 Merge "External Ceph support - Implementation Glance" 2016-07-14 17:59:05 +00:00
Jenkins
dd86b0f381 Merge "Keystones openstack_auth was undefined" 2016-07-14 15:18:57 +00:00
Mathias Ewald
f16a45180c External Ceph support - Implementation Glance
Most simple implementation of external ceph support.

We use INI merge to configure RBD backend for Glance and copy
ceph.conf and keyring provided by the user into the container.

Set_configs.py had to be extended to support globbing (wildcards) in
order to copy ceph keyring file which is named depending on the cephx
user name.

Partially-Implements Blueprint: external-ceph
Partially-Implements Blueprint: selectable-ceph

Change-Id: Iacadbd8ec9956e9f075206ea03b28f044cb6ffb8
2016-07-14 14:05:34 +00:00
Patrick Powell
51504c3597 Keystones openstack_auth was undefined
Keystones openstack_auth is undefined for Keystones sanity check
closes-bug: #1601808

Change-Id: I445482ce32b924d9220e8c351363b6793558d3b4
2016-07-14 09:40:19 -04:00
Jenkins
f07dfb129c Merge "Remove [neutron]/auth_strategy option in nova.conf" 2016-07-14 07:37:29 +00:00
Jenkins
20aa74bb7a Merge "Enable Block Storage meters" 2016-07-13 14:58:51 +00:00
Jenkins
a354be493e Merge "Add multipathing support to docker container" 2016-07-12 13:30:03 +00:00
ZhongShengping
416028c85d Remove [neutron]/auth_strategy option in nova.conf
The [neutron]/auth_strategy has been removed,
read the information[1] to learn more.

[1] http://git.openstack.org/cgit/openstack/nova/tree/releasenotes/notes/remove-deprecated-neutron-options-5f3a782aa9082fb5.yaml

Closes-Bug: 1602171
Change-Id: Ide7ff9f36e89b8a091e5be3fb24ef210f9037e86
2016-07-12 17:14:31 +08:00
ZhongShengping
b34ede31d4 Enable Block Storage meters
Use [oslo_messaging_notifications]/driver option in cinder.conf
to enable block storage meters, set the option default value is
'messagingv2'.

Change-Id: I1e885324fbeb2ad1c547c6c6618cbacd0e441d51
Closes-Bug: 1602055
2016-07-12 10:11:08 +08:00
Carlos Cesario
115c55e1fe Add multipathing support to docker container
Due some cinder drivers need multipathing support like this one
http://docs.openstack.org/mitaka/config-reference/block-storage/drivers/ibm-storwize-svc-driver.html

This PS will allow to run these additional drivers when using Kolla.

Implements: blueprint multipath-support
Change-Id: Id6cf29f984c92773bbfc2f95daea573a74701648
2016-07-11 09:07:21 -03:00
Paul Bourke
a479afac4a Use inventory_hostname for Ceph bootstrap
The inventory_hostname is more reliable than ansible_hostname for the
way we use it here. If the deploy node cannot resolve the hostname of a
target node (the operator is using IP addresses in their inventory), the
bootstrap will fail with:

"Host: x.x.x.x, Task: ceph : Fetching Ceph keyrings, Status:
unreachable, Message: SSH Error: data could not be sent to the remote
host.  Make sure this host can be reached over ssh"

Closes-Bug: 1599138
Change-Id: Ic76e4baf8c642c59bbe81e6671ac97bcbb57d470
2016-07-10 05:16:10 +00:00
Jenkins
0f9534bc23 Merge "Read GPT label using sgdisk rather than udev" 2016-07-08 15:22:24 +00:00
Jenkins
d4225830ac Merge "Fix magnum default service type" 2016-07-08 12:06:50 +00:00
Jenkins
354d4b264c Merge "Add enable_iscsi option to etc/kolla/globals.yml" 2016-07-08 11:29:05 +00:00
Jenkins
bb58665087 Merge "Revert "Fix radosgw 'rgw frontends' param"" 2016-07-08 09:58:46 +00:00
ZhongShengping
9bd7136c18 Fix magnum default service type
Magnum default service type changed from "container" to
"container-infra". It is recommended to update the service
type at Keystone service catalog accordingly.

Closes-Bug: #1600163
Change-Id: Ief1fed0ef15ab1b86a9500d9a7557828f8e6afc4
2016-07-08 17:48:34 +08:00
Jenkins
04f4e074c1 Merge "Fix the upgrade haproxy failed" 2016-07-08 09:42:42 +00:00
Jeffrey Zhang
998f8f7374 Fix the memcached config in horizon local_settings
When using multi memcached servers, a list of servers should be used
rather than a comma joined servers string.

Change-Id: I93ed68947465b3e6b0c7fa3cf6c8c4ac94ed0bf2
Closes-Bug: #1600082
2016-07-08 10:52:05 +08:00
Takeaki Matsumoto
138c6426bd Add enable_iscsi option to etc/kolla/globals.yml
To use Cinder LVM2 backend with iSCSI,
add enable_iscsi option and fix document.

Change-Id: I286733508b5582c311c313c172b3c3a774be993c
Closes-Bug: #1599088
2016-07-07 22:18:02 +09:00
Stephen Hindle
cadf8afdcf Read GPT label using sgdisk rather than udev
The Ceph osd bootstrap/startup logic depends upon reading/writing
partition names.  Some older versions of udev have trouble reading these
(/dev/disk/by-label is missing).

To work around this, we shell out to sgdisk and scrape the partition
name data directly.

Co-authored-by: Paul Bourke <paul.bourke@oracle.com>
Closes-Bug: 1585185
Change-Id: I362b3f8e91de79687fc84e256996fbcaf303b6af
2016-07-07 10:26:34 +01:00
Jenkins
a459a29433 Merge "Improve task names for Ceph" 2016-07-06 19:12:40 +00:00
Jenkins
accbd6bf97 Merge "Fix the native ovsdb_interace failed" 2016-07-06 16:24:51 +00:00
Paul Bourke
2d4161de63 Improve task names for Ceph
The task names while bootstrapping Ceph OSDs and cache OSDs were
identical making them harder to distinguish in the Ansible output.

TrivialFix

Change-Id: I0228221a09bdaaba46b6280b6e1be9920ad13598
2016-07-05 16:06:40 +01:00
Jenkins
02961f1150 Merge "Added unit test for image operation" 2016-07-05 06:18:59 +00:00
Jeffrey Zhang
10258f138b Fix the native ovsdb_interace failed
Closes-Bug: #1598977
Change-Id: I8be53531c2ba000c3b73d0f957dcc50fe947c925
2016-07-05 09:02:06 +08:00
Jeffrey Zhang
fd641380ad Fix the upgrade haproxy failed
The haproxy failed when there is one stand alone network node

Closes-Bug: #1598339
Change-Id: I3390ee37eb51c292fc5149fc22b4f6a6f07da688
2016-07-02 11:20:45 +08:00
Suhail Syed
b8ea99971b Fixed typo in all.yml
TrivialFix

Change-Id: I778437d575458537cc916ed83653836247df0cee
2016-06-30 17:44:10 -04:00
MD NADEEM
f5b04c97eb Added unit test for image operation
Change-Id: I44a5ba649d73f4ca2d48065625c8d67445576944
Partially-Implements: blueprint ansible-unit-tests
2016-06-28 10:57:47 +00:00
Jenkins
d038ac7cde Merge "Remove MariaDB warning from HAproxy" 2016-06-27 22:18:23 +00:00
Jenkins
25020d1c58 Merge "Add reconfigure tasks for ceilometer ansible role" 2016-06-27 19:27:27 +00:00
Jenkins
8f5747318b Merge "Enable openvswitch container logs in host volumes" 2016-06-27 17:06:35 +00:00
Dipa Thakkar
e26751b955 Remove MariaDB warning from HAproxy
The forwardfor option cannot be used in certain modes
such as TCP.  To resolve that create a special default
section for MariaDB

Change-Id: I743bbbfb732b04f115d1a878a0dfc22e29d2623d
Closes-Bug: #1549746
2016-06-27 11:36:10 -04:00
Jenkins
dafd1c8c2e Merge "Fix container stop exeption" 2016-06-27 04:45:06 +00:00
Hui Kang
54919dc498 Enable openvswitch container logs in host volumes
Allow heka container to pick up the openvswitch logs like other
services

Change-Id: I396ae9419540070c6ab01b8f62607ab46b1f08aa
closes-Bug: #1573199
2016-06-26 23:45:33 -04:00
MD NADEEM
3321049158 Fix container stop exeption
Change-Id: I1d59ed9089def808bab31d97ba4cba9e8592b568
Closes-Bug: #1595814
2016-06-27 03:03:43 +00:00
Dave Walker (Daviey)
2a2a86ac43 glance-*, fix rabbit config with ceilometer
Currently, if ceilometer is enabled with glance then the
rabbitmq is non-functional, causing various glance failures
including image upload.

This is caused because:
The generated config fails to have a carriage return at the
end of the rabbit_host line, causing the following line to
be added to this entry.

rabbit_host is used rather than rabbit_hosts, where the
fromer expects a string, rather than the list that is
provided.

This also adds rabbit HA support, to be in-line with the
other services using rabbitmq.

This is resolved, by pushing the rabbit_hosts entry to be
last, meaning that a carriage return is not required.

Change-Id: I89f26d542565b98025fd9b84fc4beb5cbed364e5
Closes-Bug: 1596244
Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
2016-06-26 01:17:34 +01:00
Dave Walker (Daviey)
d5d04587f1 Revert "Fix radosgw 'rgw frontends' param"
The original commit changes ceph-rgw to listen on all
addresses (0.0.0.0:6780), which means that it listens on
both the storage_interface address and the VIP.

This makes it incompatible with having HAProxy on the same
host.

This reverts commit 819ae24b50ffda74e5b3a72f4c26321e7c9696cb.

Change-Id: I6cba31cc942a0be9f65d2f4847c8c2bc364a9c1e
Closes-Bug: 1596229
Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
2016-06-25 23:19:26 +01:00
Jenkins
8790492c6b Merge "Update kollaglue repo on docker to kolla" 2016-06-23 15:36:49 +00:00
Jenkins
438dd53bf7 Merge "Add named volume for nova-libvirt" 2016-06-21 05:50:48 +00:00
Hui Kang
a01355029f Add named volume for nova-libvirt
VM instance state (e.g., instance.xml) should be persistent
regardless of nova-libvirt container.

Change-Id: I4463d0634db2aaefde7dc2c45a144e920d9cb1ac
Closes-Bug: #1569828
2016-06-20 10:14:53 -04:00
Jenkins
7f447eb354 Merge "Make Neutron QoS service plugin configurable" 2016-06-20 10:55:01 +00:00
Christian Berendt
bdaef30285 Add reconfigure tasks for ceilometer ansible role
Change-Id: I1fb7220f4ec7fcaebd9e22c0d0a1c642939afa92
Closes-bug: #1594004
2016-06-18 19:20:47 +02:00
Christian Berendt
a7f93b09bb Make Neutron QoS service plugin configurable
This introduces a new configuration parameter neutron_enable_qos to
be able to enable the Neutron QoS service plugin.

More details about the Neutron QoS service plugin are available at:

http://docs.openstack.org/liberty/networking-guide/adv-config-qos.html

Change-Id: I8525bf4dce5f1e225f72a4e1c3760b64a36b17f6
Closes-bug: #1593183
Implements: bp netowrking-qos
2016-06-18 15:53:12 +00:00
Jenkins
e48f68c82a Merge "Implement ceilometer ansible role" 2016-06-18 04:05:52 +00: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
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
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
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