7021 Commits

Author SHA1 Message Date
Jenkins
ac5927cf3e Merge "Use utf8_general_ci collation as a default collation" 2017-04-11 14:55:42 +00:00
Bertrand Lallau
1077da7262 Remove dead code from cleanup-host.sh script
sourcing validate-docker-execute.sh script is not needed anymore and
should be removed.

Change-Id: Ie40ddcd36e71337d94f49467bfb0f8aae50353f7
2017-04-11 16:51:10 +02:00
Paul Bourke
e27165edc5 Unmount Ceph OSD disks as part of destroy
This seems to have got lost during repo split. Adding it back in now.

Change-Id: Ic0b0f5efb12eab58e7872b30611a39640dc44cc2
Closes-Bug: #1629224
(cherry picked from commit e1a2f99014a1aeb3697e8ec3c999cdc12380376b)
2017-04-11 13:45:08 +00:00
youri jeong
f8322dffd3 fix typo
fix typo for specs/kubernetes-deployment.rst, tools/ovs-dpdkctl.sh, tools/setup_gate.sh

'managment' -> 'management'
'seperated' -> 'separated'
'occuring' -> 'occurring'
'discribed' -> 'described'
'recomended' -> 'recommended'
'thier' -> 'their'

Change-Id: Ie59c600698c965cebd9a541b951d704eda9301cb
2017-04-11 12:08:19 +00:00
Eduardo Gonzalez
39627f0456 Fix panko mongo idempotency
Panko fails to create users in mongo when deploy
is executed more than once.

Change-Id: I89d164220e874f7cffe0f2c70797c61a147bcafb
Closes-Bug: #1681747
2017-04-11 10:50:47 +01:00
Jenkins
9a2df7e5a5 Merge "Revert "Remove useless variable glance_backend_file"" 2017-04-11 07:46:30 +00:00
Jeffrey Zhang
f9899fbfc1 Detect openstack_release variable in mariadb recovery playbooks
Change-Id: Icb9b097299011cc09f3012bbee9629a5457c920c
Closes-Bug: #1681316
2017-04-11 07:38:25 +00:00
Bertrand Lallau
0a95528da8 Remove all Ubuntu 14.04 related documentation
Last Openstack version supported on Ubuntu 14.04 is Mitaka. Hence Ubuntu
14.04 related documentation can be remove since Kolla Newton release.

Change-Id: Ibedd9dea659fc787660e44909573a59339b870c3
2017-04-10 16:30:08 +00:00
Jenkins
766ae5fcb6 Merge "Fix documentation for kolla_docker image pulling" 2017-04-10 09:13:01 +00:00
Dai Dang Van
74a26a91e5 Use utf8_general_ci collation as a default collation
Now, I see mariadb are using utf8_general_ci as a default collation.
- https://mariadb.com/kb/en/mariadb/supported-character-sets-and-collations/

This mean all of Devstack database will be created with utf8_general_ci collation,
so may be, one service/project can be deployed successfully via Devstack
but will be fail with Kolla deployment.

Therefore, we should use above default collation for Kolla-ansible.

Change-Id: Icbb6c15f536fc6986816c58f4fd68bfb95813e46
Closes-Bug: 1680783
2017-04-10 15:38:16 +07:00
Jenkins
8759e3b99b Merge "Configure coordination_url for cloudkitty processor" 2017-04-10 07:58:13 +00:00
Jeffrey Zhang
0e38fc2852 Configure coordination_url for cloudkitty processor
Cloudkitty processor use tooz to handle multi processor processes.
Otherwise, duplicated billing will be inserted into mysql.

Change-Id: Ifdc1be78afa89499ee4c3bbec5b9db8ddb2929cf
Closes-Bug: #1681160
2017-04-09 09:34:23 +08:00
Bertrand Lallau
73cb6dc454 Remove neutron_metadata_socket volume from agents
Metadata Proxy UNIX domain socket is only used by neutron-l3-agent,
neutron-dhcp-agent and neutron-metadata-agent. Hence it must be removed
from neutron-bgp-agent, neutron-vpn-agent and neutron-lbaas-agent.

