9778 Commits

Author SHA1 Message Date
Jim Rollenhagen
a819ef1215 Allow glance services to use independent hostnames
This allows glance service endpoints to use custom hostnames, and adds the
following variables:

* glance_internal_fqdn
* glance_external_fqdn

These default to the old values of kolla_internal_fqdn or
kolla_external_fqdn.

This also adds a glance_api_listen_port option, which defaults to
glance_api_port for backward compatibility.

This option allow the user to differentiate between the port the
service listens on, and the port the service is reachable on. This is
useful for external load balancers which live on the same host as the
service itself.

Change-Id: Icb91f728533e2db1908b23dabb0501cf9f8a2b75
Implements: blueprint service-hostnames
2019-02-08 10:25:02 -05:00
Jim Rollenhagen
51c9e1b633 Allow nova services to use independent hostnames
This allows nova service endpoints to use custom hostnames, and adds the
following variables:

* nova_internal_fqdn
* nova_external_fqdn
* placement_internal_fqdn
* placement_external_fqdn
* nova_novncproxy_fqdn
* nova_spicehtml5proxy_fqdn
* nova_serialproxy_fqdn

These default to the old values of kolla_internal_fqdn or
kolla_external_fqdn.

This also adds the following variables:

* nova_api_listen_port
* nova_metadata_listen_port
* nova_novncproxy_listen_port
* nova_spicehtml5proxy_listen_port
* nova_serialproxy_listen_port
* placement_api_listen_port

These default to <service>_port, e.g. nova_api_port, for backward
compatibility.

These options allow the user to differentiate between the port the
service listens on, and the port the service is reachable on. This is
useful for external load balancers which live on the same host as the
service itself.

Change-Id: I7bcce56a2138eeadcabac79dd07c8dba1c5af644
Implements: blueprint service-hostnames
2019-02-08 10:25:02 -05:00
Zuul
114521ccba Merge "Option "scheduler_default_filters" from group "DEFAULT" is deprecated." 2019-02-08 08:10:24 +00:00
Maciej Kucia
0d32b76a33 haproxy: Support for external IPv6 (VIP)
This change allows usage of IPv6 as public address

Change-Id: Ie82ec5fb0ac9106b39948c67d34d5ef611a8fa21
Signed-off-by: Maciej Kucia <m.kucia@partner.samsung.com>
2019-02-07 15:56:35 +01:00
caowei
cce2c53ebb Option "scheduler_default_filters" from group "DEFAULT" is deprecated.
Use option "enabled_filters" from group "filter_scheduler".

Change-Id: I042f0b011c060f9dbc645dbdbb60068cb41c0cc8
2019-02-07 10:20:23 +00:00
ZhijunWei
1989cfe103 Optimize reconfigure action for iscsi
Complete the reconfigure optimise action for iscsi

Co-Authored-By: caoyuan <cao.yuan@99cloud.net>
Co-Authored-By: mgoddard <mark@stackhpc.com>

Change-Id: I6a1f24bc13bdea148857de9e6f4df79ff97bc9bc
Partially-implements: blueprint better-reconfigure
Closes-Bug: #1772215
2019-02-07 02:04:56 +00:00
confi-surya
ae8d085ea7 Add missing dirs
We can see some contribution directory is missing which
exist parallel to other directories. Adding this information
to README is helpful for new contributors to understand
high level directory structure.

Change-Id: I4ed50b49aac1e9ab21957f4ec3da1b33883ad9b1
2019-02-05 19:10:14 +05:30
Zuul
23c555d9c5 Merge "remove pep8 from lower-constraints.txt" 2019-02-05 10:09:49 +00:00
Zuul
02e58e6dac Merge "Set [pxe] tftp_server in ironic.conf" 2019-02-04 12:04:49 +00:00
confi-surya
6fbc9008f8 remove pep8 from lower-constraints.txt
Older hacking version depends on pep8, but pep8 module is replaced
by pycodestyle. This is already resolved by updating hacking
version in https://review.openstack.org/#/c/627149/

pep8 is dropped, so no longer require in lower-constraints.txt.

Change-Id: I585e94098de20e0f541d4182367e904fc13d2ae6
2019-02-04 16:56:22 +05:30
Mark Goddard
4d64646699 Set [pxe] tftp_server in ironic.conf
The ironic TFTP server should be accessed via the internal API network.
For ironic inspector, dnsmasq.conf advertises this correctly:

dhcp-option=option:tftp-server,'api_interface_address'
dhcp-option=option:server-ip-address,'api_interface_address'

However, ironic conductor does not set the [pxe] tftp_server variable.
This means the TFTP server advertised gets the default value of $my_ip,
which is set by
https://docs.openstack.org/oslo.utils/latest/reference/netutils.html#oslo_utils.netutils.get_my_ipv4,
typically the source IP for the default route.

This change sets [pxe] tftp_server to 'api_interface_address'.

Change-Id: Ic3e688b3f2b92ad9515322f49cd5f4f29d763e49
Closes-Bug: #1808347
2019-02-04 09:48:52 +00:00
confi-surya
f32ea96cd2 Add zookeeper info to README
README is always a first point of interaction for users/operators.
So adding zookeeper info to it will help to understand its support
in Kolla.

