1259 Commits

Author SHA1 Message Date
Jenkins
48ade16227 Merge "Updating ironic configurations in nova.conf" 2016-09-05 16:07:59 +00:00
Jenkins
27b4f6fc7f Merge "Add precheck for ceilometer backend" 2016-09-05 01:39:47 +00:00
Jenkins
46f5e4cee1 Merge "Use the standard start method for kolla-toolbox container" 2016-09-02 09:31:48 +00:00
Jenkins
8c2bbae69e Merge "Move to transport_url for rabbitmq configuration" 2016-09-02 09:22:12 +00:00
Jenkins
b6c40d9deb Merge "Create the nova instances directory when need during starting" 2016-09-01 16:45:57 +00:00
Jenkins
f85ac43be4 Merge "Remove unnecessary host at haproxy in site.yml" 2016-09-01 16:27:56 +00:00
Jeffrey Zhang
7f8b40538f
Use the standard start method for kolla-toolbox container
TrivialFix

Change-Id: Icb092e47713e0b89859747d6ed4c02b3950d7ced
Signed-off-by: Jeffrey Zhang <zhang.lei.fly@gmail.com>
2016-09-02 00:06:47 +08:00
liyingjun
c6dd71411a Add precheck for ceilometer backend
Currently when set enable_ceilometer: true and enable_mongodb: no,
the deploy will fail with ceilometer database creating error.
Add a precheck to avoid this situation in both prechecks and bootstrap.

Change-Id: I2d46ef9adeb8e028f3c18e6bc2d3752cc39bcb29
Closes-bug: #1605522
2016-09-01 23:23:28 +08:00
Jenkins
5c5ef797b0 Merge "Correct permissions to /etc/keystone/domains" 2016-09-01 15:05:49 +00:00
Narasimha SV
2bf3ce5de8 Updating ironic configurations in nova.conf
Irnoic configurations in nova compute node have been changed with
respect to the master code of ironic and nova. admin_url
configuration is with v3 version but other details are with
respect to v2.0 version of keystone authentication.
Updated scheduler_host_manager, compute_driver and admin_url
values in the nova.conf template to support ironic master
branch code.

Change-Id: I78bee3fdf082bcd526507b479be3afaee80ba899
Closes-Bug: #1619211
2016-09-01 10:06:12 -04:00
Jenkins
f1927b717c Merge "Added Ansible playbook for congress deploy" 2016-09-01 13:20:38 +00:00
Jenkins
ac0ba62bdf Merge "Add ansible raw task note, add apt-get update" 2016-09-01 11:41:31 +00:00
Jenkins
9e83fd7925 Merge "Use six.StringIO" 2016-09-01 11:25:05 +00:00
Jenkins
6a8c459873 Merge "Fix service_type of mistral endpoint" 2016-09-01 08:08:32 +00:00
Jenkins
677aa0ef25 Merge "replace baremetal_nic with api_interface" 2016-09-01 07:53:17 +00:00
Jenkins
64f2dafe2b Merge "add deploy-servers command" 2016-09-01 07:03:24 +00:00
mail2nadeem92
4b39d056ad Added Ansible playbook for congress deploy
Change-Id: Id04fe7a8f30ed0dae292933662036f4775e394a2
Partially-Implements: blueprint enable-congress-container
2016-09-01 10:43:03 +05:30
Sean Mooney
7f1084808b replace baremetal_nic with api_interface
- The baremetal_nic variable was used as part of
  kolla host playbook when generating the /etc/hosts file.
  Populating the /etc/hosts is done to ensure that rabbitmq
  can reach the other nodes in the rabbitmq cluster by hostname.
- Before this change the baremetal_nic variable was used to
  determin which interface to read when mapping the hostname to
  an ip address.
- This change removes baremetal_nic and uses api_interface
  instead as the hostname used by rabbitmq should always map to the
  api_interface ip.

TrivialFix
Closes-Bug: #1618381