See comment here:
https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/neutron/templates/neutron.conf.j2#L22

Change-Id: Ie493194a5dcd5979eb29382ecbd0c8db1b9e286d
2017-04-07 20:19:21 +00:00
Jenkins
5869030d7f Merge "Karbor services restarting issue on conf update" 2017-04-07 08:44:19 +00:00
Jenkins
8959e15a9e Merge "Trove services restarting issue on conf update" 2017-04-07 08:41:17 +00:00
Mohammed Naser
034a0f5869
Remove graphiz from test-requirements.txt
With the split of kolla and kolla-ansible, it seems that this
dependency was carried over as it is used when generating
graphs for build sequences.

This patch removes it as the build process is not part of this
project anymore.

Change-Id: I7fd59fe703c2f06c003c8acda15f2a06d3fd7f3f
2017-04-06 16:55:44 -04:00
Mohammed Naser
85b9da4577
Remove python-swiftclient from test-requirements.txt
It seems that it was added back in Liberty where an effort was
started to setup functional tests, however it is not used at the
moment.

This patch removes it from the list of dependencies.  With time,
Tempest should handle all integration checks.

Change-Id: I9e1990e93abc6e3001f499ccc8d40b6104ed2d93
2017-04-06 16:53:20 -04:00
Mohammed Naser
d6bd9e6b3c
Remove python-heatclient from test-requirements.txt
It seems that it was added back in Liberty where an effort was
started to setup functional tests, however it is not used at the
moment.

This patch removes it from the list of dependencies.  With time,
Tempest should handle all integration checks.

Change-Id: Ieb3a000eda58dcb642cbd099273c91ad355bfb85
2017-04-06 16:50:49 -04:00
Mohammed Naser
c014d69b9b
Remove python-barbicanclient from test-requirements.txt
It seems that it was added back in Liberty where an effort was
started to setup functional tests, however it is not used at the
moment.

This patch removes it from the list of dependencies.  With time,
Tempest should handle all integration checks.

Change-Id: I9dddd470db9dc42a6fa7dbe138c0c6189d8afdd7
2017-04-06 16:48:10 -04:00
Mohammed Naser
27d675ea13
Switch kolla_docker to rely on SHA256 for image changes
At the moment, the process to determine if an image has
changed or not relies on the Docker API which depending
on the Docker release server can return different results.

This patch addresses this issue by grabbing the SHA256
of the image before pulling (defaulting to None if it does
not exist) and then comparing it after the pull is complete
which should always be successful at determining if the
image did change or not.

The test for unknown status images is removed because this
is not a possible scenario as we do not rely on status
anymore except for failures (which are still tested).

Change-Id: Ia60a7f34420b02f50597dddb96a4c36ff3996612
Closes-Bug: #1668059
2017-04-06 16:34:01 -04:00
Mohammed Naser
108613507c
Fix documentation for kolla_docker image pulling
The example to pull images is incorrect, this patch
addresses it and corrects it accordingly.

Change-Id: Ice79e7f73d99c024781cb379d190f6d05e1a34a9
2017-04-06 13:40:22 -04:00
Paul Bourke (pbourke)
93ff74e4d3 Revert "Remove useless variable glance_backend_file"
Turns out this variable is not so useless...! In
I2c167bae6f34a102cd7fe66401d7defe13bf2bf7 we need to determine if a file
based backend is in use in order to determine how many api servers to
start. Without this variable these kind of checks would all need to be
updated every time a new shared storage backend is added.

This reverts commit 867c3bda391626e3d4d6d4d6e803f08621b8f579.

Change-Id: I335acc12b68b577b33d6cb28675225c40e6231cd
2017-04-06 15:36:10 +01:00
Paul Bourke
8006ecdacf Update keystone sanity check to use built in shade
The current module 'kolla_sanity' was written as a shim before full
shade support was added to Ansible. This should now no longer be needed,
we can implement the checks using Ansible provided modules.

Begin by updating the Keystone check to use 'os_auth' to fetch a token,
I think this is a good basic smoke test to verify Keystone is working.

