7049 Commits

Author SHA1 Message Date
Jenkins
d690f7b31f Merge "Add cpu_mode in quickstart guide" 2017-03-14 15:54:01 +00:00
Paul Bourke
b03906dd8b Enable horizon_backend_database if murano is enabled
Change-Id: I0eed4024b4ca86e458d92bd9703fb4a02feee947
Closes-Bug: #1666618
2017-03-14 14:19:40 +00:00
Jenkins
40d0e39d0f Merge "init-runonce - set image distro to "linux"" 2017-03-14 11:40:05 +00:00
OpenStack Proposal Bot
d5017bda22 Updated from global requirements
Change-Id: I79a1a89ce4e1aee56d076bd796cce29517ebf3d8
2017-03-14 11:20:00 +00:00
Bertrand Lallau
811266b5c5 Sahara: add oslo_messaging_notifications config
Sahara can send RPC notifications to Ceilometer as define here:
https://github.com/openstack/ceilometer/blob/master/ceilometer/pipeline/data/event_definitions.yaml#L147

oslo_messaging_notifications section MUST be managed in sahara.conf
file.

Change-Id: Ifdb5c1454a4940d4c1d8b521eb6c91529af142f3
2017-03-14 11:21:00 +01:00
Bertrand Lallau
6a8b3ede43 Trove: add oslo_messaging_notifications config
Trove can send RPC notifications to Ceilometer as define here:
https://github.com/openstack/ceilometer/blob/master/ceilometer/pipeline/data/event_definitions.yaml#L444

oslo_messaging_notifications section MUST be managed in conf files.

Change-Id: I063b9807686e9b4ca6f7e7bfa6a444191378e513
2017-03-14 11:18:28 +01:00
Nathan Harper
586e81f39e Nova external-ceph.yml writes keyname into libvirt.base64
Closes-Bug: #1671862
Change-Id: I6b77773238cd65a3cc009d8d9a38bdbea0035212
2017-03-14 08:53:28 +00:00
caoyuan
1435cb5c64 Add gnocchi backend precheckes for ceilometer
when set ceilometer_database_type or ceilometer_event_type
set to 'gnocchi', but gnocchi is not enabled, prechecks action
can not find it out.

Closes-Bug: #1672626

Change-Id: Iadd1c66279fed012fb7c1cfb1f98857c36bbc75f
2017-03-14 07:39:35 +00:00
zhouyunfeng
ea6fe284cf formate hyperlink of Fluentd in README.rst.
correspondence with other hyperlinks.

Change-Id: Ifaeb2c834577c3583d7f7368039073abccdbbef9
2017-03-14 05:52:05 +00:00
Dave Walker (Daviey)
11f9ba6547 init-runonce - set image distro to "linux"
Currently we omit the os_distro property when uploading the
cirros image to glance.  Nova assumes it to need vfat disk
incase the image is Windows.

This change sets the property to "linux" causing ext4 to be
used instead.

TrivialFix

Change-Id: I3fdb71f5be7702a2dc223946fae82131c6c46154
Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
2017-03-14 01:20:49 +00:00
Bertrand Lallau
1c5e6a5980 Designate: manage Api and Central services workers
Api and Central Designate services are not configured and will be set to
4 (default value). In an "all-in-one" config it's very helpful to
minimize used resources by setting openstack_service_workers to 1.

Change-Id: Iafa460859e4b6004ae202bb878da77add08d7a5f
Closes-Bug: #1672413
2017-03-13 17:31:37 +01:00
Eduardo Gonzalez
fbfbbed4ca Add cpu_mode in quickstart guide
With libvirt 2.0, when using qemu cpu mode is not properly
evaluated and need to be set to cpu_mode = none.

Add this option when kvm is not supported, otherwise user
will still facing errors when launching instances over qemu.

Change-Id: Ic970e3de74817ce4e17bb4e15d130e1e82d595cc
2017-03-13 15:49:35 +00:00
Dave Walker (Daviey)
936722f01c Remove heka_socket vol and unwedge some containers
The presence of heka_socket:/var/lib/kolla/heka with
containers that log to /dev/log, such as nova-ssh cause a
wedge on starting as /var/lib/kolla/heka/log is never
created due to the removal of heka.

This means that ssh data, such as config and keys are never
sync'd and sshd is never started.

Change-Id: Ia561526e6caf82eebd18c6e31cbeb1738b9ff602
Closes-Bug: #1672207
Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
2017-03-13 09:29:23 +00:00
Jeffrey Zhang
411fdb90d1 Mount /lib/modules folder in ironic-conductor container
/lib/modules is required for load kernel module. ironic-conductor
will load iscsi_tcp kernel module during starting.

Change-Id: Id953638f68e0fa1c268f173e3dd9b3390598bd93
Closes-Bug: #1672245
Depends-On: I1dd7d1a8cd67bbdfc1262b39aa96997c12681900
2017-03-13 12:21:19 +08:00
caoyuan
59228789f4 Remove the deprecated option for cinder.conf
Option "enable_v1_api" from group "DEFAULT" is deprecated.
This patch remove it.