Change-Id: I65fe3aad58ac34b001a1f4a38641addc9fa5a1d4
2016-08-31 19:39:59 +00:00
Jenkins
014d055021 Merge "adds bifrost ssh key generation" 2016-08-31 17:48:01 +00:00
Jenkins
f3fedb8bef Merge "add bifrost deploy ansible support" 2016-08-31 16:26:08 +00:00
Jenkins
983b26e835 Merge "Chage with_ loop variables syntax to ansible 2" 2016-08-31 16:25:11 +00:00
Jenkins
3fa38c80c5 Merge "generate bifrost yaml configs" 2016-08-31 15:30:23 +00:00
Jenkins
5f0ea5847f Merge "Limit hostfile generation to control nodes" 2016-08-31 14:51:02 +00:00
Jenkins
730086bfd1 Merge "Add option to support dhcp/l3 agent ha" 2016-08-31 13:44:13 +00:00
Jenkins
624d300dc4 Merge "Import the Murano core libary as part of setup" 2016-08-31 13:27:56 +00:00
Sean Mooney
64c40e20a5 add deploy-servers command
- This change extends kolla-ansible
  with a deploy-server command to enroll and deploy
  physical servers with bifrost.

Change-Id: Iaa9f34b00e676569f6e3df679b7454b1ec0b8e34
Implements: blueprint bifrost-support
2016-08-31 13:12:34 +00:00
Sean Mooney
538dbac24a adds bifrost ssh key generation
- This change extend the genpwd.py
  command to generate an ssh key pair
  bifrost.
- This change bifrost config and bootstrap
  task to install the generated keys.
- This change updates the bifrost guide to
  discribe how to provide your own key.

Change-Id: I05243f58843d9195cace253dff5628fae89c78e8
Implements: blueprint bifrost-support
2016-08-31 13:12:20 +00:00
Sean Mooney
96b3f0ae3e add bifrost deploy ansible support
- This change addes the ability to deploy
  and bootstrap bifrost.
- This change introduces a deploy-bifrost
  command to kolla-ansible.

Change-Id: I62afcf348661add900c98904e90a15a0eddffd4b
Implements: blueprint bifrost-support
2016-08-31 13:11:59 +00:00
Sean Mooney
d7dfae75b2 generate bifrost yaml configs
- This change indroduces a merge_yaml action_plugin
- This change generates bifrost yaml configs.

Change-Id: I9814e6a5d55cbd46c4b60c06ed70ed54a575bd2f
Implements: blueprint bifrost-support
2016-08-31 13:06:41 +00:00
Jenkins
b29357e70c Merge "Add aodh role" 2016-08-31 12:52:58 +00:00
Christian Berendt
ce92b49ca0 Fix service_type of mistral endpoint
Change-Id: Idddc6916e41216fe8fd576d9db400a03728e79f8
Closes-bug: #1610968
2016-08-31 14:26:48 +02:00
Jenkins
76f94f8d18 Merge "Add a check before wiping Ceph disks in bootstrap" 2016-08-31 09:15:19 +00:00
liyingjun
c5668bd50a Add option to support dhcp/l3 agent ha
New option enable_neutron_agent_ha added to enable/disable dhcp/l3 agent
high availability, dhcp_agents_per_network is default to 2 and it's
configurable.

Implement blueprint: support-network-ha

Change-Id: Id4742aa67c80584634b923195545bf2b654172f3
2016-08-31 16:31:07 +08:00
Duong Ha-Quang
143f1c2d9a Add ansible raw task note, add apt-get update
Add note about raw install
Add apt-get update before install python

TrivialFix
Closes-Bug: #1618297

Change-Id: I08372dcfe71dff8c0a50a421788309b642e2a521
2016-08-31 15:11:52 +07:00
zhubingbing
7ce05f9782 Add aodh role
Partially-Implements: blueprint ansible-aodh

Change-Id: I9e20f4bf5e7d8f37f243ae15746e2b7bb49eb20c
2016-08-31 03:54:35 +00:00
Jenkins
b17027564c Merge "Add defaults for interfaces to all.yml" 2016-08-30 22:26:10 +00:00
Sandhya Dasu
6841276ab7 Removing development packages from Baremetal install defaults
There will never be a need for these python development packages
in the baremental install case, so removing them from main.yml.

TrivialFix

