openshift:unable to provision multi interface setup

Bug #1805774 reported by Venkatesh Velpula
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
In Progress
Critical
Pragash Vijayaragavan

Bug Description

provisioning of openshift setup fails for multi interface though we specify contrail_control_data_interface .. while running the cluster deployer we hit the error shown below

deployer :openshift_deployer 3.9
ansible :2.5.2
docker :1.13.1
HostOs : CentOS
build :5.1.395

     Message: The conditional check 'contrail_masters.split() | length < 1' failed. The error was: error while evaluating conditional (contrail_masters.split() | length < 1): 'list object' has no attribute 'split'

               The error appears to have been in '/root/openshift-ansible/roles/contrail_common/tasks/determine_contrail_masters.yaml': line 22, column 3, but may
               be elsewhere in the file depending on the exact syntax problem.

               The offending line appears to be:

               - name: Set contrail_masters from masters group if not set before
                 ^ here

ose-install
============
[root@nodeg12 openshift-ansible]# cat inventory/ose-install
[OSEv3:children]
masters
nodes
etcd
openshift_ca

[OSEv3:vars]
ansible_ssh_user=root
ansible_become=yes
debug_level=2
deployment_type=origin
openshift_release=v3.9
#openshift_repos_enable_testing=true
containerized=false
openshift_install_examples=true
openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider', 'filename': '/etc/origin/master/htpasswd'}]
osm_cluster_network_cidr=10.32.0.0/12
openshift_portal_net=10.96.0.0/12
openshift_use_dnsmasq=true
openshift_clock_enabled=true
openshift_hosted_manage_registry=false
openshift_hosted_manage_router=false
openshift_enable_service_catalog=false
openshift_use_openshift_sdn=false
os_sdn_network_plugin_name='cni'
openshift_disable_check=memory_availability,package_availability,disk_availability,package_version,docker_storage
openshift_docker_insecure_registries=10.204.217.152:5000
openshift_web_console_install=false
openshift_web_console_nodeselector={'region':'infra'}

openshift_web_console_contrail_install=true
openshift_use_contrail=true
nested_mode_contrail=false
contrail_version=5.0
contrail_container_tag=queens-master-395
contrail_registry=10.204.217.152:5000
# Username /Password for private Docker regiteries
#contrail_registry_username=test
#contrail_registry_password=test
# Below option presides over contrail masters if set
#vrouter_physical_interface=ens160
#docker_version=1.13.1
ntpserver=10.204.217.158
contrail_control_data_interface=[ '77.77.1.30' ]

# Contrail_vars
# below variables are used by contrail kubemanager to configure the cluster,
# you can configure all options below. All values are defaults and can be modified.

#kubernetes_api_server=10.84.13.52 # in our case this is the master, which is default
#kubernetes_api_port=8080
#kubernetes_api_secure_port=8443
#cluster_name=myk8s
#cluster_project={}
#cluster_network={}
#pod_subnets=10.32.0.0/12
#ip_fabric_subnets=10.64.0.0/12
#service_subnets=10.96.0.0/12
#ip_fabric_forwarding=false
#ip_fabric_snat=false
#public_fip_pool={}
#vnc_endpoint_ip=20.1.1.1
#vnc_endpoint_port=8082

[masters]
10.204.217.71 openshift_hostname=nodeg31

[etcd]
10.204.217.71 openshift_hostname=nodeg31

[nodes]
10.204.217.71 openshift_hostname=nodeg31
10.204.217.100 openshift_hostname=nodec60
10.204.217.101 openshift_hostname=nodec61
10.204.217.98 openshift_hostname=nodec58 openshift_node_labels="{'region': 'infra'}"

[openshift_ca]
10.204.217.71 openshift_hostname=nodeg31

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] release-3.9-contrail

Review in progress for https://review.opencontrail.org/47969
Submitter: Pragash Vijayaragavan (<email address hidden>)

Changed in juniperopenstack:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.