312 Commits

Author SHA1 Message Date
ktibi
cb71f1d626 Add ceph config file for kolla (#48)
* Add ceph config file for kolla

* Update main.yml

* Remove whitespace

* Update main.yml

* Update kolla
2017-10-26 14:40:25 +01:00
Jon Davies
a19501a174 Added Prometheus node exporter role (#34)
* Added roles/node-exporter.

* node-exporter.yml: Deploy on all overcloud hosts.

* node-exporter: deploy: Use command variable.

* node-exporter: README: Fixed role name.

* node-exporter: Do not enable by default.
2017-10-26 14:39:26 +01:00
ktibi
35cc193f53 Update container-image-build.yml 2017-10-26 10:24:53 +02:00
ktibi
11e9827da2 Update container-image-build.yml 2017-10-25 15:14:15 +02:00
ktibi
adc08fe539 Update globals.yml.j2 2017-10-25 15:09:07 +02:00
ktibi
bbe324b930 Update kolla 2017-10-25 15:07:10 +02:00
ktibi
ab73d76845 Update container-image-build.yml 2017-10-25 15:06:19 +02:00
ktibi
d35d139629 Update kolla 2017-10-25 12:15:33 +02:00
ktibi
fd2817326d add credentiels for registry 2017-10-25 12:04:09 +02:00
Mark Goddard
d21ba0565e Merge pull request #43 from markgoddard/disable-swift-default
Disable swift by default
2017-10-23 16:05:34 +01:00
Mark Goddard
2f3be13906 Disable swift by default
Follow kolla's default value for swift enablement - disabled.
2017-10-23 15:39:11 +01:00
Mark Goddard
d982be2191 Merge pull request #39 from stackhpc/bugfix/remove_restart_retries
In latest Docker 17.05 restart-retires and unless-stopped are
2017-10-23 11:18:47 +01:00
stack
20e3b75547 In latest Docker 17.05 restart-retires and unless-stopped are
mutually exclusive. Remove restart-retries where used.
2017-10-23 11:13:48 +01:00
Mark Goddard
db618c6c85 Fix operator precedence issue in controller network list 2017-10-20 18:38:22 +00:00
Mark Goddard
ba6d30c10a Don't fail to register introspection rules when variable is None 2017-10-20 12:14:35 +01:00
Mark Goddard
464a29eea5 Add missing variable kolla_enable_heat 2017-10-19 14:51:07 +01:00
Mark Goddard
8311ec0e91 Merge pull request #35 from markgoddard/custom-fluent-filters
Add support for configuration of custom fluentd filters
2017-10-18 17:25:54 +01:00
Mark Goddard
9187216b78 Add extra config for heat 2017-10-18 17:25:33 +01:00
ktibi
95af80353b add version for ironic api (#37)
*  add version for ironic api 

Fix a failure in the bifrost inventory script

* Update overcloud-provision.yml
2017-10-18 16:28:55 +01:00
Mark Goddard
e0507298a0 Merge pull request #36 from ktibi/patch-3
add version for ironic api
2017-10-18 16:17:13 +01:00
ktibi
966173d474 add version for ironic api
Fix a failure in the bifrost inventory script
2017-10-18 16:58:06 +02:00
Mark Goddard
d440e8e3c0 Rework custom kolla-ansible configuration
Supports removal of custom config files in $KAYOBE_CONFIG_PATH/kolla/config/, and
adds support for ironic, keystone, magnum, murano, sahara, and swift custom config.
2017-10-18 12:40:02 +01:00
Mark Goddard
4cd2ff7e83 Merge branch 'master' into ngs-extra 2017-10-17 17:17:22 +01:00
Mark Goddard
9601159fe7 Add support for configuration of custom fluentd filters
These may be placed in $KAYOBE_CONFIG_PATH/kolla/config/fluentd/filter.
2017-10-17 16:31:48 +01:00
Mark Goddard
9c4e320dd1 Add support for custom neutron and nova config files
Custom configuration files may be added in
$KAYOBE_CONFIG_PATH/kolla/config/[nova,neutron]/.
2017-10-17 13:29:49 +00:00
Mark Goddard
288d7dcb94 Remove nova configuration options which are not necessary in pike
Following the pike release, we do not need to use the baremetal scheduler filters
in nova, as scheduling is done using resource classes.
2017-10-17 13:23:51 +00:00
Mark Goddard
13a14664f9 Add a --display argument to kayobe physical network configure
This will output the candidate configuration, without applying it.
2017-10-17 11:48:36 +00:00
Mark Goddard
4f1ba98167 Allow limiting physical network interface configuration to subsets
Allow the physical network interface configuration to be limited to a subset of
interfaces, either by interface name or switch interface description. This is done
via:

kayobe physical network configure --interface-limit interface1,interface2

or

kayobe physical network configure --interface-description-limit host1,host2

Fixes: #25
2017-10-17 11:48:36 +00:00
Mark Goddard
9d18779b13 Don't fail to register introspection rules when variable is None
Variable in question is inspector_lldp_switch_port_interface_default.
2017-10-16 18:38:02 +01:00
Mark Goddard
afe1b994ac Support additional options for neutron generic switch driver config
Allows kolla_neutron_ml2_generic_switch_extra to define a dict of additional
config options to add to per-switch configuration for the neutron ML2 generic
switch driver. These options may be switch host-specific.
2017-10-16 16:54:46 +00:00
Stig Telfer
8b4af4b029 Merge pull request #28 from oneswig/add-elastic
Add ElasticSearch as a Kolla feature flag
2017-10-16 15:54:43 +01:00
Mark Goddard
aa04494879 Enable inspector firewall management by default
Modifies the default value for inspector_manage_firewall from False
to True.  Management of the firewall by ironic inspector is important to
ensure that DHCP offers are not made to nodes during provisioning by
inspector's DHCP server.
2017-10-16 11:40:30 +01:00
Mark Goddard
87dcfaa7ab Merge pull request #27 from stackhpc/junos-ansible-2.3
Junos support for ansible 2.3
2017-10-13 10:35:06 +01:00
ktibi
08466ba5d5 Change name of element for diskimage-builder
Error when try to initiate image build ==>
/bifrost-base-source/bifrost-base-archive-stackhpc-pike/playbooks/roles/bifrost-create-dib-image/tasks/main.yml:121
 diskimage_builder.element_dependencies.MissingElementException: Element 'serial-console' not found
 diskimage-builder version 2.9.1

Check on https://docs.openstack.org/diskimage-builder/latest/elements/enable-serial-console/README.html

serial-console => enable-serial-console
2017-10-13 10:31:55 +02:00
Stig Telfer
b450e8059a Add ElasticSearch as a Kolla feature flag 2017-10-12 15:51:23 +00:00
Mark Goddard
da75d6b734 Use local_action instead of delegate_to in switch config tasks
As of ansible 2.3, it is no longer possible to use delegate_to with a host other
than localhost. Use of a jump host can be enabled via setting ProxyCommand in
ansible_ssh_common_args as for other hosts.
2017-10-12 10:49:13 +00:00
Mark Goddard
be589e42c9 Remove explicit setting of versionless keystone endpoints in k-a
These are now the defaults used by kolla-ansible.
2017-10-12 11:20:18 +01:00
Mark Goddard
ce60327b60 Fix SSH reconnection for docker role in Ansible 2.3
In ansible 2.3, the path to SSH persistent connection sockets was changed to use a SHA1
hash of the connection parameters, so the workaround to force a reconnection was broken.
This change removes all ControlPath sockets from the ansible control host.
2017-10-12 11:19:23 +01:00
Mark Goddard
887f06106d Remove stale variable from junos role invocation
We didn't end up using a virtualenv in the junos role, so this is not required.
2017-10-11 16:34:53 +00:00
Mark Goddard
c7bcdf2cf9 Remove default filter from junos switch timeout
In ansible 2.3, the default filter appears to make the timeout be interpreted as a
string rather than a number, which causes the netconf client ncclient to barf.
As we always define a timeout, this default seems unnecessary anyway so let's
remove it.
2017-10-11 16:34:50 +00:00
Mark Goddard
1169ce111c Install ncclient python package for junos switches on ansible 2.3+
This package is required on the ansible control host, and is used by the
ansible-connection process to access the switches via a persistent SSH
connection. It must be installed in the kayobe virtual environment.
2017-10-11 16:34:47 +00:00
ktibi
1666669db2 Update RedHat.yml
Wrong name for variable.
2017-10-04 18:00:12 +02:00
Mark Goddard
e5b8ce6cbf Perform docker-py upgrade to docker prior to installing kolla 2017-09-20 16:12:36 +01:00
Mark Goddard
00d3a47746 Ensure kolla virtualenv contains docker package rather than docker-py
This allows the virtualenv to be reused following an upgrade.
2017-09-20 12:15:32 +01:00
Mark Goddard
68e2e5e1b7 Add node_config_directory variable to overcloud service config save playbook
This should have been added with commit
513cfe990dd4bf127e05f2f2985949e498abd089.
2017-09-20 10:30:48 +01:00
Mark Goddard
2d036b6afd Apply RabbitMQ workaround for issue #14 to all overcloud hosts
In some scenarios the RabbitMQ services may be running on hosts other than the
controllers. For example, when there are separate database servers.
2017-09-20 09:25:21 +00:00
Mark Goddard
69ff9946a8 Add save playbook 2017-09-19 11:54:33 +01:00
Mark Goddard
05b9bfbcd5 WIP: changes for drac-pxe role to improve reliability 2017-09-18 21:41:48 +01:00
Mark Goddard
b83bb6ed09 Upgrade docker SDK for python during overcloud host upgrade
Kolla-ansible requires use of the docker python package, which is
incompatible with the legacy docker-py python package. We install the
former and remove the latter.
2017-09-18 21:41:48 +01:00
Mark Goddard
f047fbd4a9 Add workaround for ansible issue #21188 to inspection store
The restart handler task fails unless the image argument is passed to
the docker_container module. This shouldn't be necessary, as it should be
possible to identify the container by name alone.
2017-09-18 21:41:47 +01:00