Comment 124 for bug 1784493

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/49385
Committed: http://github.com/Juniper/contrail-ansible-deployer/commit/6d56f894b1547baddfc84059e0f6ab3cd34dec8e
Submitter: Vinay Vithal Mahuli (<email address hidden>)
Branch: R6.0-WIP

commit 6d56f894b1547baddfc84059e0f6ab3cd34dec8e
Author: Michael Henkel <email address hidden>
Date: Mon Dec 3 02:49:13 2018 +0100

Apply commits from master onto R6.0-WIP

ansible-deployer use correct InternalIP for kubelet
Closes-Bug: 1806299

Use agent's entrypoint on Windows
Start using agent's entrypoint to achieve similar behaviour
to Linux's microservices.
Partial-Bug: #1806677

Starting docker service before pull
Closes-Bug: #1807716

Closes-Bug: #1808241 - Protect against reprovision failures
VROUTER_NODES_LIST is not needed - causes reprovision un-necessarily
Also, Openstack might be in half-configured state if provision fails first time due to intermittent timeout
Here re-provision shouldn't fail due to missing endpoints from first run.

Support stats collector destination in ansible
Stat messages are written to socket file which will
be read by stats collector. The socket file to be
written to is specified in instances.yaml. The folder
holfing the socket file will be mounted by all the
containers. The user specified STATS_COLLECTOR_DESTINATION_PATH
in the instances.yaml.
Partial-Bug: 1794107

add ssl mounts for rabbitmq and cassandra
closes-jira-bug: JCB-218684

change configuration description for additional rabbitmq options
partial-jira-bug: JCB-218684

Handle domainsuffix for Windows nodes
1. Expose provider_config to install container roles
2. Use proper FQDN in POST to config node
Closes-Bug: #1810173

Add domainsuffix to Windows examples
Closes-Bug: #1810173

Change default openstack version from ocata to queens
Closes Jira Bug: JCB-218736

Use kolla playbook to generate self-signed certs
If generate_self_signed_certs is set to yes under kolla_config->kolla_globals
section of the instance.yml file, then generate self-signed certs to be used for
the openstack haproxy service. Note that this will be used only when
kolla_enable_tls_external is set to true.
If using already generated certs, then give the path to the certificates using
the kolla_external_fqdn_cert variable
Partial Jira Bug: JCB-218738

Making kafka/alarm-gen/snmp-collector/topology/zookeeper/cassandra/query-engine installation optional.
Three new roles are introduced.
analytics_alarm - If added, alarm-gen, kafka will be installed
analytics_snmp - If added, snmp-collector and topology will be installed
If we need to enable analytics_alarm role, then analytics_database_kafka role also needs to
be added in any of the deploying node in cluster.
All components will use config_database zookeeper except kafka.
Partial-Bug: #1784493

add dnsmasq to config-api pod
next commits will move device manager and dnsmasq to separate pod
partial-jira-bug: JCB-218801

add capabilities required for dnsmasq
partial-jira-bug: JCB-218801

Fix extracting hostname from Windows
Use `hostname` bash command instead of ansible_hostname
Closes Jira Bug: TFB-1370

Initial commit for Openstack Rocky support
Partial-Jira-Bug: JCB-218848

fix issues preventing to use this code in containerized deployment
- install pip only if it's not present
- do other installs on deployer node only if packages are not present (change state to latest)
- remove installing of epel from deployer node
partial-jira-bug: JCB-194595

Deletion of Computes support for Contrail HA
In HA, the config node list is empty and code assumes it is fresh install.
In Contrail HA scenario param contrail_configration.CONTROLLER_NODES over-rides config_node_list.
Also:
different roles have nodes registered with or without domain name. Need to handle this.
closes-jira-bug: JCB-218852

install easy_install for run it after
partial-jira-bug: JCB-194595

Support for mellanox nic
Add support to launch mellanox-plugin-init container if the driver is
configured as mlnx.
closes-jira-bug: JCB-215666

vCenter: Add support for DVSwitch version
closes-jira-bug: JCB-218702

New inventory groups for Ironic in Openstack Rocky
Partial-Jira-Bug: JCB-218848

Restart docker only when insecure/private registry details are updated
patch 2: Removed docker restart files
closes-jira-bug: JCB-218946

Remove incorrect exception handling in calculate_contrail_roles.py
There are two places, where possible error is actually terminal.
Currently exception caused by failure in HTTP request is changed
to special return value that is not handled anywhere and causes
exception later in Ansible. That exception is difficult to track
and error message is actually meaningless. It's better to let
original exception cause a crash - error message is easy to
understand and clearly points to the cause of failure.
Closes JIRA bug: JCB-219041

Freeze docker version
Partial Jira Bug: JCB-218762

Adds retry for get kubemanger token name from serviceaccount task
closes-jira-bug: JCB-219042

Enable dnsmasq tftp if ironic_pxe is not present
- Modified docker-compose template to mount ironic_pxe volume or tftp volume
- Set USE_EXTERNAL_TFTP env variable on dnsmasq docker
closes-jira-bug: JCB-219115

add separate task for waiting token from k8s
closes-jira-bug: JCB-219042

Depends-On: Id0d8555b96deeafaa8c6b2cd4acc28e61e9c0f32
Change-Id: I3791b1cc266c6791a0a9735fe41187437b7d1ea0
Partial-jira-bug: JBE-925