7049 Commits

Author SHA1 Message Date
Jenkins
62c5ba1e94 Merge "Remove the variable redefined in deploy-servers.yml" 2017-04-13 15:39:25 +00:00
Bertrand Lallau
3170b6c2a7 Fix 'node_config_directory' variable bad usage
Some roles made a bad usage of the 'node_config_directory' variable.

As described here:
https://github.com/openstack/kolla-ansible/blob/master/ansible/group_vars/all.yml#L16

'node_config_directory' is the directory to store the config files on
the destination node.

This variable MUST be changed to 'node_custom_config'.
Futhermore this will unified all roles.

Closes-Bug: #1682445
Change-Id: Id8d8a1268c79befac8938c1e0396267314b40301
2017-04-13 17:15:24 +02:00
Jenkins
f9e7e8e893 Merge "Split Openvswitch into own role" 2017-04-13 14:39:16 +00:00
Bertrand Lallau
a6a76a7b74 Fix Freezer service config override issue
Freezer service configuration can't be override has describe here:
https://github.com/openstack/kolla-ansible/blob/master/doc/advanced-configuration.rst#L161

Kolla-ansible should look for files in /etc/kolla/config/ but it doesn't
take config files into account. This patch fix it.

Change-Id: Ia7d8d0892d13ba9785951a7b1291abb868fc714b
Closes-Bug: #1682404
2017-04-13 14:00:21 +02:00
Bertrand Lallau
3ecfd4e7d0 Magnum: add oslo_messaging_notifications config
Magnum can send RPC notifications to Ceilometer as define here:
https://github.com/openstack/ceilometer/blob/master/ceilometer/pipeline/data/event_definitions.yaml#L554

oslo_messaging_notifications section MUST be managed in magnum.conf file.

Change-Id: I6cafa6666bcb1fc15bf08ef049f0044e788eb98b
Closes-Bug: #1677655
2017-04-12 20:19:48 +00:00
Jenkins
d559f8096f Merge "Add gnocchi backend precheckes for ceilometer" 2017-04-12 12:24:13 +00:00
Jenkins
06040e5443 Merge "Congress: remove oslo_messaging_notifications config" 2017-04-12 12:22:00 +00:00
Jenkins
30ca34bc1a Merge "Fix outdated InfluxDB configuration" 2017-04-12 12:18:09 +00:00
Jenkins
ba81fc8b5e Merge "Revert "Fix Fluentd warn on dnsmasq.log file parsing"" 2017-04-12 12:15:55 +00:00
Jenkins
3fabf08a2e Merge "Nova_backend_ceph variable mobile location." 2017-04-12 09:52:27 +00:00
Jenkins
682ed1c9da Merge "Temporaly fix deploy gate" 2017-04-12 09:31:30 +00:00
Jenkins
6139a3ca7a Merge "Fix Multi-regions nova support boot from volume" 2017-04-12 09:07:24 +00:00
zhuzeyu
a308a2c409 Remove the variable redefined in deploy-servers.yml
The 'ansible_python_interpreter' has already defined in /etc/bifrost/bifrost.yml
we should remove the redundant variable

Change-Id: Ie799170d3318a731d31e1f39bcf940a1b220bd53
2017-04-12 15:53:36 +08:00
Jenkins
4545fcb420 Merge "fix typo" 2017-04-12 07:42:35 +00:00
Jenkins
3371152960 Merge "Unmount Ceph OSD disks as part of destroy" 2017-04-12 07:11:08 +00:00
shaofeng_cheng
7a5a8cbe92 Nova_backend_ceph variable mobile location.
Nova_backend_ceph variable move to Enabling External Ceph group in
external-ceph-guide file.

Change-Id: I1cd3deb184a75868070b3e4ab6d91fba12d6ab9b
2017-04-12 14:39:35 +08:00
zhubingbing
11d26e6c2c
Fix Multi-regions nova support boot from volume
Change-Id: I6c725efd9d08a079ced2abca5be188b6ceac55c2
Closes-bug: #1682000
2017-04-12 12:29:26 +08:00
Marcus G K Williams
9badc4de21 Split Openvswitch into own role
Creates Openvswitch role and splits
openvswitch from Neutron role to enable
third party networking solutions that use
Openvswitch or customize Openvswitch.
For example Openvswitch with dpdk or
OpenDaylight.

Change-Id: I5a41c42c5ec0a5e6999b2570ddac0f5efc3102ee
Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com>
Partially-Implements: blueprint opendaylight-support
2017-04-11 16:15:35 -07:00
Eduardo Gonzalez
de4747afae Temporaly fix deploy gate
Nova service-list is returning empty registered service
when in database they are. Because of this, simple_cell_setup
is not executed and deploy stucks waiting for nova-compute.

This change temporaly checks the database for existing nova services
instead of openstack compute service list.

This change will need to be reverted once the command is fixed.

Change-Id: Ic508eb3ff03b5f233186353fc7697305cc792d14
2017-04-11 18:10:06 +01:00
Jenkins
f1759c3a1c Merge "Detect openstack_release variable in mariadb recovery playbooks" 2017-04-11 16:18:29 +00:00
Jenkins
7aec66069e Merge "Remove dead code from cleanup-host.sh script" 2017-04-11 15:17:03 +00:00
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
Bertrand Lallau
a7ad449a57 Remove kolla_logs_volume unused variable
It should be removed during Heka cleanup made in the following review:
https://review.openstack.org/#/c/384122/

Change-Id: I4cb808e4f607f582bd143ca9c6e355ec44d1b961
2017-04-11 11:16:55 +02: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
Bertrand Lallau
9d98f80503 Fix Heat Kolla demo in contrib
Heat demo script actually use deprecated Openstack Heat client.
* script has been updated to use Openstack client.
* small log refactoring

Change-Id: I857bc1342e3b26c2bf299642ca5483b4ce78e303
2017-04-07 14:29:55 +02: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
77bed6f5ab
Remove un-used Keystone test path
This patch removes very old and unused Keystone test path, we do
this indirectly by our simple sanity tests (and hopefully) by using
Tempest.

Change-Id: I55916d08942df97990515c76914b799d1f327565
2017-04-06 16:38:59 -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
wangwei
6f825382ca Add sudo command for non-root account to mount osd
Generally we specify the user is root when deploying ceph, it is no
problem. But if we have the need to use a non-root account, the deployment
will fail because the non-root account can't use the mount command.
I think it is necessary to add sudo for non-root account, when we can't use
the root account to deploy ceph because of security needs, we can use
non-root account to deploy ceph.

Change-Id: Iea1f30bcf8edbe15dc65909bbae780b55a669067
Closes-Bug: #1668823
2017-04-05 22:12:20 -04:00
caoyuan
6bc3799d27 Update the references link for some project
The references link should be docs rather than code

Change-Id: I33df6f3426230a471f8d506c369c26737f5d6dd3
2017-04-06 02:01:31 +00:00