Giter VIP home page Giter VIP logo

Comments (8)

dav1x avatar dav1x commented on August 24, 2024

@kratos81 Do the OCP nodes have 2 interfaces?

Can you post your inventory here?

from openshift-ansible-contrib.

kratos81 avatar kratos81 commented on August 24, 2024

Hi @dav1x

This is our inventory file

[OSEv3:children]
ansible
masters
infras
apps
etcd
nodes
lb


[OSEv3:vars]
## Ansible Vars
become=yes
ansible_become=yes
ansible_ssh_user=root

## Additional General
osm_use_cockpit=true
oreg_url=xxxxxx
default_subdomain=xxxx

## Openshift General
openshift_deployment_type=openshift-enterprise
openshift_disable_check=memory_availability,disk_availability,docker_storage
openshift_docker_insecure_registries=xxxx
openshift_node_local_quota_per_fsgroup=512Mi

## OpenShift Master General
openshift_master_cluster_method=native
openshift_master_cluster_public_hostname=xxxxxx
openshift_master_default_subdomain=xxxxx

## Image Stream Mods
openshift_examples_modify_imagestreams=true
registry_host=xxxx

## Identity
<redacted> 

## Network Settings
openshift_use_nsx=true
os_sdn_network_plugin_name=cni
openshift_use_openshift_sdn=false
openshift_node_sdn_mtu=1500
os_firewall_use_firewalld=true

## vSphere Cloud provider
openshift_cloudprovider_kind=vsphere
openshift_cloudprovider_vsphere_username="foo"
openshift_cloudprovider_vsphere_password="bar"
openshift_cloudprovider_vsphere_host="xxxx"
openshift_cloudprovider_vsphere_datacenter="xxxx"
openshift_cloudprovider_vsphere_cluster="xxxx"
#openshift_cloudprovider_vsphere_resource_pool=ResourcePool
openshift_cloudprovider_vsphere_datastore="xxxxx"
openshift_cloudprovider_vsphere_folder="Managment VMs"

# NSX specific configuration
#nsx_use_loadbalancer=false
nsx_insecure_ssl=true
nsx_api_managers='xxxxx'
nsx_api_user='xxxx'
nsx_api_password='xxxxx'
nsx_openshift_cluster_name='xxxxx'
nsx_tier0_router='ub-ocp-t0-1'
nsx_overlay_transport_zone='ub01-ocp-c01-w-overlay'
nsx_container_ip_block='ocp-cluster-block'
nsx_no_snat_ip_block='OCP_DEV_NO_NAT'
nsx_external_ip_pool='OCP_DEV_NAT'
nsx_ovs_uplink_port='eth1'
#nsx_edge_cluster_name='Edge Cluster Transport'
nsx_ncp_image=xxxxx
nsx_ovs_url='xxxxx'
nsx_cni_url='xxxx'
nsx_kmod_ovs_url='xxxx'

## Hosted ETCD
openshift_hosted_etcd_storage_kind=dynamic
openshift_hosted_etcd_storage_volume_name=etcd-vol
openshift_hosted_etcd_storage_access_modes=["ReadWriteOnce"]
openshift_hosted_etcd_storage_volume_size=1G
openshift_hosted_etcd_storage_labels={'storage': 'etcd'}

## Identity Providers
#openshift_master_ldap_ca_file=/home/cloud-user/mycert.crt

# OpenShift Registry
openshift_hosted_registry_storage_kind=vsphere
openshift_hosted_registry_storage_access_modes=['ReadWriteOnce']
openshift_hosted_registry_storage_annotations=['volume.beta.kubernetes.io/storage-provisioner: kubernetes.io/vsphere-volume']
openshift_hosted_registry_replicas=1

## OpenShift Routers
openshift_hosted_router_replicas=3


## Metrics
openshift_cluster_monitoring_operator_install=false
#openshift_metrics_install_metrics=true
#openshift_metrics_storage_kind=dynamic
#openshift_metrics_storage_volume_size=25Gi


## Logging
#openshift_logging_install_logging=true
#openshift_logging_es_pvc_dynamic=true
#openshift_logging_es_pvc_size=30Gi
#openshift_logging_elasticsearch_storage_type=pvc
#openshift_logging_es_cluster_size=1
#openshift_logging_es_nodeselector={"node-role.kubernetes.io/infra": "true"}
#openshift_logging_kibana_nodeselector={"node-role.kubernetes.io/infra": "true"}
#openshift_logging_curator_nodeselector={"node-role.kubernetes.io/infra": "true"}
#openshift_logging_fluentd_nodeselector={"node-role.kubernetes.io/infra": "true"}
#openshift_logging_storage_kind=dynamic


## Hosts Section ##
[ansible]
localhost

[masters]
<master nodes> 

[infras]
<infra nodes>

[apps]
<app nodes> 
[etcd]
<references masters> 
[lb]

[nodes]
<all nodes>

from openshift-ansible-contrib.

kratos81 avatar kratos81 commented on August 24, 2024

Thanks , I have provided a hosts file (redacted )

So for background , we tagged one of the NICs , based on the the documentation , So the entire worklflow works , only that when we create a project , we found out that the T1 routers are not associated with the edge cluster. Previous versions of NSX passed it in as a variable as "nsx_edge_cluster_name='" but this is not available in 2.4 as an option.

Do we need to explicitly associate the created T1 router to the edge cluster ? can we pass it in as a variable ? how does NCP associate the t1 router it creates with the edge cluster ?

Let me know if you need more clarification on this or more information

from openshift-ansible-contrib.

dav1x avatar dav1x commented on August 24, 2024

Let me engage an NSX wizard @kratos81 .

from openshift-ansible-contrib.

kratos81 avatar kratos81 commented on August 24, 2024

Ok thanks !

from openshift-ansible-contrib.

yasensim avatar yasensim commented on August 24, 2024

@kratos81 this issue was just brought to my attention! I believe we have fixed it yesterday on webex, right?
We had to re-configure T0 and Segments thru the advanced UI in NSX as simplified UI will be supported with next release.

If yes, we can close this issue.

from openshift-ansible-contrib.

kratos81 avatar kratos81 commented on August 24, 2024

Yes , it can be closed

from openshift-ansible-contrib.

dav1x avatar dav1x commented on August 24, 2024

Awesome! Thanks all

from openshift-ansible-contrib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.