9642 Commits

Author SHA1 Message Date
Zuul
9ca1039e26 Merge "Support Ironic Inspector dnsmasq PXE filter" 2018-11-21 15:10:44 +00:00
Zuul
bf15842e70 Merge "Add YAML format into docs for policy file" 2018-11-21 15:10:43 +00:00
Zuul
11dedb653a Merge "Set "no_log" for "databases user and setting permissions" tasks" 2018-11-21 15:10:41 +00:00
Zuul
62290431a1 Merge "Document glance service" 2018-11-21 15:10:40 +00:00
Zuul
2d3e47759c Merge "Add glance-cache support" 2018-11-21 15:10:39 +00:00
jacky06
377222bb00 Add YAML format into docs for policy file
kolla-ansible support yaml format for policy file[1] too, but the
docs missing it, this ps to add it.

[1]: https://github.com/openstack/kolla-ansible/blob/master/ansible/group_vars/all.yml#L393
Closes-Bug: #1804455

Change-Id: I44eb1d64f9299ccaf99972c8b5354683a3501f6b
2018-11-21 08:34:12 -05:00
Eduardo Gonzalez
a86834e01b Document glance service
Add documentation about glance backends,
upgrades and futher configuration.

Change-Id: Ibb15804fa3f38abab855084dd7d7b83fd4a54b8f
2018-11-21 11:14:13 +00:00
Eduardo Gonzalez
cc9dae4dee Add glance-cache support
Glance cache is used to keep a locally cache image
in the glance_api service.
Is an usefull service when an image is commonly used
to speed times between pulling from storage backend
and send to nova.

Change-Id: I8e684cc10e4fee1cb52c17a126e3b11f69576cf6
2018-11-21 10:15:48 +01:00
Zuul
399f452ec7 Merge "Suppress log copy output in gates" 2018-11-20 18:21:42 +00:00
Mark Goddard
5753a569c7 Load configfs kernel module for iscsid
The configfs kernel module is not mounted by default in Ubuntu 16.04,
leading to the iscsid container failing to start because it bind mounts
/sys/kernel/config. The issue does not apply to Ubuntu 18.04, or other
distros (AFAIK), which load configfs by default.

This change loads the configfs module when the iscsid container is in
use.

Change-Id: I5b521ddca24b919658d2664ede2d878507d6d106
Closes-Bug: #1631072
2018-11-20 15:52:56 +00:00
caoyuan
a5badc89f2 Add neutron metering role into kolla-ansible
Refer to neutron docs [1][2]
[1]: https://docs.openstack.org/neutron/pike/admin/archives/adv-config.html#l3-metering-service-driver
[2]: https://wiki.openstack.org/wiki/Neutron/Metering/Bandwidth
Co-Authored-By: ZhijunWei <wzj334965317@outlook.com>

Change-Id: I4a676d041bc2a86497cb139d9347365738b156df
2018-11-20 23:36:45 +08:00
Mark Goddard
4418c1641b Support Ironic Inspector dnsmasq PXE filter
The dnsmasq PXE filter [1] provides far better scalability than the
iptables filter typically used. Inspector manages files in a dhcp-hostsdir
directory that is watched by dnsmasq via inotify. Dnsmasq then either
whitelists or blacklists MAC addresses based on the contents of these
files.

This change adds a new variable, ironic_inspector_pxe_filter, that can
be used to configure the PXE filter for ironic inspector. Currently
supported values are 'iptables' and 'dnsmasq', with 'iptables' being the
default for backwards compatibility.

[1]
https://docs.openstack.org/ironic-inspector/latest/admin/dnsmasq-pxe-filter.html

Implements: blueprint ironic-inspector-dnsmasq-pxe-filter
Change-Id: I73cae9c33b49972342cf1984372a5c784df5cbc2
2018-11-20 14:01:15 +00:00
Eduardo Gonzalez
76482c9a68 Fix fluentd input log parser for OpenDaylight
OpenDaylight logs have different format than openstack,
is a karaf log with java error traces.
This PS add required config to make fluentd parse properly
ODL logs.

Change-Id: I34fb96c8a424679b3b618f2ff6a840b8dc165bec
2018-11-20 14:24:25 +01:00
Eduardo Gonzalez
a7dbc39240 Suppress log copy output in gates
Change-Id: I01e58d3548d6adc4a2d6f1088773df7941da3865
2018-11-20 11:14:24 +00:00
Zuul
7598edca5b Merge "Fix "Error: Connection activation failed: Failed to find a compatible device for this connection"" 2018-11-20 10:41:15 +00:00
Zuul
445e4f7640 Merge "Support custom monasca-notification templates" 2018-11-20 09:41:21 +00:00
Dat Le
5bbecaa3ed Fix "Error: Connection activation failed: Failed to find a compatible device for this connection"
Change-Id: I7887ff3317f9eac068fee117b493db10b0e97862
2018-11-20 15:00:17 +07:00
Doug Szumski
205df6949c Add missing steps to Vagrant instructions
Add a couple of missing steps to complete a Vagrant deployment. In
the case of the multi-node deployment we could go one step further
and ensure that the supplied inventory matches the default set of
nodes created by Vagrant.

