6783 Commits

Author SHA1 Message Date
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
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
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
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
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
Javier Castillo Alcíbar
44e8419a5f Fix dbPath typo in templates/mongodb.json.j2
During mongodb upgrade process "/var/lib/mongodb" should have
correct permissions, but a typo present in config.json was giving
permissions to "/var/lib/kolla/mongodb"

Change-Id: I916e7d831531131b2f141a2f7ac712d4a82f7e86
Closes-Bug: #1668303
2017-03-08 15:53:16 +01:00
Jenkins
91eb42c708 Merge "Fix keystone idempotency" 2017-03-08 14:00:46 +00:00
Jeffrey Zhang
a2f2e322be Enable run nova-compute-ironic with nova-compute on the same node
It is unnecessary and a waste to run nova-compute-ironic on a single
node, change the host name field in nova-compute-ironic could ensure
nova-compute and nova-compute-ironic run on the same node.

Change-Id: If2acbf25caab0570da444472003599b9e0f2a1ff
Closes-Bug: #1671103
2017-03-08 21:59:09 +08:00
Jeffrey Zhang
cad7fc35f7 Disable running playbooks in serial by default
Run playbooks in serial are unnecessary and may cause some issue. This
patch disables serial.

This patch also removes the serial for MariaDB playbook. MariaDB handle
this internally.

Partial-Bug: #1668185
Change-Id: I3b4216dd82607475e9bd9b44590b631be4abdbdd
2017-03-08 21:27:29 +08:00
Jeffrey Zhang
d06efcecc5 Fix booting from volume failure
Booting from volume require cinder's ceph client secret now. Move cinder
before nova in site.yml, because nova depends on cinder ceph client key
now.

Change-Id: I01c9ed80843d98305b8963894c4917c21a35d3ac
Closes-Bug: #1670676
2017-03-08 21:16:06 +08:00
zhuzeyu
f70599b2da Modify the directory path in running-tests.rst
Change-Id: I289c80c7d1c3a08d1ced9e596e06659aac280640
partially-implements: blueprint documentation-rework
2017-03-08 17:04:35 +08:00
Michal (inc0) Jastrzebski
b7f8abac29 Make qemu use nova user
Libvirt 2.5 (latest version in cloud archive) seems to have changed
behavior of dynamic_ownership.

Change-Id: Icf9592c2f82f0f4a35074b9b13a51643a32631e9
Closes-bug: #1668654
2017-03-08 06:50:07 +00:00
Duong Ha-Quang
a2a9c17d51 Fix Ceilometer cannot create MySQL database
Due to kolla-toolbox return json object instead of just
plain string, we can use the object directly.

Change-Id: I55613f0f8ba97d1a14595c8c9b09e1ad6d2366e7
Closes-Bug: #1668521
2017-03-08 06:41:03 +00:00
Jenkins
56445484d5 Merge "Update Multinode deployment of kolla guide" 2017-03-07 17:49:53 +00:00
Sayantani Goswami
3637644fa9 Update Multinode deployment of kolla guide
Improvement to the existing Multinode Deployment Guide

Change-Id: I55d1bb174459bb705fa1106e231a28836ba0af6e
2017-03-07 17:32:32 +00:00
Jenkins
9afbc3c4e9 Merge "Access placement service through internal interface rather than public" 2017-03-07 14:32:52 +00:00
Jenkins
706c529bdf Merge "Run precheck after deployed openstack" 2017-03-07 14:06:21 +00:00
Jenkins
37958ae0f7 Merge "Fix the failure when running precheck after deploy" 2017-03-07 14:05:57 +00:00