Change-Id: I16049d9201fd8138c781ef2e1e0c1827ea817259
Partially-implements: blueprint sanity-check-container
2017-04-06 11:50:38 +00:00
Jenkins
a2551c2846 Merge "Modify the hosts of the post-deploy.yml playbook" 2017-04-06 09:25:36 +00:00
Bertrand Lallau
3ec2a23428 Revert "Fix Fluentd warn on dnsmasq.log file parsing"
Issue seems not fixed, it requires more work

This reverts commit 4f6470bb56e70cb65da7b9b9c044029eefb2533c.

Change-Id: I308ea4e0d5ace60cf730944e1883966fc6f8f8ce
2017-04-05 19:08:58 +00:00
Jenkins
6d6d7b37fa Merge "Change heat cfn service description" 2017-04-05 15:46:58 +00:00
Eduardo Gonzalez
5ed07f9ffe Add release note for versionless keystone endpoint
Include an upgrade release note to make users know
that endpoint are going to be updated while upgrading
to Pike.

Change-Id: Iaa2bfce27e9d9cdbb574121147fc761810d7dd71
2017-04-05 12:53:36 +00:00
Jenkins
afed70a3df Merge "Remove Ubuntu 14.04 related code" 2017-04-05 12:26:29 +00:00
Jenkins
a97503c315 Merge "Remove min_l3_agents_per_router option" 2017-04-05 11:52:08 +00:00
Jenkins
ed0f2fc819 Merge "Fix Telegraf retention policy not found" 2017-04-05 11:32:25 +00:00
Jenkins
fe713dba33 Merge "Telegraf: activate influxdb input plugin" 2017-04-05 11:21:29 +00:00
Jenkins
7eacf5da96 Merge "Fix the "tox -e docs" failed" 2017-04-05 11:20:57 +00:00
Jenkins
78bf582329 Merge "Fix qos rules are not applied on ocata with ovs" 2017-04-05 11:20:04 +00:00
Bertrand Lallau
bfecaf3857 Telegraf: activate influxdb input plugin
The InfluxDB plugin will collect metrics on the given InfluxDB servers.

Change-Id: I23f0433f56047369ce19bbf3236f6dd7038eb06e
2017-04-05 08:32:53 +02:00
Jenkins
7c7ead154d Merge "Use versionless keystone endpoints" 2017-04-05 04:51:33 +00:00
Jenkins
dd9e1e5a28 Merge "Fix Fluentd warn on dnsmasq.log file parsing" 2017-04-04 20:40:02 +00:00
Eduardo Gonzalez
1ab0c16ba3 Fix senlin workers and events
Remove deprecation warning about service_token_roles_required
Set number of engine workers to avoid too many resources consuming.
Senlin can poll events from ceilometer when is enabled.

Closes-Bug: #1679697
Change-Id: I8b13d1f492344ca0b65020eb56f0e016c6bb6369
2017-04-04 13:34:21 +00:00
Pavel Glushchak
98f3283dc9 Remove unused driver attr in cinder_backends map
Change-Id: Ib684e3f4bcd26e40c5bfde9bec8a1d83563d5460
Signed-off-by: Pavel Glushchak <pglushchak@virtuozzo.com>
2017-04-04 14:09:24 +03:00
Bertrand Lallau
a914fb6671 Fix Telegraf retention policy not found
New version of influxdb use "autogen" as default retention policy name.
Please see https://github.com/influxdata/influxdb/issues/3733 for more
info.

Change-Id: I8aeb47f60b3aeb022e0cd7aaac630d7cad5b0099
Closes-Bug: #1673914
2017-04-04 10:22:05 +02:00
Jenkins
57fb2e735c Merge "Fix ceph log location" 2017-04-04 06:05:58 +00:00
Jenkins
f2db4c0f17 Merge "Fix the check.yml of Zun does not exist" 2017-04-04 01:18:42 +00:00
Bertrand Lallau
d9ce5cf6c0 Fix outdated InfluxDB configuration
Actual InfluxDB config is deprecated, it must be updated based on the
following documentation:
https://docs.influxdata.com/influxdb/v1.2/administration/config