Change-Id: Iab8edcfd07c818e40328aa5311b84880b656af08
2016-08-30 16:05:17 -04:00
Michal (inc0) Jastrzebski
7d0a2aa9f0 Limit hostfile generation to control nodes
With current implementation generation of hostfile is N^2, let's at
least limit this to controller nodes. Currently only RabbitMQ requires
hostnames, and these lands on control.

TrivialFix

Change-Id: I15f8d98386ede8bbc89f66923f21547efe20ff37
2016-08-30 16:41:16 +00:00
Jenkins
e2a55c3a02 Merge "Enable the nova microversion api" 2016-08-30 03:19:07 +00:00
Paul Bourke
ec40ed3cbb Add a check before wiping Ceph disks in bootstrap
An unwitting user may apply the KOLLA_CEPH_OSD[_CACHE]_BOOTSTRAP label
to a partition assuming it will only use that partition for Ceph, and
end up wiping out their disk.

This change adds a layer of checking to this scenario to try and help
avoid a disaster scenario.

Closes-Bug: 1599103
DocImpact

Change-Id: Ibb9fb42f87a76bc02165ec0b93b60234bad8747a
2016-08-29 14:34:01 +01:00
Jeffrey Zhang
9092f4a104 Fix removing nova_libvirt container issue
Retry once when removing or upgrading nova_libvirt to ensure it is
removed

Closes-Bug: #1617741
Change-Id: I8b5046a438c0ef3599a4333bbe77333f0af323ff
Signed-off-by: Jeffrey Zhang <zhang.lei.fly@gmail.com>
2016-08-29 08:37:58 +00:00
Tin Lam
17d36b7364 Chage with_ loop variables syntax to ansible 2
Migrate to full variable syntax in with_ loop for
manila and tempest.

TrivialFix
Partial-Implements: bp ansible2

Change-Id: Ic68fd6123f0cd5bd0035e139e89f7b569574074c
2016-08-29 01:53:37 -05:00
Lu lei
46e8196fcf Use six.StringIO
In links: http://pythonhosted.org/six/, we know 'cStringIO' is
a module of python 2.x, but in python3.x module 'io' has the
same function as 'cStringIO' in python2.x. So here we use
six.stringIO instead.

TrivialFix.

Change-Id: I8022b92b186e239cd76a36dab7766301bf96d2c4
2016-08-29 12:03:15 +08:00
Jenkins
1b806b66e4 Merge "Set 'balance source' for Horizon in haproxy" 2016-08-28 01:07:29 +00:00
Jenkins
90fe72c2d0 Merge "Fix bug in Elasticsearch role" 2016-08-26 20:18:14 +00:00
Jenkins
1ea09d0752 Merge "Add full support for fernet" 2016-08-26 19:50:58 +00:00
Jenkins
8874c69beb Merge "Move rabbitmq precheck from start" 2016-08-26 19:04:42 +00:00
Christine Hicks
42bd52037e Changed admin-openrc from DOMAIN_ID to DOMAIN_NAME
OpenStack used to used DOMAIN_ID and has switched to DOMAIN_NAME.

TrivialFix

Change-Id: Ibb0574f9267a3bc276304c8079cb230068a13273
2016-08-26 13:09:07 -04:00
Paul Bourke
6c238ca3bf Move rabbitmq precheck from start
rabbitmq's start task contains a precheck. This should be part of the
other prechecks for consistency

TrivialFix

Change-Id: I7728ec3f5be3248424d74a4387925b72114b8943
2016-08-26 16:18:04 +01:00
liyingjun
54be45e406 Fix toolbox permission issue when enabling ceph
Directory /home/ansible/.ansible and file /var/log/kolla/ansible.log are
not created by default in toolbox image, so when ceph enabled, the directory
and file will be created with user 'root' instead of user 'ansible' after
running bootstrap osds because it using sudo when bootstraping osds,
this will cause permission denied issue for other commands not using sudo.
Fixes this issue by initializing ansible by running 'ansible localhost
--version' using user 'ansible'

TrivialFix

Change-Id: Ibac3f98b3b72cbe287ee1d3a69ed9cea7ae3cd9e
2016-08-26 00:46:46 +00:00