Change-Id: I234e5f417ca310b60ca5e4990223f9d13f583894
2017-03-12 18:46:12 +08:00
Jeffrey Zhang
d038f7f750 Access glance through vip rather than multi glance ips in ironic
* Ironic do not support multi glance ips.
* Write the nova-compute-ironic binary log to nova-compute-ironic.log
file

Change-Id: I87359c47a5845c4d7a6ab9daaefcc94a51c92eb0
Closes-Bug: #1671989
2017-03-12 15:18:21 +08:00
Bertrand Lallau
77bc3b4cd0 Solum: remove oslo_messaging_notifications config
Solum doesn't use notification

Change-Id: I0f82d0259e1adc7b89558f9bb8864eaa731dd863
2017-03-10 17:57:44 +01:00
Bertrand Lallau
b2a9f35f5a Congress: remove oslo_messaging_notifications config
Congress doesn't use notification

Change-Id: I4447c734d7ceade809ba138f4bda4ffe55ee813a
2017-03-10 17:56:19 +01:00
Bertrand Lallau
25597fe47d Freezer: remove oslo_messaging_notifications config
Freezer doesn't use notification

Change-Id: If28e6940310096221c0f645995e96f7d34dd4f3e
2017-03-10 17:53:34 +01:00
caoyuan
1b59a5acd8 Fix the "tox -e docs" command failed
- cinder-guide.rst:34: D001 Line too long
- swift-guide.rst:16: D001 Line too long

Change-Id: I32e7aeeaee98b8859f257bf173d24295fbe4dd6b
2017-03-11 00:44:41 +08:00
Jeffrey Zhang
30546d2d52 Revert "Fixes problem with kolla-kubernetes 3.0.2 images"
This reverts commit 6cb4507267e0a368a69c0ba1d02a6e16301ddf43.

Change-Id: I33a0b8ba4ca69e5e34edb11248fb614a5a913f65
2017-03-10 23:24:40 +08:00
Bertrand Lallau
cb1d214d3e Fix heat-engine and heat-api-cfn workers configuration
Change-Id: I5c04712b1ae9ebe36b5c57eed05c34fec09f1fd8
Closes-Bug: #1671784
2017-03-10 15:49:28 +01:00
Jenkins
c0df4ab8b6 Merge "Set mistral-server workers using openstack_service_workers" 2017-03-10 14:36:38 +00:00
rcherrueau
dcdbe44190
Multi-regions Support
Add support for basic multiple regions, that is to say, many OpenStack
with a shared Keystone (same users) and Horizon. The shared Keystone
and Horizon are deployed into one region, for instance RegionOne.
Services of other regions have an access to this Keystone. This
support assumes that the operator knows the name of all OpenStack
regions in advance, and considers as many Kolla runs as there are
regions.

The new variable, multiple_regions_names, contains the name of
regions. It is needed by the region that includes Keystone and
Horizon. In register.yml, it specifies to create as many Keystone
endpoints as there are regiones, so that services of other regions can
connect to Keystone. In local_settings.j2, it changes the render to
support multiple regions in Horizon. The multi-regions.rst explains
how to perform a multiple regions deployment.

Implements: blueprint multi-kolla-config
Change-Id: Icab2aebfc4de0e3bc609950956e0af397705f403
2017-03-10 14:24:42 +01:00
Bertrand Lallau
3aba2ff3a6 Set tacker-server api_workers using openstack_service_workers
Closes-Bug: #1671806
Change-Id: I13145c495b865a16a2eccbaf778c37a82882a7a8
2017-03-10 13:26:04 +01:00
Bertrand Lallau
45f331a524 Set karbor-api workers using openstack_service_workers
Change-Id: I76f86e22908f757d19a9e5cdeee7e7913ac51616
Closes-Bug: #1671779
2017-03-10 11:42:31 +01:00
Bertrand Lallau
4c8accaf69 Set magnum-api workers using openstack_service_workers
Change-Id: I8df89250d8430cf5abe3d0bd6387a3966591e435
Closes-Bug: #1671777
2017-03-10 11:33:23 +01:00
Bertrand Lallau
48093ee5df Set mistral-server workers using openstack_service_workers
Change-Id: Ic5511cb4551a92f1ef7d2d830678d9629b0f0f1f
Closes-Bug: #1671759
2017-03-10 10:46:10 +01:00
Eduardo Gonzalez
55beaca4a4 Fix vpnaas custom config dir
node_custom_config is /etc/kolla/config
not need add config after.