* remove following options:
  lease-duration = "1m0s"
  pprof-enabled = false
22173acb70

* rename "cluster" section to "coordination":
75e89e35d8

* remove shard-writer-timeout option:
  shard-writer-timeout = "5s"
db7d58c867

Closes-Bug: #1678982
Change-Id: Id905336123bc5aa76d6e6903a82f915c3702669f
2017-04-03 17:13:11 +02:00
Bertrand Lallau
5782a214e9 Karbor services restarting issue on conf update
In case of karbor-protection providers.d/openstack-infra.conf config file modification,
karbor-operationengine and karbor-api are restarted too, but they should
not.

karbor-operationengine startup command:
https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/karbor/templates/karbor-operationengine.json.j2#L2

karbor-api startup command:
https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/karbor/templates/karbor-api.json.j2#L2

Change-Id: I91a0273ccf46e340315cf885ea01db6e14653182
Closes-Bug: #1677542
2017-04-03 12:45:28 +02:00
caoyuan
ff46e0908f Update the cirros version to "0.3.5"
Refer to
https://docs.openstack.org/ocata/install-guide-rdo/glance-verify.html

Change-Id: Ic2a32a3f17a11f1f6e8ecf0f7271d7d1f12ca5bc
2017-04-03 16:04:12 +08:00
caoyuan
b9378126e9 Fix the "tox -e docs" failed
doc/running-tests.rst:64: D001 Line too long
doc/bifrost.rst:164: D000 Unknown target name: "edit-inventory".
doc/nova-fake-driver.rst:: WARNING: document isn't included in any
toctree

Change-Id: I83bb44ed10cb464f87e5235a423a475151ace208
2017-04-03 15:53:28 +08:00
Jenkins
1295f583a1 Merge "Use yaml.safe_dump() instead of yaml.dump()" 2017-04-03 03:53:29 +00:00
Bertrand Lallau
4f6470bb56 Fix Fluentd warn on dnsmasq.log file parsing
Fluentd actually parse all files in /var/log/kolla/*/*.log as Openstack
services files.
Dnsmasq file /var/log/kolla/neutron/dnsmasq.log, must be add to
exclude_path to avoid this warning message:
"/var/log/kolla/neutron/dnsmasq.log unreadable. It is excluded and would
be examined next time."

Change-Id: I8dc5320b9ed299200c4f1e6ee52d34a918e2f110
Closes-Bug: #1678530
2017-04-02 08:59:21 +02:00
shaofeng_cheng
fbb0dedb10 Fix qos rules are not applied on ocata with ovs
If the Open vSwitch agent is being used, set extensions to qos
in the [agent] section of ml2_conf.ini.
see
https://docs.openstack.org/ocata/networking-guide/config-qos.html

Change-Id: I85272b03222775b14a311a110077a8eed736f56c
Closes-Bug: #1676319
2017-04-01 14:33:54 +08:00
Eduardo Gonzalez
4c27bd0d41 Fix Haproxy reconfigure
HAproxy always restart containers when doing reconfigure.
compare_container not evaluate privileged while the containers
are privileged.
compare_container always evaluates true because of this.

Closes-Bug: #1678122
Change-Id: Iaea80c1e09ef16a6d2530a75e6f37e6259bb4ca7
2017-03-31 12:48:28 +00:00
Bertrand Lallau
b257b2a676 Trove services restarting issue on conf update
In case of trove-api service config file modification (trove.conf file),
trove-conductor and trove-taskmanager are restarted too, but they should
not.

trove-conductor startup command:
https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/trove/templates/trove-conductor.json.j2#L2
=> trove.conf is not used

trove-taskmanager startup command:
https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/trove/templates/trove-taskmanager.json.j2#L2
=> trove.conf is not used

Change-Id: Ic4703a571cec5bf8b3f91cfcb9da1a23e2bb300b
Closes-Bug: #1677531
2017-03-31 12:56:00 +02:00