Change-Id: I4829847b95575b6e83b3001e0d377ad1dd71ecfb
2019-02-04 09:36:30 +00:00
Scott Solkhon
9dbd300786 updating Designate docs with Infoblox configuration
Change-Id: I12af64725c0beec2ece0367c3773230c57908254
2019-02-01 13:08:50 +00:00
Zuul
dab5e74649 Merge "Add support for Infoblox in Designate role" 2019-01-28 15:21:38 +00:00
Zuul
45ee749a6a Merge "Link kolla_log volume dir to /var/log/kolla" 2019-01-28 10:40:59 +00:00
Zuul
da98030909 Merge "add ulimit support for kolla_docker" 2019-01-27 10:17:30 +00:00
Zuul
67d496b0e6 Merge "[prometheus] Support the prometheus openstack exporter" 2019-01-24 15:12:42 +00:00
Zuul
58772d53d5 Merge "Remove Vitrage Collector" 2019-01-24 09:34:52 +00:00
binhong.hua
93e5e8e631 Link kolla_log volume dir to /var/log/kolla
The path /var/lib/docker/volumes/kolla_logs/_data/ is too long
shorter log path will help to debug from log.
The volume path is compatible with docker-engine and docker-ce.

Change-Id: I9195d5f24d938f5060fe748aac3ae58c79ec5abf
2019-01-24 11:02:48 +08:00
binhong.hua
3d3f5f1613 add ulimit support for kolla_docker
By default, docker containers inherit ulimit from limits of docker
deamon. On CentOS 7, docker daemon default NOFILE is 1048576.
It can found in /usr/lib/systemd/system/docker.service.
The big limit will cause many problem. we should control it in
production environment.

Change-Id: Iab962446a94ef092977728259d9818b86cfa7f68
2019-01-24 10:54:14 +08:00
Zuul
0cbf0a6c7a Merge "Wait for volume attachment in CI before detach" 2019-01-23 07:21:54 +00:00
Zuul
29cc6d9dd7 Merge "Fix missing transport_url for ironic inspector" 2019-01-23 07:21:53 +00:00
Zuul
78375d548f Merge "repair ceph_nfs container start failed" 2019-01-23 07:21:51 +00:00
Bartosz Zurkowski
7e85677020 Remove Vitrage Collector
Vitrage Collector service has been removed from Vitrage in change:
Ie713456b2df96e24d0b15d2362a666162bfb4300.

Change-Id: I45023940c1d2573bfed49d4ce3fac16ed2d559e4
Signed-off-by: Bartosz Zurkowski <b.zurkowski@samsung.com>
Co-Authored-By: Kien Nguyen <kiennt65@viettel.com.vn>
2019-01-23 09:39:49 +07:00
Scott Solkhon
2520a421bc Add support for Infoblox in Designate role
This change adds support for Infoblox as a backend for Designate.

Change-Id: I7ae038befa88f5a1b3a1187a0e9037ed30f94b17
2019-01-22 14:29:40 +00:00
Dai, Dang Van
19edefaf9a Fix missing transport_url for ironic inspector
Change-Id: I81d56dd850c18298987376740ccfea05fe59267f
Refer: https://storyboard.openstack.org/#!/story/2001842
2019-01-22 16:55:06 +07:00
caoxufeng
7f839d7258 oslo.config>=5.2.0 which is a dependency of kolla-ansible requires rfc3986>=1.2.0
Change-Id: I43cc9be3df6ae99942f1862171512a300fcf926f
2019-01-22 17:33:38 +08:00
Jorge Niedbalski
6c64b7c732 [prometheus] Support the prometheus openstack exporter
This patch implements the initial support for the
openstack-exporter[0] in the kolla-ansible
prometheus monitoring system.

The configuration and prechecks are reused from the other
exporters and a new template is provided for generating
a os-client-config file required by the exporter.

The default scrape interval is 60 seconds, but it can
be extended via a configuration option.

[0] https://github.com/Linaro/openstack-exporter

Change-Id: I4a34c4bb56e74b5cd544972cbd6540d9acb6e4a1
2019-01-21 10:41:35 -03:00
Zuul
2674344bbe Merge "Fix reconfigure of neutron ml2_conf.ini" 2019-01-20 12:03:47 +00:00
Mark Goddard
9c906a175b Wait for volume attachment in CI before detach
In some cases the volume attachment is not finished by the time we
attempt to detach it, causing the following error:

Volume status must be 'in-use' and attach_status must be 'attached' to detach.

This change waits for the volume to be attached before detaching.

Change-Id: Id23d114cf8a2b40f8f0784cbfb84e9fa0829adc0
2019-01-18 13:53:13 +00:00
Zuul
da3cf0958e Merge "optimize qemu.conf" 2019-01-18 11:07:16 +00:00
binhong.hua
023334dfcb optimize qemu.conf
bump up the max_files to 32768 and max_processes to 131072.
when nova used ceph as backend, the default limit 1024 is not enough.
each connection from rbd image to osd needs 1 fd and 2 threads. if we
have 200 osds, we need 200 fds and 400 threads for 1 image.