Change-Id: Iee878e26989e92e4de06c071704a6794011b6e58
2018-11-19 18:23:15 +00:00
Zuul
52319dabfb Merge "Set ramdisk logs path for ironic inspector" 2018-11-19 12:23:47 +00:00
Zuul
d0bb2fdcba Merge "Don't allocate pseudo-TTY when creating containers" 2018-11-19 12:18:15 +00:00
Christian Berendt
03788e17d4 Set "no_log" for "databases user and setting permissions" tasks
At the moment the "databases user and setting permissions" task for
designate and nova leaks the database_password because of the use
of with_items:

---snip---
TASK [nova : Creating Nova databases user and setting permissions] *********************************************************
ok: [x -> y] => (item={u'database_password': u'password', u'database_name': u'nova', u'database_username': u'nova'})
ok: [x -> y] => (item={u'database_password': u'password', u'database_name': u'nova_cell0', u'database_username': u'nova'})
ok: [x -> y] => (item={u'database_password': u'password', u'database_name': u'nova_api', u'database_username': u'nova_api'})
---snap---

Change-Id: I141e4153223c8772c82a31d81e58057ce266c0b9
Co-authored-by: Bernd Müller <mueller@b1-systems.de>
2018-11-19 11:10:41 +00:00
Zuul
b5cf164cfb Merge "add monitoring of zookeeper" 2018-11-19 03:59:51 +00:00
jacky06
1f30414807 Update the openstack_release
Change-Id: Ia1b29ca85e8ddb4d9bc740888d92bb2378a44fbf
Closes-Bug: #1803874
2018-11-18 09:07:57 -05:00
zhulingjie
c645841958 update gather_facts to false for storm
add gather_facts to false to avoid duplicated

Change-Id: I633fc9042e7df24f5cdf3a62fd7ec619270469d5
Closes-Bug: #1806443
2018-11-17 14:42:38 -05:00
Zuul
5281e9e114 Merge "Use openstack command in CI" 2018-12-03 10:17:45 +00:00
Zuul
353e9213b3 Merge "Fix on setting enable_openvswitch" 2018-12-02 11:15:21 +00:00
Zuul
3f817d8adb Merge "Add note to external ceph docs for pools/keyrings" 2018-12-02 09:25:46 +00:00
Zuul
4be423badd Merge "Add jmespath to requirements.txt" 2018-12-02 09:25:44 +00:00
Zuul
cf45df2db0 Merge "Make the monasca support deploy separated" 2018-12-02 09:25:42 +00:00
Zuul
568fd4dcfd Merge "Use correct variable for default certificate paths" 2018-12-02 09:25:42 +00:00
Zuul
63eccc6372 Merge "Remove the deprecate the Glance Registry" 2018-12-01 07:08:36 +00:00
João Feteira
f8f9748120 Option neutron_plugin_agent: "opendaylight" added
Added the missing option neutron_plugin_agent: "opendaylight" added to
the opendaylight documentation page. Without it the deployment would
not use the neutron_plugin_agent but the default one: openvswitch .

Change-Id: I56a377e1faab9a50f36383ea59b45bf5a9155bcf
2018-11-30 14:38:42 +00:00
Zuul
f5429e42ff Merge "Apply Swift rolling upgrade" 2018-11-30 11:29:27 +00:00
Zuul
e85e84f353 Merge "Factor out OpenStack release detection playbook" 2018-11-30 11:00:12 +00:00
Paul Bourke
a47f701035 Add note to external ceph docs for pools/keyrings
When using external Ceph the operator must create pools for each service
and configure keyrings with appropriate permissions. The official Ceph
docs describe this in detail so let operators know this.

Change-Id: Ic3e52e1fbbf09ec09ac21b5b3067092b195812f1
2018-11-30 09:41:17 +00:00
Nicolas Haller
4812d4a7a1 Fix section trustee of sahara.conf
Tested on Rocky, /v3 needs to be added to the variable auth_url to have
the trust/trustee mechanism to work. All cluster creation would fail
otherwise.