Change-Id: Iac9747a705185e87b5e7d62856a9ada99f589078
Closes-Bug: #1671758
2017-03-10 09:29:14 +00:00
Bertrand Lallau
7b1bac50f1 Set senlin-api workers using openstack_service_workers
Closes-Bug: #1671741
Change-Id: I05ab2fa4aec5fe492382a20b93242f6d2f80e98d
2017-03-10 09:52:01 +01:00
Bertrand Lallau
a290e83d63 Set searchlight-api workers using openstack_service_workers
Change-Id: I8b9c8b374fa35f97876f27f1a50a3b188ce9dae0
Closes-Bug: #1671739
2017-03-10 09:32:30 +01:00
Jenkins
0160521337 Merge "Fix typo in nova external ceph" 2017-03-10 02:09:58 +00:00
Jenkins
5ce03840d1 Merge "Remove cell setup and db creation nova upgrade" 2017-03-09 17:45:36 +00:00
Jenkins
60379615f3 Merge "Fix the incompatible of docker-py 2.0.0" 2017-03-09 17:34:43 +00:00
Jenkins
4fde3b10b3 Merge "Enable run nova-compute-ironic with nova-compute on the same node" 2017-03-09 17:33:43 +00:00
Jenkins
9d0daa015a Merge "Enable sanity checks from kolla-ansible" 2017-03-09 17:31:51 +00:00
Eduardo Gonzalez
07a8c47f33 Fix typo in nova external ceph
Nova external ceph task have a type which break deployment.
State module not present, the module used should be stat.

Change-Id: Ie8a0b30f44fc35a597334383a85353d324e765cd
Closes-Bug: #1671526
2017-03-09 16:54:30 +00:00
Jenkins
8749ca2dd1 Merge "Updated from global requirements" 2017-03-09 16:18:13 +00:00
Jenkins
1bd7d391c3 Merge "Set empty openstack_release option" 2017-03-09 16:15:18 +00:00
Jenkins
bf12ad23a7 Merge "ironic_pxe bootstrap should run on all hosts" 2017-03-09 14:25:28 +00:00
Paul Bourke
5418ada148 Enable sanity checks from kolla-ansible
Add a new subcommand 'check' to kolla-ansible, used to run the
smoke/sanity checks.

Add stub files to all services that don't currently have checks.

Change-Id: I9f661c5fc51fd5b9b266f23f6c524884613dee48
Partially-implements: blueprint sanity-check-container
2017-03-09 10:37:06 +00:00
zhuzeyu
473a5e0ca7 Modify the hosts of the post-deploy.yml playbook
The admin-openrc.sh should copy to where the python-openstackclient was installed.
whatever multinode and all-in-one, the place where python-openstackclient was
installed is localhost, So admin-openrc.sh should copy to localhost.
The purpose of "connection: local" in ansible playbook is that make sure this script
can copy to localhost.In all-in-one, Writting as this is ok, it will copy to localhost,
but in multinode, this will make a bug, add ansible_connection=ssh in inventory file
the admin-openrc.sh will not copy to the localhost,the "connection:local" in post-deploy.yml
will be covered by "ansible_connection=ssh" in inventory file, then the script will be copied
to target node. So we should modify the hosts to localhost to avoid this bug.

Change-Id: I054717cc2b4adc600808282034a10a58c1184a38
Closes-Bug: #1666808
2017-03-09 11:14:35 +08:00
OpenStack Proposal Bot
3172a2ccf5 Updated from global requirements
Change-Id: I275f2ec2ad608c2d71fefd330a4585c15d5265b3
2017-03-08 23:24:28 +00:00
Eduardo Gonzalez
34b3bcf89d Set empty openstack_release option
globals.yml have the highest var precedence in Ansible vars
as is added in kolla-ansible as -e @globals.yml
Setting openstack_release: "auto" causes error while
deploying/pulling as this var override the fact set in site.yml.

Value in globals.yml should be a real kolla version
(3.0.0, 4.0.0, etc)
Value in group_vars/all works fine with auto.

Change-Id: If99f7b4b1507909c6c2628b6d6fc6ce2519c9a24
Closes-Bug: #1671143
2017-03-08 18:58:35 +00:00
Eduardo Gonzalez
58195bd264 Remove cell setup and db creation nova upgrade
cell0 is already setup in Ocata, when upgrading to Pike
is not anymore necessary to create.
All nova DBs (nova_api, nova and nova_cell0) are already
created in Ocata too. Only bootstrap_service is needed
while upgrading.

Change-Id: Idc4941334faf91feee868472155a8c8ea0eba436
2017-03-08 18:53:55 +00:00
Jenkins
d860cefd51 Merge "Disable running playbooks in serial by default" 2017-03-08 16:51:13 +00:00
Jenkins
67a0c52a2d Merge "Fix Ceilometer cannot create MySQL database" 2017-03-08 15:55:44 +00:00
Jenkins
80e701482a Merge "Fix dbPath typo in templates/mongodb.json.j2" 2017-03-08 15:38:41 +00:00
Jenkins
90569a6c8d Merge "Make qemu use nova user" 2017-03-08 15:30:36 +00:00
Jenkins
a6da1bda59 Merge "Fix booting from volume failure" 2017-03-08 15:28:27 +00:00