Change-Id: I94c3ec111473ea2ccacdea5dbbf3fdc9c569859f
2019-01-18 02:28:35 +00:00
wu.chunyang
d35f9a4b70 repair ceph_nfs container start failed
when enable ceph_nfs,it deploy failed, because no ganesha config
file, and the 'ganesha.nfs' command need root privilege to run.
i will modify ceph_nfs dockerfile,please review. thanks

https://review.openstack.org/#/c/630510/

Change-Id: I347107bc33733061ad043bffe38ecc1d16770afc
Closes-Bug: #1811581
2019-01-17 23:43:03 +08:00
Mark Goddard
43c83b51cf Fix reconfigure of neutron ml2_conf.ini
The neutron containers were not being restarted if only the ml2_conf.ini
file is changed. This is due to the XenAPI ml2_conf.ini config task
registering a variable of the same name as the task that generates
ml2_conf.ini for other services. Since the XenAPI service is typically
not running, the tasks show as not changed, and the handler skips
restarting the container.

This change adds a second variable for XenAPI to avoid this shadowing.

Change-Id: I77819ed8defb8a7653e1e5aec92013b1d40fbf02
Closes-Bug: #1783268
2019-01-17 14:33:11 +00:00
Zuul
cd0d8cca9b Merge "Ensure keystone endpoint is updatable" 2019-01-17 09:42:22 +00:00
YI-JIE,SYU
d39ba689ac Update tacker CLI to openstack CLI in cleanup-tacker
Change to openstack CLI

Change-Id: I75db9548b94800b6a451a658931d11a333a8e054
2019-01-16 21:12:48 +08:00
Zuul
20c58a9c53 Merge "Run Zun job on kuryr's changes" 2019-01-15 11:06:16 +00:00
Zuul
0abf5c8e43 Merge "kuryr: use internal neutron endpoint" 2019-01-14 14:45:39 +00:00
Zuul
d6c395ce98 Merge "Fix command connect to replica set primary" 2019-01-14 09:28:42 +00:00
Hongbin Lu
54761726c8 Run Zun job on kuryr's changes
Zun depends on Kuryr so let's trigger the Zun job on kuryr's change.

Change-Id: If95a6bfb5f305c2f69808a781ff9d8513bf2006c
2019-01-13 22:43:47 +00:00
Hongbin Lu
a98c06f1fd kuryr: use internal neutron endpoint
Kuryr-neutron communication should use internal endpoint because
public endpoint might be protected by SSL which fails the API call.

Change-Id: I3f98f14d4f481c17a4368cc5c2a184323c548193
Closes-Bug: #1811262
2019-01-13 22:39:31 +00:00
zhangshj
199133a9cc Correct two wrong words
Change-Id: I89d9f7a90d72e6c5df7dde078ed7407eedd6f92f
2019-01-13 10:27:26 +00:00
Zuul
aab2dd4669 Merge "Use kolla-ansible version to tag images" 2019-01-11 16:12:23 +00:00
Michal Nasiadka
03d27cb8d9 Add ceph docs note about rgw keystone integration.
Change-Id: If87cdb132875c4e2c5dff2cc427e00f7a95927de
2019-01-10 14:59:55 +01:00
Zuul
4aa89776ba Merge "Doc: Update Kolla Ceph document for mixed Ceph OSD deployment" 2019-01-10 09:11:46 +00:00
Mark Goddard
65aa706a44 Use kolla-ansible version to tag images
If building images, kolla currently uses its own version for their tag
by default.  This might not match the version of kolla-ansible, which is
what is used by default in kolla-ansible. This leads to the image not
being found.

This change uses kolla-ansible's version to tag locally built images.

Change-Id: I49c7afb9167d1e3f8a4470b6ebbb6ad6798d4996
2019-01-09 18:13:27 +00:00
ZijianGuo
30f8511cd5 Fix command connect to replica set primary
Without this option would cause non master error.

Change-Id: I5da653227fb1b2af7a36f39789265584ac0146da
Signed-off-by: ZijianGuo <guozijn@gmail.com>
2019-01-08 20:12:26 +08:00
Zuul
beee4f7c96 Merge "Make Rabbitmq config files overridable" 2019-01-08 10:34:54 +00:00
tone.zhang
4ff993c45e Doc: Update Kolla Ceph document for mixed Ceph OSD deployment
Since Rocky release Kolla Ceph supports both bluestore and
filestore Ceph OSD. In multinode mode, users can overwrite
“ceph_osd_store_type” in the inventory file and deploy the mixed
Ceph OSD.

Change-Id: I4582861c81fdea5fb67114cf3ac1e48f7812f0d7
Signed-off-by: tone.zhang <tone.zhang@arm.com>
2019-01-08 16:28:07 +08:00
Zuul
e9fda8664e Merge "Add Kolla Ceph filestore CI jobs" 2019-01-07 11:35:54 +00:00