Closes-Bug: #1805896
Change-Id: Ieedac124fa22e5a7ae622c16d47d482007bbec60
2018-11-29 15:08:49 -05:00
Mark Goddard
07d5351812 Use openstack command in CI
Switch the CI test script to use the openstack command rather than nova
etc.

Change-Id: Id1c6d35e1e50987d230adb7942da6a7ae5c0f050
2018-11-29 16:01:36 +00:00
Mark Goddard
fca91fe83e Factor out OpenStack release detection playbook
We copy-paste the same play into various playbooks to detect
openstack_release. This change factors that code into a separate
playbook that is imported.

Change-Id: I5fea005642b960080bf5e43455618dc24766c386
2018-11-29 15:49:41 +00:00
Zuul
4f21133ac4 Merge "Set region_id for karbor_client" 2018-11-29 11:08:07 +00:00
Zuul
08f8ce72d9 Merge "Fix section keystone_authtoken of sahara.conf" 2018-11-29 10:23:06 +00:00
Nicolas Haller
b439d48ab3 Fix section keystone_authtoken of sahara.conf
Tested on Rocky, it seems there is no admin_* variables and some others
are missing (username/password/...) causing keystone to return http code
400 responses.

Change-Id: If4a0919bfcd6b8d8a6bfd5df9001b4967e441e7e
Closes-Bug: #1805714
2018-11-28 17:04:39 -05:00
Gaëtan Trellu
22284676f6 Fix Karbor endpoints
From Karbor documentation, endpoints should be created with
"%(project_id)s" and not with "%(tenant_id)s".

This is very important because of this commit in Karbor which is
looking for a string "project_id".

Change-Id: I8fc640891d0d58541198cc8f2e942d8db6e8d02f
Closes-Bug: #1805705
2018-11-28 16:13:36 -05:00
Gaëtan Trellu
4bb5b33547 Set region_id for karbor_client
region_id has a default value hardcoded in Karbor code equal to
"RegionOne" which could be an issue if a different region is define.

Change-Id: Ia13496156515d0f871e8fa9bd3584940a32759e9
Closes-Bug: #1798125
2018-11-28 16:01:37 -05:00
Asharam Meena
33ee196118 Update the reference of External MariaDB
Closes-Bug: #1804850
Change-Id: Icb7edbac5df316af68972cafa448a261c26747b0
2018-11-28 15:49:42 +00:00
caoyuan
d6fe6fb7e5 Make the monasca support deploy separated
Change-Id: I9fbde5e26c76d8fc78b51e12e7cb7baf66f8602a
Closes-Bug: #1796366
2018-11-25 20:23:21 +08:00
caoyuan
03fd9715c5 Remove the deprecate the Glance Registry
A spec to Deprecate the Glance Registry Service[0] was accepted in Newton,
but it contained the ambiguous statement, "Mark the service as deprecated
and ready for removal in the Q release." kolla-ansible disable the
glance-registry in Q release[1], and since we are in S now,
remove glance-registry is safe.

[0]: http://specs.openstack.org/openstack/glance-specs/specs/newton/approved/glance/deprecate-registry.html
[1]: https://review.openstack.org/#/c/566804/

Change-Id: I48f794029e97aa6f76bbd500e33f28f51a3f2ac4
2018-11-21 20:51:51 +08:00
Mark Goddard
d0122fff69 Add jmespath to requirements.txt
jmespath is required for the json_query Jinja filter, which is used in
the neutron rolling upgrade playbooks.

Change-Id: I2100d757e07d8400402a8a16747e0f88ef7fc7c5
Closes-Bug: #1804242
2018-11-20 14:22:37 +00:00
caoyuan
9223deeecd Use correct variable for default certificate paths
The variable {{ node_config_directory }} is used for the configuration
directory on the remote hosts, and should not be used for paths on the
deploy host (localhost).

This changes the default value of the TLS certificate and CA file to
reference {{ CONFIG_DIR }}, in line with the directory used for
admin-openrc.sh (as of I0709482ead4b7a67e82796e17f85bde151e71bc0).

This change also introduces a variable, {{ node_config }}, that
references {{ CONFIG_DIR | default('/etc/kolla') }}, to remove
duplication.

Change-Id: Ibd82ac78630ebfff5824c329d7399e1e900c0ee0
Closes-Bug: #1804025
2018-11-19 16:25:28 +00:00
Zuul
8f3a5fdc41 Merge "Replacing the HTTP protocal with HTTPS" 2018-11-16 10:02:39 +00:00
zhouxinyong
a3da494883 Replacing the HTTP protocal with HTTPS
Change-Id: Ib0ef21f23a8b54d43278454bbd6ed6bde419c5f0
2018-11-15 13:09:23 +00:00